]> git.pld-linux.org Git - packages/ghostpcl.git/blob - ghostpcl.spec
- upgraded to 1.52 (new Source0),
[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.52
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:        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)
27
28 %description
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.
32
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.
37
38 %package urwfonts
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
45
46 %description urwfonts
47 URW fonts in TTF format for GhostPCL.
48
49 %description urwfonts -l pl.UTF-8
50 Fonty URW w formacie TTF dla GhostPCL-a.
51
52 %prep
53 %setup -q -n ghostpdl-%{version} -a1
54 %patch0 -p1
55 %patch1 -p1
56
57 %build
58 %{__make} -j1 \
59         XCFLAGS="%{rpmcflags}" \
60         XLDFLAGS="--as-needed" \
61         SHARE_JPEG=1
62
63 %install
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
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post urwfonts
73 fontpostinst TTF
74
75 %files
76 %defattr(644,root,root,755)
77 %doc README.txt doc/*
78 %attr(755,root,root) %{_bindir}/pcl*
79
80 %files urwfonts
81 %defattr(644,root,root,755)
82 %{_datadir}/fonts/TTF
This page took 0.030759 seconds and 4 git commands to generate.