- Temporary keep files of additional available in ibus-table until
ibus-table-{code,latin} packages are ready in repository.
This commit is contained in:
parent
ec8af7969b
commit
3e93645089
@ -1,6 +1,6 @@
|
||||
Name: ibus-table
|
||||
Version: 1.2.0.20100111
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: The Table engine for IBus platform
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
@ -19,39 +19,37 @@ BuildArch: noarch
|
||||
%description
|
||||
The 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
|
||||
#Additional tables for IBus-Table.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1 -b .1-disable_speedmeter
|
||||
%patch1 -p1 -b .2-equalsign
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%configure --disable-static \
|
||||
--prefix=%{_prefix} \
|
||||
--enable-additional
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
%__make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install pkgconfigdir=%{_datadir}/pkgconfig
|
||||
for file in tables/compose.db tables/latex.db icons/compose.svg icons/latex.svg
|
||||
do
|
||||
%__rm ${RPM_BUILD_ROOT}%{_datadir}/ibus-table/$file
|
||||
done
|
||||
### temp keep additional tables until ibus-table-{code,latin} are ready in repo
|
||||
#for file in tables/compose.db tables/latex.db icons/compose.svg icons/latex.svg
|
||||
#do
|
||||
# %__rm ${RPM_BUILD_ROOT}%{_datadir}/ibus-table/$file
|
||||
#done
|
||||
###
|
||||
|
||||
%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
|
||||
%post
|
||||
### temp keep additional tables until ibus-table-{code,latin} are ready in repo
|
||||
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,-)
|
||||
@ -101,20 +99,20 @@ done
|
||||
%{_datadir}/%{name}/engine/tabsqlitedb.py
|
||||
%{_datadir}/%{name}/engine/tabsqlitedb.pyc
|
||||
%{_datadir}/%{name}/engine/tabsqlitedb.pyo
|
||||
#%{_datadir}/%{name}/engine/speedmeter.py
|
||||
#%{_datadir}/%{name}/engine/speedmeter.pyc
|
||||
#%{_datadir}/%{name}/engine/speedmeter.pyo
|
||||
%{_bindir}/%{name}-createdb
|
||||
%{_libexecdir}/ibus-engine-table
|
||||
|
||||
#%files additional
|
||||
#%defattr(-,root,root,-)
|
||||
#%{_datadir}/ibus-table/tables/compose.db
|
||||
#%{_datadir}/ibus-table/tables/latex.db
|
||||
#%{_datadir}/ibus-table/icons/compose.svg
|
||||
#%{_datadir}/ibus-table/icons/latex.svg
|
||||
### temp keep additional tables until ibus-table-{code,latin} are ready in repo
|
||||
%{_datadir}/ibus-table/tables/compose.db
|
||||
%{_datadir}/ibus-table/tables/latex.db
|
||||
%{_datadir}/ibus-table/icons/compose.svg
|
||||
%{_datadir}/ibus-table/icons/latex.svg
|
||||
###
|
||||
|
||||
%changelog
|
||||
* Thu Jan 14 2010 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20100111-2.fc13
|
||||
- Temporary keep files of additional available in ibus-table until
|
||||
ibus-table-{code,latin} packages are ready in repository.
|
||||
|
||||
* Mon Jan 11 2010 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20100111-1.fc13
|
||||
- Updated source from upstream.
|
||||
- Migreate tables from ibus-table-additional to ibus-table-latin and ibus-table-code.
|
||||
|
Loading…
Reference in New Issue
Block a user