parent
01cf8a669c
commit
9e7cfb1097
2 changed files with 19 additions and 1 deletions
11
a2ps-psset.patch
Normal file
11
a2ps-psset.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- a2ps-4.13/contrib/psset.in.psset 2006-10-06 13:12:03.000000000 +0100
|
||||
+++ a2ps-4.13/contrib/psset.in 2006-10-06 13:12:09.000000000 +0100
|
||||
@@ -241,7 +241,7 @@
|
||||
# spaces with a `\' too...
|
||||
pspagedevicelen=`echo "$pspagedevice" | wc -l`
|
||||
pspagedevice=`echo "$pspagedevice" | \
|
||||
- sed -e "$pspagedevicelen!s/\$/\\\\\\/;s/^/\\\\\\/"`
|
||||
+ sed -e "$pspagedevicelen!s/\$/\\\\\\/;s/^ /\\\\\\ /"`
|
||||
|
||||
case $at in
|
||||
0) # Insert last in the Setup, so that we win over other requests.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Converts text and other types of files to PostScript(TM).
|
||||
Name: a2ps
|
||||
Version: 4.13b
|
||||
Release: 57
|
||||
Release: 58
|
||||
License: GPL
|
||||
Group: Applications/Publishing
|
||||
Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
|
||||
|
|
@ -35,6 +35,7 @@ Patch26: a2ps-make-fonts-map.patch
|
|||
Patch27: a2ps-netscape.patch
|
||||
Patch28: a2ps-wdiff.patch
|
||||
Patch29: a2ps-U.patch
|
||||
Patch30: a2ps-psset.patch
|
||||
Requires: fileutils sh-utils info
|
||||
BuildRequires: /usr/bin/emacs, gperf, flex, libtool, texinfo, groff
|
||||
BuildRequires: ImageMagick
|
||||
|
|
@ -125,6 +126,9 @@ and medias.
|
|||
# Make pdiff use diff(1) properly (bug #156916).
|
||||
%patch29 -p1 -b .U
|
||||
|
||||
# Fixed psset sed expression (bug #209613).
|
||||
%patch30 -p1 -b .psset
|
||||
|
||||
# Fix reference to a2ps binary (bug #112930).
|
||||
perl -pi -e "s,/usr/local/bin,%{_bindir}," contrib/emacs/a2ps.el
|
||||
libtoolize --copy --force
|
||||
|
|
@ -235,6 +239,9 @@ fi
|
|||
%dir %{_datadir}/a2ps
|
||||
|
||||
%changelog
|
||||
* Tue Oct 17 2006 Tim Waugh <twaugh@redhat.com> 4.13b-58
|
||||
- Fixed psset sed expression (bug #209613).
|
||||
|
||||
* Mon Oct 9 2006 Tim Waugh <twaugh@redhat.com>
|
||||
- Build requires ImageMagick for a2ps.cfg to use convert(1).
|
||||
- Build requires groff-perl for a2ps.cfg to use grog(1).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue