source: projects/specs/branches/6/m/mpage/mpage-vl.spec @ 3313

Revision 3313, 3.7 KB checked in by daisuke, 13 years ago (diff)

mpage: update to 2.5.6

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