- Removed now-unused with_omni code.
This commit is contained in:
parent
778bd7fad4
commit
c6ea7ee09f
@ -3,8 +3,6 @@
|
|||||||
%define filtersver 20051209
|
%define filtersver 20051209
|
||||||
%define hpijsver 20061031
|
%define hpijsver 20061031
|
||||||
|
|
||||||
%define with_omni 0
|
|
||||||
|
|
||||||
Summary: Foomatic printer database.
|
Summary: Foomatic printer database.
|
||||||
Name: foomatic
|
Name: foomatic
|
||||||
Version: 3.0.2
|
Version: 3.0.2
|
||||||
@ -22,9 +20,6 @@ Source1: http://www.linuxprinting.org/download/foomatic/foomatic-filters-3.0-%{f
|
|||||||
Source2: http://www.linuxprinting.org/download/foomatic/foomatic-db-3.0-%{dbver}.tar.gz
|
Source2: http://www.linuxprinting.org/download/foomatic/foomatic-db-3.0-%{dbver}.tar.gz
|
||||||
Source3: http://www.linuxprinting.org/download/foomatic/foomatic-db-hpijs-%{hpijsver}.tar.gz
|
Source3: http://www.linuxprinting.org/download/foomatic/foomatic-db-hpijs-%{hpijsver}.tar.gz
|
||||||
|
|
||||||
# Build Omni first to get this (you'll have to create the tarball by hand):
|
|
||||||
Source4: Omni-printers-0.9.2.tar.bz2
|
|
||||||
|
|
||||||
# Use libdir.
|
# Use libdir.
|
||||||
Patch1: foomatic-filters-libdir.patch
|
Patch1: foomatic-filters-libdir.patch
|
||||||
Patch2: foomatic-db-engine-libdir.patch
|
Patch2: foomatic-db-engine-libdir.patch
|
||||||
@ -107,11 +102,6 @@ popd
|
|||||||
pushd foomatic-db-%{dbver}
|
pushd foomatic-db-%{dbver}
|
||||||
%patch7 -p1 -b .ppdload-ppd
|
%patch7 -p1 -b .ppdload-ppd
|
||||||
|
|
||||||
%if %with_omni
|
|
||||||
# Omni printers
|
|
||||||
tar xjf %{SOURCE4}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# For gutenprint printers, use gutenprint-ijs-simplified.5.0.
|
# For gutenprint printers, use gutenprint-ijs-simplified.5.0.
|
||||||
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.0<,' printer/*.xml
|
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.0<,' printer/*.xml
|
||||||
|
|
||||||
@ -177,19 +167,6 @@ make DESTDIR=%buildroot PREFIX=%{_prefix} \
|
|||||||
INSTALLSITEARCH=$RPM_BUILD_ROOT/$installvendorarch \
|
INSTALLSITEARCH=$RPM_BUILD_ROOT/$installvendorarch \
|
||||||
install
|
install
|
||||||
|
|
||||||
%if %with_omni
|
|
||||||
# Install printers from the Omni project, if there isn't already an entry
|
|
||||||
cd Omni-printers
|
|
||||||
P_DIR=$RPM_BUILD_ROOT/usr/share/foomatic/db/source/printer
|
|
||||||
perl -pi -e 's/driver>omni-xml/driver>omni-compiled/' *.xml
|
|
||||||
for P in *.xml; do
|
|
||||||
if [ ! -f $P_DIR/$P ]; then
|
|
||||||
cp $P $P_DIR;
|
|
||||||
fi;
|
|
||||||
done;
|
|
||||||
cd ..
|
|
||||||
%endif
|
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd foomatic-db-hpijs-%{hpijsver}
|
pushd foomatic-db-hpijs-%{hpijsver}
|
||||||
@ -264,6 +241,9 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
|
|||||||
%{_var}/cache/foomatic
|
%{_var}/cache/foomatic
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 16 2007 Tim Waugh <twaugh@redhat.com>
|
||||||
|
- Removed now-unused with_omni code.
|
||||||
|
|
||||||
* Fri Mar 30 2007 Tim Waugh <twaugh@redhat.com> 3.0.2-46
|
* Fri Mar 30 2007 Tim Waugh <twaugh@redhat.com> 3.0.2-46
|
||||||
- Don't ship old gimp-print data (bug #234388).
|
- Don't ship old gimp-print data (bug #234388).
|
||||||
|
|
||||||
|
1
sources
1
sources
@ -1,4 +1,3 @@
|
|||||||
dcfbfbe16d76d0b6e44cb261fccd138f Omni-printers-0.9.2.tar.bz2
|
|
||||||
5876178c3aefd36102bc5eef575d3f9c foomatic-filters-3.0-20051209.tar.gz
|
5876178c3aefd36102bc5eef575d3f9c foomatic-filters-3.0-20051209.tar.gz
|
||||||
480ab4a4148667dad1ffc188b6480bce foomatic-db-hpijs-20061031.tar.gz
|
480ab4a4148667dad1ffc188b6480bce foomatic-db-hpijs-20061031.tar.gz
|
||||||
562703c7da605a4c89ac476a3bf7955b foomatic-db-engine-3.0-20061109.tar.gz
|
562703c7da605a4c89ac476a3bf7955b foomatic-db-engine-3.0-20061109.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user