diff --git a/foomatic.spec b/foomatic.spec index 599d2d7..bbe5f31 100644 --- a/foomatic.spec +++ b/foomatic.spec @@ -4,7 +4,7 @@ Summary: Database of printers and printer drivers Name: foomatic Version: %{enginever} -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2+ Group: System Environment/Libraries @@ -41,6 +41,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: libxml2-devel BuildRequires: autoconf, automake BuildRequires: cups +Requires: %{name}-filters = %{version}-%{release} Requires: perl >= 3:5.8.1 Requires: %(eval `perl -V:version`; echo "perl(:MODULE_COMPAT_$version)") BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -72,6 +73,14 @@ queues (foomatic-configure) and to print files/manipulate jobs The site http://www.linuxprinting.org/ is based on this database. +%package filters +Summary: CUPS print filters for the foomatic package +License: GPLv2+ +Group: System Environment/Libraries + +%description filters +CUPS print filters for the foomatic package. + %prep %setup -q -c -a 1 @@ -153,25 +162,46 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name} %files %defattr(-,root,root) -%doc --parents foomatic-filters-%{filtersver}/COPYING %doc --parents foomatic-db-engine-%{enginever}/COPYING -%dir %{_sysconfdir}/foomatic -%config(noreplace) %{_sysconfdir}/foomatic/filter.conf %config(noreplace) %{_sysconfdir}/foomatic/defaultspooler -%{_bindir}/* +%{_bindir}/foomatic-combo-xml +%{_bindir}/foomatic-compiledb +%{_bindir}/foomatic-configure +%{_bindir}/foomatic-datafile +%{_bindir}/foomatic-perl-data +%{_bindir}/foomatic-ppd-options +%{_bindir}/foomatic-ppd-to-xml +%{_bindir}/foomatic-ppdfile +%{_bindir}/foomatic-printjob +%{_bindir}/foomatic-searchprinter %{_sbindir}/* %{_datadir}/perl5/Foomatic -/usr/lib/cups/backend/* /usr/lib/cups/driver/* -/usr/lib/cups/filter/* -%{_mandir}/*/* +%{_mandir}/man1/foomatic-combo-xml.1* +%{_mandir}/man1/foomatic-compiledb.1* +%{_mandir}/man1/foomatic-configure.1* +%{_mandir}/man1/foomatic-perl-data.1* +%{_mandir}/man1/foomatic-ppd-options.1* +%{_mandir}/man1/foomatic-ppdfile.1* +%{_mandir}/man1/foomatic-printjob.1* +%{_mandir}/man8/* %{_var}/cache/foomatic +%files filters +%defattr(-,root,root,-) +%doc --parents foomatic-filters-%{filtersver}/COPYING +%dir %{_sysconfdir}/foomatic +%config(noreplace) %{_sysconfdir}/foomatic/filter.conf +%{_bindir}/foomatic-rip +/usr/lib/cups/backend/beh +/usr/lib/cups/filter/foomatic-rip +%{_mandir}/man1/foomatic-rip.1* + %changelog -* Mon Apr 12 2010 Tim Waugh - 4.0.4-8 -- Rebuilt for new device IDs (bug #575063). +* Thu Apr 15 2010 Tim Waugh - 4.0.4-9 +- Split out foomatic-filters sub-package. Main package depends on it. -* Sat Mar 20 2010 Tim Waugh - 4.0.4-6 +* Mon Apr 12 2010 Tim Waugh - 4.0.4-8 - Rebuilt for new device IDs (bug #575063). * Thu Mar 18 2010 Tim Waugh - 4.0.4-4