137161
Summary: PostScript Utilities
137161
Name:    psutils
137161
Version: 1.23
137161
Release: 13%{?dist}
137161
License: psutils
137161
137161
# We can't follow https://fedoraproject.org/wiki/Packaging:SourceURL#Github
137161
# and use upstream tarball for building because ./bootstrap downloads gnulib.
137161
# wget https://github.com/rrthomas/psutils/archive/master.zip && unzip master.zip && cd psutils-master/
137161
# ./bootstrap && autoreconf -vfi && ./configure && make dist-xz
137161
Source: psutils-%{version}.tar.xz
137161
URL:    https://github.com/rrthomas/psutils
137161
137161
# BZ#1072371
137161
# https://github.com/rrthomas/psutils/commit/cca570c806bf4bde07f400b2bab9266e02998145
137161
Patch0: psutils-paperconf.patch
137161
137161
BuildRequires:  perl-generators
137161
BuildRequires:  perl(File::Basename)
137161
BuildRequires:  perl(Getopt::Long)
137161
BuildRequires:  perl(strict)
137161
BuildRequires:  perl(warnings)
137161
137161
Requires: /usr/bin/paperconf
137161
137161
# copylib - https://fedorahosted.org/fpc/ticket/174
137161
Provides: bundled(gnulib)
137161
137161
%description
137161
Utilities for manipulating PostScript documents.
137161
Page selection and rearrangement are supported, including arrangement into
137161
signatures for booklet printing, and page merging for n-up printing.
137161
137161
%package perl
137161
Summary: psutils scripts requiring perl
137161
BuildArch: noarch
137161
137161
%description perl
137161
Various scripts from the psutils distribution that require perl.
137161
137161
%prep
137161
%setup -q
137161
137161
%patch0 -p1 -b .paperconf
137161
# Use /usr/bin/perl instead of /usr/bin/env perl
137161
sed -i -e 's,/usr/bin/env perl,%{__perl},' \
137161
  extractres psjoin
137161
137161
%build
137161
%configure
137161
%{__make} %{?_smp_mflags}
137161
 
