]>
Commit | Line | Data |
---|---|---|
61aa9f1a JR |
1 | Summary: A tool for printing multiple pages of text on each printed page. |
2 | Name: mpage | |
3 | Version: 2.4 | |
4 | Release: 7 | |
5 | Copyright: BSD | |
6 | Group: Applications/Publishing | |
7 | Source: ftp://sunsite.unc.edu:/pub/Linux/system/printing/mpage24.tgz | |
8 | Patch: mpage24-config.patch | |
9 | Patch1: mpage24-dvips.patch | |
10 | BuildRoot: /var/tmp/mpage-root | |
11 | ||
12 | %description | |
13 | The mpage utility takes plain text files or PostScript(TM) documents | |
14 | as input, reduces the size of the text, and prints the files on a | |
15 | PostScript printer with several pages on each sheet of paper. Mpage | |
16 | is very useful for viewing large printouts without using up tons of | |
17 | paper. Mpage supports many different layout options for the printed | |
18 | pages. | |
19 | ||
20 | Mpage should be installed if you need a useful utility for viewing | |
21 | long text documents without wasting paper. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | %patch0 -p1 | |
26 | %patch1 -p1 | |
27 | ||
28 | %build | |
29 | make | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/mpage,man/man1} | |
34 | ||
35 | make PREFIX=$RPM_BUILD_ROOT/usr install | |
36 | strip $RPM_BUILD_ROOT/usr/bin/mpage | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(-,root,root) | |
43 | %doc CHANGES Copyright README NEWS TODO | |
44 | /usr/bin/mpage | |
45 | /usr/man/man1/mpage.1 | |
46 | /usr/lib/mpage |