automatic version update by autodist [release 2.0.0-1mamba;Tue Oct 10 2023]
This commit is contained in:
parent
5136e82fb5
commit
bdb8f65c03
@ -1,6 +1,6 @@
|
||||
Name: cups-filters
|
||||
Version: 1.28.17
|
||||
Release: 2mamba
|
||||
Version: 2.0.0
|
||||
Release: 1mamba
|
||||
Summary: Backends, filters, and other software for the CUPS printing system
|
||||
Group: System/Spooling
|
||||
Vendor: openmamba
|
||||
@ -14,25 +14,9 @@ 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: libexif-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: libsystemd-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: libcupsfilters-devel
|
||||
BuildRequires: libppd-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libqpdf-devel >= 0:11.1.0-1mamba
|
||||
BuildRequires: dejavu-fonts-ttf
|
||||
@ -40,6 +24,7 @@ BuildRequires: dejavu-fonts-ttf
|
||||
%if "%{stage1}" != "1"
|
||||
BuildRequires: php-devel
|
||||
%endif
|
||||
BuildRequires: libppd-devel
|
||||
BuildRequires: libpoppler-devel >= 1:23.08.0
|
||||
BuildRequires: libpoppler-cpp-devel >= 1:23.08.0
|
||||
BuildRequires: mupdf
|
||||
@ -47,27 +32,19 @@ Requires: dejavu-fonts-ttf
|
||||
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
|
||||
|
||||
@ -76,14 +53,12 @@ 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,38 +68,16 @@ CXXFLAGS="%{optflags} -std=c++17"
|
||||
[ "%{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/*
|
||||
@ -133,49 +86,22 @@ 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.so
|
||||
%{_libdir}/libfontembed.a
|
||||
%{_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
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user