/[pkgs]/devel/enscript/enscript.spec
ViewVC logotype

Contents of /devel/enscript/enscript.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.43 - (show annotations) (download)
Mon Aug 10 08:32:45 2009 UTC (3 months, 1 week ago) by scop
Branch: MAIN
CVS Tags: F-12-split, enscript-1_6_4-14_fc12, HEAD
Changes since 1.42: +5 -2 lines
* Mon Aug 10 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6.4-14
- Convert specfile to UTF-8.
1 Summary: A plain ASCII to PostScript converter.
2 Name: enscript
3 Version: 1.6.4
4 Release: 14%{?dist}
5 License: GPLv2
6 Group: Applications/Publishing
7 Source0: http://www.iki.fi/mtr/genscript/enscript-%{version}.tar.gz
8 Source1: enscript-ruby-1.6.4.tar.gz
9 #http://neugierig.org/software/ruby/ruby-enscript.tar.gz
10 Source2: enscript-php-1.6.4.st
11 #http://home.raxnet.net/downloads/viewcvs/php.st
12 Patch0: enscript-1.6.1-config.patch
13 Patch1: enscript-1.6.4-hilight.patch
14 Patch3: enscript-1.6.1-locale.patch
15 Patch4: enscript-doublefree.patch
16 Patch6: enscript-1.6.1-CAN-2004-1185.patch
17 Patch7: enscript-1.6.1-CAN-2004-1186.patch
18 Patch8: enscript-wrap_header.patch
19 Patch9: enscript-1.6.4-rh457719.patch
20 Patch10:enscript-1.6.4-rh457720.patch
21 Patch11:enscript-CVE-2008-3863+CVE-2008-4306.patch
22 URL: http://www.codento.com/people/mtr/genscript/
23 Prereq: /sbin/install-info
24 BuildRoot: %{_tmppath}/%{name}-%{version}-root
25 Obsoletes: nenscript
26
27 %description
28 GNU enscript is a free replacement for Adobe's Enscript
29 program. Enscript converts ASCII files to PostScript(TM) and spools
30 generated PostScript output to the specified printer or saves it to a
31 file. Enscript can be extended to handle different output media and
32 includes many options for customizing printouts.
33
34 %prep
35 %setup -q
36 %patch0 -p1 -b .config
37 %patch1 -p1 -b .hilight
38 %patch3 -p1 -b .locale
39 %patch4 -p1 -b .doublefree
40 %patch6 -p1 -b .CAN-2004-1185
41 %patch7 -p1 -b .CAN-2004-1186
42 %patch8 -p1 -b .wrap_header
43 %patch9 -p1 -b .rh457719
44 %patch10 -p1 -b .rh457720
45 %patch11 -p0 -b .CVE-2008-3863+CVE-2008-4306
46 %{__tar} -C states/hl -zxf %{SOURCE1} ruby.st
47 install -pm 644 %{SOURCE2} states/hl/php.st
48
49 %build
50 %configure --with-media=Letter
51 make
52
53
54 %install
55 rm -rf %{buildroot}
56 mkdir -p %{buildroot}%{_datadir}/locale/{de,es,fi,fr,nl,sl}/LC_MESSAGES
57 make DESTDIR=%{buildroot} install
58 rm -f %{buildroot}%{_datadir}/info/dir
59
60 %find_lang %name
61
62 # XXX note doubled %% in sed script below.
63 (cd %{buildroot};find .%{_datadir}/enscript/* \! -type d) | \
64 sed -e 's,^\.,,' | sed -e 's,*font.map,%%config &,' > share.list
65 (cd %{buildroot};find .%{_datadir}/enscript/* -type d) | \
66 sed -e 's,^\.,,' | sed -e 's,^,%dir ,' >> share.list
67
68 ( cd %{buildroot}
69 ln .%{_prefix}/bin/enscript .%{_prefix}/bin/nenscript
70 )
71
72 cat %{name}.lang >> share.list
73
74 %clean
75 rm -rf %{buildroot}
76
77 %preun
78 if [ $1 = 0 ]; then
79 [ -f %{_infodir}/%{name}.info.gz ] && \
80 /sbin/install-info --delete %{_infodir}/%{name}.info.gz \
81 %{_infodir}/dir || :
82 fi
83
84 %post
85 [ -f %{_infodir}/%{name}.info.gz ] && \
86 /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
87
88 %files -f share.list
89 %doc AUTHORS ChangeLog docs/FAQ.html NEWS README README.ESCAPES THANKS TODO
90 %defattr(-,root,root)
91 %{_bindir}/*
92 %{_mandir}/man1/*
93 %dir %{_datadir}/enscript
94 %{_infodir}/%{name}*
95 %config(noreplace) %{_sysconfdir}/enscript.cfg
96
97
98 %changelog
99 * Mon Aug 10 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6.4-14
100 - Convert specfile to UTF-8.
101
102 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-13
103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
104
105 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-12
106 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
107
108 * Mon Nov 03 2008 Adam Tkac <atkac redhat com> 1.6.4-11
109 - fixed various buffer overflows (CVE-2008-3863, CVE-2008-4306)
110
111 * Fri Aug 08 2008 Adam Tkac <atkac redhat com> 1.6.4-10
112 - updated patches due rpm 4.6
113 - enscript -w is handled well (#457719)
114 - mkafmmap -V is handled well (#457720)
115
116 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6.4-9
117 - Autorebuild for GCC 4.3
118
119 * Wed Aug 22 2007 Adam Tkac <atkac redhat com> 1.6.4-8
120 - rebuild (BuildID feature)
121 - change license to GPLv2
122
123 * Mon Feb 12 2007 Adam Tkac <atkac redhat com> 1.6.4-7
124 - wrap_header patch had problems with around 70 characters long headers
125
126 * Fri Jan 26 2007 Adam Tkac <atkac redhat com> 1.6.4-6
127 - wrap_header patch has been improved
128
129 * Tue Dec 19 2006 Adam Tkac <atkac redhat com> 1.6.4-5
130 - fixed long-header patch
131
132 * Fri Sep 01 2006 Jitka Kudrnacova <jkudrnac@redhat.com> - 1.6.4-4
133 - enscript now wrapes long header instead of truncating
134
135 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.6.4-3.1
136 - rebuild
137
138 * Tue Jun 27 2006 Florian La Roche <laroche@redhat.com> - 1.6.4-3
139 - /sbin/install-info is required for scripts
140
141 *Fri Feb 17 2006 Jitka Kudrnacova <jkudrnac@redhat.com> 1.6.4-2
142 - added new highlighters (#177336)
143
144 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.6.4-1.1.2
145 - bump again for double-long bug on ppc(64)
146
147 * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.6.4-1.1.1
148 - rebuilt for new gcc4.1 snapshot and glibc changes
149
150 * Fri Jan 27 2006 Jitka Kudrnacova <jkudrnac@redhat.com> 1.6.4-1.1
151 - fixed URL in the description (bug #178444)
152
153 * Fri Dec 23 2005 Tim Waugh <twaugh@redhat.com> 1.6.4-1
154 - 1.6.4 (bug #176349). No longer need tmp, CAN-2004-1184, demunge patches.
155
156 * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
157 - rebuilt
158
159 * Tue Mar 8 2005 Tim Waugh <twaugh@redhat.com> 1.6.1-31
160 - Fixed po files (bug #149859).
161
162 * Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 1.6.1-30
163 - Rebuild for new GCC.
164
165 * Tue Jan 29 2005 Tim Waugh <twaugh@redhat.com> 1.6.1-29
166 - Applied patch to fix CAN-2004-1186 (bug #144684).
167 - Applied patch to fix CAN-2004-1185 (bug #144684).
168 - Backported patch to fix CAN-2004-1184 (bug #144684).
169
170 * Mon Sep 27 2004 Tim Waugh <twaugh@redhat.com> 1.6.1-28
171 - Fixed double-free problem (bug #132964).
172
173 * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
174 - rebuilt
175
176 * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
177 - rebuilt
178
179 * Mon Nov 3 2003 Tim Waugh <twaugh@redhat.com>
180 - Removed mail patch. It was included to be more compatible with an
181 lpr we no longer ship. Fixes bug #108762.
182
183 * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
184 - rebuilt
185
186 * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
187 - rebuilt
188
189 * Wed Nov 20 2002 Tim Powers <timp@redhat.com>
190 - rebuild on all arches
191
192 * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
193 - automated rebuild
194
195 * Sun May 26 2002 Tim Powers <timp@redhat.com>
196 - automated rebuild
197
198 * Wed May 22 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-20
199 - Fix URL (bug #65278).
200
201 * Wed Apr 3 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-19
202 - Fix license (bug #62573).
203
204 * Mon Mar 18 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-18
205 - Fix locale issues (bug #61294).
206
207 * Mon Feb 04 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-17
208 - Rebuild in new environment.
209
210 * Mon Jan 14 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-16.2
211 - Use tmpfile instead of tmpnam or tempnam (bug #57704).
212 - Built for Red Hat Linux 7.x.
213
214 * Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.6.1-16
215 - automated rebuild
216
217 * Wed Dec 19 2001 Tim Waugh <twaugh@redhat.com> 1.6.1-15
218 - Own %{_datadir}/enscript directory (bug #56974).
219
220 * Mon Jun 25 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.6.1-14
221 - add optional mail paramater, closing bug #17750
222 - patch from marques@cs.cornell.edu
223
224 * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
225 - Bump release + rebuild.
226
227 * Tue Feb 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
228 - langify
229
230 * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
231 - automatic rebuild
232
233 * Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
234 - FHS paths
235
236 * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
237 - rebuild to gzip man pages
238
239 * Wed Mar 24 1999 Erik Troan <ewt@redhat.com>
240 - marked /usr/share/enscript/font.map as a config file
241
242 * Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
243 - added documentation to the RPM
244
245 * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
246 - auto rebuild in the new build environment (release 5)
247
248 * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
249 - strip binaries.
250 - include i18n locales.
251
252 * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
253 - Injected new description and group.
254
255 * Wed Nov 11 1998 Preston Brown <pbrown@redhat.com>
256 - translations ripped out, slight cleanup to build section.
257
258 * Mon Nov 09 1998 Preston Brown <pbrown@redhat.com>
259 - initial build of GNU enscript to replace nenscript.

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2