]>
Commit | Line | Data |
---|---|---|
59f6d029 | 1 | # |
708b49cb | 2 | # Conditional build: |
8d5d1be9 | 3 | %bcond_without apidocs # disable gtk-doc |
7122799d | 4 | %bcond_without cairo # disable Cairo backend |
59f6d029 | 5 | %bcond_without qt4 # disable qt4 wrapper |
bc4f318c | 6 | %bcond_without qt5 # disable qt5 wrapper |
931ab1e2 | 7 | %bcond_without cpp # disable cpp wrapper |
cfe3ca2f | 8 | %bcond_without glib # disable glib wrapper |
d735c4a7 | 9 | |
a6475984 | 10 | %define cairo_ver 1.10.0 |
9e116569 | 11 | Summary: PDF rendering library |
ef9a130a | 12 | Summary(pl.UTF-8): Biblioteka renderująca PDF |
9e116569 | 13 | Name: poppler |
550e33ca | 14 | Version: 0.43.0 |
1939ef98 | 15 | Release: 1 |
434ea14d | 16 | License: GPL v2+ |
9e116569 | 17 | Group: Libraries |
c32fd9f2 | 18 | Source0: https://poppler.freedesktop.org/%{name}-%{version}.tar.xz |
550e33ca | 19 | # Source0-md5: 1d2b001663119855cdfbc0713dbfb9c6 |
bc4f318c | 20 | Patch0: %{name}-qt5.patch |
c32fd9f2 | 21 | URL: https://poppler.freedesktop.org/ |
bc4f318c JB |
22 | %{?with_qt5:BuildRequires: Qt5Core-devel >= 5.0.0} |
23 | %{?with_qt5:BuildRequires: Qt5Gui-devel >= 5.0.0} | |
24 | %{?with_qt5:BuildRequires: Qt5Test-devel >= 5.0.0} | |
25 | %{?with_qt5:BuildRequires: Qt5Widgets-devel >= 5.0.0} | |
26 | %{?with_qt5:BuildRequires: Qt5Xml-devel >= 5.0.0} | |
e3b47519 JP |
27 | %{?with_qt4:BuildRequires: QtCore-devel >= 4.7.0} |
28 | %{?with_qt4:BuildRequires: QtGui-devel >= 4.7.0} | |
29 | %{?with_qt4:BuildRequires: QtTest-devel >= 4.7.0} | |
30 | %{?with_qt4:BuildRequires: QtXml-devel >= 4.7.0} | |
7e0143fb | 31 | BuildRequires: autoconf >= 2.59 |
3d571130 | 32 | BuildRequires: automake >= 1:1.7 |
e2a6dd23 | 33 | %{?with_cairo:BuildRequires: cairo-devel >= %{cairo_ver}} |
bd2cd4db | 34 | BuildRequires: curl-devel |
ea3f193d | 35 | BuildRequires: docbook-dtd412-xml |
d84a04fd | 36 | BuildRequires: fontconfig-devel >= 2.0.0 |
708b49cb | 37 | BuildRequires: freetype-devel >= 2.0 |
9499f754 | 38 | BuildRequires: gettext-tools |
161e58e8 | 39 | %{?with_glib:BuildRequires: glib2-devel >= 1:2.18.0} |
a6475984 JB |
40 | BuildRequires: gobject-introspection-devel >= 0.6.7 |
41 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.14} | |
3d571130 | 42 | BuildRequires: lcms2-devel >= 2 |
9e1eea06 | 43 | BuildRequires: libjpeg-devel |
d9c2dc15 | 44 | BuildRequires: libpng-devel |
708b49cb | 45 | BuildRequires: libstdc++-devel |
d9c2dc15 | 46 | BuildRequires: libtiff-devel |
7e0143fb | 47 | BuildRequires: libtool >= 2:1.5 |
9148ca80 | 48 | BuildRequires: libxml2-devel >= 2.0 |
c32fd9f2 JB |
49 | BuildRequires: nss-devel >= 3 |
50 | # or openjpeg2-devel >= 2 with --enable-libopenjpeg=openjpeg2 | |
5ee7d9e8 | 51 | BuildRequires: openjpeg-devel >= 1.5 |
a6475984 | 52 | BuildRequires: pkgconfig >= 1:0.18 |
5ee7d9e8 JB |
53 | # wanted cairo backends |
54 | BuildRequires: pkgconfig(cairo-pdf) >= %{cairo_ver} | |
55 | BuildRequires: pkgconfig(cairo-ps) >= %{cairo_ver} | |
56 | BuildRequires: pkgconfig(cairo-svg) >= %{cairo_ver} | |
bc4f318c JB |
57 | %{?with_qt4:BuildRequires: qt4-build >= 4.4.0} |
58 | %{?with_qt5:BuildRequires: qt5-build >= 5.0.0} | |
21021625 | 59 | BuildRequires: sed >= 4.0 |
75fd4c8d | 60 | BuildRequires: tar >= 1:1.22 |
d735c4a7 | 61 | BuildRequires: which |
75fd4c8d | 62 | BuildRequires: xz |
bf5184f7 | 63 | BuildRequires: zlib-devel |
5ee7d9e8 | 64 | Requires: openjpeg >= 1.5 |
9e116569 | 65 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
66 | ||
67 | %description | |
256ec317 | 68 | A common PDF rendering library for integrating PDF viewing into |
69 | desktop applications (based on the xpdf-3.0 code base). | |
9e116569 | 70 | |
4d968103 JR |
71 | %description -l pl.UTF-8 |
72 | Wspólna biblioteka renderująca PDF do integrowania oglądania PDF w | |
943507a4 JB |
73 | aplikacjach desktopowych (oparta na kodzie xpdf-3.0). |
74 | ||
9e116569 | 75 | %package devel |
943507a4 | 76 | Summary: Poppler header files |
ef9a130a | 77 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Poppler |
9e116569 | 78 | Group: Development/Libraries |
79 | Requires: %{name} = %{version}-%{release} | |
d9c2dc15 | 80 | Requires: curl-devel |
3d571130 | 81 | Requires: lcms2-devel >= 2 |
708b49cb | 82 | Requires: libstdc++-devel |
c32fd9f2 | 83 | Requires: nss-devel >= 3 |
9e116569 | 84 | |
85 | %description devel | |
943507a4 JB |
86 | Header files for the Poppler library. |
87 | ||
4d968103 JR |
88 | %description devel -l pl.UTF-8 |
89 | Pliki nagłówkowe biblioteki Poppler. | |
9e116569 | 90 | |
91 | %package static | |
92 | Summary: Poppler static libraries | |
ef9a130a | 93 | Summary(pl.UTF-8): Statyczne biblioteki Poppler |
9e116569 | 94 | Group: Development/Libraries |
95 | Requires: %{name}-devel = %{version}-%{release} | |
96 | ||
97 | %description static | |
98 | Poppler static libraries. | |
99 | ||
4d968103 | 100 | %description static -l pl.UTF-8 |
943507a4 JB |
101 | Statyczne biblioteki Poppler. |
102 | ||
356581a6 MB |
103 | %package apidocs |
104 | Summary: Poppler library API documentation | |
105 | Summary(pl.UTF-8): Dokumentacja API biblioteki Poppler | |
106 | Group: Documentation | |
107 | Requires: gtk-doc-common | |
d735c4a7 ER |
108 | %if "%{_rpmversion}" >= "5" |
109 | BuildArch: noarch | |
110 | %endif | |
356581a6 MB |
111 | |
112 | %description apidocs | |
113 | Poppler library API documentation. | |
114 | ||
115 | %description apidocs -l pl.UTF-8 | |
116 | Dokumentacja API biblioteki Poppler. | |
117 | ||
931ab1e2 | 118 | %package cpp |
119 | Summary: Cpp wrapper for poppler | |
120 | Summary(pl.UTF-8): Wrapper cpp dla popplera | |
121 | Group: Libraries | |
122 | Requires: %{name} = %{version}-%{release} | |
123 | ||
124 | %description cpp | |
125 | Cpp wrapper for poppler. | |
126 | ||
127 | %description cpp -l pl.UTF-8 | |
128 | Wrapper cpp dla popplera. | |
129 | ||
130 | %package cpp-devel | |
131 | Summary: Header files for cpp wrapper for poppler | |
132 | Summary(pl.UTF-8): Pliki nagłówkowe wrappera cpp dla popplera | |
133 | Group: Development/Libraries | |
134 | Requires: %{name}-cpp = %{version}-%{release} | |
135 | Requires: %{name}-devel = %{version}-%{release} | |
136 | ||
137 | %description cpp-devel | |
138 | Header files for cpp wrapper for poppler. | |
139 | ||
140 | %description cpp-devel -l pl.UTF-8 | |
141 | Pliki nagłówkowe wrappera cpp dla popplera. | |
142 | ||
143 | %package cpp-static | |
144 | Summary: Static version of cpp wrapper for poppler | |
145 | Summary(pl.UTF-8): Statyczna wersja wrappera cpp dla popplera | |
146 | Group: Development/Libraries | |
147 | Requires: %{name}-cpp-devel = %{version}-%{release} | |
148 | ||
149 | %description cpp-static | |
150 | Static version of cpp wrapper for poppler. | |
151 | ||
152 | %description cpp-static -l pl.UTF-8 | |
153 | Statyczna wersja wrappera cpp dla popplera. | |
154 | ||
c858408d JB |
155 | %package glib |
156 | Summary: GLib wrapper for poppler | |
ef9a130a | 157 | Summary(pl.UTF-8): Wrapper GLib dla popplera |
c858408d JB |
158 | Group: Libraries |
159 | Requires: %{name} = %{version}-%{release} | |
59f6d029 | 160 | %{?with_cairo:Requires: cairo >= %{cairo_ver}} |
d84a04fd | 161 | Requires: glib2 >= 1:2.18.0 |
c858408d JB |
162 | |
163 | %description glib | |
164 | GLib wrapper for poppler. | |
165 | ||
4d968103 | 166 | %description glib -l pl.UTF-8 |
c858408d JB |
167 | Wrapper GLib dla popplera. |
168 | ||
169 | %package glib-devel | |
170 | Summary: Header files for GLib wrapper for poppler | |
ef9a130a | 171 | Summary(pl.UTF-8): Pliki nagłówkowe wrappera GLib dla popplera |
c858408d JB |
172 | Group: Development/Libraries |
173 | Requires: %{name}-devel = %{version}-%{release} | |
174 | Requires: %{name}-glib = %{version}-%{release} | |
59f6d029 | 175 | %{?with_cairo:Requires: cairo-devel >= %{cairo_ver}} |
d84a04fd | 176 | Requires: glib2-devel >= 1:2.18.0 |
c858408d JB |
177 | |
178 | %description glib-devel | |
179 | Header files for GLib wrapper for poppler. | |
180 | ||
4d968103 JR |
181 | %description glib-devel -l pl.UTF-8 |
182 | Pliki nagłówkowe wrappera GLib dla popplera. | |
c858408d JB |
183 | |
184 | %package glib-static | |
185 | Summary: Static version of GLib wrapper for poppler | |
ef9a130a | 186 | Summary(pl.UTF-8): Statyczna wersja wrappera GLib dla popplera |
c858408d JB |
187 | Group: Development/Libraries |
188 | Requires: %{name}-glib-devel = %{version}-%{release} | |
189 | ||
190 | %description glib-static | |
191 | Static version of GLib wrapper for poppler. | |
192 | ||
4d968103 | 193 | %description glib-static -l pl.UTF-8 |
c858408d JB |
194 | Statyczna wersja wrappera GLib dla popplera. |
195 | ||
bc4f318c | 196 | %package qt4 |
3ed2c139 | 197 | Summary: Qt4 wrapper for poppler |
ef9a130a | 198 | Summary(pl.UTF-8): Wrapper Qt4 dla popplera |
3ed2c139 PS |
199 | Group: Libraries |
200 | Requires: %{name} = %{version}-%{release} | |
bc4f318c | 201 | Requires: QtCore >= 4.4.0 |
d84a04fd JB |
202 | Requires: QtGui >= 4.4.0 |
203 | Requires: QtXml >= 4.4.0 | |
bc4f318c JB |
204 | Provides: poppler-Qt = %{version}-%{release} |
205 | Obsoletes: poppler-Qt < 0.24.4-2 | |
d9c2dc15 | 206 | Obsoletes: poppler-qt |
3ed2c139 | 207 | |
bc4f318c | 208 | %description qt4 |
3ed2c139 PS |
209 | Qt4 wrapper for poppler. |
210 | ||
bc4f318c | 211 | %description qt4 -l pl.UTF-8 |
3ed2c139 PS |
212 | Wrapper Qt4 dla popplera. |
213 | ||
bc4f318c | 214 | %package qt4-devel |
3ed2c139 | 215 | Summary: Header files for Qt4 wrapper for poppler |
ef9a130a | 216 | Summary(pl.UTF-8): Pliki nagłówkowe wrappera Qt4 dla popplera |
3ed2c139 | 217 | Group: Development/Libraries |
9148ca80 | 218 | Requires: %{name}-devel = %{version}-%{release} |
d735c4a7 | 219 | Requires: %{name}-qt4 = %{version}-%{release} |
bc4f318c | 220 | Requires: QtCore-devel >= 4.4.0 |
d84a04fd JB |
221 | Requires: QtGui-devel >= 4.4.0 |
222 | Requires: QtXml-devel >= 4.4.0 | |
bc4f318c JB |
223 | Provides: poppler-Qt-devel = %{version}-%{release} |
224 | Obsoletes: poppler-Qt-devel < 0.24.4-2 | |
d9c2dc15 | 225 | Obsoletes: poppler-qt-devel |
3ed2c139 | 226 | |
bc4f318c | 227 | %description qt4-devel |
3ed2c139 PS |
228 | Header files for Qt4 wrapper for poppler. |
229 | ||
bc4f318c | 230 | %description qt4-devel -l pl.UTF-8 |
4d968103 | 231 | Pliki nagłówkowe wrapper Qt4 dla popplera. |
3ed2c139 | 232 | |
bc4f318c | 233 | %package qt4-static |
3ed2c139 | 234 | Summary: Static version of Qt4 wrapper for poppler |
ef9a130a | 235 | Summary(pl.UTF-8): Statyczna wersja wrappera Qt4 dla popplera |
3ed2c139 | 236 | Group: Development/Libraries |
bc4f318c JB |
237 | Requires: %{name}-qt4-devel = %{version}-%{release} |
238 | Provides: poppler-Qt-static = %{version}-%{release} | |
239 | Obsoletes: poppler-Qt-static < 0.24.4-2 | |
d9c2dc15 | 240 | Obsoletes: poppler-qt-static |
3ed2c139 | 241 | |
bc4f318c | 242 | %description qt4-static |
3ed2c139 PS |
243 | Static version of Qt4 wrapper for poppler. |
244 | ||
bc4f318c | 245 | %description qt4-static -l pl.UTF-8 |
3ed2c139 PS |
246 | Statyczna wersja wrappera Qt4 dla popplera. |
247 | ||
bc4f318c JB |
248 | %package qt5 |
249 | Summary: Qt5 wrapper for poppler | |
250 | Summary(pl.UTF-8): Wrapper Qt5 dla popplera | |
251 | Group: Libraries | |
252 | Requires: %{name} = %{version}-%{release} | |
253 | ||
254 | %description qt5 | |
255 | Qt5 wrapper for poppler. | |
256 | ||
257 | %description qt5 -l pl.UTF-8 | |
258 | Wrapper Qt5 dla popplera. | |
259 | ||
260 | %package qt5-devel | |
261 | Summary: Header files for Qt5 wrapper for poppler | |
262 | Summary(pl.UTF-8): Pliki nagłówkowe wrappera Qt5 dla popplera | |
263 | Group: Development/Libraries | |
bc4f318c | 264 | Requires: %{name}-devel = %{version}-%{release} |
d735c4a7 | 265 | Requires: %{name}-qt5 = %{version}-%{release} |
bc4f318c JB |
266 | Requires: Qt5Core-devel >= 5.0.0 |
267 | Requires: Qt5Gui-devel >= 5.0.0 | |
268 | Requires: Qt5Widgets-devel >= 5.0.0 | |
269 | Requires: Qt5Xml-devel >= 5.0.0 | |
270 | ||
271 | %description qt5-devel | |
272 | Header files for Qt5 wrapper for poppler. | |
273 | ||
274 | %description qt5-devel -l pl.UTF-8 | |
275 | Pliki nagłówkowe wrapper Qt5 dla popplera. | |
276 | ||
277 | %package qt5-static | |
278 | Summary: Static version of Qt5 wrapper for poppler | |
279 | Summary(pl.UTF-8): Statyczna wersja wrappera Qt5 dla popplera | |
280 | Group: Development/Libraries | |
281 | Requires: %{name}-qt5-devel = %{version}-%{release} | |
282 | ||
283 | %description qt5-static | |
284 | Static version of Qt5 wrapper for poppler. | |
285 | ||
286 | %description qt5-static -l pl.UTF-8 | |
287 | Statyczna wersja wrappera Qt5 dla popplera. | |
288 | ||
3085c5f7 | 289 | %package progs |
6d515f80 | 290 | Summary: Set of tools for viewing information and converting PDF files |
ef9a130a | 291 | Summary(pl.UTF-8): Zestaw narzędzi do wyświetlania informacji i konwertowania plików PDF |
6d515f80 | 292 | Group: Applications/Publishing |
6d515f80 | 293 | Provides: pdftops |
294 | Obsoletes: pdftohtml | |
295 | Obsoletes: pdftohtml-pdftops | |
5ba7dac4 | 296 | Obsoletes: poppler-utils |
9148ca80 | 297 | Obsoletes: xpdf-tools |
6d515f80 | 298 | |
3085c5f7 | 299 | %description progs |
4be74f1d | 300 | Package contains utilites for PDF files. These utilities allow to |
bd2cd4db TP |
301 | - extract information about PDF files, |
302 | - extract images from PDF files, | |
303 | - convert PDF files to HTML, plain text and PS formats. | |
6d515f80 | 304 | |
4d968103 | 305 | %description progs -l pl.UTF-8 |
9117833e | 306 | Pakiet zawiera zestaw narzędzi do plików PDF. Programy te umożliwiają |
bd2cd4db TP |
307 | - wyświetlanie informacji o plikach PDF, |
308 | - wydobywanie obrazków z plików PDF, | |
2ddaee26 | 309 | - konwersję plików PDF do formatów takich jak HTML, PS czy też |
bd2cd4db | 310 | czystego tekstu. |
6d515f80 | 311 | |
9e116569 | 312 | %prep |
313 | %setup -q | |
bc4f318c | 314 | %patch0 -p1 |
59f6d029 | 315 | |
9e116569 | 316 | %build |
13fe12a3 | 317 | %{?with_apidocs:%{__gtkdocize}} |
7e0143fb | 318 | %{__libtoolize} |
6d515f80 | 319 | %{__aclocal} -I m4 |
b9e0e47d | 320 | %{__autoconf} -f |
7e0143fb JB |
321 | %{__autoheader} |
322 | %{__automake} | |
943507a4 | 323 | %configure \ |
c1800e6e | 324 | MOCQT4=/usr/bin/moc-qt4 \ |
bc4f318c | 325 | MOCQT5=/usr/bin/moc-qt5 \ |
5b64d6c1 | 326 | --disable-gtk-test \ |
bd2cd4db TP |
327 | --enable-libcurl \ |
328 | %{?with_apidocs:--enable-gtk-doc} \ | |
7e0143fb | 329 | %{!?with_cairo:--disable-cairo-output} \ |
931ab1e2 | 330 | %{!?with_cpp:--disable-poppler-cpp} \ |
cfe3ca2f | 331 | %{!?with_glib:--disable-poppler-glib} \ |
bd2cd4db | 332 | %{!?with_qt4:--disable-poppler-qt4} \ |
bc4f318c | 333 | %{!?with_qt5:--disable-poppler-qt5} \ |
d84a04fd | 334 | --disable-silent-rules \ |
30316221 | 335 | --enable-xpdf-headers \ |
bf5184f7 | 336 | --enable-zlib \ |
8d5d1be9 | 337 | --enable-dependency-tracking \ |
5d1986fc | 338 | --with-html-dir=%{_gtkdocdir} |
9148ca80 | 339 | |
9e116569 | 340 | %{__make} |
341 | ||
342 | %install | |
343 | rm -rf $RPM_BUILD_ROOT | |
344 | ||
345 | %{__make} install \ | |
346 | DESTDIR=$RPM_BUILD_ROOT | |
347 | ||
9148ca80 ER |
348 | %if %{without apidocs} |
349 | # why it still installs them, brr | |
fb471923 | 350 | %{__rm} -rf $RPM_BUILD_ROOT%{_gtkdocdir}/poppler || : |
9148ca80 ER |
351 | %endif |
352 | ||
797490cf AF |
353 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
354 | ||
9e116569 | 355 | %clean |
356 | rm -rf $RPM_BUILD_ROOT | |
357 | ||
943507a4 JB |
358 | %post -p /sbin/ldconfig |
359 | %postun -p /sbin/ldconfig | |
9e116569 | 360 | |
d84a04fd JB |
361 | %post cpp -p /sbin/ldconfig |
362 | %postun cpp -p /sbin/ldconfig | |
363 | ||
c858408d JB |
364 | %post glib -p /sbin/ldconfig |
365 | %postun glib -p /sbin/ldconfig | |
366 | ||
bc4f318c JB |
367 | %post qt4 -p /sbin/ldconfig |
368 | %postun qt4 -p /sbin/ldconfig | |
369 | ||
370 | %post qt5 -p /sbin/ldconfig | |
371 | %postun qt5 -p /sbin/ldconfig | |
dff19bfc | 372 | |
9e116569 | 373 | %files |
374 | %defattr(644,root,root,755) | |
375 | %doc AUTHORS ChangeLog NEWS README* TODO | |
c858408d | 376 | %attr(755,root,root) %{_libdir}/libpoppler.so.*.*.* |
550e33ca | 377 | %attr(755,root,root) %ghost %{_libdir}/libpoppler.so.60 |
9e116569 | 378 | |
379 | %files devel | |
380 | %defattr(644,root,root,755) | |
c858408d | 381 | %attr(755,root,root) %{_libdir}/libpoppler.so |
9e1eea06 JB |
382 | %dir %{_includedir}/poppler |
383 | %{_includedir}/poppler/poppler-config.h | |
35d1caed | 384 | %{_includedir}/poppler/[ABCDEFGHJLMNOPRSTUVX]*.h |
40c95880 | 385 | %{_includedir}/poppler/fofi |
d84a04fd | 386 | %{_includedir}/poppler/goo |
9e1eea06 | 387 | %{_includedir}/poppler/splash |
c858408d JB |
388 | %{_pkgconfigdir}/poppler.pc |
389 | %{?with_cairo:%{_pkgconfigdir}/poppler-cairo.pc} | |
390 | %{_pkgconfigdir}/poppler-splash.pc | |
9e116569 | 391 | |
392 | %files static | |
393 | %defattr(644,root,root,755) | |
c858408d JB |
394 | %{_libdir}/libpoppler.a |
395 | ||
356581a6 MB |
396 | %if %{with apidocs} |
397 | %files apidocs | |
398 | %defattr(644,root,root,755) | |
399 | %{_gtkdocdir}/poppler | |
400 | %endif | |
401 | ||
cfe3ca2f | 402 | %if %{with cpp} |
931ab1e2 | 403 | %files cpp |
404 | %defattr(644,root,root,755) | |
405 | %attr(755,root,root) %{_libdir}/libpoppler-cpp.so.*.*.* | |
406 | %attr(755,root,root) %ghost %{_libdir}/libpoppler-cpp.so.0 | |
407 | ||
408 | %files cpp-devel | |
409 | %defattr(644,root,root,755) | |
410 | %attr(755,root,root) %{_libdir}/libpoppler-cpp.so | |
931ab1e2 | 411 | %{_includedir}/poppler/cpp |
412 | %{_pkgconfigdir}/poppler-cpp.pc | |
413 | ||
414 | %files cpp-static | |
415 | %defattr(644,root,root,755) | |
416 | %{_libdir}/libpoppler-cpp.a | |
cfe3ca2f | 417 | %endif |
931ab1e2 | 418 | |
cfe3ca2f | 419 | %if %{with glib} |
c858408d JB |
420 | %files glib |
421 | %defattr(644,root,root,755) | |
422 | %attr(755,root,root) %{_libdir}/libpoppler-glib.so.*.*.* | |
35d1caed AM |
423 | %attr(755,root,root) %ghost %{_libdir}/libpoppler-glib.so.8 |
424 | %{_libdir}/girepository-1.0/Poppler-0.18.typelib | |
c858408d JB |
425 | |
426 | %files glib-devel | |
427 | %defattr(644,root,root,755) | |
428 | %attr(755,root,root) %{_libdir}/libpoppler-glib.so | |
c858408d JB |
429 | %{_includedir}/poppler/glib |
430 | %{_pkgconfigdir}/poppler-glib.pc | |
35d1caed | 431 | %{_datadir}/gir-1.0/Poppler-0.18.gir |
c858408d JB |
432 | |
433 | %files glib-static | |
434 | %defattr(644,root,root,755) | |
435 | %{_libdir}/libpoppler-glib.a | |
cfe3ca2f | 436 | %endif |
c858408d | 437 | |
3ed2c139 | 438 | %if %{with qt4} |
bc4f318c | 439 | %files qt4 |
3ed2c139 PS |
440 | %defattr(644,root,root,755) |
441 | %attr(755,root,root) %{_libdir}/libpoppler-qt4.so.*.*.* | |
aa82c819 | 442 | %attr(755,root,root) %ghost %{_libdir}/libpoppler-qt4.so.4 |
3ed2c139 | 443 | |
bc4f318c | 444 | %files qt4-devel |
3ed2c139 PS |
445 | %defattr(644,root,root,755) |
446 | %attr(755,root,root) %{_libdir}/libpoppler-qt4.so | |
9e1eea06 | 447 | %{_includedir}/poppler/qt4 |
3ed2c139 PS |
448 | %{_pkgconfigdir}/poppler-qt4.pc |
449 | ||
bc4f318c | 450 | %files qt4-static |
3ed2c139 PS |
451 | %defattr(644,root,root,755) |
452 | %{_libdir}/libpoppler-qt4.a | |
453 | %endif | |
454 | ||
bc4f318c JB |
455 | %if %{with qt5} |
456 | %files qt5 | |
457 | %defattr(644,root,root,755) | |
458 | %attr(755,root,root) %{_libdir}/libpoppler-qt5.so.*.*.* | |
459 | %attr(755,root,root) %ghost %{_libdir}/libpoppler-qt5.so.1 | |
460 | ||
461 | %files qt5-devel | |
462 | %defattr(644,root,root,755) | |
463 | %attr(755,root,root) %{_libdir}/libpoppler-qt5.so | |
464 | %{_includedir}/poppler/qt5 | |
465 | %{_pkgconfigdir}/poppler-qt5.pc | |
466 | ||
467 | %files qt5-static | |
468 | %defattr(644,root,root,755) | |
469 | %{_libdir}/libpoppler-qt5.a | |
470 | %endif | |
471 | ||
3085c5f7 | 472 | %files progs |
6d515f80 | 473 | %defattr(644,root,root,755) |
474 | %attr(755,root,root) %{_bindir}/pdf* | |
475 | %{_mandir}/man1/pdf* |