This commit is contained in:
Tim Waugh 2013-08-15 10:20:27 +01:00
parent 455c9842a6
commit f57ad54bb1
3 changed files with 16 additions and 14 deletions

1
.gitignore vendored
View File

@ -34,3 +34,4 @@ ghostscript-8.71.tar.xz
/ghostscript-9.06.tar.bz2
/ghostscript-9.07.tar.bz2
/ghostscript-9.08rc1.tar.gz
/ghostscript-9.08.tar.bz2

View File

@ -1,20 +1,18 @@
%define gs_ver 9.08
%define gs_dot_ver 9.08
%define rcver rc1
%define dotrcver %{?rcver:.}%{?rcver}
%{expand: %%define build_with_freetype %{?_with_freetype:1}%{!?_with_freetype:0}}
Summary: A PostScript interpreter and renderer
Name: ghostscript
Version: %{gs_ver}
Release: 0%{?dotrcver}.1%{?dist}
Release: 1%{?dist}
# Included CMap data is Redistributable, no modification permitted,
# see http://bugzilla.redhat.com/487510
License: AGPLv3+ and Redistributable, no modification permitted
URL: http://www.ghostscript.com/
Group: Applications/Publishing
Source0: http://www.ghostscript.com/~chrisl/%{name}-%{version}%{?rcver}.tar.gz
Source0: http://downloads.ghostscript.com/public/ghostscript-%{gs_ver}.tar.bz2
Source2: CIDFnmap
Source4: cidfmap
@ -23,10 +21,10 @@ Patch2: ghostscript-scripts.patch
Patch3: ghostscript-noopt.patch
Patch4: ghostscript-runlibfileifexists.patch
Patch5: ghostscript-icc-missing-check.patch
Patch7: ghostscript-Fontmap.local.patch
Patch8: ghostscript-iccprofiles-initdir.patch
Patch9: ghostscript-gdevcups-debug-uninit.patch
Patch13: ghostscript-wrf-snprintf.patch
Patch6: ghostscript-Fontmap.local.patch
Patch7: ghostscript-iccprofiles-initdir.patch
Patch8: ghostscript-gdevcups-debug-uninit.patch
Patch9: ghostscript-wrf-snprintf.patch
Requires: urw-fonts >= 1.1, ghostscript-fonts
Requires: poppler-data
@ -94,7 +92,7 @@ Group: Applications/Publishing
A GTK-enabled version of Ghostscript, called 'gsx'.
%prep
%setup -q -n %{name}-%{gs_ver}%{?rcver}
%setup -q -n %{name}-%{gs_ver}
rm -rf expat freetype icclib jasper jpeg lcms lcms2 libpng openjpeg zlib cups/libs
# Fix ijs-config not to have multilib conflicts (bug #192672)
@ -116,16 +114,16 @@ rm -rf expat freetype icclib jasper jpeg lcms lcms2 libpng openjpeg zlib cups/li
# ghostscript-8.15.4-3 (bug #610301).
# Note: don't use -b here to avoid the backup file ending up in the
# package manifest.
%patch7 -p1
%patch6 -p1
# Don't assume %%rom%% device is available for initial ICC profile dir.
%patch8 -p1 -b .iccprofiles-initdir
%patch7 -p1 -b .iccprofiles-initdir
# gdevcups: don't use uninitialized variables in debugging output.
%patch9 -p1 -b .gdevcups-debug-uninit
%patch8 -p1 -b .gdevcups-debug-uninit
# Use more caution when converting floats to strings (bug #980085).
%patch13 -p1 -b .wrf-snprintf
%patch9 -p1 -b .wrf-snprintf
# Convert manual pages to UTF-8
from8859_1() {
@ -317,6 +315,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libgs.so
%changelog
* Thu Aug 15 2013 Tim Waugh <twaugh@redhat.com> 9.08-1
- 9.08.
* Mon Aug 12 2013 Tim Waugh <twaugh@redhat.com> 9.08-0.rc1.1
- 9.08rc1. CUPS filters moved to the cups-filters package.

View File

@ -1,3 +1,3 @@
2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz
dfc93dd2aaaf2b86d2fd55f654c13261 adobe-cmaps-200406.tar.gz
be4a79f7fd6353aa5754045f83cd1e89 ghostscript-9.08rc1.tar.gz
22d5c66e32ea2a4a62ce43fbf01281f2 ghostscript-9.08.tar.bz2