Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
foomatic-filters
foomatic-filters.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File foomatic-filters.spec of Package foomatic-filters
# # spec file for package foomatic-filters (Version 4.0.1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: foomatic-filters # The ghostscript-devel RPM requires ghostscript-library # but the ghostscript-mini RPM also provides "ghostscript-library" # but it does not provide the actual library but only a dead link like # "/usr/lib/libgs.so: broken symbolic link to libgs.so.8.62" and # the dependency resolver in our build system installs ghostscript-mini # so that ghostscript-library must be explicitely requested here, # see https://bugzilla.novell.com/show_bug.cgi?id=507414 BuildRequires: a2ps ghostscript-devel ghostscript-library %define bzrdate 4.0-20090513 License: GPL v2 or later Group: Hardware/Printing Requires: perl, a2ps AutoReqProv: on # See the VERSION file: Version: 4.0.1 Release: 1 # Source0...Source9 is for sources from upstream: # URL for Source0: http://www.openprinting.org/download/foomatic/foomatic-filters-4.0.1.tar.gz #Source0: %{name}-%{version}.tar.bz2 # URL for Source0: http://www.openprinting.org/download/foomatic/foomatic-filters-4.0-20090513.tar.gz Source0: %{name}-%{bzrdate}.tar.bz2 # Patch0...Patch9 is for patches from upstream: # ... # Patch10...Patch99 is for Suse patches for the sources from upstream: # Patch10 fixes a "control reaches end of non-void function" warning in renderer.c # The upstream bug report is http://bugs.linux-foundation.org/show_bug.cgi?id=348 Patch10: fix_no-return-in-nonvoid-function.patch # Source100... is for special Suse sources: # ... Url: http://www.openprinting.org/ # Install into this non-root directory (required when norootforbuild is used): BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Filter Scripts Used by Printer Spoolers %description Filter scripts used by the printer spoolers to convert the incoming PostScript data into the printer's native format using a printer and driver-specific, but spooler-independent PPD file. Authors: -------- Till Kamppeter <till.kamppeter@gmail.com> Lars Uebernickel <larsuebernickel@gmx.de> %prep # Be quiet when unpacking: #%setup -q %setup -q -n %{name}-%{bzrdate} # Patch10 fixes a "control reaches end of non-void function" warning in renderer.c: %patch10 %build export CFLAGS="$RPM_OPT_FLAGS -fstack-protector" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ --libdir=%{_libdir} make %install make install PREFIX=$RPM_BUILD_ROOT/%{_prefix} DESTDIR=$RPM_BUILD_ROOT # Remove stuff which we (i.e. Suse/Novell) do not need. # We provide no PPR spooler (and the development for it had stopped). # Do not use the RPM _libdir macro here because # currently "configure --libdir=..." does not work correctly. # The upstream bug report is http://bugs.linux-foundation.org/show_bug.cgi?id=349 rm -f $RPM_BUILD_ROOT/usr/lib*/ppr/interfaces/foomatic-rip rm -f $RPM_BUILD_ROOT/usr/lib*/ppr/lib/foomatic-rip # Move the beh backend into the right arcitecture specific directory # because currently "configure --libdir=..." does not work correctly. # The upstream bug report is http://bugs.linux-foundation.org/show_bug.cgi?id=349 if test "%{_libdir}" != "/usr/lib" then mv $RPM_BUILD_ROOT/usr/lib/cups/backend $RPM_BUILD_ROOT/%{_libdir}/cups/backend fi %files %defattr(-, root, root) %dir %{_sysconfdir}/foomatic %config %{_sysconfdir}/foomatic/filter.conf %{_sysconfdir}/foomatic/filter.conf.sample %{_bindir}/foomatic-rip %dir %{_libdir}/cups %dir %{_libdir}/cups/filter %{_libdir}/cups/filter/foomatic-rip %dir %{_libdir}/cups/backend %{_libdir}/cups/backend/beh %doc %{_mandir}/man1/foomatic-* %doc COPYING ChangeLog README TODO USAGE %changelog * Fri May 29 2009 jsmeix@suse.de - Makeshift fix build on x86_64. The upstream bug report is http://bugs.linux-foundation.org/show_bug.cgi?id=349 * Wed May 27 2009 jsmeix@suse.de - Updated to the latest bzr version of the current stable version 4.0.1 which was released on 13-May-2009 00:20 from http://www.openprinting.org/download/foomatic/ See the ChangeLog file for details. * Wed Sep 10 2008 kssingvo@suse.de - update to latest bzr version: * fix: Make foomatic-rip also working with PPD file names which contain brackets or other special characters * Tue Mar 18 2008 kssingvo@suse.de - update to latest bzr version: * feature: kill all subprocesses on job termination via TERM signal * Wed Jan 16 2008 kssingvo@suse.de - update to latest bzr version: * Allow the parameters of the \"*Foomatic...\" lines which formerly had to be given without quotes also to be given with double quotes. * Assorted fixes of bugs found during LSB test suite development * Fixed wrong handling of CUPS duplex option \"sides\", and bug when having more than one option with page overrides. * Let Ghostscript always use buffered input. * Thu Aug 02 2007 kssingvo@suse.de - update to latest bzr version: * Added support for suppressing page accounting on a per-driver basis. * Performance improvement * Fixed bug of custom page sizes not read from the PostScript code when the size values are in more than one line * Let data structure get written to debug log also if foomatic-rip exits with an error (only in debug mode) * Replaced sysread() and syswrite() by read() and print() * Fixed problem of too high memory consumption when binary output data of GhostScript is read line-wise * Replaced "linuxprinting.org" by "openprinting.org" or "OpenPrinting". * Wed Oct 18 2006 kssingvo@suse.de - update to new upstream version: contains "fix of bashism" * Mon Oct 09 2006 jsmeix@suse.de - fixed cyclic 'foomatic-rip -> foomatic-rip' link to the correct link: 'foomatic-rip -> ../../../bin/foomatic-rip' (bugzilla#210924). * Wed Sep 20 2006 kssingvo@suse.de - updated to latest bzr (kind of cvs) version: - foomatic-gswrapper.in: Support for built-in redirection of standard output of PostScript programs ("-sstdout=%%stderr") in newer GhostScript versions. More reliable then using /dev/fd/3 (not always available difficult to check presence) or '|cat >3' (not seekable and some GhostScript output devices require seekability of the output file), - Removed executable permissions from source files which are not executables - foomatid-rip.in: failing to open IPP attributes file shouldn't be fatal - filter.conf: example of a preferred shell setting - foomatid-rip.in: detect and use a "modern" shell for shell commands - foomatic-rip.in: Add support for Solaris LP, made default echo, fileconverter, and execpath setable through configure options. - foomatic-gswrapper.in: made default execpath setable through configure options - foomatic-rip-1.in: fixed to use @sysconfdir@ for configure - foomatic-gswrapper-1.in: fixed to use @sysconfdir@ for configure - configure.ac: made default execpath, fileconverter and echo setable through configure options. Generate man pages through configure - makeMan.in: removed, configure now generates the man pages - Makefile.in: cleaned up some to work with makes other than gmake - README, USAGE: added Solaris LP - foomatic-rip.in: Better support for non-PJL JCLs. If there are Foomatic options of execution style JCL, they are only prefixed with "@PJL " if the PPD does not contain a "*JCLBegin:" expression not containing "PJL" and if the prefix is not changed by a "*FoomaticJCLPrefix:" in the PPD file. If there is a "*JCLBegin:" without "PJL" and no "*FoomaticJCLPrefix:" the JCL commands do not get any prefix. Fixed also bug of $jobuser and $jobhost not being chomped. - foomatic-rip.in: Added substitution of special XML entities by job data, as date, time, job ID, user name, ... (in function "unhtmlify()"). This was suggested by George Liu from Ricoh (george dot liu at ussj dot ricoh dot com), to support jobs with submission of login/password to the printer. - foomatic-rip.in, foomatic-gswrapper.in: Fix for the fix on the regexp for reading the config file (Thanks to Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix). - foomatic-rip.in: In quiet mode (non-logging mode) $logh is closed in the beginning but was never opened (Thanks to Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix). - foomatic-gswrapper.in: Fixed quoting of single quotes (Thanks to Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix). - foomatic-rip.in, foomatic-gswrapper.in: Fixed regexp for reading the config file (Thanks to Hans-Dieter Kosch, hdkosch at t-online dot de, for this fix). - foomatic-rip.in: Make EPSF files not be an exception when checking whether the input file is DSC-conforming. They can also be DSC-conforming (thanks to Kevin ODonovan, kevin dot odonovan at nist dot gov, for his report); Let the "FontPath" defined in /etc/cups/cupsd.conf being used when CUPS is the spooler (thanks to Peter Kekesi, kekpeti at freemail dot hu, for his report). - foomatic-rip.in: Added comment before the line to automatically quote unquoted slashes in the allowed characters list or allowed regexp. - foomatic-rip.in: Fixed bug of foomatic-rip replacing a JCL command (ex: "@PJL HOLDKEY=1234") if another which is contained in the first one is supplied (ex: "@PJL HOLD=STORE"). Thanks to Jociel Cavalcante Andrade (jcainfo at inf dot ufes dot br) for reporting the bug and testing the fix. * Tue May 23 2006 kssingvo@suse.de - fixed remote command execution vulnerability SWAMP#4432 (bugzilla#59233) * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 13 2006 meissner@suse.de - use -fstack-protector. * Wed Dec 21 2005 aj@suse.de - Remove unpackaged symlinks on lib64 as well. * Wed Dec 21 2005 ro@suse.de - remove unpackaged symlinks * Tue Feb 22 2005 kssingvo@suse.de - upgrade to 3.0.2, which contains the below security fix only * Thu Sep 23 2004 kssingvo@suse.de - forget to add cupsomatic as foomatic-rip link (backward compatible) * Tue Sep 14 2004 kssingvo@suse.de - upgrade to CVS version to keep in sync with cups-drivers package - author told me that foomatic-rip is 100%% compatible with cupsomatic made soft-link * Mon Aug 30 2004 kssingvo@suse.de - fixes for security problem in foomatic-rip, CAN-2004-0801 (bugzilla#44233) * Mon Mar 01 2004 kssingvo@suse.de - upgrade to version 3.0.1 * Sun Jan 11 2004 adrian@suse.de - build as user * Mon Aug 25 2003 kssingvo@suse.de - updated to 2003-08-21 version (fix for PS code insertion) * Mon Jul 28 2003 kssingvo@suse.de - fixed problem in version name (removed %%cvsdate) - thx meissner * Tue Jul 15 2003 meissner@suse.de - lib64 fixes. * Fri Jul 04 2003 kssingvo@suse.de - It's coolo's fault: cannot add cups related link to cups package. :( it's now in this package (ugly and hopefully temporary solution) * Fri Jul 04 2003 ro@suse.de - added directory to filelist /etc/foomatic * Fri Jul 04 2003 kssingvo@suse.de - initial version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor