1 | Summary: PostScript Utilities |
---|
2 | Summary(ja): PostScriptユーティリティ |
---|
3 | Name: psutils |
---|
4 | Version: 1.17 |
---|
5 | Release: 20%{?_dist_release} |
---|
6 | Source: ftp.dcs.ed.ac.uk:/pub/ajcd/psutils-p17.tar.gz |
---|
7 | Patch0: psutils-p17-Makefile.patch |
---|
8 | Patch1: psutils-p17-misc.patch |
---|
9 | Patch2: psutils-p17-paper.patch |
---|
10 | Patch3: psutils-p17-strip.patch |
---|
11 | License: distributable |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | Group: Applications/Publishing |
---|
14 | BuildPreReq: /usr/bin/perl |
---|
15 | |
---|
16 | %changelog |
---|
17 | * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.17-20vl5 |
---|
18 | - applied new versioning policy, spec in utf-8 |
---|
19 | |
---|
20 | * Sun Jul 02 2006 Shu KONNO <owa@bg.wakwak.com> 1.17-19vl2 |
---|
21 | - s/Copylight/License/ |
---|
22 | |
---|
23 | * Mon May 5 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.17-19vl1 |
---|
24 | - rebuild with new toolchains |
---|
25 | - based on Rawhide 1.17-9 |
---|
26 | - add BuildPreReq: /usr/bin/perl |
---|
27 | |
---|
28 | * Thu Jun 14 2001 <sagami@vinelinux.org> |
---|
29 | - p17-3: added defattr |
---|
30 | |
---|
31 | * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
---|
32 | - p17-2 |
---|
33 | - /usr/man -> %%{_mandir} |
---|
34 | |
---|
35 | * Thu Feb 1 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
36 | - rebuild for Vine |
---|
37 | |
---|
38 | * Mon Oct 13 1997 Atsushi Yamagata <yamagata@jwu.ac.jp> |
---|
39 | - 1st release |
---|
40 | |
---|
41 | |
---|
42 | %description |
---|
43 | This package contains some utilities for manipulating PostScript documents. |
---|
44 | Page selection and rearrangement are supported, including arrangement into |
---|
45 | signatures for booklet printing, and page merging for n-up printing. |
---|
46 | |
---|
47 | %description -l ja |
---|
48 | このパッケージはPostscript文章を加工するためのユーティリティをいくつか含 |
---|
49 | んでいます。 |
---|
50 | Page selection and rearrangement are supported, including arrangement into |
---|
51 | signatures for booklet printing, and page merging for n-up printing. |
---|
52 | |
---|
53 | |
---|
54 | %prep |
---|
55 | %setup -q -n psutils |
---|
56 | %patch0 -p1 -b .makefile |
---|
57 | %patch1 -p1 -b .misc |
---|
58 | %patch2 -p1 -b .paper |
---|
59 | %patch3 -p1 -b .strip |
---|
60 | |
---|
61 | %build |
---|
62 | make -f Makefile.unix PERL=/usr/bin/perl \ |
---|
63 | BINDIR=$RPM_BUILD_ROOT%{_bindir} \ |
---|
64 | SCRIPTDIR=$RPM_BUILD_ROOT%{_bindir} \ |
---|
65 | INCLUDEDIR=$RPM_BUILD_ROOT%{_datadir}/psutils \ |
---|
66 | MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 |
---|
67 | |
---|
68 | |
---|
69 | %install |
---|
70 | rm -rf $RPM_BUILD_ROOT |
---|
71 | |
---|
72 | mkdir -p $RPM_BUILD_ROOT%{_datadir} |
---|
73 | mkdir -p $RPM_BUILD_ROOT%{_mandir} |
---|
74 | make -f Makefile.unix install \ |
---|
75 | BINDIR=$RPM_BUILD_ROOT%{_bindir} \ |
---|
76 | SCRIPTDIR=$RPM_BUILD_ROOT%{_bindir} \ |
---|
77 | INCLUDEDIR=$RPM_BUILD_ROOT%{_datadir}/psutils \ |
---|
78 | MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 |
---|
79 | |
---|
80 | cd $RPM_BUILD_ROOT%{_bindir} |
---|
81 | strip epsffit psbook psnup psresize psselect pstops |
---|
82 | |
---|
83 | |
---|
84 | %clean |
---|
85 | rm -rf $RPM_BUILD_ROOT |
---|
86 | |
---|
87 | |
---|
88 | %files |
---|
89 | %defattr(-,root,root) |
---|
90 | %doc LICENSE README |
---|
91 | %dir %{_datadir}/psutils |
---|
92 | %{_datadir}/psutils/* |
---|
93 | %{_mandir}/man1/* |
---|
94 | %{_bindir}/* |
---|