1 | Summary: A plain ASCII to PostScript converter. |
---|
2 | Name: enscript |
---|
3 | Version: 1.6.1 |
---|
4 | Release: 28%{?_dist_release} |
---|
5 | License: GPL |
---|
6 | Group: Applications/Publishing |
---|
7 | Source0: ftp://ftp.gnu.org/pub/gnu/enscript-%{version}.tar.gz |
---|
8 | Patch0: enscript-1.6.1-config.patch |
---|
9 | Patch2: enscript-1.6.1-tmp.patch |
---|
10 | Patch3: enscript-1.6.1-locale.patch |
---|
11 | URL: http://people.ssh.fi/mtr/genscript/index.html |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildPrereq: flex, libtool, automake, autoconf |
---|
14 | Requires: perl |
---|
15 | |
---|
16 | %description |
---|
17 | GNU enscript is a free replacement for Adobe's Enscript |
---|
18 | program. Enscript converts ASCII files to PostScript(TM) and spools |
---|
19 | generated PostScript output to the specified printer or saves it to a |
---|
20 | file. Enscript can be extended to handle different output media and |
---|
21 | includes many options for customizing printouts. |
---|
22 | |
---|
23 | %description -l ja |
---|
24 | GNU enscriptはAdobe's Enscriptに代わるフリーなプログラムです。 |
---|
25 | EnscriptはASCIIファイルをPostScript(TM)に変換して、 |
---|
26 | 特定のプリンタに作成したPostScriptファイルをスプールしたり、 |
---|
27 | ファイルに保存することができます。 |
---|
28 | Enscriptは異なる出力メディアを扱えるように拡張されており、 |
---|
29 | プリント出力をカスタマイズするための多くのオプションを含んでいます。 |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q |
---|
33 | %patch0 -p1 -b .config |
---|
34 | %patch2 -p1 -b .tmp |
---|
35 | %patch3 -p1 -b .locale |
---|
36 | |
---|
37 | %build |
---|
38 | %configure |
---|
39 | |
---|
40 | |
---|
41 | %install |
---|
42 | rm -rf %{buildroot} |
---|
43 | mkdir -p %{buildroot}%{_datadir}/locale/{de,es,fi,fr,nl,sl}/LC_MESSAGES |
---|
44 | make DESTDIR=%{buildroot} install |
---|
45 | |
---|
46 | %find_lang %name |
---|
47 | |
---|
48 | # XXX note doubled %% in sed script below. |
---|
49 | (cd %{buildroot};find .%{_datadir}/enscript/*) | \ |
---|
50 | sed -e 's,^\.,,' | sed -e 's,*font.map,%%config &,' > share.list |
---|
51 | |
---|
52 | ( cd %{buildroot} |
---|
53 | ln .%{_prefix}/bin/enscript .%{_prefix}/bin/nenscript |
---|
54 | ) |
---|
55 | |
---|
56 | cat %{name}.lang >> share.list |
---|
57 | |
---|
58 | %clean |
---|
59 | rm -rf %{buildroot} |
---|
60 | |
---|
61 | %files -f share.list |
---|
62 | %defattr(-,root,root) |
---|
63 | %{_bindir}/* |
---|
64 | %{_mandir}/man1/* |
---|
65 | %dir %{_datadir}/enscript |
---|
66 | %config(noreplace) %{_sysconfdir}/enscript.cfg |
---|
67 | |
---|
68 | %doc AUTHORS ChangeLog FAQ.html NEWS README README.ESCAPES THANKS TODO |
---|
69 | |
---|
70 | %changelog |
---|
71 | * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.1-28vl5 |
---|
72 | - applied new versioning policy, spec in utf-8 |
---|
73 | |
---|
74 | * Sun Jul 11 2004 Satoshi MACHINO <machino@vinelinux.org> 1.6.1-27vl1 |
---|
75 | - build for VineLinux |
---|
76 | - added BuildPrereq and Requires |
---|
77 | - added japanese description |
---|
78 | |
---|
79 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
80 | - rebuilt |
---|
81 | |
---|
82 | * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
---|
83 | - rebuilt |
---|
84 | |
---|
85 | * Mon Nov 3 2003 Tim Waugh <twaugh@redhat.com> |
---|
86 | - Removed mail patch. It was included to be more compatible with an |
---|
87 | lpr we no longer ship. Fixes bug #108762. |
---|
88 | |
---|
89 | * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
---|
90 | - rebuilt |
---|
91 | |
---|
92 | * Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
---|
93 | - rebuilt |
---|
94 | |
---|
95 | * Wed Nov 20 2002 Tim Powers <timp@redhat.com> |
---|
96 | - rebuild on all arches |
---|
97 | |
---|
98 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
99 | - automated rebuild |
---|
100 | |
---|
101 | * Sun May 26 2002 Tim Powers <timp@redhat.com> |
---|
102 | - automated rebuild |
---|
103 | |
---|
104 | * Wed May 22 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-20 |
---|
105 | - Fix URL (bug #65278). |
---|
106 | |
---|
107 | * Wed Apr 3 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-19 |
---|
108 | - Fix license (bug #62573). |
---|
109 | |
---|
110 | * Mon Mar 18 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-18 |
---|
111 | - Fix locale issues (bug #61294). |
---|
112 | |
---|
113 | * Mon Feb 04 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-17 |
---|
114 | - Rebuild in new environment. |
---|
115 | |
---|
116 | * Mon Jan 14 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-16.2 |
---|
117 | - Use tmpfile instead of tmpnam or tempnam (bug #57704). |
---|
118 | - Built for Red Hat Linux 7.x. |
---|
119 | |
---|
120 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.6.1-16 |
---|
121 | - automated rebuild |
---|
122 | |
---|
123 | * Wed Dec 19 2001 Tim Waugh <twaugh@redhat.com> 1.6.1-15 |
---|
124 | - Own %{_datadir}/enscript directory (bug #56974). |
---|
125 | |
---|
126 | * Mon Jun 25 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.6.1-14 |
---|
127 | - add optional mail paramater, closing bug #17750 |
---|
128 | - patch from marques@cs.cornell.edu |
---|
129 | |
---|
130 | * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
---|
131 | - Bump release + rebuild. |
---|
132 | |
---|
133 | * Tue Feb 27 2001 Trond Eivind GlomsrÅ <teg@redhat.com> |
---|
134 | - langify |
---|
135 | |
---|
136 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
137 | - automatic rebuild |
---|
138 | |
---|
139 | * Mon Jun 12 2000 Preston Brown <pbrown@redhat.com> |
---|
140 | - FHS paths |
---|
141 | |
---|
142 | * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com> |
---|
143 | - rebuild to gzip man pages |
---|
144 | |
---|
145 | * Wed Mar 24 1999 Erik Troan <ewt@redhat.com> |
---|
146 | - marked /usr/share/enscript/font.map as a config file |
---|
147 | |
---|
148 | * Mon Mar 22 1999 Preston Brown <pbrown@redhat.com> |
---|
149 | - added documentation to the RPM |
---|
150 | |
---|
151 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
152 | - auto rebuild in the new build environment (release 5) |
---|
153 | |
---|
154 | * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com> |
---|
155 | - strip binaries. |
---|
156 | - include i18n locales. |
---|
157 | |
---|
158 | * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> |
---|
159 | - Injected new description and group. |
---|
160 | |
---|
161 | * Wed Nov 11 1998 Preston Brown <pbrown@redhat.com> |
---|
162 | - translations ripped out, slight cleanup to build section. |
---|
163 | |
---|
164 | * Mon Nov 09 1998 Preston Brown <pbrown@redhat.com> |
---|
165 | - initial build of GNU enscript to replace nenscript. |
---|