]>
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 |
de9e824a | 23 | Version: 9.54.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 |
de9e824a JB |
28 | Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/%{name}-%{version}.tar.xz |
29 | # Source0-md5: 72535d31018129a1a8ff636a47ba1f92 | |
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 |
de9e824a | 35 | Patch3: %{name}-tiff.patch |
5f617bb0 | 36 | |
b6094c96 | 37 | Patch6: %{name}-gdevcd8-fixes.patch |
5e14796c | 38 | Patch8: %{name}-zlib.patch |
a959360d AM |
39 | |
40 | # fedora | |
e6b3a003 | 41 | Patch20: %{name}-scripts.patch |
f05ebc2f | 42 | |
e6b3a003 | 43 | Patch28: %{name}-iccprofiles-initdir.patch |
a959360d | 44 | |
8e79132b | 45 | URL: http://www.ghostscript.com/ |
8a9bb238 | 46 | BuildRequires: autoconf >= 2.63 |
bafd8782 | 47 | BuildRequires: automake >= 1.6 |
3f3e6ccf | 48 | %{?with_cairo:BuildRequires: cairo-devel >= 1.2.0} |
48379a65 | 49 | BuildRequires: cups-devel >= 1.5 |
1cfd7158 | 50 | BuildRequires: dbus-devel |
8e79132b | 51 | BuildRequires: docbook-style-dsssl |
6d1553a3 | 52 | BuildRequires: fontconfig-devel |
de9e824a | 53 | %{?with_system_freetype:BuildRequires: freetype-devel >= 1:2.10.4} |
45368227 | 54 | %{?with_gtk:BuildRequires: gtk+3-devel >= 3.0} |
dd698c61 | 55 | %{?with_system_jbig2dec:BuildRequires: jbig2dec-devel >= 0.19} |
4690f944 | 56 | %{?with_system_lcms2:BuildRequires: lcms2-devel >= 2.6} |
1cfd7158 | 57 | BuildRequires: libidn-devel |
dd698c61 | 58 | %{?with_system_libjpeg:BuildRequires: libjpeg-devel >= 9c} |
6d1553a3 | 59 | BuildRequires: libpaper-devel |
76b6d161 | 60 | BuildRequires: libpng-devel >= 2:1.6.37 |
8e79132b | 61 | BuildRequires: libstdc++-devel |
de9e824a | 62 | %{?with_system_libtiff:BuildRequires: libtiff-devel >= 4.2.0} |
8e79132b | 63 | BuildRequires: libtool |
64 | BuildRequires: pkgconfig | |
de9e824a | 65 | BuildRequires: rpm-build >= 4.6 |
0411d6a2 | 66 | BuildRequires: tar >= 1:1.22 |
8e79132b | 67 | # for documentation regeneration |
d3103cc1 | 68 | %if %{with texdocs} |
8e79132b | 69 | BuildRequires: tetex |
70 | BuildRequires: tetex-dvips | |
d3103cc1 | 71 | %endif |
8a9bb238 | 72 | BuildRequires: xorg-lib-libX11-devel |
8e79132b | 73 | BuildRequires: xorg-lib-libXext-devel |
74 | BuildRequires: xorg-lib-libXt-devel | |
b33a8924 | 75 | BuildRequires: xz |
48379a65 | 76 | BuildRequires: zlib-devel >= 1.2.11 |
de9e824a | 77 | %{?with_system_freetype:Requires: freetype >= 1:2.10.4} |
dd698c61 | 78 | %{?with_system_jbig2dec:Requires: jbig2dec >= 0.19} |
4690f944 | 79 | %{?with_system_lcms2:Requires: lcms2 >= 2.6} |
dd698c61 | 80 | %{?with_system_libjpeg:Requires: libjpeg >= 9c} |
76b6d161 | 81 | Requires: libpng >= 2:1.6.37 |
de9e824a | 82 | %{?with_system_libtiff:Requires: libtiff >= 4.2.0} |
48379a65 | 83 | Requires: zlib >= 1.2.11 |
8e79132b | 84 | Obsoletes: ghostscript-afpl |
b925fe6f | 85 | Obsoletes: ghostscript-esp |
c43e239c | 86 | Obsoletes: ghostscript-gpl |
48379a65 | 87 | Obsoletes: ghostscript-svga |
8e79132b | 88 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
89 | ||
747dc7d6 AM |
90 | %define _ulibdir %{_prefix}/lib |
91 | ||
8e79132b | 92 | %description |
c1dd3860 ER |
93 | cos nGhostscript is a PostScript interpreter. It can render both |
94 | PostScript and PDF compliant files to devices which include an X | |
95 | window, many printer formats (including support for color printers), | |
96 | and popular graphics file formats. | |
8e79132b | 97 | |
9a147310 | 98 | %description -l de.UTF-8 |
8e79132b | 99 | Ghostscipt ist ein PostScript-Interpretierer. Er kann sowohl |
9a147310 JR |
100 | PostScript als auch PDF-konforme Dateien an Geräte ausgeben, zu denen |
101 | ein X-Fenster, viele Druckerformate (einschließlich Support für | |
102 | Farbdrucker) und gängige Grafikdateiformate zählen. | |
8e79132b | 103 | |
9a147310 JR |
104 | %description -l fr.UTF-8 |
105 | Ghostscript est un interpréteur PostScript. Il peut rendre des | |
106 | fichiers PostScript ou PDF sur des périphériques dont une fenêtre X,de | |
8e79132b | 107 | nombreux types d'imprimantes (dont un support pour imprimantes |
108 | couleur), et des formats de fichiers graphiques populaires. | |
109 | ||
9a147310 | 110 | %description -l ja.UTF-8 |
c43e239c AM |
111 | Ghostscript は PostScript インタープリタです。ポストスクリプトと PDF をレンダリングし、X window |
112 | や他のプリンタフォーマットで出力 します。このパッケージは日本語対応しています。 | |
8e79132b | 113 | |
9a147310 JR |
114 | %description -l pl.UTF-8 |
115 | Ghostcript jest interpreterem PostScriptu, języka używanego do opisu | |
116 | formatu dokumentu. Ghostscript potrafi przetworzyć dokument w formacie | |
117 | PostScript i PDF na szereg postaci wyjściowych: drukarki (włączając | |
8e79132b | 118 | kolorowe), okno X-Window i popularne formaty graficzne. |
119 | ||
9a147310 JR |
120 | %description -l tr.UTF-8 |
121 | GhostScript, PostScript ve PDF uyumlu dosyaları, X penceresinde | |
122 | gösterebilir ve birçok yazıcının (renkli yazıcılar dahil) basabileceği | |
123 | biçime getirebilir. | |
8e79132b | 124 | |
125 | %package gtk | |
126 | Summary: Ghostscript with GTK+ console | |
6d9b3c9a | 127 | Summary(pl.UTF-8): Ghostscript z konsolą GTK+ |
8e79132b | 128 | Group: Applications/Graphics |
129 | Requires: %{name} = %{version}-%{release} | |
130 | Obsoletes: ghostscript-afpl-gtk | |
b925fe6f | 131 | Obsoletes: ghostscript-esp-gtk |
c43e239c | 132 | Obsoletes: ghostscript-gpl-gtk |
8e79132b | 133 | |
134 | %description gtk | |
135 | Ghostscript with GTK+ console. | |
136 | ||
9a147310 JR |
137 | %description gtk -l pl.UTF-8 |
138 | Ghostscript z konsolą GTK+. | |
8e79132b | 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 | |
8fc94595 ER |
166 | %package doc |
167 | Summary: Documentation for ghostscript | |
168 | Group: Documentation | |
8fc94595 | 169 | BuildArch: noarch |
8fc94595 ER |
170 | |
171 | %description doc | |
172 | The documentation files that come with ghostscript. | |
173 | ||
74ce21d4 JB |
174 | %package ijs |
175 | Summary: IJS (InkJet Server) shared library | |
176 | Summary(pl.UTF-8): Biblioteka współdzielona IJS (InkJet Server) | |
177 | Group: Libraries | |
178 | Conflicts: ghostscript < 9.10-2 | |
179 | ||
180 | %description ijs | |
181 | IJS (InkJet Server) Raster Image Transport Protocol shared library. | |
182 | ||
183 | %description ijs -l pl.UTF-8 | |
184 | Biblioteka współdzielona protokołu transportu obrazów rastrowych IJS | |
185 | (InkJet Server). | |
186 | ||
8e79132b | 187 | %package ijs-devel |
188 | Summary: IJS development files | |
6d9b3c9a | 189 | Summary(pl.UTF-8): Pliki dla programistów IJS |
8e79132b | 190 | Group: Development/Libraries |
74ce21d4 | 191 | Requires: %{name}-ijs = %{version}-%{release} |
8e79132b | 192 | Obsoletes: ghostscript-afpl-ijs-devel |
b925fe6f | 193 | Obsoletes: ghostscript-esp-ijs-devel |
8e79132b | 194 | |
195 | %description ijs-devel | |
196 | IJS development files. | |
197 | ||
9a147310 JR |
198 | %description ijs-devel -l pl.UTF-8 |
199 | Pliki do tworzenia programów z użyciem biblioteki IJS. | |
8e79132b | 200 | |
201 | %package ijs-static | |
202 | Summary: Static libijs library | |
6d9b3c9a | 203 | Summary(pl.UTF-8): Statyczna biblioteka IJS |
8e79132b | 204 | Group: Development/Libraries |
205 | Requires: %{name}-ijs-devel = %{version}-%{release} | |
206 | Obsoletes: ghostscript-afpl-ijs-static | |
b925fe6f | 207 | Obsoletes: ghostscript-esp-ijs-static |
8e79132b | 208 | |
209 | %description ijs-static | |
210 | Static libijs library. | |
211 | ||
9a147310 | 212 | %description ijs-static -l pl.UTF-8 |
8e79132b | 213 | Statyczna wersja biblioteki IJS. |
214 | ||
215 | %prep | |
a9cac4bf | 216 | %setup -q |
8e79132b | 217 | %patch0 -p1 |
de9e824a | 218 | %patch1 -p1 |
9517a597 | 219 | %patch2 -p1 |
de9e824a | 220 | %patch3 -p1 |
507c785c | 221 | |
b6094c96 | 222 | %patch6 -p1 |
5e14796c | 223 | %patch8 -p1 |
a959360d AM |
224 | |
225 | %patch20 -p1 | |
df30ecb6 | 226 | |
a959360d | 227 | %patch28 -p1 |
8e79132b | 228 | |
4690f944 | 229 | # use system libs: |
de9e824a | 230 | # freetype 2.10.4 |
4690f944 | 231 | %{?with_system_freetype:%{__rm} -r freetype} |
dd698c61 | 232 | # jbig2dec 0.19 |
4690f944 | 233 | %{?with_system_jbig2dec:%{__rm} -r jbig2dec} |
76b6d161 | 234 | # (unmodified) libpng 1.6.37 and zlib 1.2.11 |
63b7a1d0 | 235 | %{__rm} -r libpng zlib |
48379a65 | 236 | # libjpeg (9c without CLAMP_DC fixes) is built with different configuration (D_MAX_BLOCKS_IN_MCU=64) |
dd698c61 | 237 | %{?with_system_libjpeg:%{__rm} -r jpeg} |
de9e824a | 238 | # lcms2mt is thread safe version of lcms2 2.10 |
a7f5e963 | 239 | %{?with_system_lcms2:%{__rm} -r lcms2mt} |
de9e824a JB |
240 | # leptonica 1.81.0-git (for tesseract), no switch to use system |
241 | # openjpeg 2.4.0 | |
242 | %{?with_system_openjp2:%{__rm} -r openjpeg} | |
243 | # tesseract 5.0.0-alpha, no switch to use system | |
f8526d8a JP |
244 | |
245 | %build | |
8e79132b | 246 | %{__aclocal} |
247 | %{__autoconf} | |
8e79132b | 248 | %configure \ |
3f3e6ccf | 249 | %{!?with_cairo:--disable-cairo} \ |
a959360d | 250 | --disable-compile-inits \ |
42087de6 | 251 | --enable-dynamic \ |
48379a65 | 252 | --with-drivers=ALL \ |
8e79132b | 253 | --with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \ |
254 | --with-ijs \ | |
255 | --with-jbig2dec \ | |
42087de6 | 256 | --with-pdftoraster \ |
dd698c61 | 257 | %{?with_system_libtiff:--with-system-libtiff} \ |
42087de6 | 258 | --with-x |
8e79132b | 259 | |
260 | cd ijs | |
261 | %{__libtoolize} | |
262 | %{__aclocal} | |
263 | %{__autoconf} | |
264 | %{__automake} | |
265 | %configure \ | |
266 | --enable-shared | |
c6b77105 | 267 | %{__make} |
8e79132b | 268 | cd .. |
269 | ||
166e21a6 | 270 | %{__make} -j1 so \ |
c1dd3860 | 271 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 272 | |
166e21a6 | 273 | %{__make} -j1 \ |
c1dd3860 | 274 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 275 | |
276 | %install | |
277 | rm -rf $RPM_BUILD_ROOT | |
8e79132b | 278 | |
2c26f8c6 JB |
279 | %{__make} soinstall \ |
280 | DESTDIR=$RPM_BUILD_ROOT \ | |
281 | docdir=%{_docdir}/%{name}-%{version} | |
282 | ||
283 | %{__make} install \ | |
d0535cb0 AM |
284 | DESTDIR=$RPM_BUILD_ROOT \ |
285 | docdir=%{_docdir}/%{name}-%{version} | |
8e79132b | 286 | |
a9cac4bf | 287 | %{__make} -C ijs install \ |
8e79132b | 288 | DESTDIR=$RPM_BUILD_ROOT |
8e79132b | 289 | |
2cd3d6be JR |
290 | cp -p base/gserrors.h $RPM_BUILD_ROOT%{_includedir}/ghostscript |
291 | ||
48379a65 JB |
292 | cp -p LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
293 | ||
45810145 | 294 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/*.sh \ |
6d1553a3 | 295 | $RPM_BUILD_ROOT%{_mandir}/man1/{ps2pdf1{2,3},eps2eps}.1 \ |
8b7d594e | 296 | $RPM_BUILD_ROOT%{_mandir}/de/man1/{ps2pdf1{2,3},eps2eps}.1 |
8e79132b | 297 | |
298 | echo ".so gs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ghostscript.1 | |
299 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf12.1 | |
300 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf13.1 | |
301 | echo ".so ps2ps.1" > $RPM_BUILD_ROOT%{_mandir}/man1/eps2eps.1 | |
302 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsbj.1 | |
303 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj.1 | |
304 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj500.1 | |
305 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gslj.1 | |
306 | ||
8b7d594e AM |
307 | echo ".so ps2ps.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/eps2eps.1 |
308 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf12.1 | |
309 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf13.1 | |
310 | ||
a9cac4bf | 311 | bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
4690f944 | 312 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.ghostscript-non-english-man-pages |
8e79132b | 313 | |
8e79132b | 314 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/gsc |
315 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/ghostscript | |
316 | ||
317 | %clean | |
318 | rm -rf $RPM_BUILD_ROOT | |
319 | ||
320 | %post -p /sbin/ldconfig | |
321 | %postun -p /sbin/ldconfig | |
322 | ||
74ce21d4 JB |
323 | %post ijs -p /sbin/ldconfig |
324 | %postun ijs -p /sbin/ldconfig | |
325 | ||
8e79132b | 326 | %files |
327 | %defattr(644,root,root,755) | |
6d1553a3 JB |
328 | %attr(755,root,root) %{_bindir}/dvipdf |
329 | %attr(755,root,root) %{_bindir}/eps2eps | |
790f5716 | 330 | %attr(755,root,root) %{_bindir}/ghostscript |
8e79132b | 331 | %attr(755,root,root) %{_bindir}/gs |
6d1553a3 JB |
332 | %attr(755,root,root) %{_bindir}/gsbj |
333 | %attr(755,root,root) %{_bindir}/gsc | |
334 | %attr(755,root,root) %{_bindir}/gsdj | |
335 | %attr(755,root,root) %{_bindir}/gsdj500 | |
336 | %attr(755,root,root) %{_bindir}/gslj | |
337 | %attr(755,root,root) %{_bindir}/gslp | |
338 | %attr(755,root,root) %{_bindir}/gsnd | |
6d1553a3 JB |
339 | %attr(755,root,root) %{_bindir}/pdf2dsc |
340 | %attr(755,root,root) %{_bindir}/pdf2ps | |
6d1553a3 JB |
341 | %attr(755,root,root) %{_bindir}/pf2afm |
342 | %attr(755,root,root) %{_bindir}/pfbtopfa | |
343 | %attr(755,root,root) %{_bindir}/printafm | |
344 | %attr(755,root,root) %{_bindir}/ps2ascii | |
345 | %attr(755,root,root) %{_bindir}/ps2epsi | |
346 | %attr(755,root,root) %{_bindir}/ps2pdf | |
347 | %attr(755,root,root) %{_bindir}/ps2pdf12 | |
348 | %attr(755,root,root) %{_bindir}/ps2pdf13 | |
349 | %attr(755,root,root) %{_bindir}/ps2pdf14 | |
350 | %attr(755,root,root) %{_bindir}/ps2pdfwr | |
351 | %attr(755,root,root) %{_bindir}/ps2ps | |
352 | %attr(755,root,root) %{_bindir}/ps2ps2 | |
507c785c | 353 | %attr(755,root,root) %{_bindir}/pphs |
8e79132b | 354 | %attr(755,root,root) %{_libdir}/libgs.so.*.* |
507c785c | 355 | %attr(755,root,root) %ghost %{_libdir}/libgs.so.9 |
9f441a61 | 356 | %dir %{_libdir}/%{name} |
6d1553a3 | 357 | %dir %{_libdir}/%{name}/%{version} |
9d77d33e | 358 | %dir %{_datadir}/%{name} |
9d77d33e | 359 | %dir %{_datadir}/%{name}/%{version} |
a959360d AM |
360 | %{_datadir}/%{name}/%{version}/Resource |
361 | %{_datadir}/%{name}/%{version}/iccprofiles | |
9d77d33e | 362 | %dir %{_datadir}/%{name}/%{version}/lib |
6d1553a3 JB |
363 | %{_datadir}/%{name}/%{version}/lib/*.ppd |
364 | %{_datadir}/%{name}/%{version}/lib/*.ps | |
365 | %{_datadir}/%{name}/%{version}/lib/*.rpd | |
6d1553a3 JB |
366 | %{_datadir}/%{name}/%{version}/lib/*.upp |
367 | %{_datadir}/%{name}/%{version}/lib/*.x[bp]m | |
6d1553a3 JB |
368 | %{_mandir}/man1/dvipdf.1* |
369 | %{_mandir}/man1/eps2eps.1* | |
6d1553a3 JB |
370 | %{_mandir}/man1/ghostscript.1* |
371 | %{_mandir}/man1/gs.1* | |
372 | %{_mandir}/man1/gsbj.1* | |
373 | %{_mandir}/man1/gsdj.1* | |
374 | %{_mandir}/man1/gsdj500.1* | |
375 | %{_mandir}/man1/gslj.1* | |
376 | %{_mandir}/man1/gslp.1* | |
377 | %{_mandir}/man1/gsnd.1* | |
378 | %{_mandir}/man1/pdf2dsc.1* | |
379 | %{_mandir}/man1/pdf2ps.1* | |
6d1553a3 JB |
380 | %{_mandir}/man1/pf2afm.1* |
381 | %{_mandir}/man1/pfbtopfa.1* | |
382 | %{_mandir}/man1/printafm.1* | |
383 | %{_mandir}/man1/ps2ascii.1* | |
384 | %{_mandir}/man1/ps2epsi.1* | |
385 | %{_mandir}/man1/ps2pdf.1* | |
386 | %{_mandir}/man1/ps2pdf12.1* | |
387 | %{_mandir}/man1/ps2pdf13.1* | |
df30ecb6 | 388 | %{_mandir}/man1/ps2pdf14.1* |
6d1553a3 JB |
389 | %{_mandir}/man1/ps2pdfwr.1* |
390 | %{_mandir}/man1/ps2ps.1* | |
6d1553a3 JB |
391 | %lang(cs) %{_mandir}/cs/man1/* |
392 | %lang(de) %{_mandir}/de/man1/* | |
393 | %lang(es) %{_mandir}/es/man1/* | |
394 | %lang(fr) %{_mandir}/fr/man1/* | |
395 | %lang(pl) %{_mandir}/pl/man1/* | |
8e79132b | 396 | |
8fc94595 | 397 | %files doc |
48379a65 | 398 | %defattr(644,root,root,755) |
8fc94595 ER |
399 | %doc %{_docdir}/%{name}-%{version} |
400 | ||
8e79132b | 401 | %if %{with gtk} |
402 | %files gtk | |
403 | %defattr(644,root,root,755) | |
404 | %attr(755,root,root) %{_bindir}/gsx | |
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) | |
8e79132b | 425 | %attr(755,root,root) %{_libdir}/libijs.so |
8e79132b | 426 | %{_libdir}/libijs.la |
c9ff1514 | 427 | %{_includedir}/ijs |
bafd8782 | 428 | %{_pkgconfigdir}/ijs.pc |
8e79132b | 429 | |
430 | %files ijs-static | |
431 | %defattr(644,root,root,755) | |
432 | %{_libdir}/libijs.a |