mpage-vl.spec 3.8 KB

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