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-md5: d55c46666ab326aa0c465fa054913427
14 Source1: http://www.ctan.org/get/nonfree/support/ghostscript/AFPL/GhostPCL/urwfonts-%{urwfonts_ver}.tar.bz2
15 # Source1-md5: 6d65230fa5e9783a0b5942b55dc5219f
16 Patch0: %{name}-fonts_locations.patch
17 Patch1: %{name}-make.patch
18 URL: http://www.artifex.com/downloads/
19 #BuildRequires: XFree86-devel
20 BuildRequires: zlib-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 GhostPCL is Artifex Software's implementation of the PCL-5(TM) and
25 PCL-XL(TM) family of page description languages. For more information
26 please see the documentation included with the source package.
28 %description -l pl.UTF-8
29 GhostPCL jest implementacją języków z rodzin PCL-5(TM) i PCL-XL(TM)
30 opisujących stronę. Więcej informacji znajduje się w dokumentacji
31 załączonej do pakietu.
34 Summary: URW fonts in TTF format for GhostPCL
35 Summary(pl.UTF-8): Fonty URW w formacie TTF dla GhostPCL-a
36 License: Alladin Free Public License
37 Group: Applications/Graphics
38 Requires: %{name} = %{version}-%{release}
41 URW fonts in TTF format for GhostPCL.
43 %description urwfonts -l pl.UTF-8
44 Fonty URW w formacie TTF dla GhostPCL-a.
47 %setup -q -n ghostpdl-%{version} -a1
54 OPTFLAGS="%{rpmcflags}"
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/fonts}
59 install main/obj/pcl6 $RPM_BUILD_ROOT%{_bindir}
60 install urwfonts*/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_bindir}/pcl*
71 %defattr(644,root,root,755)