summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Lima (Etrunko) <eduardo.lima@intel.com>2013-12-11 18:46:37 -0200
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>2013-12-18 16:23:46 -0200
commit688886f093b5f0c7df174b8734b8b2dc43cc4815 (patch)
tree9913414458ecd6fccbfb78ff754863914a03f861
parente98c002ca25c7dda2e0cc860bb47861141a64bfe (diff)
downloadibus-libpinyin-accepted/tizen_ivi_panda.tar.gz
ibus-libpinyin-accepted/tizen_ivi_panda.tar.bz2
ibus-libpinyin-accepted/tizen_ivi_panda.zip
Change-Id: I0ee09dfc9b995e141858c7d7afc46a92a27065cd Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
-rw-r--r--packaging/ibus-libpinyin.changes2
-rw-r--r--packaging/ibus-libpinyin.manifest5
-rw-r--r--packaging/ibus-libpinyin.spec64
3 files changed, 71 insertions, 0 deletions
diff --git a/packaging/ibus-libpinyin.changes b/packaging/ibus-libpinyin.changes
new file mode 100644
index 0000000..945cada
--- /dev/null
+++ b/packaging/ibus-libpinyin.changes
@@ -0,0 +1,2 @@
+* Wed Dec 18 2013 Eduardo Lima (Etrunko) <eduardo.lima@intel.com> upstream/1.6.92@5b7c984
+- Added Tizen packaging
diff --git a/packaging/ibus-libpinyin.manifest b/packaging/ibus-libpinyin.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/ibus-libpinyin.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/ibus-libpinyin.spec b/packaging/ibus-libpinyin.spec
new file mode 100644
index 0000000..d074117
--- /dev/null
+++ b/packaging/ibus-libpinyin.spec
@@ -0,0 +1,64 @@
+Name: ibus-libpinyin
+Version: 1.6.92
+Release: 1
+Summary: Intelligent Pinyin engine based on libpinyin for IBus
+License: GPL-2.0+
+Group: System/Libraries
+URL: https://github.com/libpinyin/ibus-libpinyin
+Source0: http://downloads.sourceforge.net/libpinyin/ibus-libpinyin/%{name}-%{version}.tar.gz
+Source1001: ibus-libpinyin.manifest
+
+BuildRequires: gettext-devel
+BuildRequires: intltool
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: sqlite-devel
+BuildRequires: libuuid-devel
+BuildRequires: lua-devel
+BuildRequires: ibus-devel >= 1.3
+BuildRequires: libpinyin-devel > 0.6.90
+
+# Requires(post): sqlite
+
+Requires: ibus >= 1.2.0
+Requires: libpinyin > 0.6.90
+
+%description
+It includes a Chinese Pinyin input method and a Chinese ZhuYin (Bopomofo) input method based on libpinyin for IBus.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+
+%build
+%configure --disable-static \
+ --disable-boost
+
+# make -C po update-gmo
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=${RPM_BUILD_ROOT} install
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{_datadir}/applications/*.desktop
+%{_libexecdir}/ibus-engine-libpinyin
+%{_libexecdir}/ibus-setup-libpinyin
+%{_datadir}/ibus-libpinyin/phrases.txt
+%{_datadir}/ibus-libpinyin/icons
+%{_datadir}/ibus-libpinyin/setup
+%{_datadir}/ibus-libpinyin/*.lua
+%{_datadir}/ibus-libpinyin/db/*.db
+%dir %{_datadir}/ibus-libpinyin
+%dir %{_datadir}/ibus-libpinyin/db
+%{_datadir}/ibus/component/*