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