source: projects/specs/trunk/p/pyPdf/pyPdf-vl.spec @ 8154

Revision 8154, 2.7 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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:        3%{?_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
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16BuildArch:      noarch
17BuildRequires:  python-devel
18
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23A Pure-Python library built as a PDF toolkit. It is capable of:
24 * extracting document information (title, author, ...),
25 * splitting documents page by page,
26 * merging documents page by page,
27 * cropping pages,
28 * merging multiple pages into a single page,
29 * encrypting and decrypting PDF files.
30
31%prep
32%setup -q
33
34
35%build
36%{__python} setup.py build
37
38
39%install
40rm -rf $RPM_BUILD_ROOT
41%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
42
43 
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47
48%files
49%defattr(-,root,root,-)
50%doc README CHANGELOG
51%{python_sitelib}/pyPdf*
52
53
54%changelog
55* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.13-3
56- rebuild with VineSeed environment
57
58* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.13-2
59- rebuild with python-2.7.2
60
61* Sat Feb 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.13-1
62- new upstream release
63- dropt Patch0 to merge upstream
64
65* Tue May 25 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12-2
66- added Pacth0 from Debian to fix incorrect backspace parse
67
68* Thu Feb 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12-1
69- initial build for VineSeed
70
71* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
72- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
73
74* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
75- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
76
77* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.12-2
78- Rebuild for Python 2.6
79
80* Mon Sep 15 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.12-1
81- update to 1.12
82
83* Sun Jun 15 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.11-1
84- update to 1.11
85
86* Tue Apr 01 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.10-4
87- added CHANGELOG to doc, more specific file list
88
89* Thu Mar 27 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.10-3
90- removed unnecessary python_sitearch macro declaration
91
92* Tue Mar 25 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.10-2
93- fixed spec file naming and license tag
94
95* Tue Mar 25 2008 Felix Schwarz <felix.schwarz@oss.schwarz.eu> 1.10-1
96- Initial spec file creation
97
Note: See TracBrowser for help on using the repository browser.