]> git.pld-linux.org Git - packages/ghostpcl.git/blob - ghostpcl.spec
- updated to 1.51
[packages/ghostpcl.git] / ghostpcl.spec
1
2 %define urwfonts_ver    1.41
3
4 Summary:        PostScript & PDF interpreter and renderer
5 Summary(pl.UTF-8):      Interpreter i renderer PostScriptu i PDF
6 Name:           ghostpcl
7 Version:        1.51
8 Release:        1
9 License:        GPL
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)
22
23 %description
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.
27
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.
32
33 %package urwfonts
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}
39
40 %description urwfonts
41 URW fonts in TTF format for GhostPCL.
42
43 %description urwfonts -l pl.UTF-8
44 Fonty URW w formacie TTF dla GhostPCL-a.
45
46 %prep
47 %setup -q -n ghostpdl-%{version} -a1
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52
53 %{__make} -j1 pcl \
54         OPTFLAGS="%{rpmcflags}"
55
56 %install
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
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc README.txt doc/*
68 %attr(755,root,root) %{_bindir}/pcl*
69
70 %files urwfonts
71 %defattr(644,root,root,755)
72 %{_datadir}/%{name}
This page took 0.050368 seconds and 4 git commands to generate.