]> git.pld-linux.org Git - packages/ghostscript.git/blobdiff - ghostscript.spec
Up to 10.02.0
[packages/ghostscript.git] / ghostscript.spec
index 0a3ca54366078959be36347a39e37d6187c75ba0..f9e6bebbf57fec9185873fe08ebe29bfc1d8289d 100644 (file)
@@ -20,22 +20,20 @@ Summary(ja.UTF-8):  PostScript インタープリタ・レンダラー
 Summary(pl.UTF-8):     Bezpłatny interpreter i renderer PostScriptu i PDF
 Summary(tr.UTF-8):     PostScript & PDF yorumlayıcı ve gösterici
 Name:          ghostscript
-Version:       9.54.0
+Version:       10.02.0
 Release:       1
 License:       AGPL v3+
 Group:         Applications/Graphics
 #Source0Download: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
-Source0:       https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/%{name}-%{version}.tar.xz
-# Source0-md5: 72535d31018129a1a8ff636a47ba1f92
+Source0:       https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10020/%{name}-%{version}.tar.xz
+# Source0-md5: 80c1cdfada72f2eb5987dc0d590ea5b2
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 9b5953aa0cc155f4364f20036b848585
 Patch0:                %{name}-missquotes.patch
 Patch1:                %{name}-a4.patch
 Patch2:                ijs-pkgconfig.patch
-Patch3:                %{name}-tiff.patch
 
 Patch6:                %{name}-gdevcd8-fixes.patch
-Patch8:                %{name}-zlib.patch
 
 # fedora
 Patch20:       %{name}-scripts.patch
@@ -61,6 +59,7 @@ BuildRequires:        libpng-devel >= 2:1.6.37
 BuildRequires: libstdc++-devel
 %{?with_system_libtiff:BuildRequires:  libtiff-devel >= 4.2.0}
 BuildRequires: libtool
+%{?with_system_openjp2:BuildRequires:  openjpeg2-devel}
 BuildRequires: pkgconfig
 BuildRequires: rpm-build >= 4.6
 BuildRequires: tar >= 1:1.22
@@ -81,10 +80,10 @@ BuildRequires:      zlib-devel >= 1.2.11
 Requires:      libpng >= 2:1.6.37
 %{?with_system_libtiff:Requires:       libtiff >= 4.2.0}
 Requires:      zlib >= 1.2.11
-Obsoletes:     ghostscript-afpl
-Obsoletes:     ghostscript-esp
-Obsoletes:     ghostscript-gpl
-Obsoletes:     ghostscript-svga
+Obsoletes:     ghostscript-afpl < 8.54
+Obsoletes:     ghostscript-esp < 8.50
+Obsoletes:     ghostscript-gpl < 8.51
+Obsoletes:     ghostscript-svga < 9.24
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _ulibdir        %{_prefix}/lib
@@ -127,9 +126,9 @@ Summary:    Ghostscript with GTK+ console
 Summary(pl.UTF-8):     Ghostscript z konsolą GTK+
 Group:         Applications/Graphics
 Requires:      %{name} = %{version}-%{release}
-Obsoletes:     ghostscript-afpl-gtk
-Obsoletes:     ghostscript-esp-gtk
-Obsoletes:     ghostscript-gpl-gtk
+Obsoletes:     ghostscript-afpl-gtk < 8.54
+Obsoletes:     ghostscript-esp-gtk < 8.50
+Obsoletes:     ghostscript-gpl-gtk < 8.51
 
 %description gtk
 Ghostscript with GTK+ console.
@@ -154,8 +153,8 @@ Summary:    libgs header files
 Summary(pl.UTF-8):     Pliki nagłówkowe libgs
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Obsoletes:     ghostscript-afpl-devel
-Obsoletes:     ghostscript-esp-devel
+Obsoletes:     ghostscript-afpl-devel < 8.54
+Obsoletes:     ghostscript-esp-devel < 8.50
 
 %description devel
 Header files for libgs - ghostscript shared library.
@@ -189,8 +188,8 @@ Summary:    IJS development files
 Summary(pl.UTF-8):     Pliki dla programistów IJS
 Group:         Development/Libraries
 Requires:      %{name}-ijs = %{version}-%{release}
