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