[ibus-cangjie: 2/6] Initial package for Fedora
Mathieu Bridon
bochecha at fedoraproject.org
Tue May 7 14:09:02 UTC 2013
commit ba5c4462dff9a7fdc7e35ef5159f637383965b27
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Sun Jan 13 17:05:09 2013 +0800
Initial package for Fedora
This was submitted for review on Thu May 02 2013:
https://bugzilla.redhat.com/show_bug.cgi?id=958881
ibus-cangjie.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/ibus-cangjie.spec b/ibus-cangjie.spec
new file mode 100644
index 0000000..9e10de0
--- /dev/null
+++ b/ibus-cangjie.spec
@@ -0,0 +1,66 @@
+%global module_name ibus_cangjie
+
+Name: ibus-cangjie
+Summary: IBus engine to input Cangjie and Quick
+Version: 1.0
+Release: 1%{?dist}
+License: GPLv3+
+URL: http://ibus-cangjie.opensource.hk
+Source0: http://ibus-cangjie.opensource.hk/downloads/%{name}/%{name}-%{version}.tar.xz
+
+BuildArch: noarch
+
+BuildRequires: ibus-devel
+BuildRequires: intltool
+BuildRequires: python3-devel
+
+# For the unit tests
+BuildRequires: python3-cangjie
+BuildRequires: python3-gobject
+
+Requires: python3-cangjie
+Requires: python3-gobject
+
+%description
+IBus engine for users of the Cangjie and Quick input methods.
+
+It is primarily intended to Hong Kong people who want to input Traditional
+Chinese, as they are (by far) the majority of Cangjie and Quick users.
+
+However, it should work for others as well (e.g to input Simplified Chinese).
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=%{buildroot}
+
+%find_lang %{name}
+
+
+%check
+make check
+
+
+%files -f %{name}.lang
+%doc README COPYING
+%{_bindir}/ibus-setup-cangjie
+%{_prefix}/lib/%{name}
+%{python3_sitelib}/%{module_name}
+%{_datadir}/applications/ibus-setup-cangjie.desktop
+%{_datadir}/applications/ibus-setup-quick.desktop
+%{_datadir}/%{name}
+%{_datadir}/ibus/component/cangjie.xml
+%{_datadir}/ibus/component/quick.xml
+
+
+%changelog
+* Thu May 02 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 1.0-1
+- Initial package for Fedora.
More information about the scm-commits
mailing list