]>
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: | |
dd698c61 JB |
6 | %bcond_without cairo # cairo support (disable for cairo bootstrap) |
7 | %bcond_without system_freetype # system freetype | |
8 | %bcond_without system_jbig2dec # system jbig2dec | |
9 | %bcond_with system_libjpeg # system libjpeg (incompatible with D_MAX_BLOCKS_IN_MCU=64 variant) | |
10 | %bcond_with system_libtiff # system libtiff (incompatible with modified libjpeg) | |
de9e824a | 11 | %bcond_without system_openjp2 # system openjpeg2 |
a7f5e963 | 12 | %bcond_with system_lcms2 # build with included lcms2 (which is thread safe) |
2c26f8c6 | 13 | %bcond_without gtk # gsx (GTK+ based frontend) |
d3103cc1 | 14 | %bcond_without texdocs # skip tetex BRs |
d5834157 | 15 | |
8e79132b | 16 | Summary: PostScript & PDF interpreter and renderer |
6d9b3c9a ER |
17 | Summary(de.UTF-8): PostScript & PDF Interpreter und Renderer |
18 | Summary(fr.UTF-8): Interpréteur et visualisateur PostScript & PDF | |
19 | Summary(ja.UTF-8): PostScript インタープリタ・レンダラー | |
20 | Summary(pl.UTF-8): Bezpłatny interpreter i renderer PostScriptu i PDF | |
21 | Summary(tr.UTF-8): PostScript & PDF yorumlayıcı ve gösterici | |
9d77d33e | 22 | Name: ghostscript |
c4bf0d5d | 23 | Version: 10.02.0 |
dd698c61 | 24 | Release: 1 |
56d1a6e0 | 25 | License: AGPL v3+ |
8e79132b | 26 | Group: Applications/Graphics |
d7fcaa57 | 27 | #Source0Download: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases |
c4bf0d5d AM |
28 | Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10020/%{name}-%{version}.tar.xz |
29 | # Source0-md5: 80c1cdfada72f2eb5987dc0d590ea5b2 | |
a9cac4bf JB |
30 | Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 |
31 | # Source1-md5: 9b5953aa0cc155f4364f20036b848585 | |
8e79132b | 32 | Patch0: %{name}-missquotes.patch |
de9e824a | 33 | Patch1: %{name}-a4.patch |
9517a597 | 34 | Patch2: ijs-pkgconfig.patch |
5f617bb0 | 35 | |
b6094c96 | 36 | Patch6: %{name}-gdevcd8-fixes.patch |
a959360d AM |
37 | |
38 | # fedora | |
e6b3a003 | 39 | Patch20: %{name}-scripts.patch |
f05ebc2f | 40 | |
e6b3a003 | 41 | Patch28: %{name}-iccprofiles-initdir.patch |
a959360d | 42 | |
8e79132b | 43 | URL: http://www.ghostscript.com/ |
8a9bb238 | 44 | BuildRequires: autoconf >= 2.63 |
bafd8782 | 45 | BuildRequires: automake >= 1.6 |
3f3e6ccf | 46 | %{?with_cairo:BuildRequires: cairo-devel >= 1.2.0} |
48379a65 | 47 | BuildRequires: cups-devel >= 1.5 |
1cfd7158 | 48 | BuildRequires: dbus-devel |
8e79132b | 49 | BuildRequires: docbook-style-dsssl |
6d1553a3 | 50 | BuildRequires: fontconfig-devel |
de9e824a | 51 | %{?with_system_freetype:BuildRequires: freetype-devel >= 1:2.10.4} |
45368227 | 52 | %{?with_gtk:BuildRequires: gtk+3-devel >= 3.0} |
dd698c61 | 53 | %{?with_system_jbig2dec:BuildRequires: jbig2dec-devel >= 0.19} |
4690f944 | 54 | %{?with_system_lcms2:BuildRequires: lcms2-devel >= 2.6} |
1cfd7158 | 55 | BuildRequires: libidn-devel |
dd698c61 | 56 | %{?with_system_libjpeg:BuildRequires: libjpeg-devel >= 9c} |
6d1553a3 | 57 | BuildRequires: libpaper-devel |
76b6d161 | 58 | BuildRequires: libpng-devel >= 2:1.6.37 |
8e79132b | 59 | BuildRequires: libstdc++-devel |
de9e824a | 60 | %{?with_system_libtiff:BuildRequires: libtiff-devel >= 4.2.0} |
8e79132b | 61 | BuildRequires: libtool |
d0244dda | 62 | %{?with_system_openjp2:BuildRequires: openjpeg2-devel} |
8e79132b | 63 | BuildRequires: pkgconfig |
de9e824a | 64 | BuildRequires: rpm-build >= 4.6 |
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 |
8a9bb238 | 71 | BuildRequires: xorg-lib-libX11-devel |
8e79132b | 72 | BuildRequires: xorg-lib-libXext-devel |
73 | BuildRequires: xorg-lib-libXt-devel | |
b33a8924 | 74 | BuildRequires: xz |
48379a65 | 75 | BuildRequires: zlib-devel >= 1.2.11 |
de9e824a | 76 | %{?with_system_freetype:Requires: freetype >= 1:2.10.4} |
dd698c61 | 77 | %{?with_system_jbig2dec:Requires: jbig2dec >= 0.19} |
4690f944 | 78 | %{?with_system_lcms2:Requires: lcms2 >= 2.6} |
dd698c61 | 79 | %{?with_system_libjpeg:Requires: libjpeg >= 9c} |
76b6d161 | 80 | Requires: libpng >= 2:1.6.37 |
de9e824a | 81 | %{?with_system_libtiff:Requires: libtiff >= 4.2.0} |
48379a65 | 82 | Requires: zlib >= 1.2.11 |
51a394e6 JB |
83 | Obsoletes: ghostscript-afpl < 8.54 |
84 | Obsoletes: ghostscript-esp < 8.50 | |
85 | Obsoletes: ghostscript-gpl < 8.51 | |
86 | Obsoletes: ghostscript-svga < 9.24 | |
8e79132b | 87 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
88 | ||
747dc7d6 AM |
89 | %define _ulibdir %{_prefix}/lib |
90 | ||
8e79132b | 91 | %description |
c1dd3860 ER |
92 | cos nGhostscript is a PostScript interpreter. It can render both |
93 | PostScript and PDF compliant files to devices which include an X | |
94 | window, many printer formats (including support for color printers), | |
95 | and popular graphics file formats. | |
8e79132b | 96 | |
9a147310 | 97 | %description -l de.UTF-8 |
8e79132b | 98 | Ghostscipt ist ein PostScript-Interpretierer. Er kann sowohl |
9a147310 JR |
99 | PostScript als auch PDF-konforme Dateien an Geräte ausgeben, zu denen |
100 | ein X-Fenster, viele Druckerformate (einschließlich Support für | |
101 | Farbdrucker) und gängige Grafikdateiformate zählen. | |
8e79132b | 102 | |
9a147310 JR |
103 | %description -l fr.UTF-8 |
104 | Ghostscript est un interpréteur PostScript. Il peut rendre des | |
105 | fichiers PostScript ou PDF sur des périphériques dont une fenêtre X,de | |
8e79132b | 106 | nombreux types d'imprimantes (dont un support pour imprimantes |
107 | couleur), et des formats de fichiers graphiques populaires. | |
108 | ||
9a147310 | 109 | %description -l ja.UTF-8 |
c43e239c AM |
110 | Ghostscript は PostScript インタープリタです。ポストスクリプトと PDF をレンダリングし、X window |
111 | や他のプリンタフォーマットで出力 します。このパッケージは日本語対応しています。 | |
8e79132b | 112 | |
9a147310 JR |
113 | %description -l pl.UTF-8 |
114 | Ghostcript jest interpreterem PostScriptu, języka używanego do opisu | |
115 | formatu dokumentu. Ghostscript potrafi przetworzyć dokument w formacie | |
116 | PostScript i PDF na szereg postaci wyjściowych: drukarki (włączając | |
8e79132b | 117 | kolorowe), okno X-Window i popularne formaty graficzne. |
118 | ||
9a147310 JR |
119 | %description -l tr.UTF-8 |
120 | GhostScript, PostScript ve PDF uyumlu dosyaları, X penceresinde | |
121 | gösterebilir ve birçok yazıcının (renkli yazıcılar dahil) basabileceği | |
122 | biçime getirebilir. | |
8e79132b | 123 | |
124 | %package gtk | |
125 | Summary: Ghostscript with GTK+ console | |
6d9b3c9a | 126 | Summary(pl.UTF-8): Ghostscript z konsolą GTK+ |
8e79132b | 127 | Group: Applications/Graphics |
128 | Requires: %{name} = %{version}-%{release} | |
51a394e6 JB |
129 | Obsoletes: ghostscript-afpl-gtk < 8.54 |
130 | Obsoletes: ghostscript-esp-gtk < 8.50 | |
131 | Obsoletes: ghostscript-gpl-gtk < 8.51 | |
8e79132b | 132 | |
133 | %description gtk | |
134 | Ghostscript with GTK+ console. | |
135 | ||
9a147310 JR |
136 | %description gtk -l pl.UTF-8 |
137 | Ghostscript z konsolą GTK+. | |
8e79132b | 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} | |
51a394e6 JB |
156 | Obsoletes: ghostscript-afpl-devel < 8.54 |
157 | Obsoletes: ghostscript-esp-devel < 8.50 | |
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 | |
8fc94595 ER |
165 | %package doc |
166 | Summary: Documentation for ghostscript | |
167 | Group: Documentation | |
8fc94595 | 168 | BuildArch: noarch |
8fc94595 ER |
169 | |
170 | %description doc | |
171 | The documentation files that come with ghostscript. | |
172 | ||
74ce21d4 JB |
173 | %package ijs |
174 | Summary: IJS (InkJet Server) shared library | |
175 | Summary(pl.UTF-8): Biblioteka współdzielona IJS (InkJet Server) | |
176 | Group: Libraries | |
177 | Conflicts: ghostscript < 9.10-2 | |
178 | ||
179 | %description ijs | |
180 | IJS (InkJet Server) Raster Image Transport Protocol shared library. | |
181 | ||
182 | %description ijs -l pl.UTF-8 | |
183 | Biblioteka współdzielona protokołu transportu obrazów rastrowych IJS | |
184 | (InkJet Server). | |
185 | ||
8e79132b | 186 | %package ijs-devel |
187 | Summary: IJS development files | |
6d9b3c9a | 188 | Summary(pl.UTF-8): Pliki dla programistów IJS |
8e79132b | 189 | Group: Development/Libraries |
74ce21d4 | 190 | Requires: %{name}-ijs = %{version}-%{release} |
51a394e6 JB |
191 | Obsoletes: ghostscript-afpl-ijs-devel < 8.54 |
192 | Obsoletes: ghostscript-esp-ijs-devel < 8.50 | |
8e79132b | 193 | |
194 | %description ijs-devel | |
195 | IJS development files. | |
196 | ||
9a147310 JR |
197 | %description ijs-devel -l pl.UTF-8 |
198 | Pliki do tworzenia programów z użyciem biblioteki IJS. | |
8e79132b | 199 | |
200 | %package ijs-static | |
201 | Summary: Static libijs library | |
6d9b3c9a | 202 | Summary(pl.UTF-8): Statyczna biblioteka IJS |
8e79132b | 203 | Group: Development/Libraries |
204 | Requires: %{name}-ijs-devel = %{version}-%{release} | |
51a394e6 JB |
205 | Obsoletes: ghostscript-afpl-ijs-static < 8.54 |
206 | Obsoletes: ghostscript-esp-ijs-static < 8.50 | |
8e79132b | 207 | |
208 | %description ijs-static | |
209 | Static libijs library. | |
210 | ||
9a147310 | 211 | %description ijs-static -l pl.UTF-8 |
8e79132b | 212 | Statyczna wersja biblioteki IJS. |
213 | ||
214 | %prep | |
a9cac4bf | 215 | %setup -q |
8e79132b | 216 | %patch0 -p1 |
de9e824a | 217 | %patch1 -p1 |
9517a597 | 218 | %patch2 -p1 |
507c785c | 219 | |
b6094c96 | 220 | %patch6 -p1 |
a959360d AM |
221 | |
222 | %patch20 -p1 | |
df30ecb6 | 223 | |
a959360d | 224 | %patch28 -p1 |
8e79132b | 225 | |
4690f944 | 226 | # use system libs: |
de9e824a | 227 | # freetype 2.10.4 |
4690f944 | 228 | %{?with_system_freetype:%{__rm} -r freetype} |
dd698c61 | 229 | # jbig2dec 0.19 |
4690f944 | 230 | %{?with_system_jbig2dec:%{__rm} -r jbig2dec} |
76b6d161 | 231 | # (unmodified) libpng 1.6.37 and zlib 1.2.11 |
63b7a1d0 | 232 | %{__rm} -r libpng zlib |
7129e694 | 233 | # libjpeg (9d with additional CLAMP_DC) is built with different configuration (D_MAX_BLOCKS_IN_MCU=64) |
dd698c61 | 234 | %{?with_system_libjpeg:%{__rm} -r jpeg} |
de9e824a | 235 | # lcms2mt is thread safe version of lcms2 2.10 |
a7f5e963 | 236 | %{?with_system_lcms2:%{__rm} -r lcms2mt} |
de9e824a JB |
237 | # leptonica 1.81.0-git (for tesseract), no switch to use system |
238 | # openjpeg 2.4.0 | |
239 | %{?with_system_openjp2:%{__rm} -r openjpeg} | |
240 | # tesseract 5.0.0-alpha, no switch to use system | |
f8526d8a JP |
241 | |
242 | %build | |
8e79132b | 243 | %{__aclocal} |
244 | %{__autoconf} | |
8e79132b | 245 | %configure \ |
3f3e6ccf | 246 | %{!?with_cairo:--disable-cairo} \ |
a959360d | 247 | --disable-compile-inits \ |
c4bf0d5d | 248 | --enable-dynamic --disable-hidden-visibility \ |
48379a65 | 249 | --with-drivers=ALL \ |
8e79132b | 250 | --with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \ |
251 | --with-ijs \ | |
252 | --with-jbig2dec \ | |
42087de6 | 253 | --with-pdftoraster \ |
dd698c61 | 254 | %{?with_system_libtiff:--with-system-libtiff} \ |
42087de6 | 255 | --with-x |
8e79132b | 256 | |
257 | cd ijs | |
258 | %{__libtoolize} | |
259 | %{__aclocal} | |
260 | %{__autoconf} | |
261 | %{__automake} | |
262 | %configure \ | |
263 | --enable-shared | |
c6b77105 | 264 | %{__make} |
8e79132b | 265 | cd .. |
266 | ||
166e21a6 | 267 | %{__make} -j1 so \ |
c1dd3860 | 268 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 269 | |
166e21a6 | 270 | %{__make} -j1 \ |
c1dd3860 | 271 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 272 | |
273 | %install | |
274 | rm -rf $RPM_BUILD_ROOT | |
8e79132b | 275 | |
2c26f8c6 JB |
276 | %{__make} soinstall \ |
277 | DESTDIR=$RPM_BUILD_ROOT \ | |
278 | docdir=%{_docdir}/%{name}-%{version} | |
279 | ||
280 | %{__make} install \ | |
d0535cb0 AM |
281 | DESTDIR=$RPM_BUILD_ROOT \ |
282 | docdir=%{_docdir}/%{name}-%{version} | |
8e79132b | 283 | |
a9cac4bf | 284 | %{__make} -C ijs install \ |
8e79132b | 285 | DESTDIR=$RPM_BUILD_ROOT |
8e79132b | 286 | |
2cd3d6be JR |
287 | cp -p base/gserrors.h $RPM_BUILD_ROOT%{_includedir}/ghostscript |
288 | ||
48379a65 JB |
289 | cp -p LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
290 | ||
45810145 | 291 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/*.sh \ |
c4bf0d5d | 292 | $RPM_BUILD_ROOT%{_mandir}/man1/{ps2pdf1{2,3},eps2eps}.1 |
8e79132b | 293 | |
294 | echo ".so gs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ghostscript.1 | |
295 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf12.1 | |
296 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf13.1 | |
297 | echo ".so ps2ps.1" > $RPM_BUILD_ROOT%{_mandir}/man1/eps2eps.1 | |
298 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsbj.1 | |
299 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj.1 | |
300 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj500.1 | |
301 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gslj.1 | |
302 | ||
a9cac4bf | 303 | bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
4690f944 | 304 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.ghostscript-non-english-man-pages |
8e79132b | 305 | |
8e79132b | 306 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/gsc |
307 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/ghostscript | |
308 | ||
309 | %clean | |
310 | rm -rf $RPM_BUILD_ROOT | |
311 | ||
312 | %post -p /sbin/ldconfig | |
313 | %postun -p /sbin/ldconfig | |
314 | ||
74ce21d4 JB |
315 | %post ijs -p /sbin/ldconfig |
316 | %postun ijs -p /sbin/ldconfig | |
317 | ||
8e79132b | 318 | %files |
319 | %defattr(644,root,root,755) | |
6d1553a3 JB |
320 | %attr(755,root,root) %{_bindir}/dvipdf |
321 | %attr(755,root,root) %{_bindir}/eps2eps | |
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) %{_libdir}/libgs.so.*.* |
c4bf0d5d | 347 | %attr(755,root,root) %ghost %{_libdir}/libgs.so.10 |
9d77d33e | 348 | %dir %{_datadir}/%{name} |
9d77d33e | 349 | %dir %{_datadir}/%{name}/%{version} |
a959360d AM |
350 | %{_datadir}/%{name}/%{version}/Resource |
351 | %{_datadir}/%{name}/%{version}/iccprofiles | |
9d77d33e | 352 | %dir %{_datadir}/%{name}/%{version}/lib |
6d1553a3 JB |
353 | %{_datadir}/%{name}/%{version}/lib/*.ppd |
354 | %{_datadir}/%{name}/%{version}/lib/*.ps | |
355 | %{_datadir}/%{name}/%{version}/lib/*.rpd | |
6d1553a3 JB |
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 | 381 | %lang(cs) %{_mandir}/cs/man1/* |
6d1553a3 JB |
382 | %lang(es) %{_mandir}/es/man1/* |
383 | %lang(fr) %{_mandir}/fr/man1/* | |
384 | %lang(pl) %{_mandir}/pl/man1/* | |
8e79132b | 385 | |
8fc94595 | 386 | %files doc |
48379a65 | 387 | %defattr(644,root,root,755) |
8fc94595 ER |
388 | %doc %{_docdir}/%{name}-%{version} |
389 | ||
8e79132b | 390 | %if %{with gtk} |
391 | %files gtk | |
392 | %defattr(644,root,root,755) | |
393 | %attr(755,root,root) %{_bindir}/gsx | |
394 | %endif | |
395 | ||
d9a2ef39 JB |
396 | %files x11 |
397 | %defattr(644,root,root,755) | |
398 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/X11.so | |
399 | ||
8e79132b | 400 | %files devel |
401 | %defattr(644,root,root,755) | |
8e79132b | 402 | %attr(755,root,root) %{_libdir}/libgs.so |
2940958e | 403 | %{_includedir}/ghostscript |
8e79132b | 404 | |
74ce21d4 JB |
405 | %files ijs |
406 | %defattr(644,root,root,755) | |
407 | %doc ijs/README | |
408 | %attr(755,root,root) %{_bindir}/ijs_client_example | |
409 | %attr(755,root,root) %{_bindir}/ijs_server_example | |
410 | %attr(755,root,root) %{_libdir}/libijs-*.so | |
411 | ||
8e79132b | 412 | %files ijs-devel |
413 | %defattr(644,root,root,755) | |
8e79132b | 414 | %attr(755,root,root) %{_libdir}/libijs.so |
8e79132b | 415 | %{_libdir}/libijs.la |
c9ff1514 | 416 | %{_includedir}/ijs |
bafd8782 | 417 | %{_pkgconfigdir}/ijs.pc |
8e79132b | 418 | |
419 | %files ijs-static | |
420 | %defattr(644,root,root,755) | |
421 | %{_libdir}/libijs.a |