From 3c6cd6caff440119e04149fe50d67835daa76a7c Mon Sep 17 00:00:00 2001 From: "Eduardo Lima (Etrunko)" Date: Tue, 10 Dec 2013 14:45:03 -0200 Subject: [PATCH] Added Tizen packaging Change-Id: Iaad0080813be465d4d3ed2c0c9a03a57aaec11f7 Signed-off-by: Eduardo Lima (Etrunko) --- packaging/ibus-hangul.changes | 2 ++ packaging/ibus-hangul.manifest | 5 ++++ packaging/ibus-hangul.spec | 56 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 packaging/ibus-hangul.changes create mode 100644 packaging/ibus-hangul.manifest create mode 100644 packaging/ibus-hangul.spec diff --git a/packaging/ibus-hangul.changes b/packaging/ibus-hangul.changes new file mode 100644 index 0000000..13e4596 --- /dev/null +++ b/packaging/ibus-hangul.changes @@ -0,0 +1,2 @@ +* Wed Dec 18 2013 Eduardo Lima (Etrunko) upstream/1.4.2@fe94d5d +- Added Tizen packaging diff --git a/packaging/ibus-hangul.manifest b/packaging/ibus-hangul.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/ibus-hangul.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/ibus-hangul.spec b/packaging/ibus-hangul.spec new file mode 100644 index 0000000..6cb9274 --- /dev/null +++ b/packaging/ibus-hangul.spec @@ -0,0 +1,56 @@ +%define mod_path ibus-1.4 +Name: ibus-hangul +Version: 1.4.2 +Release: 1 +Summary: The Hangul engine for IBus input platform +License: GPLv2+ +Group: System Environment/Libraries +URL: http://code.google.com/p/ibus/ +Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz +Source1001: ibus-hangul.manifest + +BuildRequires: pkgconfig +BuildRequires: gettext-devel +BuildRequires: libtool +BuildRequires: intltool +BuildRequires: pkgconfig(ibus-1.0) +BuildRequires: pkgconfig(libhangul) + +Requires: ibus + +%description +The Hangul engine for IBus platform. It provides Korean input method from +libhangul. + +%prep +%setup -q +cp %{SOURCE1001} . + + +%build +%configure --disable-static +# make -C po update-gmo +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=${RPM_BUILD_ROOT} install + +rm -f ${RPM_BUILD_ROOT}%{_bindir}/ibus-setup-hangul +sed -i 's!^Exec=ibus-setup-hangul!Exec=%{_libexecdir}/ibus-setup-hangul!' ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-hangul.desktop + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%manifest %{name}.manifest +%doc AUTHORS COPYING README +%{_libexecdir}/ibus-engine-hangul +%{_libexecdir}/ibus-setup-hangul +%{_datadir}/ibus-hangul +%{_datadir}/ibus/component/* +%{_libdir}/ibus-hangul/setup/* +%{_datadir}/applications/ibus-setup-hangul.desktop +%{_datadir}/icons/hicolor/*/apps/* -- 2.7.4