[fcitx-skk] Initial import
Daiki Ueno
ueno at fedoraproject.org
Thu Nov 28 04:42:16 UTC 2013
commit da082c1212f24add5fde8fd4fd4fddf3335a37e3
Author: Daiki Ueno <ueno at unixuser.org>
Date: Thu Nov 28 13:41:56 2013 +0900
Initial import
.gitignore | 1 +
fcitx-skk.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4dc161c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fcitx-skk-0.1.0.tar.xz
diff --git a/fcitx-skk.spec b/fcitx-skk.spec
new file mode 100644
index 0000000..4dca2bf
--- /dev/null
+++ b/fcitx-skk.spec
@@ -0,0 +1,68 @@
+Name: fcitx-skk
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Japanese SKK (Simple Kana Kanji) Engine for Fcitx
+
+License: GPLv3+
+URL: http://code.google.com/p/fcitx/
+Source0: http://download.fcitx-im.org/%{name}/%{name}-%{version}.tar.xz
+
+BuildRequires: fcitx-devel >= 0.4.8, libskk-devel
+BuildRequires: cmake, gettext, intltool
+Requires: fcitx >= 0.4.8
+Requires: skkdic
+
+%description
+Fcitx-skk is an SKK (Simple Kana Kanji) engine for Fcitx. It provides
+Japanese input method using libskk.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+mkdir -pv build
+pushd build
+%cmake ..
+make VERBOSE=1 %{?_smp_mflags}
+popd
+
+
+%install
+pushd build
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+rm -rf $RPM_BUILD_ROOT%{_includedir}/fcitx
+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
+%{_libdir}/fcitx/%{name}.so
+%{_libdir}/fcitx/qt/libfcitx-skk-config.so
+%{_datadir}/fcitx/addon/%{name}.conf
+%{_datadir}/fcitx/configdesc/%{name}.desc
+%{_datadir}/fcitx/inputmethod/skk.conf
+%{_datadir}/fcitx/skk/
+%{_datadir}/fcitx/imicon/skk.png
+%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
+
+
+
+%changelog
+* Mon Oct 28 2013 Daiki Ueno <dueno at redhat.com> - 0.1.0-1
+- initial packaging for Fedora, based on fcitx-kkc package
diff --git a/sources b/sources
index e69de29..2ae8f36 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+714988cdafa5b4dd3322d8ddfde0dfdf fcitx-skk-0.1.0.tar.xz
More information about the scm-commits
mailing list