%define module pyPdf Summary: Pure-Python PDF toolkit Name: python-pypdf Version: 1.13 Release: %mkrel 2 Source0: http://pybrary.net/pyPdf/%{module}-%{version}.tar.gz License: BSD Group: Development/Python Url: http://pybrary.net/pyPdf/ 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. %prep %setup -q -n %{module}-%{version} %build %install %__rm -rf %{buildroot} %__python setup.py install --root=%{buildroot} %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc README CHANGELOG %{py_puresitedir}/pyPdf-%{version}-py%{pyver}.egg-info %dir %{py_puresitedir}/%{module} %{py_puresitedir}/%{module}/*