3 Summary: A Pure-Python library built as a PDF toolkit
4 Summary(pl.UTF-8): Biblioteka toolkitu PDF napisana w czystym Pythonie
9 Group: Development/Languages/Python
10 Source0: http://pybrary.net/pyPdf/pyPdf-%{version}.tar.gz
11 # Source0-md5: 7a75ef56f227b78ae62d6e38d4b6b1da
12 URL: http://pybrary.net/pyPdf/
13 BuildRequires: rpmbuild(macros) >= 1.710
14 BuildRequires: python-devel
15 BuildRequires: rpm-pythonprov
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 A Pure-Python library built as a PDF toolkit. It is capable of:
22 * extracting document information (title, author, ...),
23 * splitting documents page by page,
24 * merging documents page by page,
26 * merging multiple pages into a single page,
27 * encrypting and decrypting PDF files.
29 %description -l pl.UTF-8
30 pyPdf to napisana w czystym Pythonie biblioteka stworzona jako toolkit
32 - wyciągać informacje z dokumentów (tytuł, autora...),
33 - dzielić dokumenty na strony,
34 - łączyć dokumenty z pojedynczych stron,
36 - łączyć wiele stron w jedną,
37 - szyfrować i odszyfrowywać pliki PDF.
40 %setup -q -n %{module}-%{version}
46 rm -rf $RPM_BUILD_ROOT
50 --root=$RPM_BUILD_ROOT
52 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
53 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %dir %{py_sitescriptdir}/%{module}
63 %{py_sitescriptdir}/%{module}/*.py[co]
64 %{py_sitescriptdir}/*.egg-info