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