| 1 | Summary: PostScript Utilities |
|---|
| 2 | Summary(ja): PostScriptユーティリティ |
|---|
| 3 | Name: psutils |
|---|
| 4 | Version: 1.17 |
|---|
| 5 | Release: 21%{?_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 | BuildRequires: perl |
|---|
| 15 | |
|---|
| 16 | %description |
|---|
| 17 | This package contains some utilities for manipulating PostScript documents. |
|---|
| 18 | Page selection and rearrangement are supported, including arrangement into |
|---|
| 19 | signatures for booklet printing, and page merging for n-up printing. |
|---|
| 20 | |
|---|
| 21 | %description -l ja |
|---|
| 22 | このパッケージは PostScript 文章を加工するためのユーティリティを |
|---|
| 23 | いくつか含んでいます。 |
|---|
| 24 | ページの選択や再配置が対応しており、小冊子印刷用に署名を調整したり、 |
|---|
| 25 | n 面付印刷のためにページを取り込むする機能が含まれます。 |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | %prep |
|---|
| 29 | %setup -q -n psutils |
|---|
| 30 | %patch0 -p1 -b .makefile |
|---|
| 31 | %patch1 -p1 -b .misc |
|---|
| 32 | %patch2 -p1 -b .paper |
|---|
| 33 | %patch3 -p1 -b .strip |
|---|
| 34 | |
|---|
| 35 | %build |
|---|
| 36 | %__make -f Makefile.unix PERL=%__perl \ |
|---|
| 37 | BINDIR=$RPM_BUILD_ROOT%{_bindir} \ |
|---|
| 38 | SCRIPTDIR=$RPM_BUILD_ROOT%{_bindir} \ |
|---|
| 39 | INCLUDEDIR=$RPM_BUILD_ROOT%{_datadir}/psutils \ |
|---|
| 40 | MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | %install |
|---|
| 44 | %__rm -rf $RPM_BUILD_ROOT |
|---|
| 45 | |
|---|
| 46 | %__mkdir_p $RPM_BUILD_ROOT%{_datadir} |
|---|
| 47 | %__mkdir_p $RPM_BUILD_ROOT%{_mandir} |
|---|
| 48 | %__make -f Makefile.unix install \ |
|---|
| 49 | BINDIR=$RPM_BUILD_ROOT%{_bindir} \ |
|---|
| 50 | SCRIPTDIR=$RPM_BUILD_ROOT%{_bindir} \ |
|---|
| 51 | INCLUDEDIR=$RPM_BUILD_ROOT%{_datadir}/psutils \ |
|---|
| 52 | MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 |
|---|
| 53 | |
|---|
| 54 | cd $RPM_BUILD_ROOT%{_bindir} |
|---|
| 55 | strip epsffit psbook psnup psresize psselect pstops |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | %clean |
|---|
| 59 | %__rm -rf $RPM_BUILD_ROOT |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | %files |
|---|
| 63 | %defattr(-,root,root) |
|---|
| 64 | %doc LICENSE README |
|---|
| 65 | %dir %{_datadir}/psutils |
|---|
| 66 | %{_datadir}/psutils/* |
|---|
| 67 | %{_mandir}/man1/* |
|---|
| 68 | %{_bindir}/* |
|---|
| 69 | |
|---|
| 70 | |
|---|
| 71 | %changelog |
|---|
| 72 | * Sat Apr 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.17-21 |
|---|
| 73 | - rebuilt |
|---|
| 74 | - improved the Japanese translation of %%description |
|---|
| 75 | |
|---|
| 76 | * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.17-20vl5 |
|---|
| 77 | - applied new versioning policy, spec in utf-8 |
|---|
| 78 | |
|---|
| 79 | * Sun Jul 02 2006 Shu KONNO <owa@bg.wakwak.com> 1.17-19vl2 |
|---|
| 80 | - s/Copylight/License/ |
|---|
| 81 | |
|---|
| 82 | * Mon May 5 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.17-19vl1 |
|---|
| 83 | - rebuild with new toolchains |
|---|
| 84 | - based on Rawhide 1.17-9 |
|---|
| 85 | - add BuildPreReq: /usr/bin/perl |
|---|
| 86 | |
|---|
| 87 | * Thu Jun 14 2001 <sagami@vinelinux.org> |
|---|
| 88 | - p17-3: added defattr |
|---|
| 89 | |
|---|
| 90 | * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
|---|
| 91 | - p17-2 |
|---|
| 92 | - /usr/man -> %%{_mandir} |
|---|
| 93 | |
|---|
| 94 | * Thu Feb 1 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
|---|
| 95 | - rebuild for Vine |
|---|
| 96 | |
|---|
| 97 | * Mon Oct 13 1997 Atsushi Yamagata <yamagata@jwu.ac.jp> |
|---|
| 98 | - 1st release |
|---|
| 99 | |
|---|
| 100 | |
|---|