Browse Source

add python-pdfrw package

Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
99b966b524
  1. 66
      SPECS/python-pdfrw.spec

66
SPECS/python-pdfrw.spec

@ -0,0 +1,66 @@ @@ -0,0 +1,66 @@
%global srcname pdfrw

Name: python-%{srcname}
Version: 0.2
Release: 3%{?dist}
Summary: Python library to read and write PDF files
License: MIT
Group: Development/Libraries
URL: https://github.com/pmaupin/pdfrw
Source0: https://pypi.python.org/packages/source/p/pdfrw/pdfrw-%{version}.tar.gz
BuildRequires: python2-devel
BuildArch: noarch
%{?python_provide:%python_provide python2-%{srcname}}


%description
pdfrw is a basic PDF file manipulation library. Developed and tested on
Python 2.5-2.7, pdfrw can read and write PDF files, and can also be used to
read in PDFs which can then be used inside reportlab.


%prep
%autosetup -n %{srcname}-%{version}


%build
%{__python} setup.py build


%install
%{__python} setup.py install --root=%{buildroot}


%files
%{!?_licensedir:%global license %%doc}
%license LICENSE.txt
%doc README.rst examples
%{python2_sitelib}/*


%changelog
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Tue Nov 17 2015 Sergio Pascual <sergiopr at fedoraproject.org> - 0.2-2
- New 0.2 version with Python3 support, using new macros
- Yes, I forgot to upload the tarball

* Sun Nov 15 2015 Till Maas <opensource@till.name> - 0.1-6
- Use %%license

* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Tue Apr 30 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.1-2
- Cleaned line removing buildroot in install
- Including examples in docs

* Tue Apr 30 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.1-1
- New spec file
Loading…
Cancel
Save