/[packages]/cauldron/python-pypdf/current/SPECS/python-pypdf.spec
ViewVC logotype

Contents of /cauldron/python-pypdf/current/SPECS/python-pypdf.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 74906 - (show annotations) (download)
Sun Mar 20 10:40:19 2011 UTC (13 years, 1 month ago) by lmenut
File size: 1116 byte(s)
imported package python-pypdf
1 %define module pyPdf
2
3 Summary: Pure-Python PDF toolkit
4 Name: python-pypdf
5 Version: 1.13
6 Release: %mkrel 1
7 Source0: http://pybrary.net/pyPdf/%{module}-%{version}.tar.gz
8 License: BSD
9 Group: Development/Python
10 Url: http://pybrary.net/pyPdf/
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
12 Provides: %{module}
13 BuildRequires: python-devel
14 BuildArch: noarch
15
16 %description
17 A Pure-Python library built as a PDF toolkit. It is capable of:
18 * extracting document information (title, author, ...),
19 * splitting documents page by page,
20 * merging documents page by page,
21 * cropping pages,
22 * merging multiple pages into a single page,
23 * encrypting and decrypting PDF files.
24
25 %files
26 %defattr(-,root,root)
27 %doc README CHANGELOG
28 %{py_puresitedir}/pyPdf-%{version}-py%{pyver}.egg-info
29 %dir %{py_puresitedir}/%{module}
30 %{py_puresitedir}/%{module}/*
31
32 #--------------------------------------------------------------------
33
34 %prep
35 %setup -q -n %{module}-%{version}
36
37 %build
38
39 %install
40 %__rm -rf %{buildroot}
41 %__python setup.py install --root=%{buildroot} --no-compile
42
43 %clean
44 %__rm -rf %{buildroot}
45
46

  ViewVC Help
Powered by ViewVC 1.1.30