- Always use /usr/lib/cups/{backend,filter}.
This commit is contained in:
parent
479931b6b8
commit
82b53f213c
@ -11,17 +11,6 @@
|
|||||||
PTALPIPESSEARCHPATH=/var/run:/var:/var/ptal:/usr/var/run:/usr/var:/usr/var/ptal:/usr/local/var/run:/usr/local/var:/usr/local/var/ptal:/dev:/dev/ptal
|
PTALPIPESSEARCHPATH=/var/run:/var:/var/ptal:/usr/var/run:/usr/var:/usr/var/ptal:/usr/local/var/run:/usr/local/var:/usr/local/var/ptal:/dev:/dev/ptal
|
||||||
MTINKPIPESSEARCHPATH=/var:/var/run:/usr/var/:/usr/var/run:/usr/local/var:/usr/local/var/run:/dev
|
MTINKPIPESSEARCHPATH=/var:/var/run:/usr/var/:/usr/var/run:/usr/local/var:/usr/local/var/run:/dev
|
||||||
|
|
||||||
@@ -218,8 +218,8 @@
|
|
||||||
AC_PATH_PROGS(CUPS_ADMIN,lpadmin,/usr/sbin/lpadmin,$SBINSEARCHPATH)
|
|
||||||
AC_PATH_PROGS(CUPS_LPSTAT,lpstat,/usr/bin/lpstat,$BINSEARCHPATH)
|
|
||||||
AC_PATH_DIRS(CUPS_PPDS,cups/model,/usr/share/cups/model,$DATASEARCHPATH)
|
|
||||||
-AC_PATH_DIRS(CUPS_FILTERS,cups/filter,/usr/lib/cups/filter,$DATASEARCHPATH)
|
|
||||||
-AC_PATH_DIRS(CUPS_BACKENDS,cups/backend,/usr/lib/cups/backend,$DATASEARCHPATH)
|
|
||||||
+AC_PATH_DIRS(CUPS_FILTERS,cups/filter,$libdir/cups/filter,$DATASEARCHPATH)
|
|
||||||
+AC_PATH_DIRS(CUPS_BACKENDS,cups/backend,$libdir/cups/backend,$DATASEARCHPATH)
|
|
||||||
AC_PATH_PROGS(CUPS_PCONF,cups/printers.conf,$CUPS_ETC/printers.conf,$SYSCONFSEARCHPATH)
|
|
||||||
AC_PATH_PROGS(CUPS_LPR,lpr-cups lpr,/usr/bin/lpr,$BINSEARCHPATH)
|
|
||||||
AC_PATH_PROGS(CUPS_LPQ,lpq-cups lpq,/usr/bin/lpq,$BINSEARCHPATH)
|
|
||||||
@@ -236,15 +236,15 @@
|
@@ -236,15 +236,15 @@
|
||||||
AC_PATH_PROGS(CUPS_LPINFO,lpinfo,/usr/sbin/lpinfo,$SBINSEARCHPATH)
|
AC_PATH_PROGS(CUPS_LPINFO,lpinfo,/usr/sbin/lpinfo,$SBINSEARCHPATH)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
--- foomatic-filters-3.0-20051209/configure.in.libdir 2005-08-16 03:19:30.000000000 +0100
|
--- foomatic-filters-3.0-20051209/configure.in.libdir 2005-08-16 03:19:30.000000000 +0100
|
||||||
+++ foomatic-filters-3.0-20051209/configure.in 2005-12-09 14:43:17.000000000 +0000
|
+++ foomatic-filters-3.0-20051209/configure.in 2006-03-24 17:39:33.000000000 +0000
|
||||||
@@ -13,7 +13,7 @@
|
@@ -13,7 +13,7 @@
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
|
|
||||||
@ -9,20 +9,8 @@
|
|||||||
|
|
||||||
dnl Get the operating system and version number...
|
dnl Get the operating system and version number...
|
||||||
uname=`uname`
|
uname=`uname`
|
||||||
@@ -38,22 +38,22 @@
|
@@ -47,13 +47,13 @@
|
||||||
AC_PATH_DIR(PRINTCAP,printcap,/etc/printcap,$ETCSEARCHPATH)
|
AC_PATH_DIR(CUPS_BACKENDS,cups/backend,/usr/lib/cups/backend,$LIBSEARCHPATH)
|
||||||
|
|
||||||
dnl Check for /usr/lib/cups
|
|
||||||
-AC_PATH_DIR(CUPS,cups,/usr/lib/cups,$LIBSEARCHPATH)
|
|
||||||
+AC_PATH_DIR(CUPS,cups,$libdir/cups,$LIBSEARCHPATH)
|
|
||||||
|
|
||||||
dnl Check for /usr/lib/cups/filter
|
|
||||||
-AC_PATH_DIR(CUPS_FILTERS,cups/filter,/usr/lib/cups/filter,$LIBSEARCHPATH)
|
|
||||||
+AC_PATH_DIR(CUPS_FILTERS,cups/filter,$libdir/cups/filter,$LIBSEARCHPATH)
|
|
||||||
|
|
||||||
dnl Check for /usr/lib/cups/backend
|
|
||||||
-AC_PATH_DIR(CUPS_BACKENDS,cups/backend,/usr/lib/cups/backend,$LIBSEARCHPATH)
|
|
||||||
+AC_PATH_DIR(CUPS_BACKENDS,cups/backend,$libdir/cups/backend,$LIBSEARCHPATH)
|
|
||||||
|
|
||||||
dnl Check for /usr/lib/ppr
|
dnl Check for /usr/lib/ppr
|
||||||
-AC_PATH_DIR(PPR,ppr,/usr/lib/ppr,$LIBSEARCHPATH)
|
-AC_PATH_DIR(PPR,ppr,/usr/lib/ppr,$LIBSEARCHPATH)
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
Summary: Foomatic printer database.
|
Summary: Foomatic printer database.
|
||||||
Name: foomatic
|
Name: foomatic
|
||||||
Version: 3.0.2
|
Version: 3.0.2
|
||||||
Release: 33.2
|
Release: 34
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
@ -141,6 +141,9 @@ rm -f db/source/opt/gimp-print-printoutmode.xml
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CUPS_BACKENDS=/usr/lib/cups/backend
|
||||||
|
export CUPS_FILTERS=/usr/lib/cups/filter
|
||||||
|
|
||||||
pushd foomatic-filters-3.0-%{filtersver}
|
pushd foomatic-filters-3.0-%{filtersver}
|
||||||
%configure
|
%configure
|
||||||
make PREFIX=%{_prefix} CFLAGS="$RPM_OPT_FLAGS"
|
make PREFIX=%{_prefix} CFLAGS="$RPM_OPT_FLAGS"
|
||||||
@ -228,7 +231,7 @@ chmod a+x convert-printerids.pl
|
|||||||
find %{buildroot}%{_datadir}/foomatic/db/source/ -type f | xargs chmod 0644
|
find %{buildroot}%{_datadir}/foomatic/db/source/ -type f | xargs chmod 0644
|
||||||
|
|
||||||
# Use relative, not absolute, symlink for CUPS filter.
|
# Use relative, not absolute, symlink for CUPS filter.
|
||||||
ln -sf ../../../bin/foomatic-rip %{buildroot}%{_libdir}/cups/filter/foomatic-rip
|
ln -sf ../../../bin/foomatic-rip %{buildroot}/usr/lib/cups/filter/foomatic-rip
|
||||||
|
|
||||||
mkdir $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/PPD/Custom
|
mkdir $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/PPD/Custom
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_var}/cache/foomatic
|
mkdir -p $RPM_BUILD_ROOT%{_var}/cache/foomatic
|
||||||
@ -267,14 +270,17 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_prefix}/lib*/perl5/vendor_perl/*/Foomatic
|
%{_prefix}/lib*/perl5/vendor_perl/*/Foomatic
|
||||||
%dir %{_libdir}/cups
|
%dir /usr/lib/cups
|
||||||
%{_libdir}/cups/*
|
/usr/lib/cups/*
|
||||||
%{_datadir}/foomatic
|
%{_datadir}/foomatic
|
||||||
%{_datadir}/cups/model/foomatic-db-ppds
|
%{_datadir}/cups/model/foomatic-db-ppds
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_var}/cache/foomatic
|
%{_var}/cache/foomatic
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 24 2006 Tim Waugh <twaugh@redhat.com> 3.0.2-34
|
||||||
|
- Always use /usr/lib/cups/{backend,filter}.
|
||||||
|
|
||||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0.2-33.2
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0.2-33.2
|
||||||
- bump again for double-long bug on ppc(64)
|
- bump again for double-long bug on ppc(64)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user