Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1: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 # # Copyright (c) 2011 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 # Since a foomatic-filters version after 4.0.6 pkg-config is required for build. # Since foomatic-filters-4.0.8 D-Bus is required for build # because there is ICC color managment via colord and colord requires D-Bus. BuildRequires: a2ps dbus-1-devel ghostscript-devel ghostscript-library pkg-config License: GPLv2+ Group: Hardware/Printing # The /usr/lib/cups/backend/beh is perl script text: Requires: perl # "man foomatic-rip" reads: # "Non-PostScript/PDF files are translated to PostScript ... This is usually done by a2ps": Recommends: a2ps # See the VERSION file if it is a snapshot with "bzrdate": Version: 4.0.9 Release: 1 AutoReqProv: on # Source0...Source9 is for sources from upstream: # URL for Source0: http://www.openprinting.org/download/foomatic/foomatic-filters-4.0-20090513.tar.gz #%define bzrdate 4.0-20090513 #Source0: %{name}-%{bzrdate}.tar.bz2 # URL for Source0: http://www.openprinting.org/download/foomatic/foomatic-filters-4.0.9.tar.gz Source0: %{name}-%{version}.tar.gz # Patch0...Patch9 is for patches from upstream: # ... # Patch10...Patch99 is for Suse patches for the sources from upstream: # ... # 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: The universal print filter foomatic-rip %description The print filter "foomatic-rip" is used by print spoolers (in particular by CUPS) to convert PostScript print job data into the printer's native format as described by a printer/driver-specific Foomatic PPD file. Authors: -------- Till Kamppeter <till.kamppeter@gmail.com> Lars Uebernickel <larsuebernickel@gmx.de> %prep # Be quiet when unpacking: %setup -q # Use this "setup" if it is a snapshot with "bzrdate": # setup -q -n %{name}-%{bzrdate} %build export CFLAGS="$RPM_OPT_FLAGS -fstack-protector" # Use explicit "/usr/lib/" to enforce the right directory # for CUPS backends and filters which is "/usr/lib/" # regardless of the architecture see "Compliance with Upstream CUPS" # at http://en.opensuse.org/Portal:Printing # and https://bugzilla.novell.com/show_bug.cgi?id=575544#c2 # and http://bugs.linux-foundation.org/show_bug.cgi?id=349 export CUPS_BACKENDS="/usr/lib/cups/backend" export CUPS_FILTERS="/usr/lib/cups/filter" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ --libdir=/usr/lib make %install export CUPS_BACKENDS="/usr/lib/cups/backend" export CUPS_FILTERS="/usr/lib/cups/filter" 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): rm -f $RPM_BUILD_ROOT/usr/lib*/ppr/interfaces/foomatic-rip rm -f $RPM_BUILD_ROOT/usr/lib*/ppr/lib/foomatic-rip %files %defattr(-, root, root) %dir %{_sysconfdir}/foomatic %config %{_sysconfdir}/foomatic/filter.conf %{_sysconfdir}/foomatic/filter.conf.sample %{_bindir}/foomatic-rip %dir /usr/lib/cups %dir /usr/lib/cups/filter /usr/lib/cups/filter/foomatic-rip %dir /usr/lib/cups/backend /usr/lib/cups/backend/beh %doc %{_mandir}/man1/foomatic-* %doc COPYING ChangeLog README TODO USAGE %changelog
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