psutils-vl.spec 2.7 KB

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