]> git.pld-linux.org Git - packages/cups-filters.git/blobdiff - cups-filters.spec
up to 1.28.13
[packages/cups-filters.git] / cups-filters.spec
index efee08c2fde9facf24bed2997855a1f924d9594f..3913f127e1b8d89ffa04ef750a5ac317140a829d 100644 (file)
@@ -11,7 +11,7 @@
 Summary:       OpenPrinting CUPS filters and backends
 Summary(pl.UTF-8):     Filtry i backendy CUPS-a z projektu OpenPrinting
 Name:          cups-filters
-Version:       1.28.1
+Version:       1.28.13
 Release:       1
 # For a breakdown of the licensing, see COPYING file
 # GPLv2:   filters: commandto*, imagetoraster, pdftops, rasterto*,
@@ -24,12 +24,11 @@ Release:    1
 # MIT:     filters: gstoraster, pdftopdf, pdftoraster
 License:       GPL v2, GPL v2+, GPL v3, GPL v3+, LGPL v2+, MIT
 Group:         Applications/Printing
-Source0:       http://www.openprinting.org/download/cups-filters/%{name}-%{version}.tar.xz
-# Source0-md5: e3fc45480c9800d0212ff9bd5a5ef884
-Patch0:                %{name}-dbus.patch
-Patch1:                %{name}-php.patch
-Patch2:                %{name}-php7.patch
-Patch3:                %{name}-php73.patch
+Source0:       https://www.openprinting.org/download/cups-filters/%{name}-%{version}.tar.xz
+# Source0-md5: 48c79fe08706d403996bf091fb0ea0ca
+Patch0:                %{name}-php.patch
+Patch1:                %{name}-php7.patch
+Patch2:                %{name}-php73.patch
 URL:           http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
 BuildRequires: autoconf >= 2.65
 BuildRequires: automake >= 1:1.11
@@ -38,9 +37,10 @@ BuildRequires:       avahi-glib-devel
 BuildRequires: cups-devel >= 1:1.6.0
 BuildRequires: dbus-devel
 BuildRequires: fontconfig-devel >= 2.0.0
+BuildRequires: fonts-TTF-DejaVu
 BuildRequires: freetype-devel >= 2
+BuildRequires: gettext-tools >= 0.18.3
 # /usr/bin/gs, for features detection
-%{?with_php:BuildRequires:     %{php_name}-devel}
 BuildRequires: ghostscript
 BuildRequires: glib2-devel >= 1:2.30.2
 BuildRequires: lcms2-devel >= 2
@@ -52,12 +52,15 @@ BuildRequires:      libtiff-devel
 BuildRequires: libtool
 BuildRequires: openldap-devel
 %{?with_perl:BuildRequires:    perl-devel}
+%{?with_php:BuildRequires:     %{php_name}-devel}
 BuildRequires: pkgconfig >= 1:0.20
 BuildRequires: poppler-cpp-devel >= 0.19
 # /usr/bin/pdftops, for features detection
 BuildRequires: poppler-progs >= 0.19
 BuildRequires: qpdf-devel >= 8.3.0
 BuildRequires: rpmbuild(macros) >= 1.671
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 BuildRequires: zlib-devel
 # DejaVuSans.ttf (testing font for test scripts)
 #BuildRequires:        fonts-TTF-DejaVu
@@ -247,7 +250,6 @@ Moduł PHP do ogólnego systemu druku dla Uniksa.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
 %{__aclocal}
@@ -305,8 +307,6 @@ install -p utils/cups-browsed.service $RPM_BUILD_ROOT%{systemdunitdir}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
 # packaged as %doc
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/cups-filters
-# Not sure what is this good for.
-%{__rm} $RPM_BUILD_ROOT%{_bindir}/ttfread
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -470,10 +470,12 @@ fi
 %{_pkgconfigdir}/libcupsfilters.pc
 %{_pkgconfigdir}/libfontembed.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libcupsfilters.a
 %{_libdir}/libfontembed.a
+%endif
 
 %files -n cups-browsed
 %defattr(644,root,root,755)
This page took 0.068146 seconds and 4 git commands to generate.