- Split .pc to -devel subpackage.

This commit is contained in:
cchance 2010-01-29 07:33:05 +00:00
parent ab19a2e2bb
commit 6b41254e2f

View File

@ -1,6 +1,6 @@
Name: ibus-table
Version: 1.2.0.20100111
Release: 2%{?dist}
Release: 3%{?dist}
Summary: The Table engine for IBus platform
License: LGPLv2+
Group: System Environment/Libraries
@ -19,6 +19,14 @@ BuildArch: noarch
%description
The Table engine for IBus platform.
%package -n %{name}-devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}, pkgconfig
%description -n %{name}-devel
Headers and other files needed to develop applications using the %{name} library.
%prep
%setup -q
#%patch0 -p1 -b .1-disable_speedmeter
@ -45,12 +53,14 @@ The Table engine for IBus platform.
%clean
%__rm -rf $RPM_BUILD_ROOT
%post
%post -p /sbin/ldconfig
### 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
###
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
@ -60,7 +70,6 @@ ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/latex.db
%dir %{_datadir}/%{name}/icons
%dir %{_datadir}/%{name}/data
%{_datadir}/ibus/component/table.xml
%{_datadir}/pkgconfig/%{name}.pc
%{_datadir}/%{name}/icons/%{name}.svg
%{_datadir}/%{name}/icons/full-letter.svg
%{_datadir}/%{name}/icons/full-punct.svg
@ -108,7 +117,14 @@ ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/latex.db
%{_datadir}/%{name}ibus-table/icons/latex.svg
###
%files devel
%defattr(-, root, root, -)
%{_datadir}/pkgconfig/%{name}.pc
%changelog
* Fri Jan 29 2010 Caius 'kaio' Chance <k at kaio.me> - 1.2.0.20100111-3.fc13
- Split .pc to -devel subpackage.
* 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.