[fcitx-unikey] Initial Release

Liang Suilong liangsuilong at fedoraproject.org
Tue Dec 11 15:07:21 UTC 2012


commit e7d40e854fa1419e36a921db97a0d32fc92a9279
Author: Liang Suilong <liangsuilong at gmail.com>
Date:   Tue Dec 11 23:07:13 2012 +0800

    Initial Release

 .gitignore        |    2 +
 fcitx-unikey.spec |   66 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b9b5464 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/fcitx-unikey-0.1.0.tar.xz
+/fcitx-unikey-0.1.1.tar.xz
diff --git a/fcitx-unikey.spec b/fcitx-unikey.spec
new file mode 100644
index 0000000..fc4e28b
--- /dev/null
+++ b/fcitx-unikey.spec
@@ -0,0 +1,66 @@
+Name:		fcitx-unikey
+Version:	0.1.1
+Release:	1%{?dist}
+Summary:	Vietnamese Engine for Fcitx
+Group:		System Environment/Libraries
+License:	GPLv2+
+URL:		http://code.google.com/p/fcitx/
+Source0:	http://fcitx.googlecode.com/files/%{name}-%{version}.tar.xz
+
+BuildRequires:	cmake, fcitx-devel, gettext, intltool
+Requires:	fcitx
+
+%description
+A Vietnamese engine for Fcitx that uses Unikey.
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+mkdir -pv build
+pushd build
+%cmake ..
+make %{?_smp_mflags} VERBOSE=1
+popd
+
+%install
+rm -rf $RPM_BUILD_ROOT
+pushd build
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+popd
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/fcitx/%{name}.so
+%{_datadir}/fcitx/addon/%{name}.conf
+%{_datadir}/fcitx/inputmethod/unikey.conf
+%{_datadir}/fcitx/configdesc/%{name}.desc
+%{_datadir}/fcitx/skin/default/unikey.png
+%{_datadir}/icons/hicolor/256x256/apps/fcitx-unikey.png
+
+%changelog
+* Tue Dec 11 2012 Liang Suilong <liangsuilong at gmail.com> - 0.1.1-1
+- Upstream to fcitx-unikey-0.1.1
+
+* Tue May 22 2012 Liang Suilong <liangsuilong at gmail.com> - 0.1.0-1
+- Initial Package
diff --git a/sources b/sources
index e69de29..cda1aec 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+91dc7bd6991df3c975a0b51a246836bf  fcitx-unikey-0.1.1.tar.xz


More information about the scm-commits mailing list