]>
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 |
a7f5e963 | 9 | %bcond_with system_lcms2 # build with included lcms2 (which is thread safe) |
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 |
ac81b280 | 20 | Version: 9.26 |
413bfa21 | 21 | Release: 2 |
56d1a6e0 | 22 | License: AGPL v3+ |
8e79132b | 23 | Group: Applications/Graphics |
d7fcaa57 | 24 | #Source0Download: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases |
ac81b280 AG |
25 | Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs926/%{name}-%{version}.tar.xz |
26 | # Source0-md5: d86d8e0b368473ca955a94faa5c390d4 | |
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 |
9517a597 | 30 | Patch2: ijs-pkgconfig.patch |
5f617bb0 | 31 | |
b6094c96 | 32 | Patch6: %{name}-gdevcd8-fixes.patch |
5e14796c | 33 | Patch8: %{name}-zlib.patch |
a959360d AM |
34 | |
35 | # fedora | |
e6b3a003 JB |
36 | Patch20: %{name}-scripts.patch |
37 | Patch21: %{name}-runlibfileifexists.patch | |
e6b3a003 JB |
38 | Patch27: %{name}-Fontmap.local.patch |
39 | Patch28: %{name}-iccprofiles-initdir.patch | |
a959360d | 40 | |
8e79132b | 41 | URL: http://www.ghostscript.com/ |
6d1553a3 | 42 | BuildRequires: autoconf >= 2.57 |
bafd8782 | 43 | BuildRequires: automake >= 1.6 |
3f3e6ccf | 44 | %{?with_cairo:BuildRequires: cairo-devel >= 1.2.0} |
48379a65 | 45 | BuildRequires: cups-devel >= 1.5 |
1cfd7158 | 46 | BuildRequires: dbus-devel |
8e79132b | 47 | BuildRequires: docbook-style-dsssl |
6d1553a3 | 48 | BuildRequires: fontconfig-devel |
48379a65 | 49 | %{?with_system_freetype:BuildRequires: freetype-devel >= 1:2.9.1} |
45368227 | 50 | %{?with_gtk:BuildRequires: gtk+3-devel >= 3.0} |
48379a65 | 51 | %{?with_system_jbig2dec:BuildRequires: jbig2dec-devel >= 0.15} |
4690f944 | 52 | %{?with_system_lcms2:BuildRequires: lcms2-devel >= 2.6} |
1cfd7158 | 53 | BuildRequires: libidn-devel |
6d1553a3 | 54 | BuildRequires: libpaper-devel |
48379a65 | 55 | BuildRequires: libpng-devel >= 2:1.6.34 |
8e79132b | 56 | BuildRequires: libstdc++-devel |
4690f944 | 57 | BuildRequires: libtiff-devel >= 4.0.1 |
8e79132b | 58 | BuildRequires: libtool |
59 | BuildRequires: pkgconfig | |
0411d6a2 | 60 | BuildRequires: tar >= 1:1.22 |
8e79132b | 61 | # for documentation regeneration |
d3103cc1 | 62 | %if %{with texdocs} |
8e79132b | 63 | BuildRequires: tetex |
64 | BuildRequires: tetex-dvips | |
d3103cc1 | 65 | %endif |
8e79132b | 66 | BuildRequires: xorg-lib-libXext-devel |
67 | BuildRequires: xorg-lib-libXt-devel | |
b33a8924 | 68 | BuildRequires: xz |
48379a65 JB |
69 | BuildRequires: zlib-devel >= 1.2.11 |
70 | %{?with_system_freetype:Requires: freetype >= 1:2.9.1} | |
71 | %{?with_system_jbig2dec:Requires: jbig2dec >= 0.15} | |
4690f944 | 72 | %{?with_system_lcms2:Requires: lcms2 >= 2.6} |
48379a65 JB |
73 | Requires: libpng >= 2:1.6.34 |
74 | Requires: zlib >= 1.2.11 | |
8e79132b | 75 | Obsoletes: ghostscript-afpl |
b925fe6f | 76 | Obsoletes: ghostscript-esp |
c43e239c | 77 | Obsoletes: ghostscript-gpl |
48379a65 | 78 | Obsoletes: ghostscript-svga |
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 | |
116 | %package gtk | |
117 | Summary: Ghostscript with GTK+ console | |
6d9b3c9a | 118 | Summary(pl.UTF-8): Ghostscript z konsolą GTK+ |
8e79132b | 119 | Group: Applications/Graphics |
120 | Requires: %{name} = %{version}-%{release} | |
121 | Obsoletes: ghostscript-afpl-gtk | |
b925fe6f | 122 | Obsoletes: ghostscript-esp-gtk |
c43e239c | 123 | Obsoletes: ghostscript-gpl-gtk |
8e79132b | 124 | |
125 | %description gtk | |
126 | Ghostscript with GTK+ console. | |
127 | ||
9a147310 JR |
128 | %description gtk -l pl.UTF-8 |
129 | Ghostscript z konsolą GTK+. | |
8e79132b | 130 | |
d9a2ef39 JB |
131 | %package x11 |
132 | Summary: X Window System drivers for Ghostscript | |
133 | Summary(pl.UTF-8): Sterowniki systemu X Window dla Ghostscripta | |
134 | Group: Applications/Graphics | |
135 | Requires: %{name} = %{version}-%{release} | |
136 | ||
137 | %description x11 | |
138 | X Window System output drivers for Ghostscript: x11, x11alpha. | |
139 | ||
140 | %description x11 -l pl.UTF-8 | |
141 | Sterowniki wyjściowe systemu X Window dla Ghostscripta: x11, x11alpha. | |
142 | ||
8e79132b | 143 | %package devel |
144 | Summary: libgs header files | |
6d9b3c9a | 145 | Summary(pl.UTF-8): Pliki nagłówkowe libgs |
8e79132b | 146 | Group: Development/Libraries |
147 | Requires: %{name} = %{version}-%{release} | |
148 | Obsoletes: ghostscript-afpl-devel | |
b925fe6f | 149 | Obsoletes: ghostscript-esp-devel |
8e79132b | 150 | |
151 | %description devel | |
152 | Header files for libgs - ghostscript shared library. | |
153 | ||
9a147310 JR |
154 | %description devel -l pl.UTF-8 |
155 | Pliki nagłówkowe libgs - współdzielonej biblioteki ghostscript. | |
8e79132b | 156 | |
8fc94595 ER |
157 | %package doc |
158 | Summary: Documentation for ghostscript | |
159 | Group: Documentation | |
160 | %if "%{_rpmversion}" >= "5" | |
161 | BuildArch: noarch | |
162 | %endif | |
163 | ||
164 | %description doc | |
165 | The documentation files that come with ghostscript. | |
166 | ||
74ce21d4 JB |
167 | %package ijs |
168 | Summary: IJS (InkJet Server) shared library | |
169 | Summary(pl.UTF-8): Biblioteka współdzielona IJS (InkJet Server) | |
170 | Group: Libraries | |
171 | Conflicts: ghostscript < 9.10-2 | |
172 | ||
173 | %description ijs | |
174 | IJS (InkJet Server) Raster Image Transport Protocol shared library. | |
175 | ||
176 | %description ijs -l pl.UTF-8 | |
177 | Biblioteka współdzielona protokołu transportu obrazów rastrowych IJS | |
178 | (InkJet Server). | |
179 | ||
8e79132b | 180 | %package ijs-devel |
181 | Summary: IJS development files | |
6d9b3c9a | 182 | Summary(pl.UTF-8): Pliki dla programistów IJS |
8e79132b | 183 | Group: Development/Libraries |
74ce21d4 | 184 | Requires: %{name}-ijs = %{version}-%{release} |
8e79132b | 185 | Obsoletes: ghostscript-afpl-ijs-devel |
b925fe6f | 186 | Obsoletes: ghostscript-esp-ijs-devel |
8e79132b | 187 | |
188 | %description ijs-devel | |
189 | IJS development files. | |
190 | ||
9a147310 JR |
191 | %description ijs-devel -l pl.UTF-8 |
192 | Pliki do tworzenia programów z użyciem biblioteki IJS. | |
8e79132b | 193 | |
194 | %package ijs-static | |
195 | Summary: Static libijs library | |
6d9b3c9a | 196 | Summary(pl.UTF-8): Statyczna biblioteka IJS |
8e79132b | 197 | Group: Development/Libraries |
198 | Requires: %{name}-ijs-devel = %{version}-%{release} | |
199 | Obsoletes: ghostscript-afpl-ijs-static | |
b925fe6f | 200 | Obsoletes: ghostscript-esp-ijs-static |
8e79132b | 201 | |
202 | %description ijs-static | |
203 | Static libijs library. | |
204 | ||
9a147310 | 205 | %description ijs-static -l pl.UTF-8 |
8e79132b | 206 | Statyczna wersja biblioteki IJS. |
207 | ||
208 | %prep | |
a9cac4bf | 209 | %setup -q |
8e79132b | 210 | %patch0 -p1 |
9517a597 | 211 | %patch2 -p1 |
507c785c | 212 | |
b6094c96 | 213 | %patch6 -p1 |
5e14796c | 214 | %patch8 -p1 |
a959360d AM |
215 | |
216 | %patch20 -p1 | |
217 | %patch21 -p1 | |
df30ecb6 | 218 | |
a959360d AM |
219 | %patch27 -p1 |
220 | %patch28 -p1 | |
8e79132b | 221 | |
222 | %build | |
4690f944 | 223 | # use system libs: |
48379a65 | 224 | # freetype 2.9.1 + 2 git fixes (e0015f7612cf07ff80561475321ce1f98c7c2b88 + f1458d2e44d89e8bc7c0db068f1cbc54b74b9d98) |
4690f944 | 225 | %{?with_system_freetype:%{__rm} -r freetype} |
48379a65 | 226 | # jbig2dec 0.15 just before version bump |
4690f944 | 227 | %{?with_system_jbig2dec:%{__rm} -r jbig2dec} |
48379a65 | 228 | # (unmodified) libpng 1.6.34 and zlib 1.2.11 |
63b7a1d0 | 229 | %{__rm} -r libpng zlib |
48379a65 JB |
230 | # libjpeg (9c without CLAMP_DC fixes) is built with different configuration (D_MAX_BLOCKS_IN_MCU=64) |
231 | # openjpeg is 2.3.0 + few custom fixes; stick to bundled for now | |
a7f5e963 AM |
232 | # lcms2mt is thread safe version of lcms2 |
233 | %{?with_system_lcms2:%{__rm} -r lcms2mt} | |
8e79132b | 234 | %{__aclocal} |
235 | %{__autoconf} | |
8e79132b | 236 | %configure \ |
166e21a6 | 237 | CFLAGS="%{rpmcflags} -DA4" \ |
3f3e6ccf | 238 | %{!?with_cairo:--disable-cairo} \ |
a959360d | 239 | --disable-compile-inits \ |
42087de6 | 240 | --enable-dynamic \ |
48379a65 | 241 | --with-drivers=ALL \ |
8e79132b | 242 | --with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \ |
243 | --with-ijs \ | |
244 | --with-jbig2dec \ | |
42087de6 | 245 | --with-pdftoraster \ |
6d1553a3 | 246 | --with-system-libtiff \ |
42087de6 | 247 | --with-x |
8e79132b | 248 | |
249 | cd ijs | |
250 | %{__libtoolize} | |
251 | %{__aclocal} | |
252 | %{__autoconf} | |
253 | %{__automake} | |
254 | %configure \ | |
255 | --enable-shared | |
c6b77105 | 256 | %{__make} |
8e79132b | 257 | cd .. |
258 | ||
166e21a6 | 259 | %{__make} -j1 so \ |
c1dd3860 | 260 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 261 | |
166e21a6 | 262 | %{__make} -j1 \ |
c1dd3860 | 263 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 264 | |
265 | %install | |
266 | rm -rf $RPM_BUILD_ROOT | |
8e79132b | 267 | |
2c26f8c6 JB |
268 | %{__make} soinstall \ |
269 | DESTDIR=$RPM_BUILD_ROOT \ | |
270 | docdir=%{_docdir}/%{name}-%{version} | |
271 | ||
272 | %{__make} install \ | |
d0535cb0 AM |
273 | DESTDIR=$RPM_BUILD_ROOT \ |
274 | docdir=%{_docdir}/%{name}-%{version} | |
8e79132b | 275 | |
a9cac4bf | 276 | %{__make} -C ijs install \ |
8e79132b | 277 | DESTDIR=$RPM_BUILD_ROOT |
8e79132b | 278 | |
2cd3d6be JR |
279 | cp -p base/gserrors.h $RPM_BUILD_ROOT%{_includedir}/ghostscript |
280 | ||
48379a65 JB |
281 | cp -p LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
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 | |
8e79132b | 303 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/gsc |
304 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/ghostscript | |
305 | ||
306 | %clean | |
307 | rm -rf $RPM_BUILD_ROOT | |
308 | ||
309 | %post -p /sbin/ldconfig | |
310 | %postun -p /sbin/ldconfig | |
311 | ||
74ce21d4 JB |
312 | %post ijs -p /sbin/ldconfig |
313 | %postun ijs -p /sbin/ldconfig | |
314 | ||
8e79132b | 315 | %files |
316 | %defattr(644,root,root,755) | |
6d1553a3 JB |
317 | %attr(755,root,root) %{_bindir}/dvipdf |
318 | %attr(755,root,root) %{_bindir}/eps2eps | |
790f5716 | 319 | %attr(755,root,root) %{_bindir}/ghostscript |
8e79132b | 320 | %attr(755,root,root) %{_bindir}/gs |
6d1553a3 JB |
321 | %attr(755,root,root) %{_bindir}/gsbj |
322 | %attr(755,root,root) %{_bindir}/gsc | |
323 | %attr(755,root,root) %{_bindir}/gsdj | |
324 | %attr(755,root,root) %{_bindir}/gsdj500 | |
325 | %attr(755,root,root) %{_bindir}/gslj | |
326 | %attr(755,root,root) %{_bindir}/gslp | |
327 | %attr(755,root,root) %{_bindir}/gsnd | |
6d1553a3 JB |
328 | %attr(755,root,root) %{_bindir}/pdf2dsc |
329 | %attr(755,root,root) %{_bindir}/pdf2ps | |
6d1553a3 JB |
330 | %attr(755,root,root) %{_bindir}/pf2afm |
331 | %attr(755,root,root) %{_bindir}/pfbtopfa | |
332 | %attr(755,root,root) %{_bindir}/printafm | |
333 | %attr(755,root,root) %{_bindir}/ps2ascii | |
334 | %attr(755,root,root) %{_bindir}/ps2epsi | |
335 | %attr(755,root,root) %{_bindir}/ps2pdf | |
336 | %attr(755,root,root) %{_bindir}/ps2pdf12 | |
337 | %attr(755,root,root) %{_bindir}/ps2pdf13 | |
338 | %attr(755,root,root) %{_bindir}/ps2pdf14 | |
339 | %attr(755,root,root) %{_bindir}/ps2pdfwr | |
340 | %attr(755,root,root) %{_bindir}/ps2ps | |
341 | %attr(755,root,root) %{_bindir}/ps2ps2 | |
507c785c | 342 | %attr(755,root,root) %{_bindir}/pphs |
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 |
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* | |
6d1553a3 JB |
360 | %{_mandir}/man1/ghostscript.1* |
361 | %{_mandir}/man1/gs.1* | |
362 | %{_mandir}/man1/gsbj.1* | |
363 | %{_mandir}/man1/gsdj.1* | |
364 | %{_mandir}/man1/gsdj500.1* | |
365 | %{_mandir}/man1/gslj.1* | |
366 | %{_mandir}/man1/gslp.1* | |
367 | %{_mandir}/man1/gsnd.1* | |
368 | %{_mandir}/man1/pdf2dsc.1* | |
369 | %{_mandir}/man1/pdf2ps.1* | |
6d1553a3 JB |
370 | %{_mandir}/man1/pf2afm.1* |
371 | %{_mandir}/man1/pfbtopfa.1* | |
372 | %{_mandir}/man1/printafm.1* | |
373 | %{_mandir}/man1/ps2ascii.1* | |
374 | %{_mandir}/man1/ps2epsi.1* | |
375 | %{_mandir}/man1/ps2pdf.1* | |
376 | %{_mandir}/man1/ps2pdf12.1* | |
377 | %{_mandir}/man1/ps2pdf13.1* | |
df30ecb6 | 378 | %{_mandir}/man1/ps2pdf14.1* |
6d1553a3 JB |
379 | %{_mandir}/man1/ps2pdfwr.1* |
380 | %{_mandir}/man1/ps2ps.1* | |
6d1553a3 JB |
381 | %lang(cs) %{_mandir}/cs/man1/* |
382 | %lang(de) %{_mandir}/de/man1/* | |
383 | %lang(es) %{_mandir}/es/man1/* | |
384 | %lang(fr) %{_mandir}/fr/man1/* | |
385 | %lang(pl) %{_mandir}/pl/man1/* | |
8e79132b | 386 | |
8fc94595 | 387 | %files doc |
48379a65 | 388 | %defattr(644,root,root,755) |
8fc94595 ER |
389 | %doc %{_docdir}/%{name}-%{version} |
390 | ||
8e79132b | 391 | %if %{with gtk} |
392 | %files gtk | |
393 | %defattr(644,root,root,755) | |
394 | %attr(755,root,root) %{_bindir}/gsx | |
395 | %endif | |
396 | ||
d9a2ef39 JB |
397 | %files x11 |
398 | %defattr(644,root,root,755) | |
399 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/X11.so | |
400 | ||
8e79132b | 401 | %files devel |
402 | %defattr(644,root,root,755) | |
8e79132b | 403 | %attr(755,root,root) %{_libdir}/libgs.so |
2940958e | 404 | %{_includedir}/ghostscript |
8e79132b | 405 | |
74ce21d4 JB |
406 | %files ijs |
407 | %defattr(644,root,root,755) | |
408 | %doc ijs/README | |
409 | %attr(755,root,root) %{_bindir}/ijs_client_example | |
410 | %attr(755,root,root) %{_bindir}/ijs_server_example | |
411 | %attr(755,root,root) %{_libdir}/libijs-*.so | |
412 | ||
8e79132b | 413 | %files ijs-devel |
414 | %defattr(644,root,root,755) | |
8e79132b | 415 | %attr(755,root,root) %{_libdir}/libijs.so |
8e79132b | 416 | %{_libdir}/libijs.la |
c9ff1514 | 417 | %{_includedir}/ijs |
bafd8782 | 418 | %{_pkgconfigdir}/ijs.pc |
8e79132b | 419 | |
420 | %files ijs-static | |
421 | %defattr(644,root,root,755) | |
422 | %{_libdir}/libijs.a |