[fcitx-table-other] Initial Release for fcitx-table-other
Liang Suilong
liangsuilong at fedoraproject.org
Tue Jul 24 16:32:23 UTC 2012
commit a992c1fd8f42b64358802432c1c858339a2cf167
Author: Fedora <fedora at fedora-desktop.(none)>
Date: Wed Jul 25 00:31:47 2012 +0800
Initial Release for fcitx-table-other
.gitignore | 1 +
fcitx-table-other.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0c0480d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fcitx-table-other-0.1.0.tar.xz
diff --git a/fcitx-table-other.spec b/fcitx-table-other.spec
new file mode 100644
index 0000000..e6f6e6c
--- /dev/null
+++ b/fcitx-table-other.spec
@@ -0,0 +1,66 @@
+Name: fcitx-table-other
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Other tables for Fcitx
+Group: System Environment/Libraries
+License: GPLv3+
+URL: http://code.google.com/p/fcitx/
+Source0: http://fcitx.googlecode.com/files/%{name}-%{version}.tar.xz
+
+BuildRequires: cmake, fcitx-devel, gettext, intltool, libtool, fcitx
+BuildArch: noarch
+Requires: fcitx
+
+%description
+Fcitx-table-other is a fork of ibus-table-others for Fcitx,
+provides additional tables.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+mkdir -pv build
+pushd build
+%cmake ..
+make VERBOSE=1 %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+pushd build
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+popd
+
+cat << EOF > %{name}.lang
+%lang(zh) /usr/share/locale/zh_CN/LC_MESSAGES/%{name}.mo
+%lang(zh) /usr/share/locale/zh_TW/LC_MESSAGES/%{name}.mo
+EOF
+
+%clean
+rm -rf %{buildroot}
+
+%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 AUTHORS COPYING README
+%{_datadir}/fcitx/table/*.mb
+%{_datadir}/fcitx/table/*.conf
+%{_datadir}/icons/hicolor/64x64/apps/*.png
+%{_datadir}/icons/hicolor/48x48/apps/*.png
+%{_datadir}/icons/hicolor/32x32/apps/*.png
+
+
+%changelog
+* Sun May 13 2012 Liang Suilong <liangsuilong at gmail.com> - 0.1.0-1
+- Initial Release
diff --git a/sources b/sources
index e69de29..54f9f15 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cef61d47484d4c112a8530122166ba72 fcitx-table-other-0.1.0.tar.xz
More information about the scm-commits
mailing list