]>
Commit | Line | Data |
---|---|---|
8e79132b | 1 | # TODO: |
dd698c61 | 2 | # - tesseract OCR support (experimental) |
90556ff1 JB |
3 | # - add djvu driver: |
4 | # http://dl.sourceforge.net/djvu/gsdjvu-1.3.tar.gz (or newer) | |
8e79132b | 5 | # |
6 | # Conditional build: | |
dd698c61 JB |
7 | %bcond_without cairo # cairo support (disable for cairo bootstrap) |
8 | %bcond_without system_freetype # system freetype | |
9 | %bcond_without system_jbig2dec # system jbig2dec | |
10 | %bcond_with system_libjpeg # system libjpeg (incompatible with D_MAX_BLOCKS_IN_MCU=64 variant) | |
11 | %bcond_with system_libtiff # system libtiff (incompatible with modified libjpeg) | |
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 |
dd698c61 JB |
23 | Version: 9.53.1 |
24 | Release: 1 | |
56d1a6e0 | 25 | License: AGPL v3+ |
8e79132b | 26 | Group: Applications/Graphics |
d7fcaa57 | 27 | #Source0Download: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases |
dd698c61 JB |
28 | Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9531/%{name}-%{version}.tar.xz |
29 | # Source0-md5: 3052b8787050a5d33eb2c2e9c9723766 | |
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 |
9517a597 | 33 | Patch2: ijs-pkgconfig.patch |
5f617bb0 | 34 | |
b6094c96 | 35 | Patch6: %{name}-gdevcd8-fixes.patch |
5e14796c | 36 | Patch8: %{name}-zlib.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 |
76b6d161 | 51 | %{?with_system_freetype:BuildRequires: freetype-devel >= 1:2.10.1} |
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 |
dd698c61 | 60 | %{?with_system_libtiff:BuildRequires: libtiff-devel >= 4.1.0} |
8e79132b | 61 | BuildRequires: libtool |
62 | BuildRequires: pkgconfig | |
0411d6a2 | 63 | BuildRequires: tar >= 1:1.22 |
8e79132b | 64 | # for documentation regeneration |
d3103cc1 | 65 | %if %{with texdocs} |
8e79132b | 66 | BuildRequires: tetex |
67 | BuildRequires: tetex-dvips | |
d3103cc1 | 68 | %endif |
8a9bb238 | 69 | BuildRequires: xorg-lib-libX11-devel |
8e79132b | 70 | BuildRequires: xorg-lib-libXext-devel |
71 | BuildRequires: xorg-lib-libXt-devel | |
b33a8924 | 72 | BuildRequires: xz |
48379a65 | 73 | BuildRequires: zlib-devel >= 1.2.11 |
76b6d161 | 74 | %{?with_system_freetype:Requires: freetype >= 1:2.10.1} |
dd698c61 | 75 | %{?with_system_jbig2dec:Requires: jbig2dec >= 0.19} |
4690f944 | 76 | %{?with_system_lcms2:Requires: lcms2 >= 2.6} |
dd698c61 | 77 | %{?with_system_libjpeg:Requires: libjpeg >= 9c} |
76b6d161 | 78 | Requires: libpng >= 2:1.6.37 |
dd698c61 | 79 | %{?with_system_libtiff:Requires: libtiff >= 4.1.0} |
48379a65 | 80 | Requires: zlib >= 1.2.11 |
8e79132b | 81 | Obsoletes: ghostscript-afpl |
b925fe6f | 82 | Obsoletes: ghostscript-esp |
c43e239c | 83 | Obsoletes: ghostscript-gpl |
48379a65 | 84 | Obsoletes: ghostscript-svga |
8e79132b | 85 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
86 | ||
747dc7d6 AM |
87 | %define _ulibdir %{_prefix}/lib |
88 | ||
8e79132b | 89 | %description |
c1dd3860 ER |
90 | cos nGhostscript is a PostScript interpreter. It can render both |
91 | PostScript and PDF compliant files to devices which include an X | |
92 | window, many printer formats (including support for color printers), | |
93 | and popular graphics file formats. | |
8e79132b | 94 | |
9a147310 | 95 | %description -l de.UTF-8 |
8e79132b | 96 | Ghostscipt ist ein PostScript-Interpretierer. Er kann sowohl |
9a147310 JR |
97 | PostScript als auch PDF-konforme Dateien an Geräte ausgeben, zu denen |
98 | ein X-Fenster, viele Druckerformate (einschließlich Support für | |
99 | Farbdrucker) und gängige Grafikdateiformate zählen. | |
8e79132b | 100 | |
9a147310 JR |
101 | %description -l fr.UTF-8 |
102 | Ghostscript est un interpréteur PostScript. Il peut rendre des | |
103 | fichiers PostScript ou PDF sur des périphériques dont une fenêtre X,de | |
8e79132b | 104 | nombreux types d'imprimantes (dont un support pour imprimantes |
105 | couleur), et des formats de fichiers graphiques populaires. | |
106 | ||
9a147310 | 107 | %description -l ja.UTF-8 |
c43e239c AM |
108 | Ghostscript は PostScript インタープリタです。ポストスクリプトと PDF をレンダリングし、X window |
109 | や他のプリンタフォーマットで出力 します。このパッケージは日本語対応しています。 | |
8e79132b | 110 | |
9a147310 JR |
111 | %description -l pl.UTF-8 |
112 | Ghostcript jest interpreterem PostScriptu, języka używanego do opisu | |
113 | formatu dokumentu. Ghostscript potrafi przetworzyć dokument w formacie | |
114 | PostScript i PDF na szereg postaci wyjściowych: drukarki (włączając | |
8e79132b | 115 | kolorowe), okno X-Window i popularne formaty graficzne. |
116 | ||
9a147310 JR |
117 | %description -l tr.UTF-8 |
118 | GhostScript, PostScript ve PDF uyumlu dosyaları, X penceresinde | |
119 | gösterebilir ve birçok yazıcının (renkli yazıcılar dahil) basabileceği | |
120 | biçime getirebilir. | |
8e79132b | 121 | |
122 | %package gtk | |
123 | Summary: Ghostscript with GTK+ console | |
6d9b3c9a | 124 | Summary(pl.UTF-8): Ghostscript z konsolą GTK+ |
8e79132b | 125 | Group: Applications/Graphics |
126 | Requires: %{name} = %{version}-%{release} | |
127 | Obsoletes: ghostscript-afpl-gtk | |
b925fe6f | 128 | Obsoletes: ghostscript-esp-gtk |
c43e239c | 129 | Obsoletes: ghostscript-gpl-gtk |
8e79132b | 130 | |
131 | %description gtk | |
132 | Ghostscript with GTK+ console. | |
133 | ||
9a147310 JR |
134 | %description gtk -l pl.UTF-8 |
135 | Ghostscript z konsolą GTK+. | |
8e79132b | 136 | |
d9a2ef39 JB |
137 | %package x11 |
138 | Summary: X Window System drivers for Ghostscript | |
139 | Summary(pl.UTF-8): Sterowniki systemu X Window dla Ghostscripta | |
140 | Group: Applications/Graphics | |
141 | Requires: %{name} = %{version}-%{release} | |
142 | ||
143 | %description x11 | |
144 | X Window System output drivers for Ghostscript: x11, x11alpha. | |
145 | ||
146 | %description x11 -l pl.UTF-8 | |
147 | Sterowniki wyjściowe systemu X Window dla Ghostscripta: x11, x11alpha. | |
148 | ||
8e79132b | 149 | %package devel |
150 | Summary: libgs header files | |
6d9b3c9a | 151 | Summary(pl.UTF-8): Pliki nagłówkowe libgs |
8e79132b | 152 | Group: Development/Libraries |
153 | Requires: %{name} = %{version}-%{release} | |
154 | Obsoletes: ghostscript-afpl-devel | |
b925fe6f | 155 | Obsoletes: ghostscript-esp-devel |
8e79132b | 156 | |
157 | %description devel | |
158 | Header files for libgs - ghostscript shared library. | |
159 | ||
9a147310 JR |
160 | %description devel -l pl.UTF-8 |
161 | Pliki nagłówkowe libgs - współdzielonej biblioteki ghostscript. | |
8e79132b | 162 | |
8fc94595 ER |
163 | %package doc |
164 | Summary: Documentation for ghostscript | |
165 | Group: Documentation | |
166 | %if "%{_rpmversion}" >= "5" | |
167 | BuildArch: noarch | |
168 | %endif | |
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} |
8e79132b | 191 | Obsoletes: ghostscript-afpl-ijs-devel |
b925fe6f | 192 | Obsoletes: ghostscript-esp-ijs-devel |
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} | |
205 | Obsoletes: ghostscript-afpl-ijs-static | |
b925fe6f | 206 | Obsoletes: ghostscript-esp-ijs-static |
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 |
9517a597 | 217 | %patch2 -p1 |
507c785c | 218 | |
b6094c96 | 219 | %patch6 -p1 |
5e14796c | 220 | %patch8 -p1 |
a959360d AM |
221 | |
222 | %patch20 -p1 | |
df30ecb6 | 223 | |
a959360d | 224 | %patch28 -p1 |
8e79132b | 225 | |
226 | %build | |
4690f944 | 227 | # use system libs: |
76b6d161 | 228 | # freetype 2.10.1 |
4690f944 | 229 | %{?with_system_freetype:%{__rm} -r freetype} |
dd698c61 | 230 | # jbig2dec 0.19 |
4690f944 | 231 | %{?with_system_jbig2dec:%{__rm} -r jbig2dec} |
76b6d161 | 232 | # (unmodified) libpng 1.6.37 and zlib 1.2.11 |
63b7a1d0 | 233 | %{__rm} -r libpng zlib |
48379a65 | 234 | # libjpeg (9c without CLAMP_DC fixes) is built with different configuration (D_MAX_BLOCKS_IN_MCU=64) |
dd698c61 | 235 | %{?with_system_libjpeg:%{__rm} -r jpeg} |
76b6d161 | 236 | # openjpeg is 2.3.1 + few custom fixes; stick to bundled for now |
a7f5e963 AM |
237 | # lcms2mt is thread safe version of lcms2 |
238 | %{?with_system_lcms2:%{__rm} -r lcms2mt} | |
8e79132b | 239 | %{__aclocal} |
240 | %{__autoconf} | |
8e79132b | 241 | %configure \ |
166e21a6 | 242 | CFLAGS="%{rpmcflags} -DA4" \ |
3f3e6ccf | 243 | %{!?with_cairo:--disable-cairo} \ |
a959360d | 244 | --disable-compile-inits \ |
42087de6 | 245 | --enable-dynamic \ |
48379a65 | 246 | --with-drivers=ALL \ |
8e79132b | 247 | --with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \ |
248 | --with-ijs \ | |
249 | --with-jbig2dec \ | |
42087de6 | 250 | --with-pdftoraster \ |
dd698c61 | 251 | %{?with_system_libtiff:--with-system-libtiff} \ |
42087de6 | 252 | --with-x |
8e79132b | 253 | |
254 | cd ijs | |
255 | %{__libtoolize} | |
256 | %{__aclocal} | |
257 | %{__autoconf} | |
258 | %{__automake} | |
259 | %configure \ | |
260 | --enable-shared | |
c6b77105 | 261 | %{__make} |
8e79132b | 262 | cd .. |
263 | ||
166e21a6 | 264 | %{__make} -j1 so \ |
c1dd3860 | 265 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 266 | |
166e21a6 | 267 | %{__make} -j1 \ |
c1dd3860 | 268 | docdir=%{_docdir}/%{name}-%{version} |
8e79132b | 269 | |
270 | %install | |
271 | rm -rf $RPM_BUILD_ROOT | |
8e79132b | 272 | |
2c26f8c6 JB |
273 | %{__make} soinstall \ |
274 | DESTDIR=$RPM_BUILD_ROOT \ | |
275 | docdir=%{_docdir}/%{name}-%{version} | |
276 | ||
277 | %{__make} install \ | |
d0535cb0 AM |
278 | DESTDIR=$RPM_BUILD_ROOT \ |
279 | docdir=%{_docdir}/%{name}-%{version} | |
8e79132b | 280 | |
a9cac4bf | 281 | %{__make} -C ijs install \ |
8e79132b | 282 | DESTDIR=$RPM_BUILD_ROOT |
8e79132b | 283 | |
2cd3d6be JR |
284 | cp -p base/gserrors.h $RPM_BUILD_ROOT%{_includedir}/ghostscript |
285 | ||
48379a65 JB |
286 | cp -p LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
287 | ||
45810145 | 288 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/*.sh \ |
6d1553a3 | 289 | $RPM_BUILD_ROOT%{_mandir}/man1/{ps2pdf1{2,3},eps2eps}.1 \ |
8b7d594e | 290 | $RPM_BUILD_ROOT%{_mandir}/de/man1/{ps2pdf1{2,3},eps2eps}.1 |
8e79132b | 291 | |
292 | echo ".so gs.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ghostscript.1 | |
293 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf12.1 | |
294 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ps2pdf13.1 | |
295 | echo ".so ps2ps.1" > $RPM_BUILD_ROOT%{_mandir}/man1/eps2eps.1 | |
296 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsbj.1 | |
297 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj.1 | |
298 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gsdj500.1 | |
299 | echo ".so gslp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/gslj.1 | |
300 | ||
8b7d594e AM |
301 | echo ".so ps2ps.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/eps2eps.1 |
302 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf12.1 | |
303 | echo ".so ps2pdf.1" > $RPM_BUILD_ROOT%{_mandir}/de/man1/ps2pdf13.1 | |
304 | ||
a9cac4bf | 305 | bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
4690f944 | 306 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.ghostscript-non-english-man-pages |
8e79132b | 307 | |
8e79132b | 308 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/gsc |
309 | ln -sf gs $RPM_BUILD_ROOT%{_bindir}/ghostscript | |
310 | ||
311 | %clean | |
312 | rm -rf $RPM_BUILD_ROOT | |
313 | ||
314 | %post -p /sbin/ldconfig | |
315 | %postun -p /sbin/ldconfig | |
316 | ||
74ce21d4 JB |
317 | %post ijs -p /sbin/ldconfig |
318 | %postun ijs -p /sbin/ldconfig | |
319 | ||
8e79132b | 320 | %files |
321 | %defattr(644,root,root,755) | |
6d1553a3 JB |
322 | %attr(755,root,root) %{_bindir}/dvipdf |
323 | %attr(755,root,root) %{_bindir}/eps2eps | |
790f5716 | 324 | %attr(755,root,root) %{_bindir}/ghostscript |
8e79132b | 325 | %attr(755,root,root) %{_bindir}/gs |
6d1553a3 JB |
326 | %attr(755,root,root) %{_bindir}/gsbj |
327 | %attr(755,root,root) %{_bindir}/gsc | |
328 | %attr(755,root,root) %{_bindir}/gsdj | |
329 | %attr(755,root,root) %{_bindir}/gsdj500 | |
330 | %attr(755,root,root) %{_bindir}/gslj | |
331 | %attr(755,root,root) %{_bindir}/gslp | |
332 | %attr(755,root,root) %{_bindir}/gsnd | |
6d1553a3 JB |
333 | %attr(755,root,root) %{_bindir}/pdf2dsc |
334 | %attr(755,root,root) %{_bindir}/pdf2ps | |
6d1553a3 JB |
335 | %attr(755,root,root) %{_bindir}/pf2afm |
336 | %attr(755,root,root) %{_bindir}/pfbtopfa | |
337 | %attr(755,root,root) %{_bindir}/printafm | |
338 | %attr(755,root,root) %{_bindir}/ps2ascii | |
339 | %attr(755,root,root) %{_bindir}/ps2epsi | |
340 | %attr(755,root,root) %{_bindir}/ps2pdf | |
341 | %attr(755,root,root) %{_bindir}/ps2pdf12 | |
342 | %attr(755,root,root) %{_bindir}/ps2pdf13 | |
343 | %attr(755,root,root) %{_bindir}/ps2pdf14 | |
344 | %attr(755,root,root) %{_bindir}/ps2pdfwr | |
345 | %attr(755,root,root) %{_bindir}/ps2ps | |
346 | %attr(755,root,root) %{_bindir}/ps2ps2 | |
507c785c | 347 | %attr(755,root,root) %{_bindir}/pphs |
8e79132b | 348 | %attr(755,root,root) %{_libdir}/libgs.so.*.* |
507c785c | 349 | %attr(755,root,root) %ghost %{_libdir}/libgs.so.9 |
9f441a61 | 350 | %dir %{_libdir}/%{name} |
6d1553a3 | 351 | %dir %{_libdir}/%{name}/%{version} |
9d77d33e | 352 | %dir %{_datadir}/%{name} |
9d77d33e | 353 | %dir %{_datadir}/%{name}/%{version} |
a959360d AM |
354 | %{_datadir}/%{name}/%{version}/Resource |
355 | %{_datadir}/%{name}/%{version}/iccprofiles | |
9d77d33e | 356 | %dir %{_datadir}/%{name}/%{version}/lib |
6d1553a3 JB |
357 | %{_datadir}/%{name}/%{version}/lib/*.ppd |
358 | %{_datadir}/%{name}/%{version}/lib/*.ps | |
359 | %{_datadir}/%{name}/%{version}/lib/*.rpd | |
6d1553a3 JB |
360 | %{_datadir}/%{name}/%{version}/lib/*.upp |
361 | %{_datadir}/%{name}/%{version}/lib/*.x[bp]m | |
6d1553a3 JB |
362 | %{_mandir}/man1/dvipdf.1* |
363 | %{_mandir}/man1/eps2eps.1* | |
6d1553a3 JB |
364 | %{_mandir}/man1/ghostscript.1* |
365 | %{_mandir}/man1/gs.1* | |
366 | %{_mandir}/man1/gsbj.1* | |
367 | %{_mandir}/man1/gsdj.1* | |
368 | %{_mandir}/man1/gsdj500.1* | |
369 | %{_mandir}/man1/gslj.1* | |
370 | %{_mandir}/man1/gslp.1* | |
371 | %{_mandir}/man1/gsnd.1* | |
372 | %{_mandir}/man1/pdf2dsc.1* | |
373 | %{_mandir}/man1/pdf2ps.1* | |
6d1553a3 JB |
374 | %{_mandir}/man1/pf2afm.1* |
375 | %{_mandir}/man1/pfbtopfa.1* | |
376 | %{_mandir}/man1/printafm.1* | |
377 | %{_mandir}/man1/ps2ascii.1* | |
378 | %{_mandir}/man1/ps2epsi.1* | |
379 | %{_mandir}/man1/ps2pdf.1* | |
380 | %{_mandir}/man1/ps2pdf12.1* | |
381 | %{_mandir}/man1/ps2pdf13.1* | |
df30ecb6 | 382 | %{_mandir}/man1/ps2pdf14.1* |
6d1553a3 JB |
383 | %{_mandir}/man1/ps2pdfwr.1* |
384 | %{_mandir}/man1/ps2ps.1* | |
6d1553a3 JB |
385 | %lang(cs) %{_mandir}/cs/man1/* |
386 | %lang(de) %{_mandir}/de/man1/* | |
387 | %lang(es) %{_mandir}/es/man1/* | |
388 | %lang(fr) %{_mandir}/fr/man1/* | |
389 | %lang(pl) %{_mandir}/pl/man1/* | |
8e79132b | 390 | |
8fc94595 | 391 | %files doc |
48379a65 | 392 | %defattr(644,root,root,755) |
8fc94595 ER |
393 | %doc %{_docdir}/%{name}-%{version} |
394 | ||
8e79132b | 395 | %if %{with gtk} |
396 | %files gtk | |
397 | %defattr(644,root,root,755) | |
398 | %attr(755,root,root) %{_bindir}/gsx | |
399 | %endif | |
400 | ||
d9a2ef39 JB |
401 | %files x11 |
402 | %defattr(644,root,root,755) | |
403 | %attr(755,root,root) %{_libdir}/%{name}/%{version}/X11.so | |
404 | ||
8e79132b | 405 | %files devel |
406 | %defattr(644,root,root,755) | |
8e79132b | 407 | %attr(755,root,root) %{_libdir}/libgs.so |
2940958e | 408 | %{_includedir}/ghostscript |
8e79132b | 409 | |
74ce21d4 JB |
410 | %files ijs |
411 | %defattr(644,root,root,755) | |
412 | %doc ijs/README | |
413 | %attr(755,root,root) %{_bindir}/ijs_client_example | |
414 | %attr(755,root,root) %{_bindir}/ijs_server_example | |
415 | %attr(755,root,root) %{_libdir}/libijs-*.so | |
416 | ||
8e79132b | 417 | %files ijs-devel |
418 | %defattr(644,root,root,755) | |
8e79132b | 419 | %attr(755,root,root) %{_libdir}/libijs.so |
8e79132b | 420 | %{_libdir}/libijs.la |
c9ff1514 | 421 | %{_includedir}/ijs |
bafd8782 | 422 | %{_pkgconfigdir}/ijs.pc |
8e79132b | 423 | |
424 | %files ijs-static | |
425 | %defattr(644,root,root,755) | |
426 | %{_libdir}/libijs.a |