mirror of
https://abf.rosa.ru/djam/python-pypdf.git
synced 2025-02-24 01:22:55 +00:00
Automatic import for version 1.13
This commit is contained in:
commit
dfe1ac50ce
2 changed files with 71 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
"pyPdf-1.13.tar.gz": ba7aed11cf21a2c218df2e3979be5eb90992dcbe
|
69
python-pypdf.spec
Normal file
69
python-pypdf.spec
Normal file
|
@ -0,0 +1,69 @@
|
|||
%define module pyPdf
|
||||
|
||||
Summary: Pure-Python PDF toolkit
|
||||
Name: python-pypdf
|
||||
Version: 1.13
|
||||
Release: %mkrel 1
|
||||
Source0: http://pybrary.net/pyPdf/%{module}-%{version}.tar.gz
|
||||
License: BSD
|
||||
Group: Development/Python
|
||||
Url: http://pybrary.net/pyPdf/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||
Provides: %{module}
|
||||
BuildRequires: python-devel
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
A Pure-Python library built as a PDF toolkit. It is capable of:
|
||||
* extracting document information (title, author, ...),
|
||||
* splitting documents page by page,
|
||||
* merging documents page by page,
|
||||
* cropping pages,
|
||||
* merging multiple pages into a single page,
|
||||
* encrypting and decrypting PDF files.
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README CHANGELOG
|
||||
%{py_puresitedir}/pyPdf-%{version}-py%{pyver}.egg-info
|
||||
%dir %{py_puresitedir}/%{module}
|
||||
%{py_puresitedir}/%{module}/*
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%setup -q -n %{module}-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
%__python setup.py install --root=%{buildroot} --no-compile
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jan 08 2011 Luc Menut <lmenut@mandriva.org> 1.13-1mdv2011.0
|
||||
+ Revision: 630620
|
||||
- update to 1.13
|
||||
|
||||
+ Ahmad Samir <ahmadsamir@mandriva.org>
|
||||
- use %%pyver macro
|
||||
|
||||
* Sat Oct 30 2010 Ahmad Samir <ahmadsamir@mandriva.org> 1.12-2mdv2011.0
|
||||
+ Revision: 590472
|
||||
- rebuild for python-2.7
|
||||
- drop the obsolete %%py_requires macro
|
||||
|
||||
* Sun Aug 30 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 1.12-1mdv2010.0
|
||||
+ Revision: 422582
|
||||
- change layout
|
||||
|
||||
+ Luc Menut <lmenut@mandriva.org>
|
||||
- import python-pypdf
|
||||
|
||||
|
||||
* Sat Aug 22 2009 Luc Menut <lmenut@mandriva.org> 1.12-1mdv2010.0
|
||||
- initial Mandriva package (based on Fedora's SPEC)
|
Loading…
Add table
Reference in a new issue