commit dfe1ac50ce9bc6dfdbf08670f227356762084394 Author: Rosa Date: Wed Feb 1 21:42:02 2012 +0400 Automatic import for version 1.13 diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..9023441 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + "pyPdf-1.13.tar.gz": ba7aed11cf21a2c218df2e3979be5eb90992dcbe diff --git a/python-pypdf.spec b/python-pypdf.spec new file mode 100644 index 0000000..00579ac --- /dev/null +++ b/python-pypdf.spec @@ -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 1.13-1mdv2011.0 ++ Revision: 630620 +- update to 1.13 + + + Ahmad Samir + - use %%pyver macro + +* Sat Oct 30 2010 Ahmad Samir 1.12-2mdv2011.0 ++ Revision: 590472 +- rebuild for python-2.7 +- drop the obsolete %%py_requires macro + +* Sun Aug 30 2009 Nicolas Lécureuil 1.12-1mdv2010.0 ++ Revision: 422582 +- change layout + + + Luc Menut + - import python-pypdf + + +* Sat Aug 22 2009 Luc Menut 1.12-1mdv2010.0 +- initial Mandriva package (based on Fedora's SPEC)