|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
9abc4a4 |
%global srcname pdfrw
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
9abc4a4 |
Name: python-%{srcname}
|
|
Sergio Pascual |
9abc4a4 |
Version: 0.2
|
|
Sergio Pascual |
9abc4a4 |
Release: 1%{?dist}
|
|
Sergio Pascual |
c20dc3e |
Summary: Python library to read and write PDF files
|
|
Sergio Pascual |
c20dc3e |
License: MIT
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
c20dc3e |
Group: Development/Libraries
|
|
Sergio Pascual |
9abc4a4 |
URL: https://github.com/pmaupin/pdfrw
|
|
Sergio Pascual |
9abc4a4 |
Source0: https://pypi.python.org/packages/source/p/pdfrw/pdfrw-%{version}.tar.gz
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
9abc4a4 |
BuildRequires: python2-devel python3-devel
|
|
Sergio Pascual |
c20dc3e |
BuildArch: noarch
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
c20dc3e |
%description
|
|
Sergio Pascual |
c20dc3e |
pdfrw is a basic PDF file manipulation library. Developed and tested on
|
|
Sergio Pascual |
c20dc3e |
Python 2.5-2.7, pdfrw can read and write PDF files, and can also be used to
|
|
Sergio Pascual |
c20dc3e |
read in PDFs which can then be used inside reportlab.
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
9abc4a4 |
%package -n python2-%{srcname}
|
|
Sergio Pascual |
9abc4a4 |
Summary: Python library to read and write PDF files
|
|
Sergio Pascual |
9abc4a4 |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
Sergio Pascual |
9abc4a4 |
|
|
Sergio Pascual |
9abc4a4 |
%description -n python2-%{srcname}
|
|
Sergio Pascual |
9abc4a4 |
pdfrw is a basic PDF file manipulation library. Developed and tested on
|
|
Sergio Pascual |
9abc4a4 |
Python 2.5-2.7, pdfrw can read and write PDF files, and can also be used to
|
|
Sergio Pascual |
9abc4a4 |
read in PDFs which can then be used inside reportlab.
|
|
Sergio Pascual |
9abc4a4 |
|
|
Sergio Pascual |
9abc4a4 |
|
|
Sergio Pascual |
9abc4a4 |
%package -n python3-%{srcname}
|
|
Sergio Pascual |
9abc4a4 |
Summary: Python library to read and write PDF files
|
|
Sergio Pascual |
9abc4a4 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
Sergio Pascual |
9abc4a4 |
|
|
Sergio Pascual |
9abc4a4 |
%description -n python3-%{srcname}
|
|
Sergio Pascual |
9abc4a4 |
pdfrw is a basic PDF file manipulation library. Developed and tested on
|
|
Sergio Pascual |
9abc4a4 |
Python 2.5-2.7, pdfrw can read and write PDF files, and can also be used to
|
|
Sergio Pascual |
9abc4a4 |
read in PDFs which can then be used inside reportlab.
|
|
Sergio Pascual |
9abc4a4 |
|
|
Sergio Pascual |
c20dc3e |
%prep
|
|
Sergio Pascual |
9abc4a4 |
%autosetup -n %{srcname}-%{version}
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
c20dc3e |
%build
|
|
Sergio Pascual |
9abc4a4 |
%py2_build
|
|
Sergio Pascual |
9abc4a4 |
%py3_build
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
c20dc3e |
%install
|
|
Sergio Pascual |
9abc4a4 |
%py2_install
|
|
Sergio Pascual |
9abc4a4 |
%py3_install
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
9abc4a4 |
%files -n python2-%{srcname}
|
|
|
bd877d9 |
%{!?_licensedir:%global license %%doc}
|
|
|
bd877d9 |
%license LICENSE.txt
|
|
Sergio Pascual |
9abc4a4 |
%doc README.rst examples
|
|
Sergio Pascual |
9abc4a4 |
%{python2_sitelib}/*
|
|
Sergio Pascual |
9abc4a4 |
|
|
Sergio Pascual |
9abc4a4 |
%files -n python3-%{srcname}
|
|
Sergio Pascual |
9abc4a4 |
%{!?_licensedir:%global license %%doc}
|
|
Sergio Pascual |
9abc4a4 |
%license LICENSE.txt
|
|
Sergio Pascual |
9abc4a4 |
%doc README.rst examples
|
|
Sergio Pascual |
9abc4a4 |
%{python3_sitelib}/*
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
c20dc3e |
%changelog
|
|
Sergio Pascual |
9abc4a4 |
* Tue Nov 17 2015 Sergio Pascual <sergiopr at fedoraproject.org> - 0.2-1
|
|
Sergio Pascual |
9abc4a4 |
- New 0.2 version with Python3 support, using new macros
|
|
Sergio Pascual |
9abc4a4 |
|
|
|
bd877d9 |
* Sun Nov 15 2015 Till Maas <opensource@till.name> - 0.1-6
|
|
|
bd877d9 |
- Use %%license
|
|
|
bd877d9 |
|
|
|
0d47469 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
|
|
|
0d47469 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0d47469 |
|
|
|
8d17dc9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
|
|
|
8d17dc9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8d17dc9 |
|
|
|
9bf9cd7 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
|
|
|
9bf9cd7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9bf9cd7 |
|
|
Sergio Pascual |
c20dc3e |
* Tue Apr 30 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.1-2
|
|
Sergio Pascual |
c20dc3e |
- Cleaned line removing buildroot in install
|
|
Sergio Pascual |
c20dc3e |
- Including examples in docs
|
|
Sergio Pascual |
c20dc3e |
|
|
Sergio Pascual |
c20dc3e |
* Tue Apr 30 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.1-1
|
|
Sergio Pascual |
c20dc3e |
- New spec file
|