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