2 %define urwfonts_ver 1.41
4 Summary: PostScript & PDF interpreter and renderer
5 Summary(pl.UTF-8): Interpreter i renderer PostScriptu i PDF
10 Group: Applications/Graphics
11 #Source0: http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/ghostpdl/ghostpdl-%{version}.tar.bz2
12 #Source0: http://www.ctan.org/get/support/ghostscript/GPL/ghostpdl/ghostpdl-%{version}.tar.bz2
13 Source0: http://ghostscript.com/releases/ghostpdl-%{version}.tar.bz2
14 # Source0-md5: 7bc095bd6fd67e52a758608accb23bef
15 #Source1: http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/urwfonts-%{urwfonts_ver}.tar.bz2
16 Source1: http://www.ctan.org/get/nonfree/support/ghostscript/AFPL/GhostPCL/urwfonts-%{urwfonts_ver}.tar.bz2
17 # Source1-md5: 6d65230fa5e9783a0b5942b55dc5219f
18 Patch0: %{name}-fonts_locations.patch
19 Patch1: %{name}-make.patch
20 URL: http://www.artifex.com/downloads/
21 #BuildRequires: XFree86-devel
22 BuildRequires: expat-devel
23 BuildRequires: libjpeg-devel
24 BuildRequires: libpng-devel
25 BuildRequires: zlib-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 GhostPCL is Artifex Software's implementation of the PCL-5(TM) and
30 PCL-XL(TM) family of page description languages. For more information
31 please see the documentation included with the source package.
33 %description -l pl.UTF-8
34 GhostPCL jest implementacją języków z rodzin PCL-5(TM) i PCL-XL(TM)
35 opisujących stronę. Więcej informacji znajduje się w dokumentacji
36 załączonej do pakietu.
39 Summary: URW fonts in TTF format for GhostPCL
40 Summary(pl.UTF-8): Fonty URW w formacie TTF dla GhostPCL-a
41 License: Alladin Free Public License
42 Group: Applications/Graphics
43 Requires: %{name} = %{version}-%{release}
44 Requires(post,postun): fontpostinst
47 URW fonts in TTF format for GhostPCL.
49 %description urwfonts -l pl.UTF-8
50 Fonty URW w formacie TTF dla GhostPCL-a.
53 %setup -q -n ghostpdl-%{version} -a1
59 XCFLAGS="%{rpmcflags}" \
60 XLDFLAGS="--as-needed" \
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/fonts/TTF}
66 install language_switch/obj/pspcl6 main/obj/pcl6 xps/obj/gxps $RPM_BUILD_ROOT%{_bindir}
67 install urwfonts*/*.ttf $RPM_BUILD_ROOT%{_datadir}/fonts/TTF
70 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/pcl*
81 %defattr(644,root,root,755)