-Obsoletes:     ghostscript-afpl-ijs-devel
-Obsoletes:     ghostscript-esp-ijs-devel
+Obsoletes:     ghostscript-afpl-ijs-devel < 8.54
+Obsoletes:     ghostscript-esp-ijs-devel < 8.50
 
 %description ijs-devel
 IJS development files.
@@ -203,8 +202,8 @@ Summary:    Static libijs library
 Summary(pl.UTF-8):     Statyczna biblioteka IJS
 Group:         Development/Libraries
 Requires:      %{name}-ijs-devel = %{version}-%{release}
-Obsoletes:     ghostscript-afpl-ijs-static
-Obsoletes:     ghostscript-esp-ijs-static
+Obsoletes:     ghostscript-afpl-ijs-static < 8.54
+Obsoletes:     ghostscript-esp-ijs-static < 8.50
 
 %description ijs-static
 Static libijs library.
@@ -217,10 +216,8 @@ Statyczna wersja biblioteki IJS.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %patch6 -p1
-%patch8 -p1
 
 %patch20 -p1
 
@@ -233,7 +230,7 @@ Statyczna wersja biblioteki IJS.
 %{?with_system_jbig2dec:%{__rm} -r jbig2dec}
 # (unmodified) libpng 1.6.37 and zlib 1.2.11
 %{__rm} -r libpng zlib
-# libjpeg (9c without CLAMP_DC fixes) is built with different configuration (D_MAX_BLOCKS_IN_MCU=64)
+# libjpeg (9d with additional CLAMP_DC) is built with different configuration (D_MAX_BLOCKS_IN_MCU=64)
 %{?with_system_libjpeg:%{__rm} -r jpeg}
 # lcms2mt is thread safe version of lcms2 2.10
 %{?with_system_lcms2:%{__rm} -r lcms2mt}
@@ -248,7 +245,7 @@ Statyczna wersja biblioteki IJS.
 %configure \
        %{!?with_cairo:--disable-cairo} \
        --disable-compile-inits \
-       --enable-dynamic \
+        --enable-dynamic --disable-hidden-visibility \
        --with-drivers=ALL \
        --with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \
        --with-ijs \
@@ -292,8 +289,7 @@ cp -p base/gserrors.h $RPM_BUILD_ROOT%{_includedir}/ghostscript
 cp -p LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*.sh \
-       $RPM_BUILD_ROOT%{_mandir}/man1/{ps2pdf1{2,3},eps2eps}.1 \
-       $RPM_BUILD_ROOT%{_mandir}/de/man1/{ps2pdf1{2,3},eps2eps}.1
+       $RPM_BUILD_ROOT%{_mandir}/man1/{ps2pdf1{2,3},eps2eps}.1
 
 echo ".so gs.1"     > $RPM_BUILD_ROOT%{_mandir}/man1/ghostscript.1
 echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf12.1
@@ -304,10 +300,6 @@ echo ".so gslp.1"   > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj.1
 echo ".so gslp.1"   > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj500.1
 echo ".so gslp.1"   > $RPM_BUILD_ROOT%{_mandir}/man1/gslj.1
 
-echo ".so ps2ps.1"  > $RPM_BUILD_ROOT%{_mandir}/de/man1/eps2eps.1
-echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf12.1
-echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf13.1
-
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.ghostscript-non-english-man-pages
 
@@ -352,9 +344,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/ps2ps2
 %attr(755,root,root) %{_bindir}/pphs
 %attr(755,root,root) %{_libdir}/libgs.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgs.so.9
-%dir %{_libdir}/%{name}
-%dir %{_libdir}/%{name}/%{version}
+%attr(755,root,root) %ghost %{_libdir}/libgs.so.10
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/%{version}
 %{_datadir}/%{name}/%{version}/Resource
@@ -389,7 +379,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/ps2pdfwr.1*
 %{_mandir}/man1/ps2ps.1*
 %lang(cs) %{_mandir}/cs/man1/*
-%lang(de) %{_mandir}/de/man1/*
 %lang(es) %{_mandir}/es/man1/*
 %lang(fr) %{_mandir}/fr/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.540988 seconds and 4 git commands to generate.