+# TODO: update hpijs -> nonfree
Summary: Precompiled foomatic database
-Summary(pl): Prekompilowana baza danych foomatic
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic
Name: cups-foomatic-db
-Version: 20051123
-Release: 1
+Version: 20110615
+Release: 2
License: GPL
Group: Applications/System
URL: http://www.linuxprinting.org/foomatic.html
BuildRequires: foomatic-db = %{version}
-Requires: cups-filter-foomatic >= 3.0.0
+BuildRequires: foomatic-db-hpijs = 2:20081228
+#BuildRequires: foomatic-db-hpijs = 2:%{version}
+Requires: cups-filters >= 1.0.43
Requires: cups-foomatic-db-driver
+Obsoletes: cups-foomatic-db-Gestetner
+Obsoletes: cups-foomatic-db-Lanier
+Obsoletes: cups-foomatic-db-NRG
+Obsoletes: cups-foomatic-db-Savin
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Precompiled foomatic database - common data.
-%description
-Prekompilowana baza danych foomatic - dane wspólne.
+%description -l pl.UTF-8
+Prekompilowana baza danych foomatic - dane wspólne.
%package Alps
Summary: Precompiled foomatic database (Alps)
-Summary(pl): Prekompilowana baza danych foomatic (Alps)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Alps)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Alps
Alps drivers.
-%description Alps -l pl
+%description Alps -l pl.UTF-8
Sterowniki Alps.
%package Apollo
Summary: Precompiled foomatic database (Apollo)
-Summary(pl): Prekompilowana baza danych foomatic (Apollo)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Apollo)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Apollo
Apollo drivers.
-%description Apollo -l pl
+%description Apollo -l pl.UTF-8
Sterowniki Apollo.
%package Apple
Summary: Precompiled foomatic database (Apple)
-Summary(pl): Prekompilowana baza danych foomatic (Apple)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Apple)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Apple
Apple drivers.
-%description Apple -l pl
+%description Apple -l pl.UTF-8
Sterowniki Apple.
%package Brother
Summary: Precompiled foomatic database (Brother)
-Summary(pl): Prekompilowana baza danych foomatic (Brother)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Brother)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Brother
Brother drivers.
-%description Brother -l pl
+%description Brother -l pl.UTF-8
Sterowniki Brother.
%package Canon
Summary: Precompiled foomatic database (Canon)
-Summary(pl): Prekompilowana baza danych foomatic (Canon)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Canon)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Canon
Canon drivers.
-%description Canon -l pl
+%description Canon -l pl.UTF-8
Sterowniki Canon.
%package Citizen
Summary: Precompiled foomatic database (Citizen)
-Summary(pl): Prekompilowana baza danych foomatic (Citizen)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Citizen)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Citizen
Citizen drivers.
-%description Citizen -l pl
+%description Citizen -l pl.UTF-8
Sterowniki Citizen.
%package Compaq
Summary: Precompiled foomatic database (Compaq)
-Summary(pl): Prekompilowana baza danych foomatic (Compaq)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Compaq)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Compaq
Compaq drivers.
-%description Compaq -l pl
+%description Compaq -l pl.UTF-8
Sterowniki Compaq.
%package DEC
Summary: Precompiled foomatic database (DEC)
-Summary(pl): Prekompilowana baza danych foomatic (DEC)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (DEC)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description DEC
DEC drivers.
-%description DEC -l pl
+%description DEC -l pl.UTF-8
Sterowniki DEC.
%package Dymo-CoStar
Summary: Precompiled foomatic database (Dymo-CoStar)
-Summary(pl): Prekompilowana baza danych foomatic (Dymo-CoStar)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Dymo-CoStar)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Dymo-CoStar
Dymo-CoStar drivers.
-%description Dymo-CoStar -l pl
+%description Dymo-CoStar -l pl.UTF-8
Sterowniki Dymo-CoStar.
%package Epson
Summary: Precompiled foomatic database (Epson)
-Summary(pl): Prekompilowana baza danych foomatic (Epson)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Epson)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Epson
Epson drivers.
-%description Epson -l pl
+%description Epson -l pl.UTF-8
Sterowniki Epson.
%package Fujitsu
Summary: Precompiled foomatic database (Fujitsu)
-Summary(pl): Prekompilowana baza danych foomatic (Fujitsu)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Fujitsu)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Fujitsu
Fujitsu drivers.
-%description Fujitsu -l pl
+%description Fujitsu -l pl.UTF-8
Sterowniki Fujitsu.
%package Generic
Summary: Precompiled foomatic database (Generic)
-Summary(pl): Prekompilowana baza danych foomatic (Generic)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Generic)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Generic
Generic drivers.
-%description Generic -l pl
+%description Generic -l pl.UTF-8
Sterowniki Generic.
-%package Gestetner
-Summary: Precompiled foomatic database (Gestetner)
-Summary(pl): Prekompilowana baza danych foomatic (Gestetner)
-Group: Applications/System
-Requires: %{name} = %{version}-%{release}
-Provides: %{name}-driver
-
-%description Gestetner
-Gestetner drivers.
-
-%description Gestetner -l pl
-Sterowniki Gestetner.
-
%package HP
Summary: Precompiled foomatic database (HP)
-Summary(pl): Prekompilowana baza danych foomatic (HP)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (HP)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description HP
HP drivers.
-%description HP -l pl
+%description HP -l pl.UTF-8
Sterowniki HP.
%package IBM
Summary: Precompiled foomatic database (IBM)
-Summary(pl): Prekompilowana baza danych foomatic (IBM)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (IBM)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description IBM
IBM drivers.
-%description IBM -l pl
+%description IBM -l pl.UTF-8
Sterowniki IBM.
%package Infotec
Summary: Precompiled foomatic database (Infotec)
-Summary(pl): Prekompilowana baza danych foomatic (Infotec)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Infotec)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Infotec
Infotec drivers.
-%description Infotec -l pl
+%description Infotec -l pl.UTF-8
Sterowniki Infotec.
%package Kyocera
Summary: Precompiled foomatic database (Kyocera)
-Summary(pl): Prekompilowana baza danych foomatic (Kyocera)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Kyocera)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Kyocera
Kyocera drivers.
-%description Kyocera -l pl
+%description Kyocera -l pl.UTF-8
Sterowniki Kyocera.
-%package Lanier
-Summary: Precompiled foomatic database (Lanier)
-Summary(pl): Prekompilowana baza danych foomatic (Lanier)
-Group: Applications/System
-Requires: %{name} = %{version}-%{release}
-Provides: %{name}-driver
-
-%description Lanier
-Lanier drivers.
-
-%description Lanier -l pl
-Sterowniki Lanier.
-
%package Lexmark
Summary: Precompiled foomatic database (Lexmark)
-Summary(pl): Prekompilowana baza danych foomatic (Lexmark)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Lexmark)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Lexmark
Lexmark drivers.
-%description Lexmark -l pl
+%description Lexmark -l pl.UTF-8
Sterowniki Lexmark.
%package Minolta
Summary: Precompiled foomatic database (Minolta)
-Summary(pl): Prekompilowana baza danych foomatic (Minolta)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Minolta)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Requires: min12xxw
%description Minolta
Minolta drivers.
-%description Minolta -l pl
+%description Minolta -l pl.UTF-8
Sterowniki Minolta.
%package NEC
Summary: Precompiled foomatic database (NEC)
-Summary(pl): Prekompilowana baza danych foomatic (NEC)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (NEC)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description NEC
NEC drivers.
-%description NEC -l pl
+%description NEC -l pl.UTF-8
Sterowniki NEC.
-%package NRG
-Summary: Precompiled foomatic database (NRG)
-Summary(pl): Prekompilowana baza danych foomatic (NRG)
-Group: Applications/System
-Requires: %{name} = %{version}-%{release}
-Provides: %{name}-driver
-
-%description NRG
-NRG drivers.
-
-%description NRG -l pl
-Sterowniki NRG.
-
-%package Okidata
-Summary: Precompiled foomatic database (Okidata)
-Summary(pl): Prekompilowana baza danych foomatic (Okidata)
+%package Oki
+Summary: Precompiled foomatic database (Oki)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Oki)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
+Obsoletes: cups-foomatic-db-Okidata
-%description Okidata
-Okidata drivers.
+%description Oki
+Oki drivers.
-%description Okidata -l pl
-Sterowniki Okidata.
+%description Oki -l pl.UTF-8
+Sterowniki Oki.
%package Olivetti
Summary: Precompiled foomatic database (Olivetti)
-Summary(pl): Prekompilowana baza danych foomatic (Olivetti)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Olivetti)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Olivetti
Olivetti drivers.
-%description Olivetti -l pl
+%description Olivetti -l pl.UTF-8
Sterowniki Olivetti.
%package Panasonic
Summary: Precompiled foomatic database (Panasonic)
-Summary(pl): Prekompilowana baza danych foomatic (Panasonic)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Panasonic)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Panasonic
Panasonic drivers.
-%description Panasonic -l pl
+%description Panasonic -l pl.UTF-8
Sterowniki Panasonic.
%package Ricoh
Summary: Precompiled foomatic database (Ricoh)
-Summary(pl): Prekompilowana baza danych foomatic (Ricoh)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Ricoh)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Ricoh
Ricoh drivers.
-%description Ricoh -l pl
+%description Ricoh -l pl.UTF-8
Sterowniki Ricoh.
%package Samsung
Summary: Precompiled foomatic database (Samsung)
-Summary(pl): Prekompilowana baza danych foomatic (Samsung)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Samsung)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Samsung
Samsung drivers.
-%description Samsung -l pl
+%description Samsung -l pl.UTF-8
Sterowniki Samsung.
-%package Savin
-Summary: Precompiled foomatic database (Savin)
-Summary(pl): Prekompilowana baza danych foomatic (Savin)
-Group: Applications/System
-Requires: %{name} = %{version}-%{release}
-Provides: %{name}-driver
-
-%description Savin
-Savin drivers.
-
-%description Savin -l pl
-Sterowniki Savin.
-
%package Sharp
Summary: Precompiled foomatic database (Sharp)
-Summary(pl): Prekompilowana baza danych foomatic (Sharp)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Sharp)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Sharp
Sharp drivers.
-%description Sharp -l pl
+%description Sharp -l pl.UTF-8
Sterowniki Sharp.
%package Star
Summary: Precompiled foomatic database (Star)
-Summary(pl): Prekompilowana baza danych foomatic (Star)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Star)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Star
Star drivers.
-%description Star -l pl
+%description Star -l pl.UTF-8
Sterowniki Star.
%package Tektronix
Summary: Precompiled foomatic database (Tektronix)
-Summary(pl): Prekompilowana baza danych foomatic (Tektronix)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Tektronix)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Tektronix
Tektronix drivers.
-%description Tektronix -l pl
+%description Tektronix -l pl.UTF-8
Sterowniki Tektronix.
+%package Toshiba
+Summary: Precompiled foomatic database (Toshiba)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Toshiba)
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+Provides: %{name}-driver
+
+%description Toshiba
+Toshiba drivers.
+
+%description Toshiba -l pl.UTF-8
+Sterowniki Toshiba.
+
%package Xerox
Summary: Precompiled foomatic database (Xerox)
-Summary(pl): Prekompilowana baza danych foomatic (Xerox)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (Xerox)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description Xerox
Xerox drivers.
-%description Xerox -l pl
+%description Xerox -l pl.UTF-8
Sterowniki Xerox.
%package other
Summary: Precompiled foomatic database (other)
-Summary(pl): Prekompilowana baza danych foomatic (inne)
+Summary(pl.UTF-8): Prekompilowana baza danych foomatic (inne)
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Provides: %{name}-driver
%description other
Other drivers.
-%description other -l pl
+%description other -l pl.UTF-8
Inne sterowniki.
%prep
%setup -q -c -T
%build
-foomatic-compiledb -t ppd -d . -j 1
+foomatic-compiledb -t ppd -d ppd -j 1
gzip ppd/*
%install
%defattr(644,root,root,755)
%{_datadir}/cups/model/foomatic/Generic-*
-%files Gestetner
-%defattr(644,root,root,755)
-%{_datadir}/cups/model/foomatic/Gestetner-*
-
%files HP
%defattr(644,root,root,755)
%{_datadir}/cups/model/foomatic/HP-*
%defattr(644,root,root,755)
%{_datadir}/cups/model/foomatic/Kyocera-*
-%files Lanier
-%defattr(644,root,root,755)
-%{_datadir}/cups/model/foomatic/Lanier-*
-
%files Lexmark
%defattr(644,root,root,755)
%{_datadir}/cups/model/foomatic/Lexmark-*
%files Minolta
%defattr(644,root,root,755)
-%{_datadir}/cups/model/foomatic/Minolta-*
+%{_datadir}/cups/model/foomatic/Minolta*
%files NEC
%defattr(644,root,root,755)
%{_datadir}/cups/model/foomatic/NEC-*
-%files NRG
-%defattr(644,root,root,755)
-%{_datadir}/cups/model/foomatic/NRG-*
-
-%files Okidata
+%files Oki
%defattr(644,root,root,755)
-%{_datadir}/cups/model/foomatic/Okidata-*
+%{_datadir}/cups/model/foomatic/Oki-*
%files Olivetti
%defattr(644,root,root,755)
%defattr(644,root,root,755)
%{_datadir}/cups/model/foomatic/Samsung-*
-%files Savin
-%defattr(644,root,root,755)
-%{_datadir}/cups/model/foomatic/Savin-*
-
%files Sharp
%defattr(644,root,root,755)
%{_datadir}/cups/model/foomatic/Sharp-*
%defattr(644,root,root,755)
%{_datadir}/cups/model/foomatic/Tektronix-*
+%files Toshiba
+%defattr(644,root,root,755)
+%{_datadir}/cups/model/foomatic/Toshiba-*
+
%files Xerox
%defattr(644,root,root,755)
%{_datadir}/cups/model/foomatic/Xerox-*
%{_datadir}/cups/model/foomatic/Avery-*
%{_datadir}/cups/model/foomatic/CItoh-*
%{_datadir}/cups/model/foomatic/Dell-*
+%{_datadir}/cups/model/foomatic/Genicom-*
%{_datadir}/cups/model/foomatic/Heidelberg-*
%{_datadir}/cups/model/foomatic/Hitachi-*
%{_datadir}/cups/model/foomatic/Imagen-*
%{_datadir}/cups/model/foomatic/QMS-*
%{_datadir}/cups/model/foomatic/Raven-*
%{_datadir}/cups/model/foomatic/Seiko-*
+%{_datadir}/cups/model/foomatic/SiPix-*
+%{_datadir}/cups/model/foomatic/Sony-*
%{_datadir}/cups/model/foomatic/Tally-*
+%{_datadir}/cups/model/foomatic/Xante-*