- Split perl scripts to a subpackage.

This commit is contained in:
Adam Jackson 2009-07-22 19:11:59 +00:00
parent bcc8b9010f
commit bd352b89ba
2 changed files with 74 additions and 5 deletions

12
psutils-datadir.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up psutils/Makefile.unix.jx psutils/Makefile.unix
--- psutils/Makefile.unix.jx 2009-07-22 15:03:58.000000000 -0400
+++ psutils/Makefile.unix 2009-07-22 15:08:21.000000000 -0400
@@ -31,7 +31,7 @@ OS = UNIX
BINDIR = $(DESTDIR)/usr/bin
SCRIPTDIR = $(BINDIR)
-INCLUDEDIR = $(DESTDIR)/usr/lib/psutils
+INCLUDEDIR = $(DESTDIR)/usr/share/psutils
PERL = /usr/bin/perl
BINMODE = 0755

View File

@ -1,7 +1,7 @@
Summary: PostScript Utilities Summary: PostScript Utilities
Name: psutils Name: psutils
Version: 1.17 Version: 1.17
Release: 30%{dist} Release: 31%{dist}
License: psutils License: psutils
Group: Applications/Publishing Group: Applications/Publishing
Source: psutils-p17.tar.gz Source: psutils-p17.tar.gz
@ -11,6 +11,7 @@ Patch2: psutils-p17-paper.patch
Patch3: psutils-p17-strip.patch Patch3: psutils-p17-strip.patch
Patch4: psutils-manpage.patch Patch4: psutils-manpage.patch
Patch5: psutils-psmerge.patch Patch5: psutils-psmerge.patch
Patch6: psutils-datadir.patch
BuildRoot: %{_tmppath}/psutils-root BuildRoot: %{_tmppath}/psutils-root
%description %description
@ -18,6 +19,14 @@ This archive contains some utilities for manipulating PostScript documents.
Page selection and rearrangement are supported, including arrangement into Page selection and rearrangement are supported, including arrangement into
signatures for booklet printing, and page merging for n-up printing. signatures for booklet printing, and page merging for n-up printing.
%package perl
Summary: psutils scripts requiring perl
Group: Applications/Publishing
BuildArch: noarch
%description perl
Various scripts from the psutils distribution that require perl.
%prep %prep
%setup -q -n psutils %setup -q -n psutils
%patch0 -p1 -b .makefile %patch0 -p1 -b .makefile
@ -26,6 +35,7 @@ signatures for booklet printing, and page merging for n-up printing.
%patch3 -p1 -b .strip %patch3 -p1 -b .strip
%patch4 -p1 -b .manpage %patch4 -p1 -b .manpage
%patch5 -p1 -b .new %patch5 -p1 -b .new
%patch6 -p1 -b .datadir
%build %build
make -f Makefile.unix RPM_OPT_FLAGS="$RPM_OPT_FLAGS" make -f Makefile.unix RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
@ -41,13 +51,60 @@ make -f Makefile.unix \
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(0644, root, root, 0755) %defattr(-, root, root, -)
%doc README LICENSE %doc README LICENSE
%attr(0755, root, root) /usr/bin/* %{_bindir}/epsffit
%{_mandir}/*/* %{_bindir}/getafm
/usr/lib/psutils %{_bindir}/psbook
%{_bindir}/psnup
%{_bindir}/psresize
%{_bindir}/psselect
%{_bindir}/pstops
%{_bindir}/showchar
%{_mandir}/man1/epsffit.1*
%{_mandir}/man1/getafm.1*
%{_mandir}/man1/psbook.1*
%{_mandir}/man1/psnup.1*
%{_mandir}/man1/psresize.1*
%{_mandir}/man1/psselect.1*
%{_mandir}/man1/pstops.1*
#{_mandir}/man1/showchar.1*
%files perl
%defattr(-, root, root, -)
%{_bindir}/extractres
%{_bindir}/fixdlsrps
%{_bindir}/fixfmps
%{_bindir}/fixmacps
%{_bindir}/fixpsditps
%{_bindir}/fixpspps
%{_bindir}/fixscribeps
%{_bindir}/fixtpps
%{_bindir}/fixwfwps
%{_bindir}/fixwpps
%{_bindir}/fixwwps
%{_bindir}/includeres
%{_bindir}/psmerge
%{_datadir}/psutils
%{_mandir}/man1/extractres.1*
%{_mandir}/man1/fixdlsrps.1*
%{_mandir}/man1/fixfmps.1*
%{_mandir}/man1/fixmacps.1*
%{_mandir}/man1/fixpsditps.1*
%{_mandir}/man1/fixpspps.1*
%{_mandir}/man1/fixscribeps.1*
%{_mandir}/man1/fixtpps.1*
%{_mandir}/man1/fixwfwps.1*
%{_mandir}/man1/fixwpps.1*
%{_mandir}/man1/fixwwps.1*
%{_mandir}/man1/includeres.1*
%{_mandir}/man1/psmerge.1*
%changelog %changelog
* Wed Jul 22 2009 Adam Jackson <ajax@redhat.com> 1.17-31
- Split perl scripts to a subpackage.
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-30 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild