diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-30 07:57:04 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2008-06-30 07:57:04 +0800 |
commit | 8bcbfaeb665b5a9c1edf5fd6545bccca7e4aae63 (patch) | |
tree | fd33a31a9f39a0c84a925cdb8f739c1b3fbf4c43 /ibus-anthy.spec.in | |
parent | f6303d37775aff4c1087bea9da91345a5c849afd (diff) | |
download | ibus-anthy-8bcbfaeb665b5a9c1edf5fd6545bccca7e4aae63.tar.gz |
Import ibus-anthy projiect.
Diffstat (limited to 'ibus-anthy.spec.in')
-rw-r--r-- | ibus-anthy.spec.in | 52 |
1 files changed, 52 insertions, 0 deletions
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 <shawn.p.huang@gmail.com> - 0.1.0-1 +- The first version. |