source: projects/specs/trunk/m/mpage/mpage-vl.spec @ 8442

Revision 8442, 3.8 KB checked in by daisuke, 10 years ago (diff)

mpage: rebuild on current environment

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