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

Revision 521, 3.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: places multiple pages of text onto a single postscript page
2Summary(ja): 複数ページのテキストを一枚の PostScript ページにするソフトウェア
3Name: mpage
4Version: 2.5.4
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.4-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 -p0 -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* Wed Sep 10 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.4-1vl5
78- applied new versioning policy, spec in utf-8
79- added mpage-2.5.4-paper.patch
80
81* Sun Aug 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.5.4-0vl1
82- update to 2.5.4
83- s/Copyright/License/
84- change License to GPL
85- use more macros
86- fix file list
87
88* Wed Jun 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.3-0vl1
89- remove kanji patch (it was merged source)
90- fixed buildroot
91- update japanese manpage
92
93* Mon Apr 23 2001 <sagami@vinelinux.org>
94- 2.5.1-0vl1: move manpages to %%{_mandir}
95
96* Fri Jun  9 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
97- updated to 2.5.1pre
98- man dir ja_JP.ujis -> ja
99- remove dvips patch
100- remove conf patch (uses A4 size instead of letter)
101
102* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
103- handle compressed man pages
104
105* Wed Jan  5 2000 Jun Nishii <jun@vinelinux.org>
106- change group
107
108* Tue Jul 20 1999 Norihito Ohmori <ohmori@flatout.org>
109- rebuild for glibc 2.1.x
110
111* Tue Jul 20 1999 Norihito Ohmori <ohmori@flatout.org>
112- -f with ascii Character bug fix.
113
114* Sat Jul 17 1999 Norihito Ohmori <ohmori@flatout.org
115- -f with Japanese Text bug fix.
116
117* Sat Jun 19 1999 Norihito Ohmori <ohmori@p.chiba-u.ac.jp>
118- first release
Note: See TracBrowser for help on using the repository browser.