]>
Commit | Line | Data |
---|---|---|
9e116569 | 1 | Summary: PDF rendering library |
2 | Name: poppler | |
3 | Version: 0.1.1 | |
4 | Release: 0.1 | |
5 | License: LGPL | |
6 | Group: Libraries | |
7 | Source0: http://poppler.freedesktop.org/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: d10982c93a1ccee79a14bb277f94990a | |
9 | URL: http://poppler.freedesktop.org/ | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | A common PDF rendering library for integrating PDF viewing into desktop | |
14 | applications (based on the xpdf-3.0 code base). | |
15 | ||
16 | %package devel | |
17 | Summary: Poppler header files and development documentation | |
18 | Group: Development/Libraries | |
19 | Requires: %{name} = %{version}-%{release} | |
20 | ||
21 | %description devel | |
22 | Header files and development documentation for the Poppler library. | |
23 | ||
24 | %package static | |
25 | Summary: Poppler static libraries | |
26 | Group: Development/Libraries | |
27 | Requires: %{name}-devel = %{version}-%{release} | |
28 | ||
29 | %description static | |
30 | Poppler static libraries. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
36 | %configure --disable-cairo-output | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %post -p /sbin/ldconfig | |
49 | %postun -p /sbin/ldconfig | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %doc AUTHORS ChangeLog NEWS README* TODO | |
54 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
55 | ||
56 | %files devel | |
57 | %defattr(644,root,root,755) | |
58 | %attr(755,root,root) %{_libdir}/lib*.so | |
59 | %{_libdir}/lib*.la | |
60 | %{_includedir}/poppler | |
61 | %{_pkgconfigdir}/*.pc | |
62 | ||
63 | %files static | |
64 | %defattr(644,root,root,755) | |
65 | %{_libdir}/lib*.a |