[fcitx-ui-light] Initial Release for fcitx-ui-light

Liang Suilong liangsuilong at fedoraproject.org
Tue May 22 14:37:37 UTC 2012


commit af4c5daaf6a3989bcafb8fe08e441b59878c19a6
Author: Fedora <fedora at fedora-desktop.(none)>
Date:   Tue May 22 22:31:35 2012 +0800

    Initial Release for fcitx-ui-light

 .gitignore          |    1 +
 fcitx-ui-light.spec |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..64e9c43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fcitx-ui-light-0.1.3.tar.bz2
diff --git a/fcitx-ui-light.spec b/fcitx-ui-light.spec
new file mode 100644
index 0000000..01b7cb6
--- /dev/null
+++ b/fcitx-ui-light.spec
@@ -0,0 +1,67 @@
+Name:		fcitx-ui-light
+Version:	0.1.3
+Release:	2%{?dist}
+Summary:	Light UI for fcitx
+Group:		System Environment/Libraries
+License:	GPLv2+
+URL:		http://code.google.com/p/fcitx/
+Source0:	http://fcitx.googlecode.com/files/%{name}-%{version}.tar.bz2
+
+BuildRequires:	cmake, fcitx-devel, gettext, intltool, libcurl-devel, pkgconfig
+BuildRequires:	fontconfig, fontconfig-devel, libXpm-devel, libXft-devel
+BuildRequires:	desktop-file-utils
+Requires:	fcitx
+
+%description
+Light UI is a light-weight user interface for fcitx.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+mkdir -pv build
+pushd build
+%cmake ..
+make %{?_smp_mflags} VERBOSE=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+pushd build
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+popd
+
+desktop-file-install --delete-original \
+  --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
+  ${RPM_BUILD_ROOT}%{_datadir}/applications/fcitx-light.desktop
+
+cat << EOF > %{name}.lang 
+%lang(zh) /usr/share/locale/zh_TW/LC_MESSAGES/fcitx-light-ui.mo
+%lang(zh) /usr/share/locale/zh_CN/LC_MESSAGES/fcitx-light-ui.mo
+EOF
+
+%post
+update-desktop-database %{_datadir}/applications &>/dev/null || :
+
+
+%postun
+update-desktop-database %{_datadir}/applications &>/dev/null || :
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc README COPYING AUTHORS
+%{_datadir}/fcitx/configdesc/*.desc
+%{_datadir}/fcitx/addon/*.conf
+%{_libdir}/fcitx/*.so
+%{_datadir}/applications/fcitx-light.desktop
+
+%changelog
+* Sun May 13 2012 Liang Suilong <liangsuilong at gmail.com> - 0.1.3-2
+- Fix the spec errors
+
+* Sun Feb 26 2012 Liang Suilong <liangsuilong at gmail.com> - 0.1.3-1
+- Initial Package
diff --git a/sources b/sources
index e69de29..806fe2a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+633e8b018da9c8f09f99567b5479cf18  fcitx-ui-light-0.1.3.tar.bz2


More information about the scm-commits mailing list