1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: The code tables for IBus-Table
License: GPLv3
Group: System Environment/Libraries
URL: http://code.google.com/p/ibus/
Source0: http://cloud.github.com/downloads/kaio/ibus-table-code/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: ibus >= 1.2, ibus-table >= 1.2.0.20090912
Requires(post): ibus >= 1.2, ibus-table >= 1.2.0.20090912
BuildRequires: ibus >= 1.2, ibus-table >= 1.2.0.20090912
Obsoletes: ibus-table-additional <= 1.2.0.20100108
Conflicts: ibus-table-additional > 1.2.0.20100108
%description
The package contains additional tables for Ibus-Table.
%prep
%setup -q
%build
%configure \
--disable-static \
--enable-latex \
--enable-cns11643
%__make %{?_smp_mflags}
%install
%__rm -rf $RPM_BUILD_ROOT
%__make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install
# %find_lang %{name}
%post
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/latex.db
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/cns11643.db
%clean
%__rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_datadir}/ibus-table/tables/latex.db
%{_datadir}/ibus-table/tables/cns11643.db
%{_datadir}/ibus-table/icons/latex.svg
%{_datadir}/ibus-table/icons/cns11643.png
%changelog
* Fri Jan 08 2010 Caius 'kaio' Chance <k at kaio.me> - @VERSION@-1
- The first version.
- Merged from ibus-table-additional.
|