]> git.pld-linux.org Git - packages/ghostpcl.git/blame - ghostpcl.spec
- release 9 (by relup.sh)
[packages/ghostpcl.git] / ghostpcl.spec
CommitLineData
0da936e5
TP
1# TODO:
2# - prevent linking pspcl6 and pcl6 with expat
3# - fix GS_LIB_DEFAULT path to gs_init.ps (pspcl6)
4# how about GS_DOT_VERSION?
5# - rename urwfonts subpackage to font-TTF-urw
6# - create alternate Type1 font subpackage:
7# http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/urwfonts_t1-1.40.tar.bz2
903f02ae 8
9%define urwfonts_ver 1.41
10
0da936e5
TP
11Summary: PostScript, PDF and XPS interpreter and renderer
12Summary(pl.UTF-8): Interpreter i renderer PostScriptu, PDF oraz XPS
24f8364c 13Name: ghostpcl
8921e1ce 14Version: 1.54
a07a01c9 15Release: 9
8921e1ce 16License: GPL v2
24f8364c 17Group: Applications/Graphics
903f02ae 18#Source0: http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/ghostpdl/ghostpdl-%{version}.tar.bz2
2eaaf284
TP
19#Source0: http://www.ctan.org/get/support/ghostscript/GPL/ghostpdl/ghostpdl-%{version}.tar.bz2
20Source0: http://ghostscript.com/releases/ghostpdl-%{version}.tar.bz2
8921e1ce 21# Source0-md5: 228f96df51d192b95bc4d9340015aa9e
2eaaf284 22#Source1: http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/GhostPCL/urwfonts-%{urwfonts_ver}.tar.bz2
903f02ae 23Source1: http://www.ctan.org/get/nonfree/support/ghostscript/AFPL/GhostPCL/urwfonts-%{urwfonts_ver}.tar.bz2
24# Source1-md5: 6d65230fa5e9783a0b5942b55dc5219f
24f8364c 25Patch0: %{name}-fonts_locations.patch
4e2d5f14 26Patch1: %{name}-make.patch
5629b0ed 27Patch2: %{name}-format-security.patch
24f8364c 28URL: http://www.artifex.com/downloads/
903f02ae 29#BuildRequires: XFree86-devel
2eaaf284
TP
30BuildRequires: expat-devel
31BuildRequires: libjpeg-devel
32BuildRequires: libpng-devel
0879a235 33BuildRequires: xorg-lib-libXext-devel
34BuildRequires: xorg-lib-libXt-devel
4e2d5f14 35BuildRequires: zlib-devel
24f8364c 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
4e2d5f14
JB
39GhostPCL is Artifex Software's implementation of the PCL-5(TM) and
40PCL-XL(TM) family of page description languages. For more information
24f8364c 41please see the documentation included with the source package.
42
1330c276
JR
43%description -l pl.UTF-8
44GhostPCL jest implementacją języków z rodzin PCL-5(TM) i PCL-XL(TM)
45opisujących stronę. Więcej informacji znajduje się w dokumentacji
46załączonej do pakietu.
24f8364c 47
48%package urwfonts
4e2d5f14 49Summary: URW fonts in TTF format for GhostPCL
49ec31e7 50Summary(pl.UTF-8): Fonty URW w formacie TTF dla GhostPCL-a
903f02ae 51License: Alladin Free Public License
0da936e5 52Group: Fonts
2eaaf284 53Requires(post,postun): fontpostinst
24f8364c 54
55%description urwfonts
4e2d5f14 56URW fonts in TTF format for GhostPCL.
24f8364c 57
1330c276 58%description urwfonts -l pl.UTF-8
4e2d5f14 59Fonty URW w formacie TTF dla GhostPCL-a.
24f8364c 60
61%prep
903f02ae 62%setup -q -n ghostpdl-%{version} -a1
4e2d5f14
JB
63%patch0 -p1
64%patch1 -p1
5629b0ed 65%patch2 -p1
24f8364c 66
67%build
2eaaf284 68%{__make} -j1 \
2e5301fd 69 CC="%{__cc}" \
2eaaf284 70 XCFLAGS="%{rpmcflags}" \
2e5301fd 71 XLDFLAGS="%{rpmldflags}" \
2eaaf284 72 SHARE_JPEG=1
24f8364c 73
74%install
75rm -rf $RPM_BUILD_ROOT
2eaaf284 76install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/fonts/TTF}
0da936e5 77install language_switch/obj/pspcl6 main/obj/pcl6 tools/pcl2pdfwr xps/obj/gxps $RPM_BUILD_ROOT%{_bindir}
2eaaf284 78install urwfonts*/*.ttf $RPM_BUILD_ROOT%{_datadir}/fonts/TTF
24f8364c 79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
2eaaf284
TP
83%post urwfonts
84fontpostinst TTF
85
24f8364c 86%files
87%defattr(644,root,root,755)
903f02ae 88%doc README.txt doc/*
0da936e5 89%attr(755,root,root) %{_bindir}/*
24f8364c 90
91%files urwfonts
92%defattr(644,root,root,755)
2eaaf284 93%{_datadir}/fonts/TTF
This page took 0.113448 seconds and 4 git commands to generate.