1 | %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
2 | |
---|
3 | Name: pypoppler |
---|
4 | Version: 0.12.1 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Summary: Python bindings for the Poppler PDF rendering library |
---|
7 | Summary(ja): Poppler PDF レンダリングライブラリの Python バインディング |
---|
8 | |
---|
9 | Group: Applications/Publishing |
---|
10 | License: GPLv2+ |
---|
11 | URL: https://launchpad.net/poppler-python |
---|
12 | Source0: http://launchpad.net/poppler-python/trunk/development/+download/%{name}-%{version}.tar.gz |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: pygtk2-devel |
---|
16 | BuildRequires: atk-devel |
---|
17 | BuildRequires: poppler-devel |
---|
18 | BuildRequires: pycairo-devel |
---|
19 | #BuildRequires: poppler-glib-devel >= 0.10.5 |
---|
20 | |
---|
21 | |
---|
22 | %description |
---|
23 | Python bindings for the Poppler PDF rendering library. It is needed to |
---|
24 | run programs written in Python and using Poppler set. |
---|
25 | |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q |
---|
29 | |
---|
30 | |
---|
31 | %build |
---|
32 | %configure --disable-static |
---|
33 | make %{?_smp_mflags} |
---|
34 | |
---|
35 | |
---|
36 | %install |
---|
37 | rm -rf %{buildroot} |
---|
38 | make install DESTDIR=%{buildroot} INSTALL="install -p" |
---|
39 | find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' |
---|
40 | |
---|
41 | |
---|
42 | %clean |
---|
43 | rm -rf %{buildroot} |
---|
44 | |
---|
45 | |
---|
46 | %files |
---|
47 | %defattr(-,root,root,-) |
---|
48 | %doc AUTHORS ChangeLog COPYING NEWS |
---|
49 | %{python_sitearch}/poppler* |
---|
50 | |
---|
51 | |
---|
52 | %changelog |
---|
53 | * Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.1-2 |
---|
54 | - rebuild with poppler-0.14.2 |
---|
55 | |
---|
56 | * Thu Feb 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12.1-1 |
---|
57 | - initail build for VineSeed |
---|
58 | |
---|
59 | * Thu Nov 19 2009 Fabian Affolter <fabian@bernewireless.net> - 0.12.1-1 |
---|
60 | - Updated to new upstream version 0.12.1 |
---|
61 | |
---|
62 | * Thu Sep 17 2009 Fabian Affolter <fabian@bernewireless.net> - 0.10.1-1 |
---|
63 | - Updated to new upstream version 0.10.1 |
---|
64 | |
---|
65 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2 |
---|
66 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
67 | |
---|
68 | * Sat Apr 25 2009 Fabian Affolter <fabian@bernewireless.net> - 0.10.0-1 |
---|
69 | - Initial package for Fedora |
---|