3 %bcond_without cairo # disable 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: d169c24c11eb74baaf3be6aa87cd3fbb
14 Patch0: %{name}-link.patch
15 URL: http://poppler.freedesktop.org/
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake
18 %{?with_cairo:BuildRequires: cairo-devel >= 0.4.0}
19 BuildRequires: fontconfig-devel
20 BuildRequires: freetype-devel >= 2.0
21 BuildRequires: libstdc++-devel
22 BuildRequires: libtool >= 2:1.5
23 BuildRequires: pkgconfig
24 %{?with_cairo:Requires: cairo >= 0.4.0}
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 A common PDF rendering library for integrating PDF viewing into
29 desktop applications (based on the xpdf-3.0 code base).
32 Wspólna biblioteka renderuj±ca PDF do integrowania ogl±dania PDF w
33 aplikacjach desktopowych (oparta na kodzie xpdf-3.0).
36 Summary: Poppler header files
37 Summary(pl): Pliki nag³ówkowe biblioteki Poppler
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 %{?with_cairo:Requires: cairo-devel >= 0.3.0}
41 Requires: fontconfig-devel
42 Requires: freetype-devel >= 2.0
43 Requires: libstdc++-devel
46 Header files for the Poppler library.
48 %description devel -l pl
49 Pliki nag³ówkowe biblioteki Poppler.
52 Summary: Poppler static libraries
53 Summary(pl): Statyczne biblioteki Poppler
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 Poppler static libraries.
60 %description static -l pl
61 Statyczne biblioteki Poppler.
74 %{!?with_cairo:--disable-cairo-output} \
79 rm -rf $RPM_BUILD_ROOT
82 DESTDIR=$RPM_BUILD_ROOT
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog NEWS README* TODO
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib*.so
99 %{_includedir}/poppler
100 %{_pkgconfigdir}/*.pc
103 %defattr(644,root,root,755)