diff --git a/.cvsignore b/.cvsignore index e69de29..8e98dce 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ibus-anthy-0.1.0.20080810.tar.gz diff --git a/ibus-anthy.spec b/ibus-anthy.spec new file mode 100644 index 0000000..bfeeb4b --- /dev/null +++ b/ibus-anthy.spec @@ -0,0 +1,60 @@ +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%define mod_path ibus-0.1 +Name: ibus-anthy +Version: 0.1.0.20080810 +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 +BuildRequires: libtool +BuildRequires: python-devel +BuildRequires: anthy-devel +BuildRequires: swig +BuildRequires: pkgconfig + +Requires: ibus +Requires: anthy + +%description +The Anthy engine for IBus platform. It provides Japanese input method from +libanthy. + +%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-anthy +%{_libexecdir}/ibus-engine-anthy +%{_datadir}/ibus-anthy/* +%{_datadir}/ibus/engine/anthy.engine + +%changelog +* Fri Aug 08 2008 Huang Peng - 0.1.0.20080810-1 +- The first version. diff --git a/import.log b/import.log new file mode 100644 index 0000000..992e2a5 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +ibus-anthy-0_1_0_20080810-1_fc9:HEAD:ibus-anthy-0.1.0.20080810-1.fc9.src.rpm:1218369099 diff --git a/sources b/sources index e69de29..1f757d9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1179f6b2f8d00142530e9ba4d5769394 ibus-anthy-0.1.0.20080810.tar.gz