2004-09-09 04:31:18 +00:00
|
|
|
|
Summary: A plain ASCII to PostScript converter.
|
|
|
|
|
Name: enscript
|
2005-12-23 10:28:41 +00:00
|
|
|
|
Version: 1.6.4
|
2006-07-12 05:44:45 +00:00
|
|
|
|
Release: 3.1
|
2004-09-09 04:33:23 +00:00
|
|
|
|
License: GPL
|
2004-09-09 04:31:18 +00:00
|
|
|
|
Group: Applications/Publishing
|
2005-12-23 10:28:41 +00:00
|
|
|
|
Source0: http://www.iki.fi/mtr/genscript/enscript-%{version}.tar.gz
|
2006-02-17 15:33:18 +00:00
|
|
|
|
Source1: enscript-ruby-1.6.4.tar.gz
|
|
|
|
|
#http://neugierig.org/software/ruby/ruby-enscript.tar.gz
|
|
|
|
|
Source2: enscript-php-1.6.4.st
|
|
|
|
|
#http://home.raxnet.net/downloads/viewcvs/php.st
|
2004-09-09 04:32:05 +00:00
|
|
|
|
Patch0: enscript-1.6.1-config.patch
|
2006-02-17 15:33:18 +00:00
|
|
|
|
Patch1: enscript-1.6.4-hilight.patch
|
2004-09-09 04:33:20 +00:00
|
|
|
|
Patch3: enscript-1.6.1-locale.patch
|
2004-09-27 13:37:24 +00:00
|
|
|
|
Patch4: enscript-doublefree.patch
|
2005-01-29 12:50:02 +00:00
|
|
|
|
Patch6: enscript-1.6.1-CAN-2004-1185.patch
|
2005-01-29 12:50:35 +00:00
|
|
|
|
Patch7: enscript-1.6.1-CAN-2004-1186.patch
|
2006-02-03 12:07:17 +00:00
|
|
|
|
URL: http://www.codento.com/people/mtr/genscript/
|
2006-06-27 06:19:40 +00:00
|
|
|
|
Prereq: /sbin/install-info
|
2004-09-09 04:31:18 +00:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
Obsoletes: nenscript
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
GNU enscript is a free replacement for Adobe's Enscript
|
|
|
|
|
program. Enscript converts ASCII files to PostScript(TM) and spools
|
|
|
|
|
generated PostScript output to the specified printer or saves it to a
|
2004-09-09 04:33:03 +00:00
|
|
|
|
file. Enscript can be extended to handle different output media and
|
2004-09-09 04:31:18 +00:00
|
|
|
|
includes many options for customizing printouts.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2004-09-09 04:32:05 +00:00
|
|
|
|
%patch0 -p1 -b .config
|
2006-02-17 15:33:18 +00:00
|
|
|
|
%patch1 -p1 -b .hilight
|
2004-09-09 04:33:20 +00:00
|
|
|
|
%patch3 -p1 -b .locale
|
2004-09-27 13:37:24 +00:00
|
|
|
|
%patch4 -p1 -b .doublefree
|
2005-01-29 12:50:02 +00:00
|
|
|
|
%patch6 -p1 -b .CAN-2004-1185
|
2005-01-29 12:50:49 +00:00
|
|
|
|
%patch7 -p1 -b .CAN-2004-1186
|
2006-02-17 15:33:18 +00:00
|
|
|
|
%{__tar} -C states/hl -zxf %{SOURCE1} ruby.st
|
|
|
|
|
install -pm 644 %{SOURCE2} states/hl/php.st
|
2004-09-09 04:31:18 +00:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --with-media=Letter
|
2005-03-08 16:27:46 +00:00
|
|
|
|
make
|
2004-09-09 04:31:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/locale/{de,es,fi,fr,nl,sl}/LC_MESSAGES
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
2005-12-23 12:09:07 +00:00
|
|
|
|
rm -f %{buildroot}%{_datadir}/info/dir
|
2004-09-09 04:31:18 +00:00
|
|
|
|
|
2004-09-09 04:31:28 +00:00
|
|
|
|
%find_lang %name
|
|
|
|
|
|
2004-09-09 04:31:18 +00:00
|
|
|
|
# XXX note doubled %% in sed script below.
|
2005-12-23 10:28:41 +00:00
|
|
|
|
(cd %{buildroot};find .%{_datadir}/enscript/* \! -type d) | \
|
2004-09-09 04:31:18 +00:00
|
|
|
|
sed -e 's,^\.,,' | sed -e 's,*font.map,%%config &,' > share.list
|
2005-12-23 10:28:41 +00:00
|
|
|
|
(cd %{buildroot};find .%{_datadir}/enscript/* -type d) | \
|
|
|
|
|
sed -e 's,^\.,,' | sed -e 's,^,%dir ,' >> share.list
|
2004-09-09 04:31:18 +00:00
|
|
|
|
|
2004-09-09 04:31:28 +00:00
|
|
|
|
( cd %{buildroot}
|
2004-09-09 04:31:18 +00:00
|
|
|
|
ln .%{_prefix}/bin/enscript .%{_prefix}/bin/nenscript
|
2004-09-09 04:31:28 +00:00
|
|
|
|
)
|
2004-09-09 04:31:18 +00:00
|
|
|
|
|
2004-09-09 04:31:28 +00:00
|
|
|
|
cat %{name}.lang >> share.list
|
2004-09-09 04:31:18 +00:00
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
2005-12-23 10:28:41 +00:00
|
|
|
|
%preun
|
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
|
[ -f %{_infodir}/%{name}.info.gz ] && \
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info.gz \
|
|
|
|
|
%{_infodir}/dir || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
[ -f %{_infodir}/%{name}.info.gz ] && \
|
|
|
|
|
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
|
|
|
|
|
2004-09-09 04:31:18 +00:00
|
|
|
|
%files -f share.list
|
2005-12-23 10:28:41 +00:00
|
|
|
|
%doc AUTHORS ChangeLog docs/FAQ.html NEWS README README.ESCAPES THANKS TODO
|
2004-09-09 04:31:18 +00:00
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_mandir}/man1/*
|
2004-09-09 04:33:03 +00:00
|
|
|
|
%dir %{_datadir}/enscript
|
2005-12-23 10:28:41 +00:00
|
|
|
|
%{_infodir}/%{name}*
|
2004-09-09 04:31:18 +00:00
|
|
|
|
%config(noreplace) %{_sysconfdir}/enscript.cfg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2006-07-12 05:44:45 +00:00
|
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.6.4-3.1
|
|
|
|
|
- rebuild
|
|
|
|
|
|
2006-06-27 06:19:40 +00:00
|
|
|
|
* Tue Jun 27 2006 Florian La Roche <laroche@redhat.com> - 1.6.4-3
|
|
|
|
|
- /sbin/install-info is required for scripts
|
|
|
|
|
|
2006-02-17 15:33:18 +00:00
|
|
|
|
*Fri Feb 17 2006 Jitka Kudrnacova <jkudrnac@redhat.com> 1.6.4-2
|
|
|
|
|
- added new highlighters (#177336)
|
|
|
|
|
|
2006-02-11 02:37:52 +00:00
|
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.6.4-1.1.2
|
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
|
2006-02-07 11:29:51 +00:00
|
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.6.4-1.1.1
|
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
|
2006-02-03 12:07:17 +00:00
|
|
|
|
* Fri Jan 27 2006 Jitka Kudrnacova <jkudrnac@redhat.com> 1.6.4-1.1
|
|
|
|
|
- fixed URL in the description (bug #178444)
|
|
|
|
|
|
2005-12-23 10:28:41 +00:00
|
|
|
|
* Fri Dec 23 2005 Tim Waugh <twaugh@redhat.com> 1.6.4-1
|
2005-12-23 10:29:11 +00:00
|
|
|
|
- 1.6.4 (bug #176349). No longer need tmp, CAN-2004-1184, demunge patches.
|
2005-12-23 10:28:41 +00:00
|
|
|
|
|
2005-12-09 22:40:19 +00:00
|
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2005-03-08 16:27:46 +00:00
|
|
|
|
* Tue Mar 8 2005 Tim Waugh <twaugh@redhat.com> 1.6.1-31
|
|
|
|
|
- Fixed po files (bug #149859).
|
|
|
|
|
|
2005-03-02 18:46:42 +00:00
|
|
|
|
* Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 1.6.1-30
|
|
|
|
|
- Rebuild for new GCC.
|
|
|
|
|
|
2005-01-29 12:51:02 +00:00
|
|
|
|
* Tue Jan 29 2005 Tim Waugh <twaugh@redhat.com> 1.6.1-29
|
2005-01-29 12:50:35 +00:00
|
|
|
|
- Applied patch to fix CAN-2004-1186 (bug #144684).
|
2005-01-29 12:50:02 +00:00
|
|
|
|
- Applied patch to fix CAN-2004-1185 (bug #144684).
|
2005-01-29 12:49:01 +00:00
|
|
|
|
- Backported patch to fix CAN-2004-1184 (bug #144684).
|
|
|
|
|
|
2004-09-27 13:37:24 +00:00
|
|
|
|
* Mon Sep 27 2004 Tim Waugh <twaugh@redhat.com> 1.6.1-28
|
|
|
|
|
- Fixed double-free problem (bug #132964).
|
|
|
|
|
|
2004-09-09 04:34:25 +00:00
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Mon Nov 3 2003 Tim Waugh <twaugh@redhat.com>
|
|
|
|
|
- Removed mail patch. It was included to be more compatible with an
|
|
|
|
|
lpr we no longer ship. Fixes bug #108762.
|
|
|
|
|
|
2004-09-09 04:34:09 +00:00
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2004-09-09 04:33:49 +00:00
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- rebuild on all arches
|
|
|
|
|
|
2004-09-09 04:33:44 +00:00
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
2004-09-09 04:33:41 +00:00
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 22 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-20
|
|
|
|
|
- Fix URL (bug #65278).
|
|
|
|
|
|
2004-09-09 04:33:23 +00:00
|
|
|
|
* Wed Apr 3 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-19
|
|
|
|
|
- Fix license (bug #62573).
|
|
|
|
|
|
2004-09-09 04:33:20 +00:00
|
|
|
|
* Mon Mar 18 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-18
|
|
|
|
|
- Fix locale issues (bug #61294).
|
|
|
|
|
|
|
|
|
|
* Mon Feb 04 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-17
|
|
|
|
|
- Rebuild in new environment.
|
2004-09-09 04:33:11 +00:00
|
|
|
|
|
2004-09-09 04:33:03 +00:00
|
|
|
|
* Mon Jan 14 2002 Tim Waugh <twaugh@redhat.com> 1.6.1-16.2
|
|
|
|
|
- Use tmpfile instead of tmpnam or tempnam (bug #57704).
|
|
|
|
|
- Built for Red Hat Linux 7.x.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.6.1-16
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Dec 19 2001 Tim Waugh <twaugh@redhat.com> 1.6.1-15
|
|
|
|
|
- Own %{_datadir}/enscript directory (bug #56974).
|
|
|
|
|
|
|
|
|
|
* Mon Jun 25 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.6.1-14
|
2004-09-09 04:32:05 +00:00
|
|
|
|
- add optional mail paramater, closing bug #17750
|
|
|
|
|
- patch from marques@cs.cornell.edu
|
|
|
|
|
|
2004-09-09 04:31:34 +00:00
|
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
|
2004-09-09 04:31:28 +00:00
|
|
|
|
* Tue Feb 27 2001 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com>
|
|
|
|
|
- langify
|
|
|
|
|
|
2004-09-09 04:31:18 +00:00
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- FHS paths
|
2004-09-09 04:33:03 +00:00
|
|
|
|
|
2004-09-09 04:31:18 +00:00
|
|
|
|
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- rebuild to gzip man pages
|
|
|
|
|
|
|
|
|
|
* Wed Mar 24 1999 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- marked /usr/share/enscript/font.map as a config file
|
|
|
|
|
|
|
|
|
|
* Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- added documentation to the RPM
|
|
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- auto rebuild in the new build environment (release 5)
|
|
|
|
|
|
|
|
|
|
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- strip binaries.
|
|
|
|
|
- include i18n locales.
|
|
|
|
|
|
|
|
|
|
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- Injected new description and group.
|
|
|
|
|
|
|
|
|
|
* Wed Nov 11 1998 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- translations ripped out, slight cleanup to build section.
|
|
|
|
|
|
|
|
|
|
* Mon Nov 09 1998 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- initial build of GNU enscript to replace nenscript.
|