3 %bcond_with cairo # enable Cairo backend
5 Summary: PDF rendering library
6 Summary(pl): Biblioteka renderuj±ca PDF
12 Source0: http://poppler.freedesktop.org/%{name}-%{version}.tar.gz
13 # Source0-md5: d10982c93a1ccee79a14bb277f94990a
14 URL: http://poppler.freedesktop.org/
15 %{?with_cairo:BuildRequires: cairo-devel >= 0.3.0}
16 BuildRequires: fontconfig-devel
17 BuildRequires: freetype-devel >= 2.0
18 BuildRequires: libstdc++-devel
19 BuildRequires: pkgconfig
20 %{?with_cairo:Requires: cairo >= 0.3.0}
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 A common PDF rendering library for integrating PDF viewing into
25 desktop applications (based on the xpdf-3.0 code base).
28 Wspólna biblioteka renderuj±ca PDF do integrowania ogl±dania PDF w
29 aplikacjach desktopowych (oparta na kodzie xpdf-3.0).
32 Summary: Poppler header files
33 Summary(pl): Pliki nag³ówkowe biblioteki Poppler
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 %{?with_cairo:Requires: cairo-devel >= 0.3.0}
37 Requires: fontconfig-devel
38 Requires: freetype-devel >= 2.0
39 Requires: libstdc++-devel
42 Header files for the Poppler library.
44 %description devel -l pl
45 Pliki nag³ówkowe biblioteki Poppler.
48 Summary: Poppler static libraries
49 Summary(pl): Statyczne biblioteki Poppler
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
54 Poppler static libraries.
56 %description static -l pl
57 Statyczne biblioteki Poppler.
64 %{!?with_cairo:--disable-cairo-output}
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog NEWS README* TODO
82 %attr(755,root,root) %{_libdir}/lib*.so.*.*
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/lib*.so
88 %{_includedir}/poppler
92 %defattr(644,root,root,755)