]>
Commit | Line | Data |
---|---|---|
8e79132b | 1 | # TODO: |
90556ff1 JB |
2 | # - add djvu driver: |
3 | # http://dl.sourceforge.net/djvu/gsdjvu-1.3.tar.gz (or newer) | |
8e79132b | 4 | # |
5 | # Conditional build: | |
3f3e6ccf | 6 | %bcond_without cairo # disable cairo support (for cairo bootstrap) |
b37cb06d | 7 | %bcond_without system_jbig2dec # build with included jbig2dec |
e6b3a003 | 8 | %bcond_without system_lcms2 # build with included lcms2 |
2c8349bb | 9 | %bcond_with svga # svgalib display support (vgalib,lvga256 devices) [broken in sources] |
2c26f8c6 | 10 | %bcond_without gtk # gsx (GTK+ based frontend) |
d3103cc1 | 11 | %bcond_without texdocs # skip tetex BRs |
d5834157 | 12 | |
8e79132b | 13 | Summary: PostScript & PDF interpreter and renderer |
6d9b3c9a ER |
14 | Summary(de.UTF-8): PostScript & PDF Interpreter und Renderer |
15 | Summary(fr.UTF-8): Interpréteur et visualisateur PostScript & PDF | |
16 | Summary(ja.UTF-8): PostScript インタープリタ・レンダラー | |
17 | Summary(pl.UTF-8): Bezpłatny interpreter i renderer PostScriptu i PDF | |
18 | Summary(tr.UTF-8): PostScript & PDF yorumlayıcı ve gösterici | |
9d77d33e | 19 | Name: ghostscript |
e2edb5ec | 20 | Version: 9.06 |
df30ecb6 | 21 | Release: 1 |
747dc7d6 | 22 | License: GPL v3+ |
8e79132b | 23 | Group: Applications/Graphics |
c43e239c | 24 | Source0: http://downloads.sourceforge.net/ghostscript/%{name}-%{version}.tar.bz2 |
e2edb5ec | 25 | # Source0-md5: 46f9ebe40dc52755287b30704270db11 |
a9cac4bf JB |
26 | Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 |
27 | # Source1-md5: 9b5953aa0cc155f4364f20036b848585 | |
8e79132b | 28 | Patch0: %{name}-missquotes.patch |
29 | Patch1: %{name}-setuid.patch | |
e2edb5ec | 30 | |
e6b3a003 | 31 | Patch3: %{name}-svga-shared.patch |
42087de6 | 32 | Patch5: %{name}-cups-sh.patch |
b6094c96 | 33 | Patch6: %{name}-gdevcd8-fixes.patch |
166e21a6 | 34 | Patch7: %{name}-fPIC.patch |
5e14796c | 35 | Patch8: %{name}-zlib.patch |
a959360d AM |
36 | |
37 | # fedora | |
e6b3a003 JB |
38 | Patch20: %{name}-scripts.patch |
39 | Patch21: %{name}-runlibfileifexists.patch | |
40 | Patch26: %{name}-cups-filters.patch | |
41 | Patch27: %{name}-Fontmap.local.patch | |
42 | Patch28: %{name}-iccprofiles-initdir.patch | |
43 | Patch29: %{name}-gdevcups-debug-uninit.patch | |
a959360d | 44 | |
8e79132b | 45 | URL: http://www.ghostscript.com/ |
6d1553a3 | 46 | BuildRequires: autoconf >= 2.57 |
bafd8782 | 47 | BuildRequires: automake >= 1.6 |
3f3e6ccf | 48 | %{?with_cairo:BuildRequires: cairo-devel >= 1.2.0} |
ec7d573f | 49 | BuildRequires: cups-devel |
1cfd7158 | 50 | BuildRequires: dbus-devel |
8e79132b | 51 | BuildRequires: docbook-style-dsssl |
6d1553a3 | 52 | BuildRequires: fontconfig-devel |
1cfd7158 | 53 | BuildRequires: freetype-devel >= 2.0 |
2c26f8c6 | 54 | %{?with_gtk:BuildRequires: gtk+2-devel >= 1:2.0.0} |
c43e239c | 55 | %{?with_system_jbig2dec:BuildRequires: jbig2dec-devel} |
e6b3a003 | 56 | %{?with_system_lcms2:BuildRequires: lcms2-devel >= 2.3} |
1cfd7158 | 57 | BuildRequires: libidn-devel |
6d1553a3 | 58 | BuildRequires: libpaper-devel |
63b7a1d0 | 59 | BuildRequires: libpng-devel >= 1.2.42 |
8e79132b | 60 | BuildRequires: libstdc++-devel |
63b7a1d0 | 61 | BuildRequires: libtiff-devel >= 3.9.2 |
8e79132b | 62 | BuildRequires: libtool |
63 | BuildRequires: pkgconfig | |
8e79132b | 64 | # Required by 'gdevvglb' device. |
65 | %{?with_svga:BuildRequires: svgalib-devel} | |
0411d6a2 | 66 | BuildRequires: tar >= 1:1.22 |
8e79132b | 67 | # for documentation regeneration |
d3103cc1 | 68 | %if %{with texdocs} |
8e79132b | 69 | BuildRequires: tetex |
70 | BuildRequires: tetex-dvips | |
d3103cc1 | 71 | %endif |
8e79132b | 72 | BuildRequires: xorg-lib-libXext-devel |
73 | BuildRequires: xorg-lib-libXt-devel | |
63b7a1d0 | 74 | BuildRequires: zlib-devel >= 1.2.3 |
e6b3a003 | 75 | %{?with_system_lcms2:Requires: lcms2-devel >= 2.3} |
8e79132b | 76 | Obsoletes: ghostscript-afpl |
b925fe6f | 77 | Obsoletes: ghostscript-esp |
c43e239c | 78 | Obsoletes: ghostscript-gpl |
8e79132b | 79 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
80 | ||
747dc7d6 AM |
81 | %define _ulibdir %{_prefix}/lib |
82 | ||
8e79132b | 83 | %description |
c1dd3860 ER |
84 | cos nGhostscript is a PostScript interpreter. It can render both |
85 | PostScript and PDF compliant files to devices which include an X | |
86 | window, many printer formats (including support for color printers), | |
87 | and popular graphics file formats. | |
8e79132b | 88 | |
9a147310 | 89 | %description -l de.UTF-8 |
8e79132b | 90 | Ghostscipt ist ein PostScript-Interpretierer. Er kann sowohl |
9a147310 JR |
91 | PostScript als auch PDF-konforme Dateien an Geräte ausgeben, zu denen |
92 | ein X-Fenster, viele Druckerformate (einschließlich Support für | |
93 | Farbdrucker) und gängige Grafikdateiformate zählen. | |
8e79132b | 94 | |
9a147310 JR |
95 | %description -l fr.UTF-8 |
96 | Ghostscript est un interpréteur PostScript. Il peut rendre des | |
97 | fichiers PostScript ou PDF sur des périphériques dont une fenêtre X,de | |
8e79132b | 98 | nombreux types d'imprimantes (dont un support pour imprimantes |
99 | couleur), et des formats de fichiers graphiques populaires. | |
100 | ||
9a147310 | 101 | %description -l ja.UTF-8 |
c43e239c AM |
102 | Ghostscript は PostScript インタープリタです。ポストスクリプトと PDF をレンダリングし、X window |
103 | や他のプリンタフォーマットで出力 します。このパッケージは日本語対応しています。 | |
8e79132b | 104 | |
9a147310 JR |
105 | %description -l pl.UTF-8 |
106 | Ghostcript jest interpreterem PostScriptu, języka używanego do opisu | |
107 | formatu dokumentu. Ghostscript potrafi przetworzyć dokument w formacie | |
108 | PostScript i PDF na szereg postaci wyjściowych: drukarki (włączając | |
8e79132b | 109 | kolorowe), okno X-Window i popularne formaty graficzne. |
110 | ||
9a147310 JR |
111 | %description -l tr.UTF-8 |
112 | GhostScript, PostScript ve PDF uyumlu dosyaları, X penceresinde | |
113 | gösterebilir ve birçok yazıcının (renkli yazıcılar dahil) basabileceği | |
114 | biçime getirebilir. | |
8e79132b | 115 | |
790f5716 | 116 | %package cups |
8548969f JB |
117 | Summary: Ghostscript CUPS files |
118 | Summary(pl.UTF-8): Pliki Ghostscripta dla CUPS-a | |
790f5716 AG |
119 | Group: Applications/Graphics |
120 | Requires: %{name} = %{version}-%{release} | |
121 | ||
122 | %description cups | |
8548969f JB |
123 | This package contains CUPS files provided by ghostscript. |
124 | ||
125 | %description cups -l pl.UTF-8 | |
126 | Ten pakiet zawiera pliki dla CUPS-a dostarczane przez ghostscript. | |
790f5716 | 127 | |
8e79132b | 128 | %package gtk |
129 | Summary: Ghostscript with GTK+ console | |
6d9b3c9a | 130 | Summary(pl.UTF-8): Ghostscript z konsolą GTK+ |
8e79132b | 131 | Group: Applications/Graphics |
132 | Requires: %{name} = %{version}-%{release} | |
133 | Obsoletes: ghostscript-afpl-gtk | |
b925fe6f | 134 | Obsoletes: ghostscript-esp-gtk |
c43e239c | 135 | Obsoletes: ghostscript-gpl-gtk |
8e79132b | 136 | |
137 | %description gtk | |
138 | Ghostscript with GTK+ console. | |
139 | ||
9a147310 JR |
140 | %description gtk -l pl.UTF-8 |
141 | Ghostscript z konsolą GTK+. | |
8e79132b | 142 | |
e6b3a003 JB |
143 | %package svga |
144 | Summary: SVGAlib drivers for Ghostscript | |
145 | Summary(pl.UTF-8): Sterowniki SVGAlib dla Ghostscripta | |
146 | Group: Applications/Graphics | |
147 | Requires: %{name} = %{version}-%{release} | |
148 | ||
149 | %description svga | |
150 | SVGAlib output drivers for Ghostscript: lvga256, vgalib. | |
151 | ||
152 | %description svga -l pl.UTF-8 | |
153 | Sterowniki wyjściowe SVGAlib dla Ghostscripta: lvga256, vgalib. | |
154 | ||
d9a2ef39 JB |
155 | %package x11 |
156 | Summary: X Window System drivers for Ghostscript | |
157 | Summary(pl.UTF-8): Sterowniki systemu X Window dla Ghostscripta | |
158 | Group: Applications/Graphics | |
159 | Requires: %{name} = %{version}-%{release} | |
160 | ||
161 | %description x11 | |
162 | X Window System output drivers for Ghostscript: x11, x11alpha. | |
163 | ||
164 | %description x11 -l pl.UTF-8 | |
165 | Sterowniki wyjściowe systemu X Window dla Ghostscripta: x11, x11alpha. | |
166 | ||
8e79132b | 167 | %package devel |
168 | Summary: libgs header files | |
6d9b3c9a | 169 | Summary(pl.UTF-8): Pliki nagłówkowe libgs |
8e79132b | 170 | Group: Development/Libraries |
171 | Requires: %{name} = %{version}-%{release} | |
172 | Obsoletes: ghostscript-afpl-devel | |
b925fe6f | 173 | Obsoletes: ghostscript-esp-devel |
8e79132b | 174 | |
175 | %description devel | |
176 | Header files for libgs - ghostscript shared library. | |
177 | ||
9a147310 JR |
178 | %description devel -l pl.UTF-8 |
179 | Pliki nagłówkowe libgs - współdzielonej biblioteki ghostscript. | |
8e79132b | 180 | |
181 | %package ijs-devel | |
182 | Summary: IJS development files | |
6d9b3c9a | 183 | Summary(pl.UTF-8): Pliki dla programistów IJS |
8e79132b | 184 | Group: Development/Libraries |
185 | Requires: %{name} = %{version}-%{release} | |
186 | Obsoletes: ghostscript-afpl-ijs-devel | |
b925fe6f | 187 | Obsoletes: ghostscript-esp-ijs-devel |
8e79132b | 188 | |
189 | %description ijs-devel | |
190 | IJS development files. | |
191 | ||
9a147310 JR |
192 | %description ijs-devel -l pl.UTF-8 |
193 | Pliki do tworzenia programów z użyciem biblioteki IJS. | |
8e79132b | 194 | |
195 | %package ijs-static | |
196 | Summary: Static libijs library | |
6d9b3c9a | 197 | Summary(pl.UTF-8): Statyczna biblioteka IJS |
8e79132b | 198 | Group: Development/Libraries |
199 | Requires: %{name}-ijs-devel = %{version}-%{release} | |
200 | Obsoletes: ghostscript-afpl-ijs-static | |
b925fe6f | 201 | Obsoletes: ghostscript-esp-ijs-static |
8e79132b | 202 | |
203 | %description ijs-static | |
204 | Static libijs library. | |
205 | ||
9a147310 | 206 | %description ijs-static -l pl.UTF-8 |
8e79132b | 207 | Statyczna wersja biblioteki IJS. |
208 | ||
209 | %prep | |
a9cac4bf | 210 | %setup -q |
8e79132b | 211 | %patch0 -p1 |
212 | %patch1 -p1 | |
e2edb5ec | 213 | |
e6b3a003 | 214 | %patch3 -p1 |
507c785c | 215 | |
42087de6 | 216 | %patch5 -p1 |
b6094c96 | 217 | %patch6 -p1 |
166e21a6 | 218 | %patch7 -p1 |
5e14796c | 219 | %patch8 -p1 |
a959360d AM |
220 | |
221 | %patch20 -p1 | |
222 | %patch21 -p1 | |
df30ecb6 | 223 | |
a959360d AM |
224 | %patch26 -p1 |
225 | %patch27 -p1 | |
226 | %patch28 -p1 | |
227 | %patch29 -p1 | |
8e79132b | 228 | |
229 | %build | |
8e79132b | 230 | %if %{with system_jbig2dec} |
63b7a1d0 | 231 | %{__rm} -r jbig2dec |
8e79132b | 232 | %endif |
63b7a1d0 JB |
233 | # use system libs (sources contain unmodified zlib 1.2.3 and libpng 1.2.42) |
234 | %{__rm} -r libpng zlib | |
e6b3a003 JB |
235 | # jpeg is built with different configuration (D_MAX_BLOCKS_IN_MCU=64) |
236 | # openjpeg is post-1.4 or modified | |
237 | # jasper is modified (and not used if openjpeg is not explicitly disabled) | |
238 | # lcms is modified, but lcms2 is used by default | |
239 | %{__rm} -r lcms | |
240 | %{?with_system_lcms2:%{__rm} -r lcms2} | |
d0535cb0 AM |
241 | cd jasper |
242 | %{__libtoolize} | |
243 | %{__aclocal} | |
244 | %{__autoconf} | |
6d1553a3 JB |
245 | %{__autoheader} |
246 | %{__automake} | |
d0535cb0 | 247 | cd .. |
8e79132b | 248 | %{__aclocal} |
249 | %{__autoconf} | |
8e79132b | 250 | %configure \ |
166e21a6 | 251 | CFLAGS="%{rpmcflags} -DA4" \ |
3f3e6ccf | 252 | %{!?with_cairo:--disable-cairo} \ |
a959360d | 253 | --disable-compile-inits \ |
42087de6 | 254 | --enable-dynamic \ |
e6b3a003 | 255 | --with-drivers=ALL%{?with_svga:,svga} \ |
8e79132b | 256 | --with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \ |
257 | --with-ijs \ | |
5e14796c | 258 | --with-install-cups \ |
8e79132b | 259 | --with-jbig2dec \ |
42087de6 | 260 | --with-pdftoraster \ |
6d1553a3 | 261 | --with-system-libtiff \ |
42087de6 | 262 | --with-x |
8e79132b | 263 | |
264 | cd ijs | |
265 | %{__libtoolize} | |
266 | %{__aclocal} | |
267 | %{__autoconf} | |
268 | %{__automake} | |
269 | %configure \ | |
270 | --enable-shared | |
c6b77105 | 271 | %{__make} |
8e79132b | 272 | cd .. |
273 | ||
166e21a6 | 274 | %{__make} -j1 so \ |
c1dd3860 | 275 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 276 | |
166e21a6 | 277 | %{__make} -j1 \ |
c1dd3860 | 278 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 279 | |
280 | %install | |
281 | rm -rf $RPM_BUILD_ROOT | |
8e79132b | 282 | |
2c26f8c6 JB |
283 | %{__make} soinstall \ |
284 | DESTDIR=$RPM_BUILD_ROOT \ | |
285 | docdir=%{_docdir}/%{name}-%{version} | |
286 | ||
287 | %{__make} install \ | |
d0535cb0 AM |
288 | DESTDIR=$RPM_BUILD_ROOT \ |
289 | docdir=%{_docdir}/%{name}-%{version} | |
8e79132b | 290 | |
a9cac4bf | 291 | %{__make} -C ijs install \ |
8e79132b | 292 | DESTDIR=$RPM_BUILD_ROOT |
8e79132b | 293 | |
45810145 | 294 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/*.sh \ |
6d1553a3 | 295 | $RPM_BUILD_ROOT%{_mandir}/man1/{ps2pdf1{2,3},eps2eps}.1 \ |
8b7d594e | 296 | $RPM_BUILD_ROOT%{_mandir}/de/man1/{ps2pdf1{2,3},eps2eps}.1 |
8e79132b | 297 | |
298 | echo ".so gs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ghostscript.1 | |
299 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf12.1 | |
300 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf13.1 | |
301 | echo ".so ps2ps.1" > $RPM_BUILD_ROOT%{_mandir}/man1/eps2eps.1 | |
302 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsbj.1 | |
303 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj.1 | |
304 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj500.1 | |
305 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gslj.1 | |
306 | ||
8b7d594e AM |
307 | echo ".so ps2ps.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/eps2eps.1 |
308 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf12.1 | |
309 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf13.1 | |
310 | ||
a9cac4bf | 311 | bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
8e79132b | 312 | |
313 | #mv -f $RPM_BUILD_ROOT%{_bindir}/{gsc,gs} | |
314 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/gsc | |
315 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/ghostscript | |
0d0ca20a | 316 | ln -s gstoraster $RPM_BUILD_ROOT%{_ulibdir}/cups/filter/pdftoraster |
0d55e8d0 | 317 | ln -s gstoraster $RPM_BUILD_ROOT%{_ulibdir}/cups/filter/pstoraster |
8e79132b | 318 | |
319 | %clean | |
320 | rm -rf $RPM_BUILD_ROOT | |
321 | ||
322 | %post -p /sbin/ldconfig | |
323 | %postun -p /sbin/ldconfig | |
324 | ||
325 | %files | |
326 | %defattr(644,root,root,755) | |
c1dd3860 | 327 | %doc %{_docdir}/%{name}-%{version} |
6d1553a3 JB |
328 | %attr(755,root,root) %{_bindir}/dvipdf |
329 | %attr(755,root,root) %{_bindir}/eps2eps | |
6d1553a3 | 330 | %attr(755,root,root) %{_bindir}/font2c |
790f5716 | 331 | %attr(755,root,root) %{_bindir}/ghostscript |
8e79132b | 332 | %attr(755,root,root) %{_bindir}/gs |
6d1553a3 JB |
333 | %attr(755,root,root) %{_bindir}/gsbj |
334 | %attr(755,root,root) %{_bindir}/gsc | |
335 | %attr(755,root,root) %{_bindir}/gsdj | |
336 | %attr(755,root,root) %{_bindir}/gsdj500 | |
337 | %attr(755,root,root) %{_bindir}/gslj | |
338 | %attr(755,root,root) %{_bindir}/gslp | |
339 | %attr(755,root,root) %{_bindir}/gsnd | |
340 | %attr(755,root,root) %{_bindir}/ijs_client_example | |
341 | %attr(755,root,root) %{_bindir}/ijs_server_example | |
342 | %attr(755,root,root) %{_bindir}/pdf2dsc | |
343 | %attr(755,root,root) %{_bindir}/pdf2ps | |
344 | %attr(755,root,root) %{_bindir}/pdfopt | |
345 | %attr(755,root,root) %{_bindir}/pf2afm | |
346 | %attr(755,root,root) %{_bindir}/pfbtopfa | |
347 | %attr(755,root,root) %{_bindir}/printafm | |
348 | %attr(755,root,root) %{_bindir}/ps2ascii | |
349 | %attr(755,root,root) %{_bindir}/ps2epsi | |
350 | %attr(755,root,root) %{_bindir}/ps2pdf | |
351 | %attr(755,root,root) %{_bindir}/ps2pdf12 | |
352 | %attr(755,root,root) %{_bindir}/ps2pdf13 | |
353 | %attr(755,root,root) %{_bindir}/ps2pdf14 | |
354 | %attr(755,root,root) %{_bindir}/ps2pdfwr | |
355 | %attr(755,root,root) %{_bindir}/ps2ps | |
356 | %attr(755,root,root) %{_bindir}/ps2ps2 | |
507c785c | 357 | %attr(755,root,root) %{_bindir}/pphs |
8e79132b | 358 | %attr(755,root,root) %{_bindir}/wftopfa |
8e79132b | 359 | %attr(755,root,root) %{_libdir}/libgs.so.*.* |
507c785c | 360 | %attr(755,root,root) %ghost %{_libdir}/libgs.so.9 |
8e79132b | 361 | %attr(755,root,root) %{_libdir}/libijs-*.so |
9f441a61 | 362 | %dir %{_libdir}/%{name} |
6d1553a3 | 363 | %dir %{_libdir}/%{name}/%{version} |
9d77d33e | 364 | %dir %{_datadir}/%{name} |
9d77d33e | 365 | %dir %{_datadir}/%{name}/%{version} |
a959360d AM |
366 | %{_datadir}/%{name}/%{version}/Resource |
367 | %{_datadir}/%{name}/%{version}/iccprofiles | |
9d77d33e | 368 | %dir %{_datadir}/%{name}/%{version}/lib |
9d77d33e | 369 | %{_datadir}/%{name}/%{version}/examples |
6d1553a3 JB |
370 | %{_datadir}/%{name}/%{version}/lib/*.ppd |
371 | %{_datadir}/%{name}/%{version}/lib/*.ps | |
372 | %{_datadir}/%{name}/%{version}/lib/*.rpd | |
373 | %{_datadir}/%{name}/%{version}/lib/*.src | |
374 | %{_datadir}/%{name}/%{version}/lib/*.upp | |
375 | %{_datadir}/%{name}/%{version}/lib/*.x[bp]m | |
6d1553a3 JB |
376 | %{_mandir}/man1/dvipdf.1* |
377 | %{_mandir}/man1/eps2eps.1* | |
378 | %{_mandir}/man1/font2c.1* | |
379 | %{_mandir}/man1/ghostscript.1* | |
380 | %{_mandir}/man1/gs.1* | |
381 | %{_mandir}/man1/gsbj.1* | |
382 | %{_mandir}/man1/gsdj.1* | |
383 | %{_mandir}/man1/gsdj500.1* | |
384 | %{_mandir}/man1/gslj.1* | |
385 | %{_mandir}/man1/gslp.1* | |
386 | %{_mandir}/man1/gsnd.1* | |
387 | %{_mandir}/man1/pdf2dsc.1* | |
388 | %{_mandir}/man1/pdf2ps.1* | |
389 | %{_mandir}/man1/pdfopt.1* | |
390 | %{_mandir}/man1/pf2afm.1* | |
391 | %{_mandir}/man1/pfbtopfa.1* | |
392 | %{_mandir}/man1/printafm.1* | |
393 | %{_mandir}/man1/ps2ascii.1* | |
394 | %{_mandir}/man1/ps2epsi.1* | |
395 | %{_mandir}/man1/ps2pdf.1* | |
396 | %{_mandir}/man1/ps2pdf12.1* | |
397 | %{_mandir}/man1/ps2pdf13.1* | |
df30ecb6 | 398 | %{_mandir}/man1/ps2pdf14.1* |
6d1553a3 JB |
399 | %{_mandir}/man1/ps2pdfwr.1* |
400 | %{_mandir}/man1/ps2ps.1* | |
401 | %{_mandir}/man1/wftopfa.1* | |
402 | %lang(cs) %{_mandir}/cs/man1/* | |
403 | %lang(de) %{_mandir}/de/man1/* | |
404 | %lang(es) %{_mandir}/es/man1/* | |
405 | %lang(fr) %{_mandir}/fr/man1/* | |
406 | %lang(pl) %{_mandir}/pl/man1/* | |
8e79132b | 407 | |
790f5716 AG |
408 | %files cups |
409 | %defattr(644,root,root,755) | |
df30ecb6 | 410 | %attr(755,root,root) %{_ulibdir}/cups/filter/gstopxl |
507c785c | 411 | %attr(755,root,root) %{_ulibdir}/cups/filter/gstoraster |
0d0ca20a | 412 | %attr(755,root,root) %{_ulibdir}/cups/filter/pdftoraster |
0d55e8d0 | 413 | %attr(755,root,root) %{_ulibdir}/cups/filter/pstoraster |
f0bf587e KK |
414 | %{_datadir}/cups/model/pxlcolor.ppd |
415 | %{_datadir}/cups/model/pxlmono.ppd | |
a959360d | 416 | %{_datadir}/cups/mime/gstoraster.convs |
790f5716 | 417 | |
8e79132b | 418 | %if %{with gtk} |
419 | %files gtk | |
420 | %defattr(644,root,root,755) | |
421 | %attr(755,root,root) %{_bindir}/gsx | |
422 | %endif | |
423 | ||
e6b3a003 JB |
424 | %if %{with svga} |
425 | %files svga | |
426 | %defattr(644,root,root,755) | |
427 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/lvga256.so | |
428 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/vgalib.so | |
429 | %endif | |
430 | ||
d9a2ef39 JB |
431 | %files x11 |
432 | %defattr(644,root,root,755) | |
433 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/X11.so | |
434 | ||
8e79132b | 435 | %files devel |
436 | %defattr(644,root,root,755) | |
8e79132b | 437 | %attr(755,root,root) %{_libdir}/libgs.so |
2940958e | 438 | %{_includedir}/ghostscript |
8e79132b | 439 | |
440 | %files ijs-devel | |
441 | %defattr(644,root,root,755) | |
442 | %attr(755,root,root) %{_bindir}/ijs-config | |
443 | %attr(755,root,root) %{_libdir}/libijs.so | |
8e79132b | 444 | %{_libdir}/libijs.la |
c9ff1514 | 445 | %{_includedir}/ijs |
bafd8782 | 446 | %{_pkgconfigdir}/ijs.pc |
6d1553a3 | 447 | %{_mandir}/man1/ijs-config.1* |
8e79132b | 448 | |
449 | %files ijs-static | |
450 | %defattr(644,root,root,755) | |
451 | %{_libdir}/libijs.a |