added some configure options and requirements [release 1.10.0-3mamba;Sat Jul 23 2016]
This commit is contained in:
parent
ba9e80302b
commit
9f2f9016e9
@ -1,6 +1,6 @@
|
||||
Name: cups-filters
|
||||
Version: 1.10.0
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: Backends, filters, and other software for the CUPS printing system
|
||||
Group: System/Spooling
|
||||
Vendor: openmamba
|
||||
@ -39,6 +39,7 @@ BuildRequires: php-devel
|
||||
%endif
|
||||
BuildRequires: libqpdf-devel >= 6.0.0
|
||||
BuildRequires: libpoppler-devel >= 0.40
|
||||
Requires: dejavu-fonts-ttf
|
||||
Requires: libpoppler-tools >= 0.40
|
||||
Provides: foomatic-filters
|
||||
Obsoletes: foomatic-filters
|
||||
@ -67,7 +68,13 @@ This is the development package.
|
||||
PHP_INCLUDES=`php-config --includes` || PHP_INCLUDES=
|
||||
CFLAGS="%{optflags} $PHP_INCLUDES"
|
||||
%configure \
|
||||
--with-pdftops=pdftops
|
||||
--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
|
||||
|
||||
# --with-php
|
||||
|
||||
@ -77,13 +84,11 @@ CFLAGS="%{optflags} $PHP_INCLUDES"
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
rm -rf %{buildroot}/%{_sysconfdir}/init.d
|
||||
rm -rf %{buildroot}/%{_sysconfdir}/rc?.d
|
||||
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
|
||||
#install -d %{buildroot}%{_presetdir}
|
||||
#cat > %{buildroot}%{_presetdir}/50-cups-browsed.preset << _EOF
|
||||
#enable cups-browsed
|
||||
#_EOF
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -105,7 +110,7 @@ _EOF
|
||||
%config %{_sysconfdir}/cups/cups-browsed.conf
|
||||
%{_sysconfdir}/fonts/conf.d/99pdftoopvp.conf
|
||||
%{_unitdir}/cups-browsed.service
|
||||
%{_presetdir}/50-cups-browsed.preset
|
||||
#%{_presetdir}/50-cups-browsed.preset
|
||||
%{_bindir}/foomatic-rip
|
||||
%{_bindir}/ttfread
|
||||
%{_sbindir}/cups-browsed
|
||||
@ -113,7 +118,38 @@ _EOF
|
||||
%dir %{_prefix}/lib/cups/backend
|
||||
%{_prefix}/lib/cups/backend/*
|
||||
%dir %{_prefix}/lib/cups/filter
|
||||
%{_prefix}/lib/cups/filter/*
|
||||
%{_prefix}/lib/cups/filter/bannertopdf
|
||||
%{_prefix}/lib/cups/filter/brftoembosser
|
||||
%{_prefix}/lib/cups/filter/commandtoescpx
|
||||
%{_prefix}/lib/cups/filter/commandtopclx
|
||||
%{_prefix}/lib/cups/filter/foomatic-rip
|
||||
%{_prefix}/lib/cups/filter/gstopdf
|
||||
%{_prefix}/lib/cups/filter/gstopxl
|
||||
%{_prefix}/lib/cups/filter/gstoraster
|
||||
%{_prefix}/lib/cups/filter/imagetobrf
|
||||
%{_prefix}/lib/cups/filter/imagetopdf
|
||||
%{_prefix}/lib/cups/filter/imagetops
|
||||
%{_prefix}/lib/cups/filter/imagetoraster
|
||||
%{_prefix}/lib/cups/filter/imagetoubrl
|
||||
%{_prefix}/lib/cups/filter/imageubrltoindexv3
|
||||
%{_prefix}/lib/cups/filter/imageubrltoindexv4
|
||||
%{_prefix}/lib/cups/filter/pdftoijs
|
||||
%{_prefix}/lib/cups/filter/pdftoopvp
|
||||
%{_prefix}/lib/cups/filter/pdftopdf
|
||||
%{_prefix}/lib/cups/filter/pdftops
|
||||
%{_prefix}/lib/cups/filter/pdftoraster
|
||||
%{_prefix}/lib/cups/filter/rastertoescpx
|
||||
%{_prefix}/lib/cups/filter/rastertopclx
|
||||
%{_prefix}/lib/cups/filter/rastertopdf
|
||||
%{_prefix}/lib/cups/filter/rastertops
|
||||
%{_prefix}/lib/cups/filter/sys5ippprinter
|
||||
%{_prefix}/lib/cups/filter/textbrftoindexv3
|
||||
%{_prefix}/lib/cups/filter/textbrftoindexv4
|
||||
%{_prefix}/lib/cups/filter/texttobrf
|
||||
%{_prefix}/lib/cups/filter/texttopdf
|
||||
%{_prefix}/lib/cups/filter/texttops
|
||||
%{_prefix}/lib/cups/filter/texttotext
|
||||
%{_prefix}/lib/cups/filter/urftopdf
|
||||
%{_libdir}/libcupsfilters.so.*
|
||||
%{_libdir}/libfontembed.so.*
|
||||
%dir %{_datadir}/cups/banners
|
||||
@ -157,6 +193,9 @@ _EOF
|
||||
%{_datadir}/doc/cups-filters/README
|
||||
|
||||
%changelog
|
||||
* Sat Jul 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-3mamba
|
||||
- added some configure options and requirements
|
||||
|
||||
* Thu Jul 21 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-2mamba
|
||||
- fix permissions of cups-browsed.service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user