From 8bcbfaeb665b5a9c1edf5fd6545bccca7e4aae63 Mon Sep 17 00:00:00 2001 From: Huang Peng Date: Mon, 30 Jun 2008 07:57:04 +0800 Subject: Import ibus-anthy projiect. --- ibus-anthy.spec.in | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 ibus-anthy.spec.in (limited to 'ibus-anthy.spec.in') diff --git a/ibus-anthy.spec.in b/ibus-anthy.spec.in new file mode 100644 index 0000000..2b5c27b --- /dev/null +++ b/ibus-anthy.spec.in @@ -0,0 +1,52 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%define mod_path ibus-@PACKAGE_VERSION_MAJOR@.@PACKAGE_VERSION_MINOR@ +Name: ibus-anthy +Version: @PACKAGE_VERSION@ +Release: 1%{?dist} +Summary: The Anthy 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 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gettext-devel, libtool, python-devel, pygtk2-devel, perl(XML::Parser) gtk2-devel qt-devel +Requires: pygtk2 + +%description +The Anthy engine for IBus input platform. + +%prep +%setup -q + +%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%{python_sitearch}/_anthy.la + +# %find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +# -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +# %dir %{python_sitearch}/ibus +%{python_sitearch}/anthy.py* +%{python_sitearch}/_anthy.so +%dir %{_datadir}/ibus/engine/anthy +%{_datadir}/ibus/engine/anthy/* +%{_libexecdir}/ibus-engine-anthy +%{_datadir}/ibus/icons/ibus-anthy.png + +%changelog +* Wed Jun 25 2008 Huang Peng - 0.1.0-1 +- The first version. -- cgit v1.2.1