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