OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web openpkg$ Date: 06-Jun-2003 12:02:59 Branch: HEAD Handle: 2003060611025503 Added files: openpkg-re/vcheck vc.ghostscript-esp openpkg-src/ghostscript-esp ghostscript-esp.spec Modified files: openpkg-web news.txt Log: new package: ghostscript-esp 7.05.6 (ESP Ghostscript, Postscript and PDF Rendering Engine) Summary: Revision Changes Path 1.1 +19 -0 openpkg-re/vcheck/vc.ghostscript-esp 1.1 +120 -0 openpkg-src/ghostscript-esp/ghostscript-esp.spec 1.4753 +1 -0 openpkg-web/news.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/vcheck/vc.ghostscript-esp ============================================================================ $ cvs diff -u -r0 -r1.1 vc.ghostscript-esp --- /dev/null 2003-06-06 12:02:56.000000000 +0200 +++ vc.ghostscript-esp 2003-06-06 12:02:56.000000000 +0200 @@ -0,0 +1,19 @@ +config = { +} + +prog ghostscript-esp = { + version = 7.05.6 + url = http://osdn.dl.sourceforge.net/sourceforge/espgs/ + regex = espgs-(__VER__)-source\.tar\.bz2 +} +prog ghostscript-esp:gnu-gs-fonts-other = { + version = 6.0 + url = ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/ + regex = gnu-gs-fonts-other-(__VER__)\.tar\.gz +} +prog ghostscript-esp:gnu-gs-fonts-std = { + version = 6.0 + url = ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/ + regex = gnu-gs-fonts-std-(__VER__)\.tar\.gz +} + @@ . patch -p0 <<'@@ .' Index: openpkg-src/ghostscript-esp/ghostscript-esp.spec ============================================================================ $ cvs diff -u -r0 -r1.1 ghostscript-esp.spec --- /dev/null 2003-06-06 12:02:59.000000000 +0200 +++ ghostscript-esp.spec 2003-06-06 12:02:59.000000000 +0200 @@ -0,0 +1,120 @@ +## +## ghostscript-esp.spec -- OpenPKG RPM Specification +## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH +## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/> +## Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]> +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package versions +%define V_espgs 7.05.6 +%define V_fonts 6.0 + +# package information +Name: ghostscript-esp +Summary: ESP Ghostscript, Postscript and PDF Rendering Engine +URL: http://sourceforge.net/projects/espgs/ +Vendor: Easy Software Products +Packager: The OpenPKG Project +Distribution: OpenPKG [EVAL] +Group: Graphics +License: GPL +Version: %{V_espgs} +Release: 20030606 + +# list of sources +Source0: http://osdn.dl.sourceforge.net/sourceforge/espgs/espgs-%{V_espgs}-source.tar.bz2 +Source1: ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/gnu-gs-fonts-std-%{V_fonts}.tar.gz +Source2: ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/gnu-gs-fonts-other-%{V_fonts}.tar.gz + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20030103, X11, cups, make, gcc, glib, zlib, jpeg, png +PreReq: OpenPKG, openpkg >= 20030103, X11, cups +AutoReq: no +AutoReqProv: no + +%description + ESP Ghostscript is an enhanced version of GNU Ghostscript that + includes new printer drivers and support for the Common Unix + Printing System. + +%prep + %setup0 -q -n espgs-%{V_espgs} + %setup1 -q -n espgs-%{V_espgs} -T -D -a 1 + %setup2 -q -n espgs-%{V_espgs} -T -D -a 2 + +%build + CUPSCONFIG="%{l_prefix}/bin/cups-config" \ + GLIB_CONFIG="%{l_prefix}/bin/glib-config" \ + CC="%{l_cc}" \ + CXX="%{l_cxx}" \ + CFLAGS="%{l_cflags -O} %{l_cppflags}" \ + CXXFLAGS="%{l_cxxflags -O} %{l_cppflags}" \ + CPPFLAGS="%{l_cppflags}" \ + LDFLAGS="%{l_ldflags}" \ + ./configure \ + --prefix=%{l_prefix} \ + --with-x \ + --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \ + --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \ + --with-fontpath=%{l_prefix}/share/ghostscript/fonts \ + --enable-cups \ + --with-ijs + %{l_make} %{l_mflags -O} + +%install + rm -rf $RPM_BUILD_ROOT + + # adjust paths for installation + %{l_shtool} subst -s \ + -e "s;^\(prefix =\) \(.*\)$;\1 $RPM_BUILD_ROOT\2;" \ + -e "s;^\(datadir =\) \(.*\)$;\1 $RPM_BUILD_ROOT\2;" \ + Makefile + %{l_shtool} subst -s \ + -e "s;^\(CUPSSERVER=\)[ ]*\(.*\)$;\1$RPM_BUILD_ROOT\2;" \ + -e "s;^\(CUPSCONFIG=\)[ ]*\(.*\)$;\1$RPM_BUILD_ROOT\2;" \ + pstoraster/cups.mak + + # perform installation + %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/share/ghostscript/fonts + %{l_shtool} install -c -m 644 \ + fonts/* \ + $RPM_BUILD_ROOT%{l_prefix}/share/ghostscript/fonts/ + + # strip installation + rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/de || true + strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true + + # generate file list + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \ + '%not %dir %{l_prefix}/libexec/cups/filter' \ + '%not %dir %{l_prefix}/libexec/cups' \ + '%not %dir %{l_prefix}/libexec' + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + @@ . patch -p0 <<'@@ .' Index: openpkg-web/news.txt ============================================================================ $ cvs diff -u -r1.4752 -r1.4753 news.txt --- openpkg-web/news.txt 6 Jun 2003 09:22:23 -0000 1.4752 +++ openpkg-web/news.txt 6 Jun 2003 10:02:57 -0000 1.4753 @@ -1,3 +1,4 @@ +06-Jun-2003: New package: P<ghostscript-esp-7.05.6-20030606> 06-Jun-2003: New package: P<cups-1.1.19-20030606> 06-Jun-2003: Upgraded package: P<bind-9.2.2-20030606> 06-Jun-2003: Upgraded package: P<dss-4.1.3-20030606> @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]