mpage-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Summary: places multiple pages of text onto a single postscript page
  2. Summary(ja): 複数ページのテキストを一枚の PostScript ページにするソフトウェア
  3. Name: mpage
  4. Version: 2.5.4
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Publishing
  8. URL: http://www.mesa.nl/pub/mpage/
  9. Source: http://www.mesa.nl/pub/mpage/mpage-%{version}.tgz
  10. # sources/patch for Vine
  11. Source100: mpage.1.gz
  12. Patch100: mpage-2.5.3-kanji.patch
  13. Patch101: mpage-2.5.4-paper.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. The mpage utility takes plain text files or PostScript(TM) documents
  19. as input, reduces the size of the text, and prints the files on a
  20. PostScript printer with several pages on each sheet of paper. Mpage
  21. is very useful for viewing large printouts without using up tons of
  22. paper. Mpage supports many different layout options for the printed
  23. pages.
  24. Mpage should be installed if you need a useful utility for viewing
  25. long text documents without wasting paper.
  26. %description -l ja
  27. mpage ユーティリティはプレインテキストか PostScript (TM) ドキュメントを
  28. 入力として受け付け、テキストのサイズを減らし、複数のページをまとめて
  29. PostScript プリンタに印刷する。 mpage は大量の紙なしで巨大な印刷出力を
  30. 見ることができたいへん役にたつ。mpage は印刷されるページのオプションとして
  31. 多くの異なったレイアウトをサポートしている。
  32. mpage は無駄紙を使わずに長いテキストのドキュメントをみるユーティリティが
  33. 必要なときにインストールすべきです。
  34. %prep
  35. %setup -q
  36. %patch100 -p1 -b .kanji
  37. %patch101 -p0 -b .paper
  38. %build
  39. %__make \
  40. PREFIX=%{_prefix} \
  41. BINDIR=%{_bindir} \
  42. LIBDIR=%{_datadir} \
  43. MANDIR=%{_mandir}/man1
  44. %install
  45. %__rm -rf %{buildroot}
  46. %__mkdir_p %{buildroot}{%{_bindir},%{_datadir}/mpage,%{_mandir}/man1}
  47. %__make \
  48. PREFIX=%{buildroot}%{_prefix} \
  49. BINDIR=%{buildroot}%{_bindir} \
  50. LIBDIR=%{buildroot}%{_datadir} \
  51. MANDIR=%{buildroot}%{_mandir}/man1 \
  52. install
  53. %__mkdir_p %{buildroot}%{_mandir}/ja/man1
  54. %__install -m0644 %{SOURCE100} %{buildroot}%{_mandir}/ja/man1
  55. %clean
  56. %__rm -rf %{buildroot}
  57. %files
  58. %defattr(-,root,root)
  59. %doc CHANGES COPYING* Copyright FAQ README NEWS TODO
  60. %{_bindir}/mpage
  61. %{_datadir}/mpage
  62. %{_mandir}/man1/mpage.1*
  63. %{_mandir}/ja/man1/mpage.1*
  64. %changelog
  65. * Wed Sep 10 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.4-1vl5
  66. - applied new versioning policy, spec in utf-8
  67. - added mpage-2.5.4-paper.patch
  68. * Sun Aug 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.5.4-0vl1
  69. - update to 2.5.4
  70. - s/Copyright/License/
  71. - change License to GPL
  72. - use more macros
  73. - fix file list
  74. * Wed Jun 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.3-0vl1
  75. - remove kanji patch (it was merged source)
  76. - fixed buildroot
  77. - update japanese manpage
  78. * Mon Apr 23 2001 <sagami@vinelinux.org>
  79. - 2.5.1-0vl1: move manpages to %%{_mandir}
  80. * Fri Jun 9 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  81. - updated to 2.5.1pre
  82. - man dir ja_JP.ujis -> ja
  83. - remove dvips patch
  84. - remove conf patch (uses A4 size instead of letter)
  85. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  86. - handle compressed man pages
  87. * Wed Jan 5 2000 Jun Nishii <jun@vinelinux.org>
  88. - change group
  89. * Tue Jul 20 1999 Norihito Ohmori <ohmori@flatout.org>
  90. - rebuild for glibc 2.1.x
  91. * Tue Jul 20 1999 Norihito Ohmori <ohmori@flatout.org>
  92. - -f with ascii Character bug fix.
  93. * Sat Jul 17 1999 Norihito Ohmori <ohmori@flatout.org
  94. - -f with Japanese Text bug fix.
  95. * Sat Jun 19 1999 Norihito Ohmori <ohmori@p.chiba-u.ac.jp>
  96. - first release