ibus-m17n/ibus-m17n.spec

86 lines
2.5 KiB
RPMSpec
Raw Normal View History

2008-08-10 11:43:26 +00:00
%{!?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-m17n
2008-10-13 06:24:30 +00:00
Version: 0.1.1.20081013
2008-11-29 16:47:53 +00:00
Release: 4%{?dist}
2008-08-10 11:43:26 +00:00
Summary: The M17N engine for IBus 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: swig
BuildRequires: pkgconfig
BuildRequires: m17n-lib-devel
Requires: ibus
Requires: m17n-lib
%description
M17N engine for IBus input platform. It allows input of many languages using
input maps from m17n-db.
2008-08-10 11:43:26 +00:00
%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}/_m17n.la
# .engine files are now in m17n-db and m17n-contrib
rm -f $RPM_BUILD_ROOT%{_datadir}/ibus/engine/m17n-*.engine
2008-08-15 04:05:49 +00:00
%find_lang %{name}
2008-08-10 11:43:26 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
2008-08-15 04:05:49 +00:00
%files -f %{name}.lang
2008-08-10 11:43:26 +00:00
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{python_sitearch}/_m17n.so
%{python_sitearch}/m17n.py*
%dir %{_datadir}/ibus-m17n
%{_datadir}/ibus-m17n/*
2008-08-15 04:05:49 +00:00
%{_bindir}/ibus-engine-m17n
2008-08-10 11:43:26 +00:00
%changelog
2008-11-29 16:47:53 +00:00
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.1.20081013-4
- Rebuild for Python 2.6
* Thu Oct 16 2008 Jens Petersen <petersen@redhat.com> - 0.1.1.20081013-3
- move the .engine files to m17n-db and m17n-contrib (#466410)
* Wed Oct 15 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20081013-2
- Move unicode, rfc1345 to generic package, and syrc-phonetic to syriac package.
2008-10-13 06:24:30 +00:00
* Mon Oct 13 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20081013-1
- Update to 0.1.1.20081013.
2008-10-09 05:29:06 +00:00
* Thu Oct 09 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20081009-1
- Update to 0.1.1.20081009.
2008-09-01 00:42:39 +00:00
* Mon Sep 01 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080901-1
- Update to 0.1.1.20080901.
2008-08-23 01:34:37 +00:00
* Sat Aug 23 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080823-1
- Update to 0.1.1.20080823.
2008-08-15 04:05:49 +00:00
* Fri Aug 15 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080815-1
- Update to 0.1.1.20080815.
2008-08-12 07:33:30 +00:00
* Tue Aug 12 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080812-1
- Update to 0.1.1.20080812.
2008-08-10 11:43:26 +00:00
* Thu Aug 07 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.0.20080810-1
- The first version.