]> git.pld-linux.org Git - packages/cups-filters.git/blobdiff - cups-filters.spec
- updated libstdc++ version for -std=c++17
[packages/cups-filters.git] / cups-filters.spec
index 64581223c079f6b504900c46b4be41f2b97ecc7f..6e67fb8ab77d7e2a469609d4141cf4f0a4eb296f 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.15
+Version:       1.28.17
 Release:       1
 # For a breakdown of the licensing, see COPYING file
 # GPLv2:   filters: commandto*, imagetoraster, pdftops, rasterto*,
@@ -24,11 +24,14 @@ Release:    1
 # MIT:     filters: gstoraster, pdftopdf, pdftoraster
 License:       GPL v2, GPL v2+, GPL v3, GPL v3+, LGPL v2+, MIT
 Group:         Applications/Printing
-Source0:       https://www.openprinting.org/download/cups-filters/%{name}-%{version}.tar.xz
-# Source0-md5: b6891109445e147a38198d42c3127903
+#Source0:      https://www.openprinting.org/download/cups-filters/%{name}-%{version}.tar.xz
+Source0:       https://github.com/OpenPrinting/cups-filters/releases/download/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5: 74741eb5ba32331676f88be468259d1f
 Patch0:                %{name}-php.patch
 Patch1:                %{name}-php7.patch
 Patch2:                %{name}-php73.patch
+Patch3:                %{name}-1.28.17-c++17.patch
+Patch4:                %{name}-1.28.17-CVE-2023-24805.patch
 URL:           http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
 BuildRequires: autoconf >= 2.65
 BuildRequires: automake >= 1:1.11
@@ -41,18 +44,19 @@ 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
+BuildRequires: libexif-devel
 BuildRequires: libjpeg-devel
 %{?with_braille:BuildRequires: liblouis-devel}
 BuildRequires: libpng-devel
-BuildRequires: libstdc++-devel >= 6:4.7
+BuildRequires: libstdc++-devel >= 6:7
 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
@@ -250,8 +254,11 @@ Moduł PHP do ogólnego systemu druku dla Uniksa.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
+export CXXFLAGS="%{rpmcxxflags} -std=c++17"
 %{__aclocal}
 %{__autoconf}
 %{__automake}
This page took 0.067105 seconds and 4 git commands to generate.