|
|
|
|
@@ -1,89 +1,64 @@
|
|
|
|
|
Name: cups-filters
|
|
|
|
|
Version: 1.27.3
|
|
|
|
|
Version: 2.0.1
|
|
|
|
|
Release: 1mamba
|
|
|
|
|
Summary: Backends, filters, and other software for the CUPS printing system
|
|
|
|
|
Group: System/Spooling
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
|
URL: http://www.openprinting.org
|
|
|
|
|
Source: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz
|
|
|
|
|
URL: https://openprinting.github.io/
|
|
|
|
|
Source: https://github.com/OpenPrinting/cups-filters.git/%{version}/cups-filters-%{version}.tar.bz2
|
|
|
|
|
#Source: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz
|
|
|
|
|
Patch0: cups-filters-1.10.0-cups-browsed-timeout-stop.patch
|
|
|
|
|
Patch1: cups-browsed-1.25.5-service-org-cups.patch
|
|
|
|
|
Patch1: cups-browsed-1.28.9-service-org-cups.patch
|
|
|
|
|
License: LGPL
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
BuildRequires: ghostscript-devel
|
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
|
BuildRequires: libavahi-devel
|
|
|
|
|
BuildRequires: libavahi-glib-devel
|
|
|
|
|
BuildRequires: libcups-devel
|
|
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
|
BuildRequires: libe2fs-devel
|
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
|
BuildRequires: libgcc
|
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
|
BuildRequires: libgnutls-devel
|
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
|
BuildRequires: libkrb5-devel
|
|
|
|
|
BuildRequires: liblcms2-devel
|
|
|
|
|
BuildRequires: libopenldap-devel
|
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
|
BuildRequires: libpoppler-devel
|
|
|
|
|
BuildRequires: libqpdf-devel
|
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
|
BuildRequires: libcupsfilters-devel
|
|
|
|
|
BuildRequires: libppd-devel
|
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
BuildRequires: libqpdf-devel >= 8.0.0-1mamba
|
|
|
|
|
BuildRequires: libqpdf-devel >= 0:11.1.0-1mamba
|
|
|
|
|
BuildRequires: dejavu-fonts-ttf
|
|
|
|
|
#Requires: ghostscript
|
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
|
BuildRequires: php-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libpoppler-devel >= 0.40
|
|
|
|
|
BuildRequires: libpoppler-cpp-devel >= 0.40
|
|
|
|
|
BuildRequires: libqpdf-devel >= 9.0.1
|
|
|
|
|
BuildRequires: libppd-devel
|
|
|
|
|
BuildRequires: libpoppler-devel >= 1:23.08.0
|
|
|
|
|
BuildRequires: libpoppler-cpp-devel >= 1:23.08.0
|
|
|
|
|
BuildRequires: mupdf
|
|
|
|
|
Requires: dejavu-fonts-ttf
|
|
|
|
|
Requires: libpoppler-tools >= 0.40
|
|
|
|
|
Requires: libpoppler-tools >= 1:23.08.0
|
|
|
|
|
Provides: foomatic-filters
|
|
|
|
|
Obsoletes: foomatic-filters
|
|
|
|
|
Obsoletes: foomatic-filters < 1.28.10
|
|
|
|
|
Obsoletes: cups-filters-devel < 2.0.0
|
|
|
|
|
Requires: cups >= 2.3.0-2mamba
|
|
|
|
|
Recommends: cups-browsed
|
|
|
|
|
%systemd_requires
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
cups-filters 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.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
cups-filters 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.
|
|
|
|
|
|
|
|
|
|
This is the development package.
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
#%patch 0 -p1
|
|
|
|
|
|
|
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
PHP_INCLUDES=`php-config --includes` || PHP_INCLUDES=
|
|
|
|
|
CFLAGS="%{optflags} $PHP_INCLUDES"
|
|
|
|
|
CXXFLAGS="%{optflags} -std=c++17"
|
|
|
|
|
%configure \
|
|
|
|
|
--with-cups-rundir=/run/cups \
|
|
|
|
|
--with-pdftops=gs \
|
|
|
|
|
--without-rcdir \
|
|
|
|
|
--with-gs-path=%{_bindir}/gs \
|
|
|
|
|
--with-pdftops-path=%{_bindir}/gs \
|
|
|
|
|
--enable-avahi \
|
|
|
|
|
--with-browseremoteprotocols=DNSSD,CUPS \
|
|
|
|
|
--with-test-font-path=%{_datadir}/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
|
|
|
|
|
--enable-avahi
|
|
|
|
|
|
|
|
|
|
# --with-pdftops=gs \
|
|
|
|
|
# --with-test-font-path=%{_datadir}/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
|
|
|
|
|
|
|
|
|
|
# --with-php
|
|
|
|
|
|
|
|
|
|
@@ -93,89 +68,112 @@ CFLAGS="%{optflags} $PHP_INCLUDES"
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
|
|
install -D -m0644 utils/cups-browsed.service %{buildroot}%{_unitdir}/cups-browsed.service
|
|
|
|
|
#install -d %{buildroot}%{_presetdir}
|
|
|
|
|
#cat > %{buildroot}%{_presetdir}/50-cups-browsed.preset << _EOF
|
|
|
|
|
#enable cups-browsed
|
|
|
|
|
#_EOF
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%systemd_post cups-browsed
|
|
|
|
|
:
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
%systemd_preun cups-browsed
|
|
|
|
|
:
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
%systemd_postun_with_restart cups-browsed
|
|
|
|
|
:
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/cups/cups-browsed.conf
|
|
|
|
|
#%{_sysconfdir}/fonts/conf.d/99pdftoopvp.conf
|
|
|
|
|
%{_unitdir}/cups-browsed.service
|
|
|
|
|
#%{_presetdir}/50-cups-browsed.preset
|
|
|
|
|
%{_bindir}/driverless
|
|
|
|
|
%{_bindir}/driverless-fax
|
|
|
|
|
%{_bindir}/foomatic-rip
|
|
|
|
|
%{_bindir}/ttfread
|
|
|
|
|
%{_sbindir}/cups-browsed
|
|
|
|
|
#%{_bindir}/ttfread
|
|
|
|
|
%dir %{_prefix}/lib/cups
|
|
|
|
|
%dir %{_prefix}/lib/cups/backend
|
|
|
|
|
%{_prefix}/lib/cups/backend/*
|
|
|
|
|
%dir %{_prefix}/lib/cups/driver
|
|
|
|
|
%{_prefix}/lib/cups/driver/driverless
|
|
|
|
|
%{_prefix}/lib/cups/driver/driverless-fax
|
|
|
|
|
%dir %{_prefix}/lib/cups/filter
|
|
|
|
|
%{_prefix}/lib/cups/filter/*
|
|
|
|
|
%{_libdir}/libcupsfilters.so.*
|
|
|
|
|
%{_libdir}/libfontembed.so.*
|
|
|
|
|
%dir %{_datadir}/cups/banners
|
|
|
|
|
%{_datadir}/cups/banners/*
|
|
|
|
|
%dir %{_datadir}/cups/braille
|
|
|
|
|
%{_datadir}/cups/braille/*
|
|
|
|
|
%dir %{_datadir}/cups/charsets
|
|
|
|
|
%{_datadir}/cups/charsets/*
|
|
|
|
|
%dir %{_datadir}/cups/data
|
|
|
|
|
%{_datadir}/cups/data/*
|
|
|
|
|
%{_datadir}/cups/data/testprint
|
|
|
|
|
%dir %{_datadir}/cups/drv
|
|
|
|
|
%{_datadir}/cups/drv/*
|
|
|
|
|
%dir %{_datadir}/cups/mime
|
|
|
|
|
%{_datadir}/cups/mime/*
|
|
|
|
|
%dir %{_datadir}/cups/ppdc
|
|
|
|
|
%{_datadir}/cups/ppdc/*
|
|
|
|
|
%{_datadir}/ppd/cupsfilters/*.ppd
|
|
|
|
|
%dir %{_datadir}/ppdc
|
|
|
|
|
%{_datadir}/ppdc/*.h
|
|
|
|
|
%{_mandir}/man1/foomatic-rip.1*
|
|
|
|
|
%{_mandir}/man1/driverless.1*
|
|
|
|
|
%{_mandir}/man5/cups-browsed.conf.5*
|
|
|
|
|
%{_mandir}/man8/cups-browsed.8*
|
|
|
|
|
%{_datadir}/doc/cups-filters/AUTHORS
|
|
|
|
|
%{_datadir}/doc/cups-filters/COPYING
|
|
|
|
|
%{_datadir}/doc/cups-filters/ABOUT-NLS
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%dir %{_includedir}/cupsfilters
|
|
|
|
|
%{_includedir}/cupsfilters/*
|
|
|
|
|
%dir %{_includedir}/fontembed
|
|
|
|
|
%{_includedir}/fontembed/*
|
|
|
|
|
%{_libdir}/libcupsfilters.a
|
|
|
|
|
%{_libdir}/libcupsfilters.la
|
|
|
|
|
%{_libdir}/libcupsfilters.so
|
|
|
|
|
%{_libdir}/libfontembed.a
|
|
|
|
|
%{_libdir}/libfontembed.la
|
|
|
|
|
%{_libdir}/libfontembed.so
|
|
|
|
|
%{_libdir}/pkgconfig/libcupsfilters.pc
|
|
|
|
|
%{_libdir}/pkgconfig/libfontembed.pc
|
|
|
|
|
%{_datadir}/doc/cups-filters/INSTALL
|
|
|
|
|
%{_datadir}/doc/cups-filters/NEWS
|
|
|
|
|
%{_datadir}/doc/cups-filters/README
|
|
|
|
|
%dir %{_docdir}/cups-filters
|
|
|
|
|
%{_docdir}/cups-filters/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 15 2024 Automatic Build System <autodist@openmamba.org> 2.0.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Oct 10 2023 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Sep 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.17-2mamba
|
|
|
|
|
- rebuilt with poppler 23.08.0
|
|
|
|
|
|
|
|
|
|
* Sat Jan 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.17-1mamba
|
|
|
|
|
- update to 1.28.17
|
|
|
|
|
|
|
|
|
|
* Thu Nov 17 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.16-3mamba
|
|
|
|
|
- remove service-org-cups patch to restore dependencies to recent cups releases
|
|
|
|
|
|
|
|
|
|
* Tue Sep 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.16-2mamba
|
|
|
|
|
- rebuilt by autoport with build requirements: libqpdf-devel>=0:11.1.0-1mamba
|
|
|
|
|
|
|
|
|
|
* Thu Aug 25 2022 Automatic Build System <autodist@mambasoft.it> 1.28.16-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Wed Jun 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.15-2mamba
|
|
|
|
|
- rebuilt with current libpoppler
|
|
|
|
|
|
|
|
|
|
* Tue Apr 12 2022 Automatic Build System <autodist@mambasoft.it> 1.28.15-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Mon Apr 04 2022 Automatic Build System <autodist@mambasoft.it> 1.28.14-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Mon Mar 28 2022 Automatic Build System <autodist@mambasoft.it> 1.28.13-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Feb 18 2022 Automatic Build System <autodist@mambasoft.it> 1.28.12-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sun Jan 16 2022 Automatic Build System <autodist@mambasoft.it> 1.28.11-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Aug 19 2021 Automatic Build System <autodist@mambasoft.it> 1.28.10-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sun Jun 20 2021 Automatic Build System <autodist@mambasoft.it> 1.28.9-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sat Mar 27 2021 Automatic Build System <autodist@mambasoft.it> 1.28.8-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Jan 08 2021 Automatic Build System <autodist@mambasoft.it> 1.28.7-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Dec 03 2020 Automatic Build System <autodist@mambasoft.it> 1.28.6-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Oct 13 2020 Automatic Build System <autodist@mambasoft.it> 1.28.5-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Oct 08 2020 Automatic Build System <autodist@mambasoft.it> 1.28.4-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Sep 24 2020 Automatic Build System <autodist@mambasoft.it> 1.28.3-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 1.28.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Sep 01 2020 Automatic Build System <autodist@mambasoft.it> 1.28.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Jun 05 2020 Automatic Build System <autodist@mambasoft.it> 1.27.5-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.27.4-1mamba
|
|
|
|
|
- update to 1.27.4
|
|
|
|
|
|
|
|
|
|
* Sat Mar 21 2020 Automatic Build System <autodist@mambasoft.it> 1.27.3-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
|