1 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
3 %define mod_path ibus
-@PACKAGE_VERSION_MAJOR@.@PACKAGE_VERSION_MINOR@
5 Version: @PACKAGE_VERSION@
7 Summary: IBus template project
9 Group: System Environment
/Libraries
10 URL: http
://code.google.com
/p
/ibus
/
11 Source0: http
://ibus.googlecode.com
/files
/%{name}-%{version}.tar.gz
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
14 BuildRequires
: gettext
-devel
, libtool
, python
-devel
, pygtk2
-devel
, perl
(XML
::Parser
) gtk2
-devel qt
-devel
24 %configure --disable
-static
25 # make -C po update-gmo
29 rm -rf $RPM_BUILD_ROOT
30 make DESTDIR
=$
{RPM_BUILD_ROOT
} install
35 rm -rf $RPM_BUILD_ROOT
39 %defattr(-,root
,root
,-)
40 %doc AUTHORS COPYING README
41 # %dir %{python_sitearch}/ibus
42 # %{python_sitearch}/ibus/*
43 %dir %{_datadir}/ibus
/engine
/enchant
44 %{_datadir}/ibus
/engine
/enchant
/*
45 %{_libexecdir}/ibus
-engine
-enchant
46 %{_datadir}/ibus
/icons
/ibus
-enchant.svg
49 * Wed Jun
25 2008 Huang Peng
<shawn.p.huang@gmail.com
> - 0.1.0-1