2004-09-09 04:31:18 +00:00
|
|
|
|
Summary: A plain ASCII to PostScript converter.
|
|
|
|
|
Name: enscript
|
|
|
|
|
Version: 1.6.1
|
2004-09-09 04:33:03 +00:00
|
|
|
|
Release: 16.2
|
|
|
|
|
License: GNU
|
2004-09-09 04:31:18 +00:00
|
|
|
|
Group: Applications/Publishing
|
2004-09-09 04:32:05 +00:00
|
|
|
|
Source0: ftp://ftp.gnu.org/pub/gnu/enscript-%{version}.tar.gz
|
|
|
|
|
Patch0: enscript-1.6.1-config.patch
|
|
|
|
|
Patch1: enscript-1.6.1-mail.patch
|
2004-09-09 04:33:03 +00:00
|
|
|
|
Patch2: enscript-1.6.1-tmp.patch
|
2004-09-09 04:31:18 +00:00
|
|
|
|
URL: http://www.ngs.fi/mtr/genscript/index.html
|
|
|
|
|
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
|
|
|
|
|
%patch1 -p1 -b .mail
|
2004-09-09 04:33:03 +00:00
|
|
|
|
%patch2 -p1 -b .tmp
|
2004-09-09 04:31:18 +00:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --with-media=Letter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/locale/{de,es,fi,fr,nl,sl}/LC_MESSAGES
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
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.
|
|
|
|
|
(cd %{buildroot};find .%{_datadir}/enscript/*) | \
|
|
|
|
|
sed -e 's,^\.,,' | sed -e 's,*font.map,%%config &,' > share.list
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
|
%files -f share.list
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_mandir}/man1/*
|
2004-09-09 04:33:03 +00:00
|
|
|
|
%dir %{_datadir}/enscript
|
2004-09-09 04:31:18 +00:00
|
|
|
|
%config(noreplace) %{_sysconfdir}/enscript.cfg
|
|
|
|
|
|
|
|
|
|
%doc AUTHORS ChangeLog FAQ.html NEWS README README.ESCAPES THANKS TODO
|
|
|
|
|
|
|
|
|
|
%changelog
|
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.
|