- Added foomatic-db-hpijs tarball back in.
This commit is contained in:
parent
f75aa94be3
commit
df4879941b
@ -1,16 +1,18 @@
|
|||||||
%define dbver_rel 4.0
|
%define dbver_rel 4.0
|
||||||
%define dbver_snap 20091126
|
%define dbver_snap 20091126
|
||||||
|
%define hpijsver 20090701
|
||||||
|
|
||||||
Summary: Database of printers and printer drivers
|
Summary: Database of printers and printer drivers
|
||||||
Name: foomatic-db
|
Name: foomatic-db
|
||||||
Version: %{dbver_rel}
|
Version: %{dbver_rel}
|
||||||
Release: 7.%{dbver_snap}%{?dist}
|
Release: 8.%{dbver_snap}%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name}-filesystem = %{version}-%{release}
|
Requires: %{name}-filesystem = %{version}-%{release}
|
||||||
Requires: %{name}-ppds = %{version}-%{release}
|
Requires: %{name}-ppds = %{version}-%{release}
|
||||||
|
|
||||||
Source0: http://www.openprinting.org/download/foomatic/foomatic-db-%{dbver_rel}-%{dbver_snap}.tar.gz
|
Source0: http://www.openprinting.org/download/foomatic/foomatic-db-%{dbver_rel}-%{dbver_snap}.tar.gz
|
||||||
|
Source1: http://www.openprinting.org/download/foomatic/foomatic-db-hpijs-%{hpijsver}.tar.gz
|
||||||
|
|
||||||
Url: http://www.openprinting.org
|
Url: http://www.openprinting.org
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -50,10 +52,12 @@ Requires: %{name}-filesystem = %{version}-%{release}
|
|||||||
PPDs from printer manufacturers.
|
PPDs from printer manufacturers.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{dbver_snap}
|
%setup -q -c -a 1
|
||||||
|
|
||||||
find -type d | xargs chmod g-s
|
find -type d | xargs chmod g-s
|
||||||
|
|
||||||
|
pushd foomatic-db-%{dbver_snap}
|
||||||
|
|
||||||
cd db/source
|
cd db/source
|
||||||
|
|
||||||
# For gutenprint printers, use gutenprint-ijs-simplified.5.2.
|
# For gutenprint printers, use gutenprint-ijs-simplified.5.2.
|
||||||
@ -80,16 +84,32 @@ done
|
|||||||
# Use sed instead of perl in the PPDs (bug #512739).
|
# Use sed instead of perl in the PPDs (bug #512739).
|
||||||
find PPD -type f -name '*.ppd' | xargs perl -pi -e 's,perl -p,sed,'
|
find PPD -type f -name '*.ppd' | xargs perl -pi -e 's,perl -p,sed,'
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
pushd foomatic-db-hpijs-%{hpijsver}
|
||||||
%configure
|
%configure
|
||||||
make PREFIX=%{_prefix}
|
make PREFIX=%{_prefix}
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd foomatic-db-%{dbver_snap}
|
||||||
|
%configure
|
||||||
|
make PREFIX=%{_prefix}
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
pushd foomatic-db-%{dbver_snap}
|
||||||
make DESTDIR=%buildroot PREFIX=%{_prefix} \
|
make DESTDIR=%buildroot PREFIX=%{_prefix} \
|
||||||
install
|
install
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd foomatic-db-hpijs-%{hpijsver}
|
||||||
|
make DESTDIR=%buildroot PREFIX=%{_prefix} \
|
||||||
|
install
|
||||||
|
popd
|
||||||
|
|
||||||
# Remove ghostscript UPP drivers that are gone in 7.07
|
# Remove ghostscript UPP drivers that are gone in 7.07
|
||||||
rm -f %{buildroot}%{_datadir}/foomatic/db/source/driver/{bjc6000a1,PM760p,PM820p,s400a1,sharp,Stc670pl,Stc670p,Stc680p,Stc760p,Stc777p,Stp720p,Stp870p}.upp.xml
|
rm -f %{buildroot}%{_datadir}/foomatic/db/source/driver/{bjc6000a1,PM760p,PM820p,s400a1,sharp,Stc670pl,Stc670p,Stc680p,Stc760p,Stc777p,Stp720p,Stp870p}.upp.xml
|
||||||
@ -116,9 +136,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc db/source/PPD/Kyocera/*.htm
|
%doc foomatic-db-%{dbver_snap}/db/source/PPD/Kyocera/*.htm
|
||||||
%doc README
|
%doc foomatic-db-%{dbver_snap}/README
|
||||||
%doc COPYING
|
%doc foomatic-db-%{dbver_snap}/COPYING
|
||||||
%{_datadir}/foomatic/db/oldprinterids
|
%{_datadir}/foomatic/db/oldprinterids
|
||||||
%{_datadir}/foomatic/db/source/printer
|
%{_datadir}/foomatic/db/source/printer
|
||||||
%{_datadir}/foomatic/db/source/driver
|
%{_datadir}/foomatic/db/source/driver
|
||||||
@ -130,6 +150,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/cups/model/foomatic-db-ppds
|
%{_datadir}/cups/model/foomatic-db-ppds
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 4 2009 Tim Waugh <twaugh@redhat.com> 4.0-8.20091126
|
||||||
|
- Added foomatic-db-hpijs tarball back in.
|
||||||
|
|
||||||
* Thu Nov 26 2009 Tim Waugh <twaugh@redhat.com> 4.0-7.20091126
|
* Thu Nov 26 2009 Tim Waugh <twaugh@redhat.com> 4.0-7.20091126
|
||||||
- Updated to foomatic-db-4.0-20091126 (bug #538994).
|
- Updated to foomatic-db-4.0-20091126 (bug #538994).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user