- Removed now-unused with_omni code.

This commit is contained in:
Tim Waugh 2007-04-16 16:58:50 +00:00
parent 778bd7fad4
commit c6ea7ee09f
2 changed files with 3 additions and 24 deletions

View File

@ -3,8 +3,6 @@
%define filtersver 20051209
%define hpijsver 20061031
%define with_omni 0
Summary: Foomatic printer database.
Name: foomatic
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
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.
Patch1: foomatic-filters-libdir.patch
Patch2: foomatic-db-engine-libdir.patch
@ -107,11 +102,6 @@ popd
pushd foomatic-db-%{dbver}
%patch7 -p1 -b .ppdload-ppd
%if %with_omni
# Omni printers
tar xjf %{SOURCE4}
%endif
# For gutenprint printers, use gutenprint-ijs-simplified.5.0.
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 \
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
pushd foomatic-db-hpijs-%{hpijsver}
@ -264,6 +241,9 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
%{_var}/cache/foomatic
%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
- Don't ship old gimp-print data (bug #234388).

View File

@ -1,4 +1,3 @@
dcfbfbe16d76d0b6e44cb261fccd138f Omni-printers-0.9.2.tar.bz2
5876178c3aefd36102bc5eef575d3f9c foomatic-filters-3.0-20051209.tar.gz
480ab4a4148667dad1ffc188b6480bce foomatic-db-hpijs-20061031.tar.gz
562703c7da605a4c89ac476a3bf7955b foomatic-db-engine-3.0-20061109.tar.gz