137161
%install
137161
%{__make} install DESTDIR=%{buildroot}
137161
137161
%files
137161
%doc README LICENSE
137161
%{_bindir}/epsffit
137161
%{_bindir}/psbook
137161
%{_bindir}/psnup
137161
%{_bindir}/psresize
137161
%{_bindir}/psselect
137161
%{_bindir}/pstops
137161
%{_mandir}/man1/epsffit.1*
137161
%{_mandir}/man1/psbook.1*
137161
%{_mandir}/man1/psnup.1*
137161
%{_mandir}/man1/psresize.1*
137161
%{_mandir}/man1/psselect.1*
137161
%{_mandir}/man1/pstops.1*
137161
%{_mandir}/man1/psutils.1*
137161
137161
%files perl
137161
%doc LICENSE
137161
%{_bindir}/extractres
137161
%{_bindir}/includeres
137161
%{_bindir}/psjoin
137161
%{_mandir}/man1/extractres.1*
137161
%{_mandir}/man1/includeres.1*
137161
%{_mandir}/man1/psjoin.1*
137161
137161
137161
%changelog
137161
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-13
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
137161
137161
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-12
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
137161
137161
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-11
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
137161
137161
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-10
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
137161
137161
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-9
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
137161
137161
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-8
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
137161
137161
* Fri May 29 2015 Jiri Popelka <jpopelka@redhat.com> - 1.23-7
137161
- Correctly parse paper sizes returned by paperconf (#1208985)
137161
137161
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-6
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
137161
137161
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-5
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
137161
137161
* Wed Apr 23 2014 Jiri Popelka <jpopelka@redhat.com> - 1.23-4
137161
- move psjoin to perl subpackage (#226324#c16)
137161
137161
* Thu Apr 10 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.23-3
137161
- Use /usr/bin/perl instead of /usr/bin/env perl.
137161
- Add BR: perl(*).
137161
- Use wildcards instead of hardcoded *.gz for man-pages.
137161
137161
* Tue Mar 04 2014 Jiri Popelka <jpopelka@redhat.com> - 1.23-2
137161
- use paperconf instead of paper binary (#1072371)
137161
137161
* Wed Jan 22 2014 Jiri Popelka <jpopelka@redhat.com> - 1.23-1
137161
- 1.23
137161
137161
* Tue Oct 22 2013 Jiri Popelka <jpopelka@redhat.com> - 1.21-1
137161
- new upstream
137161
- version 1.21
137161
137161
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-43
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
137161
137161
* Tue Mar 26 2013 Jiri Popelka <jpopelka@redhat.com> - 1.17-42
137161
- few usage/man page fixes
137161
137161
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-41
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
137161
137161
* Thu Nov 29 2012 Jiri Popelka <jpopelka@redhat.com> - 1.17-40
137161
- fix dist tag and URL
137161
- put psutils-copyright.patch among sources as it's used only in
137161
  psutils-remove-copyrighted-files
137161
- no need to define BuildRoot and clean it in %%clean and %%install anymore
137161
- %%defattr no longer needed in %%files
137161
137161
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-39
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
137161
137161
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-38
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
137161
137161
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-37
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
137161
137161
* Thu Jul 08 2010 Tomas Smetana <tsmetana@redhat.com> 1.17-36
137161
- add the LICENSE file to the perl subpackage
137161
137161
* Thu Apr 22 2010 Daniel Novotny <dnovotny@redhat.com> 1.17-35
137161
- renamed "clean" tarball to psutils-p17-clean.tar.gz 
137161
  (merge review: #226324)
137161
137161
* Tue Jan 26 2010 Daniel Novotny <dnovotny@redhat.com> 1.17-34
137161
- remove Apple copyrighted files (merge review: #226324)
137161
- fixed URLs to upstream
137161
137161
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.17-33
137161
- Convert specfile to UTF-8.
137161
137161
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-32
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
137161
137161
* Wed Jul 22 2009 Adam Jackson <ajax@redhat.com> 1.17-31
137161
- Split perl scripts to a subpackage.
137161
137161
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-30
137161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
137161
137161
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.17-29
137161
- fix license tag
137161
137161
* Wed Feb 13 2008 Tomas Smetana <tsmetana@redhat.com> - 1.17-28
137161
- rebuild (gcc-4.3)
137161
137161
* Tue Sep 18 2007 Martin Bacovsky <mbacovsk@redhat.com> - 1.17-27
137161
- fixed Source url pointing to non-existing site
137161
137161
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.17-26.1
137161
- rebuild
137161
137161
* Mon Jun 12 2006 Jitka Kudrnacova <jkudrnac@redhat.com> - 1.17-26
137161
- new implementation of psmerge by Peter Williams
137161
137161
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.17-25.2.1
137161
- bump again for double-long bug on ppc(64)
137161
137161
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.17-25.2
137161
- rebuilt for new gcc4.1 snapshot and glibc changes
137161
137161
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
137161
- rebuilt
137161
137161
* Wed Mar 16 2005 Tim Waugh <twaugh@redhat.com> 1.17-25
137161
- Rebuild for new GCC.
137161
137161
* Mon Jan 10 2005 Tim Waugh <twaugh@redhat.com> 1.17-24
137161
- Manpage correction for psresize (bug #144582).
137161
137161
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
137161
- rebuilt
137161
137161
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
137161
- rebuilt
137161
137161
* Tue Jun 17 2003 Tim Waugh <twaugh@redhat.com> 1.17-21
137161
- Rebuilt.
137161
137161
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
137161
- rebuilt
137161
137161
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
137161
- rebuilt
137161
137161
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1.17-18
137161
- rebuild on all arches
137161
137161
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
137161
- automated rebuild
137161
137161
* Thu Jun 20 2002 Than Ngo <than@redhat.com> 1.17-16
137161
- Don't forcibly strip binaries
137161
137161
* Thu May 23 2002 Tim Powers <timp@redhat.com>
137161
- automated rebuild
137161
137161
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
137161
- automated rebuild
137161
137161
* Thu Jul 19 2001 Than Ngo <than@redhat.com> 1.17-13
137161
- add patch from enrico.scholz@informatik.tu-chemnitz.de
137161
137161
* Fri Jul 13 2001 Than Ngo <than@redhat.com> 1.17-12
137161
- media size as letter (Bug #48831)
137161
- Copyright->License
137161
- don't hardcode manpath
137161
137161
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
137161
- Bump release + rebuild.
137161
137161
* Fri Dec  8 2000 Tim Powers <timp@redhat.com>
137161
- built for dist-7.1
137161
137161
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
137161
- rebuilt
137161
137161
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
137161
- rebuilt
137161
137161
* Mon Jul 03 2000 Prospector <bugzilla@redhat.com>
137161
- automatic rebuild
137161
137161
* Fri May 26 2000 Tim Powers <timp@redhat.com>
137161
- man pages in /usr/share/man (FHS compliant location)
137161
- grabbed spec from contrib
137161
- initial build for Powertools
137161
137161
* Wed May 12 1999 Peter Soos <sp@osb.hu>
137161
- Corrected the file and directory attributes to rebuild the package
137161
  under RedHat Linux 6.0
137161
137161
* Fri Dec 25 1998 Peter Soos <sp@osb.hu>
137161
- Corrected the file and directory attributes
137161
137161
* Tue Jun 23 1998 Peter Soos <sp@osb.hu>
137161
- Using %%attr for ability to rebuild the package as an ordinary user.
137161
137161
* Wed Jun 04 1997 Timo Karjalainen <timok@iki.fi>
137161
- Reverted back to un-gzipped man-pages (Redhat style)
137161
- Added patch to compile everything cleanly
137161
- Some minor changes to specfile
137161
137161
* Thu Mar 27 1997 Tomasz Kłoczko <kloczek@rudy.mif.pg.gda.pl>
137161
  - new version:
137161
    Patchlevel 17 had some minor bugfixes and improvements
137161
    - Trailer information now put before %%EOF comments if no %%Trailer
137161
    - psselect can now add blank pages.
137161
    - Piped input works in Linux
137161
    - spec file rewrited for using Buildroot,
137161
    - man pages gziped.