# we build CUPS also with relro %global _hardened_build 1 Summary: OpenPrinting CUPS filters and backends Name: cups-filters Version: 2.0.1 Release: 1%{?_dist_release} Group: publishing Vendor: Project Vine Distribution: Vine Linux Packager: tomop # the CUPS exception text is the same as LLVM exception, so using that name with # agreement from legal team # https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/message/A7GFSD6M3GYGSI32L2FC5KB22DUAEQI3/ License: Apache-2.0 WITH LLVM-exception URL: https://github.com/OpenPrinting/cups-filters Source0: %{URL}/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: lftocrlf.ppd Source2: lftocrlf # Obsolete cups-php (bug #971741) Obsoletes: cups-php < 1:1.6.0-1 # Don't Provide it because we don't build the php module #Provides: cups-php = 1:1.6.0-1 BuildRequires: pkgconfig BuildRequires: pkgconfig(cups) BuildRequires: libcupsfilters-devel BuildRequires: pkgconfig(libppd) BuildRequires: gettext-devel # Make sure we get postscriptdriver tags. BuildRequires: python3-cups # autogen.sh BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool Requires: avahi # Ghostscript CUPS filters live here since Ghostscript 9.08. Provides: ghostscript-cups = 9.08 Obsoletes: ghostscript-cups < 9.08 %description Contains backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc. In addition it contains additional filters developed independently of Apple, especially filters for the PDF-centric printing workflow introduced by OpenPrinting. %debug_package %prep %setup -q %build # work-around Rpath ./autogen.sh %configure --disable-static \ --disable-silent-rules \ --disable-rpath \ --disable-mutool \ --enable-driverless \ --enable-universal-cups-filter make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} # 2229776 - Add textonly driver back, but as lftocrlf install -p -m 0755 %{SOURCE2} %{buildroot}%{_cups_serverbin}/filter/lftocrlf install -p -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/ppd/cupsfilters/lftocrlf.ppd # Don't ship libtool la files. rm -f %{buildroot}%{_libdir}/lib*.la # LSB3.2 requires /usr/bin/foomatic-rip, # create it temporarily as a relative symlink # we may use symlink to universal filter, but LSB is about guaranteed compatibility set # among distibutions, so rather have the strict foomatic-rip filter... ln -sf %{_cups_serverbin}/filter/foomatic-rip %{buildroot}%{_bindir}/foomatic-rip # remove license files which are in %%pkgdocdir rm -f %{buildroot}%{_pkgdocdir}/{COPYING,NOTICE,LICENSE} # remove INSTALL since it is unnecessary rm -f %{buildroot}%{_pkgdocdir}/INSTALL # remove CHANGES-1.x.md, since it is carried by a dependency rm -f %{buildroot}%{_pkgdocdir}/CHANGES-1.x.md %check make check %files %license COPYING LICENSE NOTICE %doc AUTHORS ABOUT-NLS CHANGES.md CONTRIBUTING.md DEVELOPING.md README.md %{_bindir}/driverless %{_bindir}/driverless-fax %{_bindir}/foomatic-rip %dir %{_cups_serverbin}/filter %dir %{_cups_serverbin}/backend %dir %{_cups_serverbin}/driver %attr(-,root,root) %{_cups_serverbin}/filter/* %attr(0744,root,root) %{_cups_serverbin}/backend/beh %{_cups_serverbin}/backend/driverless %{_cups_serverbin}/backend/driverless-fax %attr(0744,root,root) %{_cups_serverbin}/backend/parallel # Serial backend needs to run as root (bug #212577#c4). %attr(0744,root,root) %{_cups_serverbin}/backend/serial %attr(0755,root,root) %{_cups_serverbin}/driver/driverless %attr(0755,root,root) %{_cups_serverbin}/driver/driverless-fax %dir %{_datadir}/cups %dir %{_datadir}/cups/drv %{_datadir}/cups/drv/* %dir %{_datadir}/cups/mime %{_datadir}/cups/mime/* %dir %{_datadir}/ppd %{_datadir}/ppd/* %dir %{_datadir}/ppdc %{_datadir}/ppdc/* %{_mandir}/man1/driverless.1.gz %{_mandir}/man1/foomatic-rip.1.gz %changelog * Tue Oct 03 2023 Tomohiro "Tomo-p" KATO 1.28.16-1 - new upstream release. * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO 1.28.11-1 - new upstream release. * Sat Jul 31 2021 Tomohiro "Tomo-p" KATO 1.28.9-1 - new upstream release. - dropped ldconfig scriptlets. * Mon Oct 14 2019 Tomohiro "Tomo-p" KATO 1.25.11-1 - new upstream release. - built with poppler-0.81.0. * Tue Sep 04 2018 Toshiaki Ara 1.18.0-3 - rebuild with qpdf-8.1.0 * Tue Jan 30 2018 Toshiaki Ara 1.18.0-2 - rebuild with qpdf-7.0.1 * Wed Jan 03 2018 Tomohiro "Tomo-p" KATO 1.18.0-1 - new upstream release. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO 1.9.0-1 - new upstream release. * Tue May 10 2016 Tomohiro "Tomo-p" KATO 1.8.3-2 - rebuilt with poppler-0.43.0. * Tue May 10 2016 Tomohiro "Tomo-p" KATO 1.8.3-1 - new upstream release. * Mon May 09 2016 Yoji TOYODA 1.0.76-3 - rebuild with poppler-0.43.0 * Sun Nov 01 2015 Yoji TOYODA 1.0.76-2 - rebuild with poppler-0.37.0 * Sun Oct 4 2015 Tomohiro "Tomo-p" KATO 1.0.76-1 - new upstream release. * Tue Jul 08 2014 Yoji TOYODA 1.0.54-2 - rebuild with poppler-0.26.2 * Sun Jun 8 2014 Tomohiro "Tomo-p" KATO 1.0.54-1 - new upstream release. * Fri May 16 2014 Daisuke SUZUKI 1.0.53-1 - update to 1.0.53 * Sat Jan 04 2014 Tomohiro "Tomo-p" KATO - 1.0.43-1 - new upstream release. - initial build for Vine Linux. * Tue Nov 19 2013 Tim Waugh - 1.0.41-4 - Adjust filter costs so application/vnd.adobe-read-postscript input doesn't go via pstotiff (bug #1008166). * Thu Nov 14 2013 Jaromír Končický - 1.0.41-3 - Fix memory leaks in cups-browsed (bug #1027317). * Wed Nov 6 2013 Tim Waugh - 1.0.41-2 - Include dbus so that colord support works (bug #1026928). * Wed Oct 30 2013 Jiri Popelka - 1.0.41-1 - 1.0.41 - PPD-less printing support * Mon Oct 21 2013 Tim Waugh - 1.0.40-4 - Fix socket leaks in the BrowsePoll code (bug #1021512). * Wed Oct 16 2013 Tim Waugh - 1.0.40-3 - Ship the gstoraster MIME conversion rule now we provide that filter (bug #1019261). * Fri Oct 11 2013 Tim Waugh - 1.0.40-2 - Fix PDF landscape printing (bug #768811). * Fri Oct 11 2013 Jiri Popelka - 1.0.40-1 - 1.0.40 - Use new "hybrid" pdftops renderer. * Thu Oct 03 2013 Jaromír Končický - 1.0.39-1 - 1.0.39 - Removed obsolete patches "pdf-landscape" and "browsepoll-notifications" * Tue Oct 1 2013 Tim Waugh - 1.0.38-4 - Use IPP notifications for BrowsePoll when possible (bug #975241). * Tue Oct 1 2013 Tim Waugh - 1.0.38-3 - Fixes for some printf-type format mismatches (bug #1014093). * Tue Sep 17 2013 Tim Waugh - 1.0.38-2 - Fix landscape printing for PDFs (bug #768811). * Wed Sep 04 2013 Jiri Popelka - 1.0.38-1 - 1.0.38 * Thu Aug 29 2013 Jaromír Končický - 1.0.37-1 - 1.0.37. * Tue Aug 27 2013 Jaromír Končický - 1.0.36-5 - Added build dependency - font required for running tests * Tue Aug 27 2013 Jaromír Končický - 1.0.36-4 - Added checking phase (make check) * Wed Aug 21 2013 Tim Waugh - 1.0.36-3 - Upstream patch to re-work filter costs (bug #998977). No longer need text filter costs patch as paps gets used by default now if installed. * Mon Aug 19 2013 Marek Kasik - 1.0.36-2 - Rebuild (poppler-0.24.0) * Tue Aug 13 2013 Tim Waugh - 1.0.36-1 - 1.0.36. * Tue Aug 13 2013 Tim Waugh - 1.0.35-7 - Upstream patch to move in filters from ghostscript. * Tue Jul 30 2013 Tim Waugh - 1.0.35-6 - Set cost for text filters to 200 so that the paps filter gets preference for the time being (bug #988909). * Wed Jul 24 2013 Tim Waugh - 1.0.35-5 - Handle page-label when printing n-up as well. * Tue Jul 23 2013 Tim Waugh - 1.0.35-4 - Added support for page-label (bug #987515). * Thu Jul 11 2013 Jiri Popelka - 1.0.35-3 - Rebuild (qpdf-5.0.0) * Mon Jul 01 2013 Jiri Popelka - 1.0.35-2 - add cups-browsed(8) and cups-browsed.conf(5) - don't reverse lookup IP address in URI (#975822) * Wed Jun 26 2013 Jiri Popelka - 1.0.35-1 - 1.0.35 * Mon Jun 24 2013 Marek Kasik - 1.0.34-9 - Rebuild (poppler-0.22.5) * Wed Jun 19 2013 Jiri Popelka - 1.0.34-8 - fix the note we add in cups-browsed.conf * Wed Jun 12 2013 Jiri Popelka - 1.0.34-7 - Obsolete cups-php (#971741) * Wed Jun 05 2013 Jiri Popelka - 1.0.34-6 - one more cups-browsed leak fixed (#959682) * Wed Jun 05 2013 Jiri Popelka - 1.0.34-5 - perl is actually not required by pstopdf, because the calling is in dead code * Mon Jun 03 2013 Jiri Popelka - 1.0.34-4 - fix resource leaks and other problems found by Coverity & Valgrind (#959682) * Wed May 15 2013 Jiri Popelka - 1.0.34-3 - ship ppdc/pcl.h because of cupsfilters.drv * Tue May 07 2013 Jiri Popelka - 1.0.34-2 - pstopdf requires bc (#960315) * Thu Apr 11 2013 Jiri Popelka - 1.0.34-1 - 1.0.34 * Fri Apr 05 2013 Fridolin Pokorny - 1.0.33-1 - 1.0.33 - removed cups-filters-1.0.32-null-info.patch, accepted by upstream * Thu Apr 04 2013 Fridolin Pokorny - 1.0.32-2 - fixed segfault when info is NULL * Thu Apr 04 2013 Fridolin Pokorny - 1.0.32-1 - 1.0.32 * Fri Mar 29 2013 Jiri Popelka - 1.0.31-3 - add note to cups-browsed.conf * Thu Mar 28 2013 Jiri Popelka - 1.0.31-2 - check cupsd.conf existence prior to grepping it (#928816) * Fri Mar 22 2013 Jiri Popelka - 1.0.31-1 - 1.0.31 * Tue Mar 19 2013 Jiri Popelka - 1.0.30-4 - revert previous change * Wed Mar 13 2013 Jiri Popelka - 1.0.30-3 - don't ship banners for now (#919489) * Tue Mar 12 2013 Jiri Popelka - 1.0.30-2 - move BrowsePoll from cupsd.conf to cups-browsed.conf in %%post * Fri Mar 08 2013 Jiri Popelka - 1.0.30-1 - 1.0.30: CUPS browsing and broadcasting in cups-browsed * Wed Feb 13 2013 Fedora Release Engineering - 1.0.29-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jan 19 2013 Rex Dieter 1.0.29-3 - backport upstream buildfix for poppler-0.22.x * Fri Jan 18 2013 Adam Tkac - 1.0.29-2 - rebuild due to "jpeg8-ABI" feature drop * Thu Jan 03 2013 Jiri Popelka 1.0.29-1 - 1.0.29 * Wed Jan 02 2013 Jiri Popelka 1.0.28-1 - 1.0.28: cups-browsed daemon and service * Thu Nov 29 2012 Jiri Popelka 1.0.25-1 - 1.0.25 * Fri Sep 07 2012 Jiri Popelka 1.0.24-1 - 1.0.24 * Wed Aug 22 2012 Jiri Popelka 1.0.23-1 - 1.0.23: old pdftopdf removed * Tue Aug 21 2012 Jiri Popelka 1.0.22-1 - 1.0.22: new pdftopdf (uses qpdf instead of poppler) * Wed Aug 08 2012 Jiri Popelka 1.0.20-4 - rebuild * Thu Aug 02 2012 Jiri Popelka 1.0.20-3 - commented multiple licensing breakdown (#832130) - verbose build output * Thu Aug 02 2012 Jiri Popelka 1.0.20-2 - BuildRequires: poppler-cpp-devel (to build against poppler-0.20) * Mon Jul 23 2012 Jiri Popelka 1.0.20-1 - 1.0.20 * Tue Jul 17 2012 Jiri Popelka 1.0.19-1 - 1.0.19 * Wed May 30 2012 Jiri Popelka 1.0.18-1 - initial spec file