From 066b2609afbf09e80e18d1c8d9afbb772f284a007f8454fcdaf419ada048d47a Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Wed, 25 Apr 2012 14:47:49 +0000 Subject: [PATCH 1/2] Accepting request 115319 from home:jsmeix:branches:Printing Install documentation which is not installed by default. OBS-URL: https://build.opensuse.org/request/show/115319 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=12 --- ghostscript-mini.changes | 18 ++++++++++--- ghostscript-mini.spec | 55 +++++++++++++++++++++++++++++++--------- ghostscript.changes | 11 ++++++++ ghostscript.spec | 48 ++++++++++++++++++++++++----------- 4 files changed, 102 insertions(+), 30 deletions(-) diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index 11788a8..c75722e 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,9 +1,21 @@ +------------------------------------------------------------------- +Tue Apr 24 14:30:45 CEST 2012 - jsmeix@suse.de + +- Install documentation which is not installed by default + (LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf + doc/gs-vms.hlp doc/Ps2ps2.htm). +- Add a link from SUSE's usual documentation directory + (/usr/share/doc/packages/ghostscript/) to Ghostscript's + documentation directory (/usr/share/ghostscript/9.05/doc/) + because "configure --docdir=..." does not work. +- Let ghostscript-mini "Conflicts: ghostscript-library". + ------------------------------------------------------------------- Wed Mar 28 10:59:21 CEST 2012 - jsmeix@suse.de -- Require only the basic fonts for Ghostscript - (package ghostscript-fonts-std) but do not recommend - optional fonts (package ghostscript-fonts-other). +- Require only the basic fonts for Ghostscript + (package ghostscript-fonts-std) but do not recommend + optional fonts (package ghostscript-fonts-other). ------------------------------------------------------------------- Fri Mar 23 11:32:28 CET 2012 - jsmeix@suse.de diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 174dc86..5b87be0 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: ghostscript-mini BuildRequires: freetype2-devel @@ -25,13 +24,12 @@ BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: pkg-config BuildRequires: zlib-devel -AutoReqProv: on Summary: Minimal Ghostscript for minimal build requirements -Group: System/Libraries License: GPL-3.0 +Group: System/Libraries Url: http://www.ghostscript.com/ Version: 9.05 -Release: 1 +Release: 0 # Source0...Source9 is for sources from upstream: # URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.05.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS @@ -50,6 +48,7 @@ Source0: ghostscript-%{version}.tar.gz Conflicts: ghostscript Conflicts: ghostscript-x11 Conflicts: ghostscript-devel +Conflicts: ghostscript-library # Require only the basic fonts for Ghostscript (but do not recommend ghostscript-fonts-other): Requires: ghostscript-fonts-std # Prerequire /sbin/ldconfig which is used in the traditional bash scriptlets for post/postun: @@ -72,6 +71,16 @@ in the build dependencies because ghostscript-mini has minimal build dependencies (in particular neither CUPS nor X11 build dependencies). +For most packages which need to only run +Ghostscript during build, a single line +"BuildRequires: ghostscript-mini" +should be sufficient in the RPM spec file. + +For most packages which need Ghostscript +development files to build, a single line +"BuildRequires: ghostscript-mini-devel" +should be sufficient in the RPM spec file. + The ghostscript-mini package in the openSUSE build service contains no sources and it must not contain any source files. The ghostscript-mini package is only @@ -82,13 +91,13 @@ package. This means any changes for the ghostscript-mini package will be rejected in the openSUSE build service. %package devel -License: GPL-3.0 Summary: Development files for Minimal Ghostscript +Group: Development/Libraries/C and C++ Requires: ghostscript-mini = %{version} Conflicts: ghostscript Conflicts: ghostscript-x11 Conflicts: ghostscript-devel -Group: Development/Libraries/C and C++ +Conflicts: ghostscript-library %description devel This package contains the development files for Minimal Ghostscript. @@ -102,6 +111,7 @@ This package contains the development files for Minimal Ghostscript. export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" autoreconf -fi +# --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used. # --disable-cups and --without-pdftoraster and --without-install-cups # to have nothing related to CUPS in the minimal Ghostscript. # --without-ijs to disable IJS printer driver support in the minimal Ghostscript. @@ -131,10 +141,10 @@ autoreconf -fi %endif ./configure --prefix=%{_prefix} \ --bindir=%{_bindir} \ - --mandir=%{_mandir} \ - --datadir=%{_datadir} \ - --infodir=%{_infodir} \ --libdir=%{_libdir} \ + --datadir=%{_datadir} \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ --with-fontpath=%{gs_font_path} \ --with-libiconv=maybe \ %{with_or_without_system_libtiff} \ @@ -156,13 +166,27 @@ autoreconf -fi --without-luratech \ --without-libpaper make -# make libgs.so and two programs which use it, gsx and gsc: +# Make libgs.so and two programs which use it, gsx and gsc: make so %install make install DESTDIR=%{buildroot} -# install libgs.so gsx gsc and some header files: +# Install libgs.so gsx gsc and some header files: make soinstall DESTDIR=%{buildroot} +# Install documentation which is not installed by default +# see http://bugs.ghostscript.com/show_bug.cgi?id=693002 +# and fail intentionally as notification if something changed: +DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/doc +for D in LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm +do test -e $DOCDIR/$( basename $D ) && exit 99 + install -m 644 $D $DOCDIR +done +# Add a link from SUSE's usual documentation directory to Ghostscript's documentation directory +# because "configure --docdir=%%{_defaultdocdir}/%%{name}" does not work (see above): +install -d -m755 %{buildroot}%{_defaultdocdir} +pushd %{buildroot}%{_defaultdocdir} +ln -s ../../ghostscript/%{version}/doc ghostscript +popd # Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe # see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets @@ -250,7 +274,14 @@ exit 0 %doc %{_mandir}/de/man1/ps2pdf14.1.gz %doc %{_mandir}/de/man1/ps2ps.1.gz %doc %{_mandir}/de/man1/wftopfa.1.gz -%{_datadir}/ghostscript/ +%doc %{_defaultdocdir}/ghostscript +%dir %{_datadir}/ghostscript +%dir %{_datadir}/ghostscript/%{version} +%doc %{_datadir}/ghostscript/%{version}/doc/ +%{_datadir}/ghostscript/%{version}/examples/ +%{_datadir}/ghostscript/%{version}/iccprofiles/ +%{_datadir}/ghostscript/%{version}/lib/ +%{_datadir}/ghostscript/%{version}/Resource/ %{_libdir}/libgs.so.* %{_libdir}/ghostscript/ diff --git a/ghostscript.changes b/ghostscript.changes index f89bbf0..25f92ea 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Apr 24 14:30:45 CEST 2012 - jsmeix@suse.de + +- Install documentation which is not installed by default + (LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf + doc/gs-vms.hlp doc/Ps2ps2.htm). +- Add a link from SUSE's usual documentation directory + (/usr/share/doc/packages/ghostscript/) to Ghostscript's + documentation directory (/usr/share/ghostscript/9.05/doc/) + because "configure --docdir=..." does not work. + ------------------------------------------------------------------- Thu Apr 5 15:06:56 CEST 2012 - jsmeix@suse.de diff --git a/ghostscript.spec b/ghostscript.spec index 4624562..2a8a68e 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: ghostscript BuildRequires: cups-devel @@ -30,13 +29,12 @@ BuildRequires: pkg-config BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-fonts BuildRequires: zlib-devel -AutoReqProv: on Summary: The Ghostscript interpreter for PostScript and PDF -Group: System/Libraries License: GPL-3.0 +Group: System/Libraries Url: http://www.ghostscript.com/ Version: 9.05 -Release: 1 +Release: 0 # Source0...Source9 is for sources from upstream: # URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.05.tar.gz # URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS @@ -165,7 +163,6 @@ For information how to use Ghostscript see %package x11 Summary: X11 library for Ghostscript Group: Productivity/Publishing/PS -License: GPL-3.0 # Require the exact matching version-release of the ghostscript main-package because # a non-matching ghostscript main-package may let it fail or even crash (e.g. segfault) # because all Ghostscript software is built from one same Ghostscript source tar ball @@ -185,8 +182,8 @@ Requires: ghostscript = %{version}-%{release} # The RPM documentation http://www.rpm.org/max-rpm/s1-rpm-depend-manual-dependencies.html # and /usr/share/doc/packages/rpm/manual/dependencies (in rpm-4.8.0 in openSUSE 11.4) # does not show a comparison operator for "not equal" so that two conflicts are used: -Conflicts: ghostscript-library < %{version}-%{release} -Conflicts: ghostscript-library > %{version}-%{release} +Conflicts: ghostscript-library < %{version} +Conflicts: ghostscript-library > %{version} Conflicts: ghostscript-mini # In openSUSE:Factory (dated 22 Feb. 2012) ghostview gv and texlive-bin require ghostscript_x11 (see above): Provides: ghostscript_x11 @@ -197,8 +194,8 @@ to view PostScript and PDF files with Ghostscript under the X Window System. %package devel -License: GPL-3.0 Summary: Development files for Ghostscript +Group: Development/Libraries/C and C++ Requires: ghostscript = %{version} # Unfortunately ghostscript-library.spec and ghostscript-mini.spec have # an unversioned "Provides: ghostscript" and for RPM this means that both @@ -215,7 +212,6 @@ Conflicts: ghostscript-library < %{version} Conflicts: ghostscript-library > %{version} Conflicts: ghostscript-mini Conflicts: ghostscript-mini-devel -Group: Development/Libraries/C and C++ %description devel This package contains the development files for Ghostscript. @@ -229,6 +225,7 @@ This package contains the development files for Ghostscript. export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" autoreconf -fi +# --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used. # --enable-cups and --with-pdftoraster and --with-install-cups # (--with-install-cups is new since version 9.04) # to make and install cups/filter/gstoraster and cups/filter/gstopxl @@ -259,10 +256,10 @@ autoreconf -fi %endif ./configure --prefix=%{_prefix} \ --bindir=%{_bindir} \ - --mandir=%{_mandir} \ - --datadir=%{_datadir} \ - --infodir=%{_infodir} \ --libdir=%{_libdir} \ + --datadir=%{_datadir} \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ --with-fontpath=%{gs_font_path} \ --with-libiconv=maybe \ %{with_or_without_system_libtiff} \ @@ -284,13 +281,27 @@ autoreconf -fi --without-luratech \ --without-libpaper make -# make libgs.so and two programs which use it, gsx and gsc: +# Make libgs.so and two programs which use it, gsx and gsc: make so %install make install DESTDIR=%{buildroot} -# install libgs.so gsx gsc and some header files: +# Install libgs.so gsx gsc and some header files: make soinstall DESTDIR=%{buildroot} +# Install documentation which is not installed by default +# see http://bugs.ghostscript.com/show_bug.cgi?id=693002 +# and fail intentionally as notification if something changed: +DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/doc +for D in LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm +do test -e $DOCDIR/$( basename $D ) && exit 99 + install -m 644 $D $DOCDIR +done +# Add a link from SUSE's usual documentation directory to Ghostscript's documentation directory +# because "configure --docdir=%%{_defaultdocdir}/%%{name}" does not work (see above): +install -d -m755 %{buildroot}%{_defaultdocdir} +pushd %{buildroot}%{_defaultdocdir} +ln -s ../../ghostscript/%{version}/doc ghostscript +popd # Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe # see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets @@ -387,7 +398,14 @@ exit 0 %doc %{_mandir}/de/man1/ps2pdf14.1.gz %doc %{_mandir}/de/man1/ps2ps.1.gz %doc %{_mandir}/de/man1/wftopfa.1.gz -%{_datadir}/ghostscript/ +%doc %{_defaultdocdir}/ghostscript +%dir %{_datadir}/ghostscript +%dir %{_datadir}/ghostscript/%{version} +%doc %{_datadir}/ghostscript/%{version}/doc/ +%{_datadir}/ghostscript/%{version}/examples/ +%{_datadir}/ghostscript/%{version}/iccprofiles/ +%{_datadir}/ghostscript/%{version}/lib/ +%{_datadir}/ghostscript/%{version}/Resource/ %{_libdir}/libgs.so.* %{_libdir}/ghostscript/ %exclude %{_libdir}/ghostscript/%{version}/X11.so From 5c674c36d8ee80a4bd767b23f8db85b5146fafff2db4efe7babd3ef1da1ce710 Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Fri, 27 Apr 2012 12:58:11 +0000 Subject: [PATCH 2/2] Accepting request 115851 from home:jsmeix:branches:Printing Added D-Bus requirement to get colord support in gstoraster (only in ghostscript but not in ghostscript-mini). OBS-URL: https://build.opensuse.org/request/show/115851 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=13 --- ghostscript-mini.changes | 3 ++- ghostscript-mini.spec | 29 +++++++++++++++-------------- ghostscript.changes | 10 +++++++++- ghostscript.spec | 33 ++++++++++++++++++--------------- 4 files changed, 44 insertions(+), 31 deletions(-) diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index c75722e..33a74cf 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -2,7 +2,8 @@ Tue Apr 24 14:30:45 CEST 2012 - jsmeix@suse.de - Install documentation which is not installed by default - (LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf + (LICENSE doc/AUTHORS doc/COPYING doc/thirdparty.htm + doc/WhatIsGS.htm doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm). - Add a link from SUSE's usual documentation directory (/usr/share/doc/packages/ghostscript/) to Ghostscript's diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 5b87be0..55206d0 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: ghostscript-mini BuildRequires: freetype2-devel BuildRequires: liblcms-devel @@ -113,28 +112,29 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" autoreconf -fi # --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used. # --disable-cups and --without-pdftoraster and --without-install-cups -# to have nothing related to CUPS in the minimal Ghostscript. +# to have nothing related to CUPS in the minimal Ghostscript. +# --disable-dbus to have nothing related to D-Bus in the minimal Ghostscript. # --without-ijs to disable IJS printer driver support in the minimal Ghostscript. # --with-drivers=FILES to have only the file format drivers -# but no printer drivers in the minimal Ghostscript. +# but no printer drivers in the minimal Ghostscript. # --without-x to not use the X Window System. # --without-omni to disable the outdated and unmaintained omni driver. # --without-jasper and --enable-openjpeg because since Ghostscript 9.05 JasPer is deprecated -# and Ghostscript now ships modified OpenJPEG sources for JPEG2000 decoding -# (replacing JasPer - although JasPer is still included for this release). -# Performance, reliability and memory use whilst decoding JPX streams are all improved. +# and Ghostscript now ships modified OpenJPEG sources for JPEG2000 decoding +# (replacing JasPer - although JasPer is still included for this release). +# Performance, reliability and memory use whilst decoding JPX streams are all improved. # --without-ufst and --without-luratech because those are relevant to commercial releases only -# which would require a commercial license. +# which would require a commercial license. # --without-libpaper disables libpaper support because SUSE does not have libpaper. %define gs_font_path /usr/share/fonts/truetype:/usr/share/fonts/Type1:/usr/share/fonts/CID:/usr/share/fonts/URW %if 0%{?suse_version} >= 1210 # --without-system-libtiff enforces not to use the systems libtiff because -# currently (dated Thu Mar 15 2012) using system libtiff fails -# in openSUSE:Factory and openSUSE:12.1 with -# "checking for libtiff with pkg-config... checking for TIFFOpen in -ltiff... no -# configure: Could not find a copy of libtiff on your system. -# Disabling tiff output devices." -# regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory +# currently (dated Thu Mar 15 2012) using system libtiff fails +# in openSUSE:Factory and openSUSE:12.1 with +# "checking for libtiff with pkg-config... checking for TIFFOpen in -ltiff... no +# configure: Could not find a copy of libtiff on your system. +# Disabling tiff output devices." +# regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory. %define with_or_without_system_libtiff --without-system-libtiff %else %define with_or_without_system_libtiff --with-system-libtiff @@ -155,6 +155,7 @@ autoreconf -fi --enable-openjpeg \ --enable-dynamic \ --disable-cups \ + --disable-dbus \ --without-pdftoraster \ --without-install-cups \ --with-drivers=FILES \ @@ -177,7 +178,7 @@ make soinstall DESTDIR=%{buildroot} # see http://bugs.ghostscript.com/show_bug.cgi?id=693002 # and fail intentionally as notification if something changed: DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/doc -for D in LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm +for D in LICENSE doc/AUTHORS doc/COPYING doc/thirdparty.htm doc/WhatIsGS.htm doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm do test -e $DOCDIR/$( basename $D ) && exit 99 install -m 644 $D $DOCDIR done diff --git a/ghostscript.changes b/ghostscript.changes index 25f92ea..6aba5db 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,8 +1,16 @@ +------------------------------------------------------------------- +Fri Apr 27 10:40:53 CEST 2012 - jsmeix@suse.de + +- BuildRequires dbus-1-devel for "configure --enable-dbus" + to have colord support in gstoraster (see the entry regarding + "color management daemon" in doc/History9.htm). + ------------------------------------------------------------------- Tue Apr 24 14:30:45 CEST 2012 - jsmeix@suse.de - Install documentation which is not installed by default - (LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf + (LICENSE doc/AUTHORS doc/COPYING doc/thirdparty.htm + doc/WhatIsGS.htm doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm). - Add a link from SUSE's usual documentation directory (/usr/share/doc/packages/ghostscript/) to Ghostscript's diff --git a/ghostscript.spec b/ghostscript.spec index 2a8a68e..40351d2 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -15,9 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: ghostscript BuildRequires: cups-devel +# dbus-1-devel is needed for "configure --enable-dbus" (see below): +BuildRequires: dbus-1-devel BuildRequires: freetype2-devel BuildRequires: libexpat-devel BuildRequires: liblcms-devel @@ -227,29 +228,30 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" autoreconf -fi # --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used. # --enable-cups and --with-pdftoraster and --with-install-cups -# (--with-install-cups is new since version 9.04) -# to make and install cups/filter/gstoraster and cups/filter/gstopxl -# and related files (gstoraster.convs pxlcolor.ppd pxlmono.ppd). +# (--with-install-cups is new since version 9.04) +# to make and install cups/filter/gstoraster and cups/filter/gstopxl +# and related files (gstoraster.convs pxlcolor.ppd pxlmono.ppd). +# --enable-dbus to have colord support in gstoraster, see cups/colord.c (colord is accessed via D-Bus). # --with-ijs to enable IJS printer driver support (in particular needed by HPIJS). # --with-drivers=ALL to all file format drivers and all printer drivers. # --with-x to use the X Window System. # --without-omni to disable the outdated and unmaintained omni driver. # --without-jasper and --enable-openjpeg because since Ghostscript 9.05 JasPer is deprecated -# and Ghostscript now ships modified OpenJPEG sources for JPEG2000 decoding -# (replacing JasPer - although JasPer is still included for this release). -# Performance, reliability and memory use whilst decoding JPX streams are all improved. +# and Ghostscript now ships modified OpenJPEG sources for JPEG2000 decoding +# (replacing JasPer - although JasPer is still included for this release). +# Performance, reliability and memory use whilst decoding JPX streams are all improved. # --without-ufst and --without-luratech because those are relevant to commercial releases only -# which would require a commercial license. +# which would require a commercial license. # --without-libpaper disables libpaper support because SUSE does not have libpaper. %define gs_font_path /usr/share/fonts/truetype:/usr/share/fonts/Type1:/usr/share/fonts/CID:/usr/share/fonts/URW %if 0%{?suse_version} >= 1210 # --without-system-libtiff enforces not to use the systems libtiff because -# currently (dated Thu Mar 15 2012) using system libtiff fails -# in openSUSE:Factory and openSUSE:12.1 with -# "checking for libtiff with pkg-config... checking for TIFFOpen in -ltiff... no -# configure: Could not find a copy of libtiff on your system. -# Disabling tiff output devices." -# regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory +# currently (dated Thu Mar 15 2012) using system libtiff fails +# in openSUSE:Factory and openSUSE:12.1 with +# "checking for libtiff with pkg-config... checking for TIFFOpen in -ltiff... no +# configure: Could not find a copy of libtiff on your system. +# Disabling tiff output devices." +# regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory. %define with_or_without_system_libtiff --without-system-libtiff %else %define with_or_without_system_libtiff --with-system-libtiff @@ -270,6 +272,7 @@ autoreconf -fi --enable-openjpeg \ --enable-dynamic \ --enable-cups \ + --enable-dbus \ --with-pdftoraster \ --with-install-cups \ --with-drivers=ALL \ @@ -292,7 +295,7 @@ make soinstall DESTDIR=%{buildroot} # see http://bugs.ghostscript.com/show_bug.cgi?id=693002 # and fail intentionally as notification if something changed: DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/doc -for D in LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm +for D in LICENSE doc/AUTHORS doc/COPYING doc/thirdparty.htm doc/WhatIsGS.htm doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm do test -e $DOCDIR/$( basename $D ) && exit 99 install -m 644 $D $DOCDIR done