147 lines
4.6 KiB
RPMSpec
147 lines
4.6 KiB
RPMSpec
Name: ibus-table
|
|
Version: 1.1.0.20090220
|
|
Release: 3%{?dist}
|
|
Summary: The Table 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)
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: ibus-devel
|
|
|
|
Requires: ibus
|
|
|
|
%description
|
|
The package contains general Table engine for IBus platform.
|
|
|
|
%package additional
|
|
Summary: Additional tables for general table engine of IBus
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description additional
|
|
This package contains additional tables.
|
|
|
|
%prep
|
|
%setup -b0 -q
|
|
|
|
%build
|
|
cd ../%{name}-%{version}
|
|
%configure --disable-static --enable-additional
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install
|
|
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post additional
|
|
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/compose.db
|
|
ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/latex.db
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING README
|
|
%dir %{_datadir}/%{name}
|
|
%dir %{_datadir}/%{name}/engine
|
|
%dir %{_datadir}/%{name}/tables
|
|
%dir %{_datadir}/%{name}/icons
|
|
%dir %{_datadir}/%{name}/data
|
|
%{_datadir}/ibus/component/table.xml
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
%{_libexecdir}/ibus-engine-table
|
|
%{_bindir}/%{name}-createdb
|
|
%{_datadir}/%{name}/tables/template.txt
|
|
%{_datadir}/%{name}/icons/%{name}.svg
|
|
%{_datadir}/%{name}/icons/full-letter.svg
|
|
%{_datadir}/%{name}/icons/full-punct.svg
|
|
%{_datadir}/%{name}/icons/half-letter.svg
|
|
%{_datadir}/%{name}/icons/half-punct.svg
|
|
%{_datadir}/%{name}/icons/onechar.svg
|
|
%{_datadir}/%{name}/icons/phrase.svg
|
|
%{_datadir}/%{name}/icons/py-mode.svg
|
|
%{_datadir}/%{name}/icons/tab-mode.svg
|
|
%{_datadir}/%{name}/icons/chinese.svg
|
|
%{_datadir}/%{name}/icons/dcommit.svg
|
|
%{_datadir}/%{name}/icons/english.svg
|
|
%{_datadir}/%{name}/icons/ncommit.svg
|
|
%{_datadir}/%{name}/data/pinyin_table.txt.bz2
|
|
%{_datadir}/%{name}/engine/factory.py
|
|
%{_datadir}/%{name}/engine/factory.pyc
|
|
%{_datadir}/%{name}/engine/factory.pyo
|
|
%{_datadir}/%{name}/engine/main.py
|
|
%{_datadir}/%{name}/engine/main.pyc
|
|
%{_datadir}/%{name}/engine/main.pyo
|
|
%{_datadir}/%{name}/engine/speedmeter.py
|
|
%{_datadir}/%{name}/engine/speedmeter.pyc
|
|
%{_datadir}/%{name}/engine/speedmeter.pyo
|
|
%{_datadir}/%{name}/engine/tabcreatedb.py
|
|
%{_datadir}/%{name}/engine/tabcreatedb.pyc
|
|
%{_datadir}/%{name}/engine/tabcreatedb.pyo
|
|
%{_datadir}/%{name}/engine/tabdict.py
|
|
%{_datadir}/%{name}/engine/tabdict.pyc
|
|
%{_datadir}/%{name}/engine/tabdict.pyo
|
|
%{_datadir}/%{name}/engine/table.py
|
|
%{_datadir}/%{name}/engine/table.pyc
|
|
%{_datadir}/%{name}/engine/table.pyo
|
|
%{_datadir}/%{name}/engine/tabsqlitedb.py
|
|
%{_datadir}/%{name}/engine/tabsqlitedb.pyc
|
|
%{_datadir}/%{name}/engine/tabsqlitedb.pyo
|
|
%{_datadir}/%{name}/icons/cb-mode.svg
|
|
%{_datadir}/%{name}/icons/sc-mode.svg
|
|
%{_datadir}/%{name}/icons/scb-mode.svg
|
|
%{_datadir}/%{name}/icons/tc-mode.svg
|
|
%{_datadir}/%{name}/icons/tcb-mode.svg
|
|
|
|
%files additional
|
|
%defattr(-,root,root,-)
|
|
%{_datadir}/%{name}/tables/compose.db
|
|
%{_datadir}/%{name}/tables/latex.db
|
|
%{_datadir}/%{name}/icons/compose.svg
|
|
%{_datadir}/%{name}/icons/latex.svg
|
|
|
|
%changelog
|
|
* Tue Mar 03 2009 Caius Chance <cchance@redhat.com> - 1.1.0.20090220-3.fc11
|
|
- Bumped release number.
|
|
|
|
* Tue Mar 03 2009 Caius Chance <cchance@redhat.com> - 1.1.0.20090220-2.fc11
|
|
- Resolves: rhbz#484650
|
|
- Added BuildRequires ibus-devel.
|
|
|
|
* Mon Mar 02 2009 Caius Chance <cchance@redhat.com> - 1.1.0.20090220-1.fc11
|
|
- Resolves: rhbz#484650
|
|
- Updated to latest upstream release.
|
|
- Splitted chinese input methods into modules.
|
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1.20081014-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Feb 04 2009 Caius Chance <cchance@redhat.com> - 0.1.1.20081014-4
|
|
- Resolves: rhbz#466430 rhbz#466844
|
|
- Added wildcard features.
|
|
- Added preedit clearance on refocus.
|
|
|
|
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.1.20081014-3
|
|
- Rebuild for Python 2.6
|
|
|
|
* Mon Dec 1 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081014-2
|
|
- Modified spec file to own all directories created by ibus-table.
|
|
|
|
* Fri Oct 14 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20081014-1
|
|
- Update to 0.1.1.20081014.
|
|
|
|
* Mon Sep 01 2008 Peng Huang <shawn.p.huang@gmail.com> - 0.1.1.20080901-1
|
|
- Update to 0.1.1.20080901.
|
|
|
|
* Wed Aug 19 2008 Yu Yuwei <acevery@gmail.com> - 0.1.1.20080829-1
|
|
- The first version.
|