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