SPECS: ghostpcl.spec - upgraded to 1.52 (new Source0), - build psp...
gotar
gotar at pld-linux.org
Fri Apr 25 17:25:36 CEST 2008
Author: gotar Date: Fri Apr 25 15:25:36 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- upgraded to 1.52 (new Source0),
- build pspcl6 and gxps,
- use shared libpng, libjpeg and expat (the latter one only for gxps), added
appropriate BRs (NOTE: pspcl6 and pcl6 shouldn't link to expat!)
- removed not working OPTFLAGS, pass flags through XCFLAGS, XLDFLAGS doesn't
work either,
- put TTF fonts in global fonts directory.
---- Files affected:
SPECS:
ghostpcl.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/ghostpcl.spec
diff -u SPECS/ghostpcl.spec:1.7 SPECS/ghostpcl.spec:1.8
--- SPECS/ghostpcl.spec:1.7 Wed Jan 30 19:02:07 2008
+++ SPECS/ghostpcl.spec Fri Apr 25 17:25:31 2008
@@ -5,19 +5,24 @@
Summary: PostScript & PDF interpreter and renderer
Summary(pl.UTF-8): Interpreter i renderer PostScriptu i PDF
Name: ghostpcl
-Version: 1.51
+Version: 1.52
Release: 1
License: GPL
Group: Applications/Graphics
#Source0: http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/ghostpdl/ghostpdl-%{version}.tar.bz2
-Source0: http://www.ctan.org/get/support/ghostscript/GPL/ghostpdl/ghostpdl-%{version}.tar.bz2
-# Source0-md5: d55c46666ab326aa0c465fa054913427
+#Source0: http://www.ctan.org/get/support/ghostscript/GPL/ghostpdl/ghostpdl-%{version}.tar.bz2
+Source0: http://ghostscript.com/releases/ghostpdl-%{version}.tar.bz2
+# Source0-md5: 7bc095bd6fd67e52a758608accb23bef
+#Source1: http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/urwfonts-%{urwfonts_ver}.tar.bz2
Source1: http://www.ctan.org/get/nonfree/support/ghostscript/AFPL/GhostPCL/urwfonts-%{urwfonts_ver}.tar.bz2
# Source1-md5: 6d65230fa5e9783a0b5942b55dc5219f
Patch0: %{name}-fonts_locations.patch
Patch1: %{name}-make.patch
URL: http://www.artifex.com/downloads/
#BuildRequires: XFree86-devel
+BuildRequires: expat-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,6 +42,7 @@
License: Alladin Free Public License
Group: Applications/Graphics
Requires: %{name} = %{version}-%{release}
+Requires(post,postun): fontpostinst
%description urwfonts
URW fonts in TTF format for GhostPCL.
@@ -50,19 +56,23 @@
%patch1 -p1
%build
-
-%{__make} -j1 pcl \
- OPTFLAGS="%{rpmcflags}"
+%{__make} -j1 \
+ XCFLAGS="%{rpmcflags}" \
+ XLDFLAGS="--as-needed" \
+ SHARE_JPEG=1
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/fonts}
-install main/obj/pcl6 $RPM_BUILD_ROOT%{_bindir}
-install urwfonts*/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/fonts/TTF}
+install language_switch/obj/pspcl6 main/obj/pcl6 xps/obj/gxps $RPM_BUILD_ROOT%{_bindir}
+install urwfonts*/*.ttf $RPM_BUILD_ROOT%{_datadir}/fonts/TTF
%clean
rm -rf $RPM_BUILD_ROOT
+%post urwfonts
+fontpostinst TTF
+
%files
%defattr(644,root,root,755)
%doc README.txt doc/*
@@ -70,7 +80,7 @@
%files urwfonts
%defattr(644,root,root,755)
-%{_datadir}/%{name}
+%{_datadir}/fonts/TTF
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -78,6 +88,15 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2008-04-25 15:25:31 gotar
+- upgraded to 1.52 (new Source0),
+- build pspcl6 and gxps,
+- use shared libpng, libjpeg and expat (the latter one only for gxps), added
+ appropriate BRs (NOTE: pspcl6 and pcl6 shouldn't link to expat!)
+- removed not working OPTFLAGS, pass flags through XCFLAGS, XLDFLAGS doesn't
+ work either,
+- put TTF fonts in global fonts directory.
+
Revision 1.7 2008-01-30 18:02:07 pascalek
- updated to 1.51
@@ -100,4 +119,4 @@
- release 1
Revision 1.1 2003/12/18 20:16:31 hunter
---iinitial pld spec.
+- initial PLD spec
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ghostpcl.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list