- Removed old explicit provides for perl(Foomatic::GrovePath).

- Fixed macro in changelog.
- Avoid mixed spaces and tabs.
- Ship COPYING files.
- Added comments for sources.
This commit is contained in:
Tim Waugh 2010-03-03 16:14:04 +00:00
parent 2bd530860f
commit 57c25a3d0a
1 changed files with 41 additions and 31 deletions

View File

@ -4,12 +4,14 @@
Summary: Database of printers and printer drivers
Name: foomatic
Version: %{enginever}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Libraries
# The database engine.
Source0: http://www.openprinting.org/download/foomatic/foomatic-db-engine-%{enginever}.tar.gz
# The CUPS driver and filter.
Source1: http://www.openprinting.org/download/foomatic/foomatic-filters-%{filtersver}.tar.gz
## PATCHES FOR FOOMATIC-FILTERS (PATCHES 1 TO 100)
@ -42,7 +44,6 @@ BuildRequires: cups
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)
Provides: perl(Foomatic::GrovePath)
# For 'rm' and '/sbin/service' in post
Requires: fileutils initscripts
@ -151,6 +152,8 @@ 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
@ -164,6 +167,13 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
%{_var}/cache/foomatic
%changelog
* Wed Mar 3 2010 Tim Waugh <twaugh@redhat.com> - 4.0.4-2
- Removed old explicit provides for perl(Foomatic::GrovePath).
- Fixed macro in changelog.
- Avoid mixed spaces and tabs.
- Ship COPYING files.
- Added comments for sources.
* Tue Feb 16 2010 Jiri Popelka <jpopelka@redhat.com> - 4.0.4-1
- 4.0.4
- build no more requires ghostscript-devel
@ -917,7 +927,7 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
- Fix file lists.
* Mon Feb 25 2002 Tim Waugh <twaugh@redhat.com> 1.1-0.20020130.8
- Fix %post scriplet bug (bug #59942).
- Fix %%post scriplet bug (bug #59942).
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.1-0.20020130.7
- Rebuild in new environment.
@ -980,14 +990,14 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
* Mon Dec 17 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.1-0.20011217.1
- respin to pull in latest foomatic database, fixes:
- properly use the cache in relation to foomatic-combo-xml's output
- fix _some_ of the quoting issues with calling foomatic-combo-xml
- properly use the cache in relation to foomatic-combo-xml's output
- fix _some_ of the quoting issues with calling foomatic-combo-xml
* Thu Dec 5 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.1-0.20011205.1
- respin to pull in latest foomatic database, fixes:
- droping half of a large job
- -Mutf8 added to the upstream filters
- miscelaneous printer db updates
- droping half of a large job
- -Mutf8 added to the upstream filters
- miscelaneous printer db updates
* Mon Nov 29 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.1-0.20011018.8
- added Requires: fileutils for the 'rm' in post