1 |
%define _disable_ld_no_undefined 1 |
%define _disable_ld_no_undefined 1 |
2 |
%define rel 4 |
%define rel 1 |
3 |
|
|
4 |
%define gsver 9.14 |
%define gsver 9.18 |
5 |
%define ijsver 0.35 |
%define ijsver 0.35 |
6 |
%define ijsreloffset 104 |
%define ijsreloffset 105 |
7 |
%define ijsrelno %(echo $((%{rel} + %{ijsreloffset}))) |
%define ijsrelno %(echo $((%{rel} + %{ijsreloffset}))) |
8 |
%define ijsrel %mkrel %{ijsrelno} |
%define ijsrel %mkrel %{ijsrelno} |
9 |
|
|
31 |
Source2: ps2pdfpress.bz2 |
Source2: ps2pdfpress.bz2 |
32 |
Source3: http://www.linuxprinting.org/download/printing/sipixa6.upp.bz2 |
Source3: http://www.linuxprinting.org/download/printing/sipixa6.upp.bz2 |
33 |
|
|
|
Patch0: ghostscript-9.14-CVE-2015-3228.patch |
|
|
|
|
34 |
# Fedora patches |
# Fedora patches |
35 |
# Fix ijs-config not to have multilib conflicts (bug #192672) |
# Fix ijs-config not to have multilib conflicts (bug #192672) |
36 |
Patch1: ghostscript-multilib.patch |
Patch1: ghostscript-multilib.patch |
40 |
Patch3: ghostscript-noopt.patch |
Patch3: ghostscript-noopt.patch |
41 |
# Define .runlibfileifexists. |
# Define .runlibfileifexists. |
42 |
Patch4: ghostscript-runlibfileifexists.patch |
Patch4: ghostscript-runlibfileifexists.patch |
|
# Fixed missing error check when setting ICC profile. |
|
|
Patch5: ghostscript-icc-missing-check.patch |
|
43 |
# Restored Fontmap.local patch, incorrectly dropped after |
# Restored Fontmap.local patch, incorrectly dropped after |
44 |
# ghostscript-8.15.4-3 (bug #610301). |
# ghostscript-8.15.4-3 (bug #610301). |
45 |
# Note: don't use -b here to avoid the backup file ending up in the |
# Note: don't use -b here to avoid the backup file ending up in the |
46 |
# package manifest. |
# package manifest. |
47 |
Patch6: ghostscript-Fontmap.local.patch |
Patch6: ghostscript-Fontmap.local.patch |
48 |
# Don't assume %%rom%% device is available for initial ICC profile dir. |
# Use system openjpeg2 library so we can decode JPX (upstream bug #695557). |
49 |
Patch7: ghostscript-iccprofiles-initdir.patch |
Patch8: ghostscript-system-openjpeg2.patch |
50 |
# gdevcups: don't use uninitialized variables in debugging output. |
# Fixes for using the system zlib. |
51 |
Patch8: ghostscript-gdevcups-debug-uninit.patch |
Patch9: ghostscript-system-zlib.patch |
|
# Use more caution when converting floats to strings (bug #980085). |
|
|
Patch9: ghostscript-wrf-snprintf.patch |
|
|
# Use upstream patch to fix gs segfault (bug #1036428). |
|
|
Patch10: ghostscript-gs694154.patch |
|
|
# Fix build when using system zlib. |
|
|
Patch11: ghostscript-sys-zlib.patch |
|
|
|
|
52 |
|
|
53 |
%if !%{bootstrap} |
%if !%{bootstrap} |
54 |
BuildRequires: gtk+3-devel |
BuildRequires: gtk+3-devel |
71 |
BuildRequires: pkgconfig(jasper) |
BuildRequires: pkgconfig(jasper) |
72 |
BuildRequires: pkgconfig(lcms2) >= 2.5 |
BuildRequires: pkgconfig(lcms2) >= 2.5 |
73 |
BuildRequires: pkgconfig(libidn) |
BuildRequires: pkgconfig(libidn) |
74 |
|
BuildRequires: pkgconfig(libopenjp2) |
75 |
BuildRequires: pkgconfig(libpng) |
BuildRequires: pkgconfig(libpng) |
76 |
BuildRequires: pkgconfig(libxml-2.0) |
BuildRequires: pkgconfig(libxml-2.0) |
77 |
BuildRequires: pkgconfig(sm) |
BuildRequires: pkgconfig(sm) |