3 |
Summary: Pure-Python PDF toolkit |
Summary: Pure-Python PDF toolkit |
4 |
Name: python-pypdf |
Name: python-pypdf |
5 |
Version: 1.13 |
Version: 1.13 |
6 |
Release: %mkrel 1 |
Release: %mkrel 2 |
7 |
Source0: http://pybrary.net/pyPdf/%{module}-%{version}.tar.gz |
Source0: http://pybrary.net/pyPdf/%{module}-%{version}.tar.gz |
8 |
License: BSD |
License: BSD |
9 |
Group: Development/Python |
Group: Development/Python |
10 |
Url: http://pybrary.net/pyPdf/ |
Url: http://pybrary.net/pyPdf/ |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
11 |
Provides: %{module} |
Provides: %{module} |
12 |
BuildRequires: python-devel |
BuildRequires: python-devel |
13 |
BuildArch: noarch |
BuildArch: noarch |
21 |
* merging multiple pages into a single page, |
* merging multiple pages into a single page, |
22 |
* encrypting and decrypting PDF files. |
* encrypting and decrypting PDF files. |
23 |
|
|
|
%files |
|
|
%defattr(-,root,root) |
|
|
%doc README CHANGELOG |
|
|
%{py_puresitedir}/pyPdf-%{version}-py%{pyver}.egg-info |
|
|
%dir %{py_puresitedir}/%{module} |
|
|
%{py_puresitedir}/%{module}/* |
|
|
|
|
|
#-------------------------------------------------------------------- |
|
24 |
|
|
25 |
%prep |
%prep |
26 |
%setup -q -n %{module}-%{version} |
%setup -q -n %{module}-%{version} |
29 |
|
|
30 |
%install |
%install |
31 |
%__rm -rf %{buildroot} |
%__rm -rf %{buildroot} |
32 |
%__python setup.py install --root=%{buildroot} --no-compile |
%__python setup.py install --root=%{buildroot} |
33 |
|
|
34 |
%clean |
%clean |
35 |
%__rm -rf %{buildroot} |
%__rm -rf %{buildroot} |
36 |
|
|
37 |
|
%files |
38 |
|
%defattr(-,root,root) |
39 |
|
%doc README CHANGELOG |
40 |
|
%{py_puresitedir}/pyPdf-%{version}-py%{pyver}.egg-info |
41 |
|
%dir %{py_puresitedir}/%{module} |
42 |
|
%{py_puresitedir}/%{module}/* |