[fcitx-anthy] initial import

李瑞彬 cheeselee at fedoraproject.org
Wed Sep 11 02:00:20 UTC 2013


commit 368c8001383d642f33b3c6bf1b3afe020c4a8ece
Author: Robin Lee <cheeselee at fedoraproject.org>
Date:   Wed Sep 11 10:00:00 2013 +0800

    initial import

 .gitignore       |    1 +
 fcitx-anthy.spec |   73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e84268d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fcitx-anthy-0.2.0.tar.xz
diff --git a/fcitx-anthy.spec b/fcitx-anthy.spec
new file mode 100644
index 0000000..51f3fa3
--- /dev/null
+++ b/fcitx-anthy.spec
@@ -0,0 +1,73 @@
+Name:			fcitx-anthy
+Version:		0.2.0
+Release:		2%{?dist}
+Summary:		Anthy Engine for Fcitx
+Group:			System Environment/Libraries
+License:		GPLv2+
+URL:			https://fcitx-im.org/wiki/Anthy
+Source0:		http://download.fcitx-im.org/fcitx-anthy/%{name}-%{version}.tar.xz
+BuildRequires:	cmake
+BuildRequires:	fcitx-devel
+BuildRequires:	gettext
+BuildRequires:	intltool
+BuildRequires:	anthy-devel
+Requires:		fcitx
+
+%description
+Fcitx-anthy is an Anthy engine wrapper for Fcitx. It provides a Japanese input
+method. You can input hiragana and katakana by romaji or using a Japanese
+keyboard. And fcitx-anthy also supports converting hiragana or katakana to
+kanji.
+
+%prep
+%setup -q 
+
+
+%build
+mkdir -pv build
+pushd build
+%cmake ..
+make %{?_smp_mflags} VERBOSE=1
+
+%install
+pushd build
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+popd
+
+%find_lang %{name}
+
+
+%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
+%doc COPYING AUTHORS README
+%{_libdir}/fcitx/%{name}.so
+%{_datadir}/fcitx/addon/%{name}.conf
+%{_datadir}/fcitx/anthy/
+%{_datadir}/fcitx/inputmethod/anthy.conf
+%{_datadir}/fcitx/configdesc/%{name}.desc
+%{_datadir}/fcitx/imicon/anthy.png
+%{_datadir}/icons/hicolor/48x48/status/%{name}.png
+%{_datadir}/icons/hicolor/22x22/status/%{name}-symbol.png
+%{_datadir}/icons/hicolor/scalable/status/%{name}-*.svg
+
+%changelog
+* Tue Sep 10 2013 Robin Lee <cheeselee at fedoraproject.org> - 0.2.0-2
+- Own the diretory %%{_datadir}/fcitx/anthy/
+- description enlarged
+
+* Fri Aug 23 2013 Robin Lee <cheeselee at fedoraproject.org> - 0.2.0-1
+- Update to 0.2.0, open new review request
+
+* Wed Dec 12 2012 Liang Suilong <liangsuilong at gmail.com> - 0.1.1-1
+- Initial Package
diff --git a/sources b/sources
index e69de29..ee7df76 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c02e4393d6141a4d0fa1693bf38a8f79  fcitx-anthy-0.2.0.tar.xz


More information about the scm-commits mailing list