]> git.pld-linux.org Git - packages/ghostpcl.git/blob - ghostpcl.spec
- strict deps
[packages/ghostpcl.git] / ghostpcl.spec
1 Summary:        PostScript & PDF interpreter and renderer
2 Summary(pl):    Interpreter i renderer PostScriptu i PDF
3 Name:           ghostpcl
4 Version:        1.38p1
5 Release:        1
6 License:        Alladin Free Public License (see Public.htm)
7 Group:          Applications/Graphics
8 Source0:        ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/%{name}_%{version}.tar.gz
9 # Source0-md5:  5067678a6b3b682423f74c92b5c82013
10 Patch0:         %{name}-fonts_locations.patch
11 Patch1:         %{name}-make.patch
12 URL:            http://www.artifex.com/downloads/
13 BuildRequires:  XFree86-devel
14 BuildRequires:  zlib-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 GhostPCL is Artifex Software's implementation of the PCL-5(TM) and
19 PCL-XL(TM) family of page description languages. For more information
20 please see the documentation included with the source package.
21
22 %description -l pl
23 GhostPCL jest implementacj± jêzyków z rodzin PCL-5(TM) i PCL-XL(TM)
24 opisuj±cych stronê. Wiêcej informacji znajduje siê w dokumentacji
25 za³±czonej do pakietu.
26
27 %package urwfonts
28 Summary:        URW fonts in TTF format for GhostPCL
29 Summary(pl):    Fonty URW w formacie TTF dla GhostPCL-a
30 Group:          Applications/Graphics
31 Requires:       %{name} = %{version}-%{release}
32
33 %description urwfonts
34 URW fonts in TTF format for GhostPCL.
35
36 %description urwfonts -l pl
37 Fonty URW w formacie TTF dla GhostPCL-a.
38
39 %prep
40 %setup -q -n %{name}_%{version}
41 %patch0 -p1
42 %patch1 -p1
43
44 %build
45 %{__make} pcl6 \
46         OPTFLAGS="%{rpmcflags}"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
51
52 install main/obj/pcl6 $RPM_BUILD_ROOT%{_bindir}
53 install urwfonts/*.ttf $RPM_BUILD_ROOT%{_datadir}/%{name}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc NEWS README doc/*
61 %attr(755,root,root) %{_bindir}/pcl*
62
63 %files urwfonts
64 %defattr(644,root,root,755)
65 %{_datadir}/%{name}
This page took 0.033115 seconds and 4 git commands to generate.