Accepting request 162889 from Publishing
- Cleanup spec file - Add Source URL, see https://en.opensuse.org/SourceUrls (forwarded request 162852 from namtrac) OBS-URL: https://build.opensuse.org/request/show/162889 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psutils?expand=0&rev=14
This commit is contained in:
parent
6497713b95
commit
e23dd98ec0
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:617c09172f1c7cbe7e6fbb80d7e245ec8040007269b166cb6572e4e43cb29c6f
|
||||
size 61857
|
||||
oid sha256:3853eb79584ba8fbe27a815425b65a9f7f15b258e0d43a05a856bdb75d588ae4
|
||||
size 62039
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 13:47:10 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- Cleanup spec file
|
||||
- Add Source URL, see https://en.opensuse.org/SourceUrls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 5 16:48:53 CET 2010 - jengelh@medozas.de
|
||||
|
||||
|
103
psutils.spec
103
psutils.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package psutils (Version p17)
|
||||
# spec file for package psutils
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,22 +15,19 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: psutils
|
||||
Version: p17
|
||||
Release: 0
|
||||
Summary: Tools for Manipulating PostScript Files
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Publishing/PS
|
||||
Provides: psutils-p17
|
||||
Requires: perl
|
||||
AutoReqProv: on
|
||||
Version: p17
|
||||
Release: 1002
|
||||
Summary: Tools for Manipulating PostScript Files
|
||||
Source: psutils-p17.tar.gz
|
||||
Patch: psutils-p17.dif
|
||||
Source: http://mirrors.ctan.org/support/psutils/psutils-p17.tar.gz
|
||||
Patch0: psutils-p17.dif
|
||||
Patch1: psutils-flip.dif
|
||||
Patch2: psutils-pserror.dif
|
||||
Requires: perl
|
||||
Provides: psutils-p17
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -39,69 +36,61 @@ Page selection and rearrangement are supported, including arrangement
|
||||
into signatures for booklet printing, and page merging for n-up
|
||||
printing.
|
||||
|
||||
psbook rearranges pages into signatures
|
||||
psbook rearranges pages into signatures
|
||||
|
||||
psselect selects pages and page ranges
|
||||
psselect selects pages and page ranges
|
||||
|
||||
pstops performs general page rearrangement and selection
|
||||
pstops performs general page rearrangement and selection
|
||||
|
||||
psnup put multiple pages per physical sheet of paper
|
||||
psnup put multiple pages per physical sheet of paper
|
||||
|
||||
psresize alter document paper size
|
||||
psresize alter document paper size
|
||||
|
||||
epsffit fits an EPSF file to a given bounding box
|
||||
epsffit fits an EPSF file to a given bounding box
|
||||
|
||||
You will find a README in /usr/share/doc/packages/psutils/ which also
|
||||
describes several Perl scripts for importing PostScript files. A manual
|
||||
page for each ps utility is also included.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Angus J. C. Duggan <angus@harlequin.co.uk>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%setup -q -n psutils
|
||||
%patch1 -p1 -b .flip
|
||||
%patch2 -p0 -b .sec
|
||||
%patch
|
||||
%patch0
|
||||
|
||||
%build
|
||||
make %{_smp_mflags} -f Makefile.unix RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags} -f Makefile.unix RPM_OPT_FLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%_mandir/man1 $RPM_BUILD_ROOT/usr/bin
|
||||
make -f Makefile.unix BINDIR=$RPM_BUILD_ROOT/usr/bin MANDIR=$RPM_BUILD_ROOT%_mandir/man1 INCLUDEDIR=$RPM_BUILD_ROOT/usr/share/psutils install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_mandir}/man1 %{buildroot}%{_prefix}/bin
|
||||
make -f Makefile.unix BINDIR=%{buildroot}%{_bindir} \
|
||||
MANDIR=%{buildroot}%{_mandir}/man1 \
|
||||
INCLUDEDIR=%{buildroot}%{_datadir}/psutils install
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README LICENSE
|
||||
/usr/bin/epsffit
|
||||
/usr/bin/extractres
|
||||
/usr/bin/fixdlsrps
|
||||
/usr/bin/fixfmps
|
||||
/usr/bin/fixmacps
|
||||
/usr/bin/fixpsditps
|
||||
/usr/bin/fixpspps
|
||||
/usr/bin/fixscribeps
|
||||
/usr/bin/fixtpps
|
||||
/usr/bin/fixwfwps
|
||||
/usr/bin/fixwpps
|
||||
/usr/bin/fixwwps
|
||||
/usr/bin/getafm
|
||||
/usr/bin/includeres
|
||||
/usr/bin/psbook
|
||||
/usr/bin/psmerge
|
||||
/usr/bin/psnup
|
||||
/usr/bin/psresize
|
||||
/usr/bin/psselect
|
||||
/usr/bin/pstops
|
||||
/usr/bin/showchar
|
||||
%{_bindir}/epsffit
|
||||
%{_bindir}/extractres
|
||||
%{_bindir}/fixdlsrps
|
||||
%{_bindir}/fixfmps
|
||||
%{_bindir}/fixmacps
|
||||
%{_bindir}/fixpsditps
|
||||
%{_bindir}/fixpspps
|
||||
%{_bindir}/fixscribeps
|
||||
%{_bindir}/fixtpps
|
||||
%{_bindir}/fixwfwps
|
||||
%{_bindir}/fixwpps
|
||||
%{_bindir}/fixwwps
|
||||
%{_bindir}/getafm
|
||||
%{_bindir}/includeres
|
||||
%{_bindir}/psbook
|
||||
%{_bindir}/psmerge
|
||||
%{_bindir}/psnup
|
||||
%{_bindir}/psresize
|
||||
%{_bindir}/psselect
|
||||
%{_bindir}/pstops
|
||||
%{_bindir}/showchar
|
||||
%{_mandir}/man1/epsffit.1.gz
|
||||
%{_mandir}/man1/extractres.1.gz
|
||||
%{_mandir}/man1/fixdlsrps.1.gz
|
||||
@ -122,8 +111,8 @@ make %{_smp_mflags} -f Makefile.unix RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||
%{_mandir}/man1/psresize.1.gz
|
||||
%{_mandir}/man1/psselect.1.gz
|
||||
%{_mandir}/man1/pstops.1.gz
|
||||
%dir /usr/share/psutils/
|
||||
/usr/share/psutils/md68_0.ps
|
||||
/usr/share/psutils/md71_0.ps
|
||||
%dir %{_datadir}/psutils/
|
||||
%{_datadir}/psutils/md68_0.ps
|
||||
%{_datadir}/psutils/md71_0.ps
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user