Compare commits
11 Commits
1.28.12-1m
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 5b5172375a | |||
| bdb8f65c03 | |||
| 5136e82fb5 | |||
| c4fe96da6f | |||
| a15c6682df | |||
| e6ecd6ff13 | |||
| 02fbd624fa | |||
| 77236c13f5 | |||
| 0a20ac8512 | |||
| cf143cf6b9 | |||
| dfb33b86ec |
@@ -1,5 +1,5 @@
|
||||
Name: cups-filters
|
||||
Version: 1.28.12
|
||||
Version: 2.0.1
|
||||
Release: 1mamba
|
||||
Summary: Backends, filters, and other software for the CUPS printing system
|
||||
Group: System/Spooling
|
||||
@@ -7,79 +7,58 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://openprinting.github.io/
|
||||
Source: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz
|
||||
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.28.9-service-org-cups.patch
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libavahi-devel
|
||||
BuildRequires: libavahi-glib-devel
|
||||
BuildRequires: libcups-devel
|
||||
BuildRequires: libdbus-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: liblcms2-devel
|
||||
BuildRequires: libopenldap-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libpoppler-cpp-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: libqpdf-devel >= 10.0.1
|
||||
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 < 1.28.10
|
||||
Obsoletes: cups-filters-devel < 2.0.0
|
||||
Requires: cups >= 2.3.0-2mamba
|
||||
Recommends: cups-browsed
|
||||
%systemd_requires
|
||||
|
||||
%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
|
||||
|
||||
@@ -89,38 +68,16 @@ 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
|
||||
%dir %{_prefix}/lib/cups
|
||||
%dir %{_prefix}/lib/cups/backend
|
||||
%{_prefix}/lib/cups/backend/*
|
||||
@@ -129,51 +86,52 @@ install -D -m0644 utils/cups-browsed.service %{buildroot}%{_unitdir}/cups-browse
|
||||
%{_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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user