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