psutils-vl.spec 2.5 KB

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