source: projects/specs/branches/6/p/pyPdf/pyPdf-vl.spec @ 2676

Revision 2676, 2.5 KB checked in by kudoh, 13 years ago (diff)
Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name:           pyPdf
4Version:        1.13
5Release:        1%{?_dist_release}
6Summary:        PDF toolkit
7Summary(ja):    PDF ツールキット
8
9Group:          Development/Languages
10License:        BSD
11URL:            http://pybrary.net/pyPdf/
12Source0:        http://pybrary.net/pyPdf/%{name}-%{version}.tar.gz
13#Patch0:         01_backspace_parsed.dpatch
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
17BuildArch:      noarch
18BuildRequires:  python-devel
19
20%description
21A 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,
25 * cropping pages,
26 * merging multiple pages into a single page,
27 * encrypting and decrypting PDF files.
28
29%prep
30%setup -q
31#%patch0 -p1
32
33
34%build
35%{__python} setup.py build
36
37
38%install
39rm -rf $RPM_BUILD_ROOT
40%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
41
42 
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46
47%files
48%defattr(-,root,root,-)
49%doc README CHANGELOG
50%{python_sitelib}/pyPdf*
51
52
53%changelog
54* Sat Feb 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.13-1
55- new upstream release
56- dropt Patch0 to merge upstream
57
58* Tue May 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12-2
59- added Pacth0 from Debian to fix incorrect backspace parse
60
61* Thu Feb 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12-1
62- initial build for VineSeed
63
64* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
65- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
66
67* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
68- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
69
70* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.12-2
71- Rebuild for Python 2.6
72
73* Mon Sep 15 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.12-1
74- update to 1.12
75
76* Sun Jun 15 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.11-1
77- update to 1.11
78
79* Tue Apr 01 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.10-4
80- added CHANGELOG to doc, more specific file list
81
82* Thu Mar 27 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.10-3
83- removed unnecessary python_sitearch macro declaration
84
85* Tue Mar 25 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.10-2
86- fixed spec file naming and license tag
87
88* Tue Mar 25 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.10-1
89- Initial spec file creation
90
Note: See TracBrowser for help on using the repository browser.