Added Tizen packaging 59/13659/5 accepted/tizen/generic accepted/tizen/ivi accepted/tizen/mobile accepted/tizen_generic accepted/tizen_ivi_panda tizen_3.0.m14.2_ivi tizen_ivi_panda accepted/tizen/generic/20140106.143919 accepted/tizen/ivi/20131220.020618 accepted/tizen/ivi/panda/20140403.014450 accepted/tizen/mobile/20131219.213051 submit/tizen/20131219.192728 submit/tizen_ivi_panda/20140403.012012 tizen_3.0.m14.2_ivi_release
authorEduardo Lima (Etrunko) <eduardo.lima@intel.com>
Wed, 11 Dec 2013 20:46:37 +0000 (18:46 -0200)
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>
Wed, 18 Dec 2013 18:23:46 +0000 (16:23 -0200)
Change-Id: I0ee09dfc9b995e141858c7d7afc46a92a27065cd
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
packaging/ibus-libpinyin.changes [new file with mode: 0644]
packaging/ibus-libpinyin.manifest [new file with mode: 0644]
packaging/ibus-libpinyin.spec [new file with mode: 0644]

diff --git a/packaging/ibus-libpinyin.changes b/packaging/ibus-libpinyin.changes
new file mode 100644 (file)
index 0000000..945cada
--- /dev/null
@@ -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 (file)
index 0000000..017d22d
--- /dev/null
@@ -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 (file)
index 0000000..d074117
--- /dev/null
@@ -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/*