- PPDs sub-packages require cups sub-package.

- Remove foomatic cache after foomatic sub-package is installed/removed.
- Obsoletes/Provides gimp-print-utils.
This commit is contained in:
Tim Waugh 2007-01-12 15:50:37 +00:00
parent e608ff11ef
commit 5b05576f60

View File

@ -4,7 +4,7 @@
Name: gutenprint
Summary: Printer Drivers Package
Version: 5.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Group: System Environment/Base
URL: http://gimp-print.sourceforge.net/
Source0: http://dl.sf.net/gimp-print/gutenprint-%{version}.tar.bz2
@ -20,6 +20,8 @@ BuildRequires: ghostscript-devel
BuildRequires: gimp
#Obsoletes: gimp-print,gimp-print-cups,gimp-print-devel,gimp-print-plugin,gimp-print-utils
#Provides: gimp-print,gimp-print-cups,gimp-print-devel,gimp-print-plugin,gimp-print-utils
Obsoletes: gimp-print-utils <= 4.2.7-24
Provides: gimp-print-utils = 4.2.7-24
## NOTE ##
# The README file in this package contains suggestions from upstream
@ -46,8 +48,8 @@ Summary: GIMP plug-in fo gutenprint
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: gimp
Obsoletes: gimp-print-plugin <= 4.2.7-23
Provides: gimp-print-plugin <= 4.2.7-23
Obsoletes: gimp-print-plugin <= 4.2.7-24
Provides: gimp-print-plugin <= 4.2.7-24
%description plugin
This package contains the gutenprint GIMP plug-in.
@ -56,6 +58,7 @@ This package contains the gutenprint GIMP plug-in.
Summary: Printer Drivers Package in Czech
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-cs
This is the printer drivers package in Czech.
@ -64,6 +67,7 @@ This is the printer drivers package in Czech.
Summary: Printer Drivers Package in Danish
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-da
This is the printer drivers package in Danish.
@ -72,6 +76,7 @@ This is the printer drivers package in Danish.
Summary: Printer Drivers Package in German
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-de
This is the printer drivers package in German.
@ -80,6 +85,7 @@ This is the printer drivers package in German.
Summary: Printer Drivers Package in Greek
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-el
This is the printer drivers package in Greek.
@ -88,6 +94,7 @@ This is the printer drivers package in Greek.
Summary: Printer Drivers Package in English
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-en_GB
This is the printer drivers package in English.
@ -96,6 +103,7 @@ This is the printer drivers package in English.
Summary: Printer Drivers Package in Spanish
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-es
This is the printer drivers package in Spanish.
@ -104,6 +112,7 @@ This is the printer drivers package in Spanish.
Summary: Printer Drivers Package in French
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-fr
This is the printer drivers package in French.
@ -112,6 +121,7 @@ This is the printer drivers package in French.
Summary: Printer Drivers Package in Hungarian
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-hu
This is the printer drivers package in Hungarian.
@ -120,6 +130,7 @@ This is the printer drivers package in Hungarian.
Summary: Printer Drivers Package in Japanese
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-ja
This is the printer drivers package in Japanese.
@ -128,6 +139,7 @@ This is the printer drivers package in Japanese.
Summary: Printer Drivers Package in Norwegian/Bokmaal
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-nb
This is the printer drivers package in Norwegian/Bokmaal.
@ -136,6 +148,7 @@ This is the printer drivers package in Norwegian/Bokmaal.
Summary: Printer Drivers Package in Dutch
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-nl
This is the printer drivers package in Dutch.
@ -144,6 +157,7 @@ This is the printer drivers package in Dutch.
Summary: Printer Drivers Package in Polish
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-pl
This is the printer drivers package in Polish.
@ -152,6 +166,7 @@ This is the printer drivers package in Polish.
Summary: Printer Drivers Package in Portuguese
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-pt
This is the printer drivers package in Portuguese.
@ -160,6 +175,7 @@ This is the printer drivers package in Portuguese.
Summary: Printer Drivers Package in Slovak
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-sk
This is the printer drivers package in Slovak.
@ -168,6 +184,7 @@ This is the printer drivers package in Slovak.
Summary: Printer Drivers Package in Swedish
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-sv
This is the printer drivers package in Swedish.
@ -176,6 +193,7 @@ This is the printer drivers package in Swedish.
Summary: Printer Drivers Package in Chinese (traditional
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cups = %{version}-%{release}
%description ppds-zh_TW
This is the printer drivers package in Chinese (traditional.
@ -370,7 +388,18 @@ exit 0
%defattr(-, root, root,-)
%{_datadir}/cups/model/gutenprint/5.0/zh_TW
%post foomatic
/bin/rm -f /var/cache/foomatic/*
%postun foomatic
/bin/rm -f /var/cache/foomatic/*
%changelog
* Fri Jan 12 2007 Tim Waugh <twaugh@redhat.com> 5.0.0-2
- PPDs sub-packages require cups sub-package.
- Remove foomatic cache after foomatic sub-package is installed/removed.
- Obsoletes/Provides gimp-print-utils.
* Thu Jan 11 2007 Tim Waugh <twaugh@redhat.com> 5.0.0-1
- The cups subpackage no longer requires gimp-print-cups.
- Ship escputil, native CUPS backend/filters, and cups-calibrate.