|
cvsdist |
fb3f21 |
Summary: A plain ASCII to PostScript converter.
|
|
cvsdist |
fb3f21 |
Name: enscript
|
|
Tim Waugh |
34b903 |
Version: 1.6.4
|
|
Jesse Keating |
84f45a |
Release: 12%{?dist}
|
|
Adam Tkac |
2e25bb |
License: GPLv2
|
|
cvsdist |
fb3f21 |
Group: Applications/Publishing
|
|
Tim Waugh |
34b903 |
Source0: http://www.iki.fi/mtr/genscript/enscript-%{version}.tar.gz
|
|
jkudrnac |
17aa3c |
Source1: enscript-ruby-1.6.4.tar.gz
|
|
jkudrnac |
17aa3c |
#http://neugierig.org/software/ruby/ruby-enscript.tar.gz
|
|
jkudrnac |
17aa3c |
Source2: enscript-php-1.6.4.st
|
|
jkudrnac |
17aa3c |
#http://home.raxnet.net/downloads/viewcvs/php.st
|
|
cvsdist |
ba9fc2 |
Patch0: enscript-1.6.1-config.patch
|
|
jkudrnac |
17aa3c |
Patch1: enscript-1.6.4-hilight.patch
|
|
cvsdist |
2b2c18 |
Patch3: enscript-1.6.1-locale.patch
|
|
Tim Waugh |
7e9d1f |
Patch4: enscript-doublefree.patch
|
|
Tim Waugh |
0498d5 |
Patch6: enscript-1.6.1-CAN-2004-1185.patch
|
|
Tim Waugh |
657c28 |
Patch7: enscript-1.6.1-CAN-2004-1186.patch
|
|
Adam Tkac |
ecde85 |
Patch8: enscript-wrap_header.patch
|
|
Adam Tkac |
9068b0 |
Patch9: enscript-1.6.4-rh457719.patch
|
|
Adam Tkac |
9068b0 |
Patch10:enscript-1.6.4-rh457720.patch
|
|
Adam Tkac |
0f3e89 |
Patch11:enscript-CVE-2008-3863+CVE-2008-4306.patch
|
|
jkudrnac |
f2c535 |
URL: http://www.codento.com/people/mtr/genscript/
|
|
Florian La Roche |
816f13 |
Prereq: /sbin/install-info
|
|
cvsdist |
fb3f21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
cvsdist |
fb3f21 |
Obsoletes: nenscript
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
%description
|
|
cvsdist |
fb3f21 |
GNU enscript is a free replacement for Adobe's Enscript
|
|
cvsdist |
fb3f21 |
program. Enscript converts ASCII files to PostScript(TM) and spools
|
|
cvsdist |
fb3f21 |
generated PostScript output to the specified printer or saves it to a
|
|
cvsdist |
4398c9 |
file. Enscript can be extended to handle different output media and
|
|
cvsdist |
fb3f21 |
includes many options for customizing printouts.
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
%prep
|
|
cvsdist |
fb3f21 |
%setup -q
|
|
cvsdist |
ba9fc2 |
%patch0 -p1 -b .config
|
|
jkudrnac |
17aa3c |
%patch1 -p1 -b .hilight
|
|
cvsdist |
2b2c18 |
%patch3 -p1 -b .locale
|
|
Tim Waugh |
7e9d1f |
%patch4 -p1 -b .doublefree
|
|
Tim Waugh |
0498d5 |
%patch6 -p1 -b .CAN-2004-1185
|
|
Tim Waugh |
603965 |
%patch7 -p1 -b .CAN-2004-1186
|
|
jkudrnac |
8053e3 |
%patch8 -p1 -b .wrap_header
|
|
Adam Tkac |
9068b0 |
%patch9 -p1 -b .rh457719
|
|
Adam Tkac |
9068b0 |
%patch10 -p1 -b .rh457720
|
|
Adam Tkac |
0f3e89 |
%patch11 -p0 -b .CVE-2008-3863+CVE-2008-4306
|
|
jkudrnac |
17aa3c |
%{__tar} -C states/hl -zxf %{SOURCE1} ruby.st
|
|
jkudrnac |
17aa3c |
install -pm 644 %{SOURCE2} states/hl/php.st
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
%build
|
|
cvsdist |
fb3f21 |
%configure --with-media=Letter
|
|
Tim Waugh |
8376f6 |
make
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
%install
|
|
cvsdist |
fb3f21 |
rm -rf %{buildroot}
|
|
cvsdist |
fb3f21 |
mkdir -p %{buildroot}%{_datadir}/locale/{de,es,fi,fr,nl,sl}/LC_MESSAGES
|
|
cvsdist |
fb3f21 |
make DESTDIR=%{buildroot} install
|
|
Tim Waugh |
775d0c |
rm -f %{buildroot}%{_datadir}/info/dir
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
285065 |
%find_lang %name
|
|
cvsdist |
285065 |
|
|
cvsdist |
fb3f21 |
# XXX note doubled %% in sed script below.
|
|
Tim Waugh |
34b903 |
(cd %{buildroot};find .%{_datadir}/enscript/* \! -type d) | \
|
|
cvsdist |
fb3f21 |
sed -e 's,^\.,,' | sed -e 's,*font.map,%%config &,' > share.list
|
|
Tim Waugh |
34b903 |
(cd %{buildroot};find .%{_datadir}/enscript/* -type d) | \
|
|
Tim Waugh |
34b903 |
sed -e 's,^\.,,' | sed -e 's,^,%dir ,' >> share.list
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
285065 |
( cd %{buildroot}
|
|
cvsdist |
fb3f21 |
ln .%{_prefix}/bin/enscript .%{_prefix}/bin/nenscript
|
|
cvsdist |
285065 |
)
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
285065 |
cat %{name}.lang >> share.list
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
%clean
|
|
cvsdist |
fb3f21 |
rm -rf %{buildroot}
|
|
cvsdist |
fb3f21 |
|
|
Tim Waugh |
34b903 |
%preun
|
|
Tim Waugh |
34b903 |
if [ $1 = 0 ]; then
|
|
Tim Waugh |
34b903 |
[ -f %{_infodir}/%{name}.info.gz ] && \
|
|
Tim Waugh |
34b903 |
/sbin/install-info --delete %{_infodir}/%{name}.info.gz \
|
|
Tim Waugh |
34b903 |
%{_infodir}/dir || :
|
|
Tim Waugh |
34b903 |
fi
|
|
Tim Waugh |
34b903 |
|
|
Tim Waugh |
34b903 |
%post
|
|
Tim Waugh |
34b903 |
[ -f %{_infodir}/%{name}.info.gz ] && \
|
|
Tim Waugh |
34b903 |
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
|
Tim Waugh |
34b903 |
|
|
cvsdist |
fb3f21 |
%files -f share.list
|
|
Tim Waugh |
34b903 |
%doc AUTHORS ChangeLog docs/FAQ.html NEWS README README.ESCAPES THANKS TODO
|
|
cvsdist |
fb3f21 |
%defattr(-,root,root)
|
|
cvsdist |
fb3f21 |
%{_bindir}/*
|
|
cvsdist |
fb3f21 |
%{_mandir}/man1/*
|
|
cvsdist |
4398c9 |
%dir %{_datadir}/enscript
|
|
Tim Waugh |
34b903 |
%{_infodir}/%{name}*
|
|
cvsdist |
fb3f21 |
%config(noreplace) %{_sysconfdir}/enscript.cfg
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
%changelog
|
|
Jesse Keating |
84f45a |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-12
|
|
Jesse Keating |
84f45a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
Jesse Keating |
84f45a |
|
|
Adam Tkac |
0f3e89 |
* Mon Nov 03 2008 Adam Tkac <atkac redhat com> 1.6.4-11
|
|
Adam Tkac |
0f3e89 |
- fixed various buffer overflows (CVE-2008-3863, CVE-2008-4306)
|
|
Adam Tkac |
0f3e89 |
|
|
Adam Tkac |
9068b0 |
* Fri Aug 08 2008 Adam Tkac <atkac redhat com> 1.6.4-10
|
|
Adam Tkac |
9068b0 |
- updated patches due rpm 4.6
|
|
Adam Tkac |
9068b0 |
- enscript -w is handled well (#457719)
|
|
Adam Tkac |
9068b0 |
- mkafmmap -V is handled well (#457720)
|
|
Adam Tkac |
9068b0 |
|
|
Jesse Keating |
8a087a |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6.4-9
|
|
Jesse Keating |
8a087a |
- Autorebuild for GCC 4.3
|
|
Jesse Keating |
8a087a |
|
|
Adam Tkac |
2e25bb |
* Wed Aug 22 2007 Adam Tkac <atkac redhat com> 1.6.4-8
|
|
Adam Tkac |
2e25bb |
- rebuild (BuildID feature)
|
|
Adam Tkac |
2e25bb |
- change license to GPLv2
|
|
Adam Tkac |
2e25bb |
|
|
Adam Tkac |
2e25bb |
* Mon Feb 12 2007 Adam Tkac <atkac redhat com> 1.6.4-7
|
|
Adam Tkac |
f262f9 |
- wrap_header patch had problems with around 70 characters long headers
|
|
Adam Tkac |
f262f9 |
|
|
Adam Tkac |
2e25bb |
* Fri Jan 26 2007 Adam Tkac <atkac redhat com> 1.6.4-6
|
|
Adam Tkac |
ecde85 |
- wrap_header patch has been improved
|
|
Adam Tkac |
ecde85 |
|
|
Adam Tkac |
2e25bb |
* Tue Dec 19 2006 Adam Tkac <atkac redhat com> 1.6.4-5
|
|
Adam Tkac |
ecde85 |
- fixed long-header patch
|
|
Adam Tkac |
51743b |
|
|
jkudrnac |
8053e3 |
* Fri Sep 01 2006 Jitka Kudrnacova <jkudrnac@redhat.com> - 1.6.4-4
|
|
jkudrnac |
8053e3 |
- enscript now wrapes long header instead of truncating
|
|
jkudrnac |
8053e3 |
|
|
Jesse Keating |
f30628 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.6.4-3.1
|
|
Jesse Keating |
f30628 |
- rebuild
|
|
Jesse Keating |
f30628 |
|
|
Florian La Roche |
816f13 |
* Tue Jun 27 2006 Florian La Roche <laroche@redhat.com> - 1.6.4-3
|
|
Florian La Roche |
816f13 |
- /sbin/install-info is required for scripts
|
|
Florian La Roche |
816f13 |
|
|
jkudrnac |
17aa3c |
*Fri Feb 17 2006 Jitka Kudrnacova <jkudrnac@redhat.com> 1.6.4-2
|
|
jkudrnac |
17aa3c |
- added new highlighters (#177336)
|
|
jkudrnac |
17aa3c |
|
|
Jesse Keating |
387809 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.6.4-1.1.2
|
|
Jesse Keating |
387809 |
- bump again for double-long bug on ppc(64)
|
|
Jesse Keating |
387809 |
|
|
Jesse Keating |
ac62d3 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.6.4-1.1.1
|
|
Jesse Keating |
ac62d3 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
Jesse Keating |
ac62d3 |
|
|
jkudrnac |
f2c535 |
* Fri Jan 27 2006 Jitka Kudrnacova <jkudrnac@redhat.com> 1.6.4-1.1
|
|
jkudrnac |
f2c535 |
- fixed URL in the description (bug #178444)
|
|
jkudrnac |
f2c535 |
|
|
Tim Waugh |
34b903 |
* Fri Dec 23 2005 Tim Waugh <twaugh@redhat.com> 1.6.4-1
|
|
Tim Waugh |
6ffd3f |
- 1.6.4 (bug #176349). No longer need tmp, CAN-2004-1184, demunge patches.
|
|
Tim Waugh |
34b903 |
|
|
Jesse Keating |
c8732c |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
Jesse Keating |
c8732c |
- rebuilt
|
|
Jesse Keating |
c8732c |
|
|
Tim Waugh |
8376f6 |
* Tue Mar 8 2005 Tim Waugh <twaugh@redhat.com> 1.6.1-31
|
|
Tim Waugh |
8376f6 |
- Fixed po files (bug #149859).
|
|
Tim Waugh |
8376f6 |
|
|
Tim Waugh |
13f422 |
* Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 1.6.1-30
|
|
Tim Waugh |
13f422 |
- Rebuild for new GCC.
|
|
Tim Waugh |
13f422 |
|
|
Tim Waugh |
38e65e |
* Tue Jan 29 2005 Tim Waugh <twaugh@redhat.com> 1.6.1-29
|
|
Tim Waugh |
657c28 |
- Applied patch to fix CAN-2004-1186 (bug #144684).
|
|
Tim Waugh |
0498d5 |
- Applied patch to fix CAN-2004-1185 (bug #144684).
|
|
Tim Waugh |
ace8c2 |
- Backported patch to fix CAN-2004-1184 (bug #144684).
|
|
Tim Waugh |
ace8c2 |
|
|
Tim Waugh |
7e9d1f |
* Mon Sep 27 2004 Tim Waugh <twaugh@redhat.com> 1.6.1-28
|
|
Tim Waugh |
7e9d1f |
- Fixed double-free problem (bug #132964).
|
|
Tim Waugh |
7e9d1f |
|
|
cvsdist |
3f453c |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
3f453c |
- rebuilt
|
|
cvsdist |
3f453c |
|
|
cvsdist |
3f453c |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
3f453c |
- rebuilt
|
|
cvsdist |
3f453c |
|
|
cvsdist |
3f453c |
* Mon Nov 3 2003 Tim Waugh <twaugh@redhat.com>
|
|
cvsdist |
3f453c |
- Removed mail patch. It was included to be more compatible with an
|
|
cvsdist |
3f453c |
lpr we no longer ship. Fixes bug #108762.
|
|
cvsdist |
3f453c |
|
|
cvsdist |
b39280 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
b39280 |
- rebuilt
|
|
cvsdist |
b39280 |
|
|
cvsdist |
6a7889 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
cvsdist |
6a7889 |
- rebuilt
|
|
cvsdist |
6a7889 |
|
|
cvsdist |
6a7889 |
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
|
|
cvsdist |
6a7889 |
- rebuild on all arches
|
|
cvsdist |
6a7889 |
|
|
cvsdist |
407f5c |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
cvsdist |
407f5c |
- automated rebuild
|
|
cvsdist |
407f5c |
|
|
cvsdist |
f1254b |
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
cvsdist |
f1254b |
- automated rebuild
|
|
cvsdist |
f1254b |
|
|
cvsdist |
f1254b |
* Wed May 22 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-20
|
|
cvsdist |
f1254b |
- Fix URL (bug #65278).
|
|
cvsdist |
f1254b |
|
|
cvsdist |
a42edc |
* Wed Apr 3 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-19
|
|
cvsdist |
a42edc |
- Fix license (bug #62573).
|
|
cvsdist |
a42edc |
|
|
cvsdist |
2b2c18 |
* Mon Mar 18 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-18
|
|
cvsdist |
2b2c18 |
- Fix locale issues (bug #61294).
|
|
cvsdist |
2b2c18 |
|
|
cvsdist |
2b2c18 |
* Mon Feb 04 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-17
|
|
cvsdist |
2b2c18 |
- Rebuild in new environment.
|
|
cvsdist |
517910 |
|
|
cvsdist |
4398c9 |
* Mon Jan 14 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-16.2
|
|
cvsdist |
4398c9 |
- Use tmpfile instead of tmpnam or tempnam (bug #57704).
|
|
cvsdist |
4398c9 |
- Built for Red Hat Linux 7.x.
|
|
cvsdist |
4398c9 |
|
|
cvsdist |
4398c9 |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.6.1-16
|
|
cvsdist |
4398c9 |
- automated rebuild
|
|
cvsdist |
4398c9 |
|
|
cvsdist |
4398c9 |
* Wed Dec 19 2001 Tim Waugh <twaugh@redhat.com> 1.6.1-15
|
|
cvsdist |
4398c9 |
- Own %{_datadir}/enscript directory (bug #56974).
|
|
cvsdist |
4398c9 |
|
|
cvsdist |
4398c9 |
* Mon Jun 25 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.6.1-14
|
|
cvsdist |
ba9fc2 |
- add optional mail paramater, closing bug #17750
|
|
cvsdist |
ba9fc2 |
- patch from marques@cs.cornell.edu
|
|
cvsdist |
ba9fc2 |
|
|
cvsdist |
bd16bd |
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
bd16bd |
- Bump release + rebuild.
|
|
cvsdist |
bd16bd |
|
|
cvsdist |
285065 |
* Tue Feb 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
cvsdist |
285065 |
- langify
|
|
cvsdist |
285065 |
|
|
cvsdist |
fb3f21 |
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
cvsdist |
fb3f21 |
- automatic rebuild
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
|
|
cvsdist |
fb3f21 |
- FHS paths
|
|
cvsdist |
4398c9 |
|
|
cvsdist |
fb3f21 |
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
|
|
cvsdist |
fb3f21 |
- rebuild to gzip man pages
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
* Wed Mar 24 1999 Erik Troan <ewt@redhat.com>
|
|
cvsdist |
fb3f21 |
- marked /usr/share/enscript/font.map as a config file
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
* Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
|
|
cvsdist |
fb3f21 |
- added documentation to the RPM
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
fb3f21 |
- auto rebuild in the new build environment (release 5)
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
fb3f21 |
- strip binaries.
|
|
cvsdist |
fb3f21 |
- include i18n locales.
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
|
|
cvsdist |
fb3f21 |
- Injected new description and group.
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
* Wed Nov 11 1998 Preston Brown <pbrown@redhat.com>
|
|
cvsdist |
fb3f21 |
- translations ripped out, slight cleanup to build section.
|
|
cvsdist |
fb3f21 |
|
|
cvsdist |
fb3f21 |
* Mon Nov 09 1998 Preston Brown <pbrown@redhat.com>
|
|
cvsdist |
fb3f21 |
- initial build of GNU enscript to replace nenscript.
|