File pnm2ppa-1.12.dif of Package filters
--- Makefile
+++ Makefile Fri Apr 16 13:40:37 2004
@@ -5,13 +5,13 @@
# paths to locations where the pnm2ppa binary, the configuration file,
# and the man page should be installed. On some systems (like Solaris)
# the install command requires the syntax BINDIR="-f /usr/local/bin".
-BINDIR="/usr/local/bin"
-CONFDIR="/etc"
-MANDIR="/usr/local/man/man1"
+BINDIR=$(DESTDIR)/usr/bin
+CONFDIR=$(DESTDIR)/etc
+MANDIR=$(DESTDIR)/usr/share/man/man1
#compiler and linker options:
CC=gcc
-CFLAGS=-Wall -pedantic -O2
+CFLAGS=-Wall $(RPM_OPT_FLAGS) -DNDEBUG
LDFLAGS=-lm
INSTALL=install
@@ -75,7 +75,7 @@
#
# Do not edit below this line! No user servicable parts below!
#--------------------------------------------------------------------
-INSTALLD=$(INSTALL) -d
+INSTALLD=mkdir -p
CFLAGS+=-DLANG_$(LANG)
default: all
--- pnm2ppa.conf
+++ pnm2ppa.conf Fri Apr 16 13:42:27 2004
@@ -15,7 +15,6 @@
# will be used. The printer version can also be set with the command line
# option e.g., "-v 720".
-version 0 # REMOVE THIS ENTRY to make 720 the default printer model!!!
#version 720 # 710, 712, 722 also acceptable
#version 820
#version 1000
--- utils/Linux/test_ppa
+++ utils/Linux/test_ppa Fri Apr 16 13:43:12 2004
@@ -1,6 +1,6 @@
#!/bin/sh
# test_ppa v 1.03
-# designed for Red Hat Linux systems
+# designed for Red Hat Linux systems, adapted for SuSE by Bernd Kaindl
BINDIR=/usr/bin
CONFIG_DIR=/etc
@@ -29,19 +29,19 @@
case $response in letter | Letter | us | US )
paper="letter"
- page="/usr/lib/rhs/rhs-printfilters/testpage.ps"
+ page="/usr/share/doc/packages/filters/pnm2ppa/testpage.ps"
;;
esac
case $response in legal | Legal )
paper="legal"
- page="/usr/lib/rhs/rhs-printfilters/testpage.ps"
+ page="/usr/share/doc/packages/filters/pnm2ppa/testpage.ps"
;;
esac
case $response in a4 | A4 )
paper="a4"
- page="/usr/lib/rhs/rhs-printfilters/testpage-a4.ps"
+ page="/usr/share/doc/packages/filters/pnm2ppa/testpage-a4.ps"
;;
esac