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