|
|
e623312 |
Name: pdfposter
|
|
|
33fac91 |
Version: 0.6.0
|
|
|
632bbaf |
Release: 3%{?dist}
|
|
|
e623312 |
Summary: Scale and tile PDF images/pages to print on multiple pages
|
|
|
e623312 |
|
|
|
e623312 |
License: GPLv3+
|
|
|
33fac91 |
URL: http://pythonhosted.org/pdftools.pdfposter/
|
|
|
33fac91 |
Source0: https://pypi.python.org/packages/source/p/pdftools.pdfposter/pdftools.%{name}-%{version}.tar.bz2
|
|
|
e623312 |
BuildArch: noarch
|
|
|
e623312 |
|
|
|
417ab1d |
BuildRequires: python2-devel
|
|
|
02129e4 |
BuildRequires: python-setuptools
|
|
|
e623312 |
|
|
|
e623312 |
Requires: pyPdf
|
|
|
e623312 |
|
|
|
e623312 |
%description
|
|
|
e623312 |
Pdfposter can be used to create a large poster by building it from multple
|
|
|
e623312 |
pages and/or printing it on large media. It expects as input a PDF file,
|
|
|
e623312 |
normally printing on a single page. The output is again a PDF file, maybe
|
|
|
e623312 |
containing multiple pages together building the poster. The input page
|
|
|
e623312 |
will be scaled to obtain the desired size.
|
|
|
e623312 |
|
|
|
e623312 |
%prep
|
|
|
e623312 |
%setup -q -n pdftools.%{name}-%{version}
|
|
|
e623312 |
#Remove shebang
|
|
|
e623312 |
for Files in pdftools/pdfposter/cmd.py pdftools/pdfposter/__init__.py; do
|
|
|
4b815f1 |
sed -i.orig -e 1d ${Files}
|
|
|
e623312 |
touch -r ${Files}.orig ${Files}
|
|
|
4b815f1 |
rm ${Files}.orig
|
|
|
e623312 |
done
|
|
|
e623312 |
|
|
|
e623312 |
%build
|
|
|
b47ea79 |
python setup.py build
|
|
|
e623312 |
|
|
|
e623312 |
%install
|
|
|
b47ea79 |
python setup.py install -O1 --skip-build --root=%{buildroot}
|
|
|
bcf634b |
install -Dp -m 0644 docs/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
|
|
e623312 |
|
|
|
e623312 |
%files
|
|
|
bcf634b |
%doc LICENSE-GPLv3.txt README.txt examples/
|
|
|
e623312 |
%{_mandir}/man*/*.gz
|
|
|
e623312 |
%{_bindir}/%{name}
|
|
|
bcf634b |
%{python_sitelib}/pdftools/
|
|
|
bcf634b |
%{python_sitelib}/pdftools.*
|
|
|
e623312 |
|
|
|
e623312 |
%changelog
|
|
|
632bbaf |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
|
|
|
632bbaf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
632bbaf |
|
|
|
c9373bf |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-2
|
|
|
c9373bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
c9373bf |
|
|
|
33fac91 |
* Wed Jun 26 2013 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.0-1
|
|
|
33fac91 |
- Spec file updated
|
|
|
33fac91 |
- Updated to new upstream version 0.6.0
|
|
|
33fac91 |
|
|
|
2163f0b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-12
|
|
|
2163f0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2163f0b |
|
|
|
1ae8a55 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-11
|
|
|
1ae8a55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
1ae8a55 |
|
|
|
417ab1d |
* Thu Apr 26 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-10
|
|
|
417ab1d |
- Updated python BR
|
|
|
417ab1d |
|
|
|
cd01b0b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-9
|
|
|
cd01b0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
cd01b0b |
|
|
|
65082c0 |
* Sat Aug 13 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-8
|
|
Fabian Affolter |
0201d4b |
- Added missing file
|
|
Fabian Affolter |
0201d4b |
|
|
|
65082c0 |
* Fri Aug 12 2011 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-7
|
|
Fabian Affolter |
c507110 |
- Rebuild (pypdf)
|
|
Fabian Affolter |
c507110 |
|
|
|
c4a5d5b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-6
|
|
|
c4a5d5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
c4a5d5b |
|
|
|
128d2ac |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.5.0-5
|
|
|
128d2ac |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
128d2ac |
|
|
|
65082c0 |
* Sat Feb 20 2010 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-4
|
|
|
b47ea79 |
- Updated BR
|
|
|
b47ea79 |
|
|
|
e7daa49 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
|
|
|
e7daa49 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
e7daa49 |
|
|
|
65082c0 |
* Thu Jul 09 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-2
|
|
|
e85a7a4 |
- Replaced 'define' with 'global'
|
|
|
e85a7a4 |
|
|
|
65082c0 |
* Sun May 03 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-1
|
|
|
4b815f1 |
- Updated to new upstream version 0.5.0
|
|
|
4b815f1 |
|
|
|
65082c0 |
* Thu Apr 07 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.4.6-1
|
|
|
e623312 |
- Initial package for Fedora
|