Build_rpm
------------------------------------------------------
The ./build_modules followed by ./ltinst will (except for
dial up scripts ) will make your modem installation
functional. Once you have confirmed functionality, a final
step is to properly register the software, to gaurantee easy
upgrade and/or removal with your particular Linux
distributions package management tools.  For distributions
using a rpm package maintenance system.  This is aided  by
the command:

#   ./build_rpm
which if System requirements are met, will output a
    ltmodem-2.4.0-5.78e-1.i386.rpm
The whole installation will then be redone with the command
#  rpm -i ltmodem-2.4.0-5.78e-1.i386.rpm  
but this time, WITH Proper Registration of the package.

Below is what the report of a: 
# ./build_rpm
Build an rpm for ltmodem
Executing: %prep
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf ltmodem-5.78e
+ /bin/gzip -dc /root/ltmodem-5.78e/ltmodem-5.78e.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ltmodem-5.78e
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing: %build
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ltmodem-5.78e
+ make
make: Nothing to be done for `all'.
+ exit 0
Executing: %install
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ltmodem-5.78e
+ rm -rf /var/tmp/ltmodem-root
+ mkdir -p /var/tmp/ltmodem-root/lib/modules/2.4.0/kernel/drivers/char
+ cp ltmodem.o /var/tmp/ltmodem-root/lib/modules/2.4.0/kernel/drivers/char
+ exit 0
Processing files: ltmodem-2.4.0-5.78e-1
Executing: %doc
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ltmodem-5.78e
+ DOCDIR=/var/tmp/ltmodem-root/usr/doc/ltmodem-2.4.0-5.78e
+ export DOCDIR
+ rm -rf /var/tmp/ltmodem-root/usr/doc/ltmodem-2.4.0-5.78e
+ /bin/mkdir -p /var/tmp/ltmodem-root/usr/doc/ltmodem-2.4.0-5.78e
+ cp -pr README COMPLAINTS MAKE-RECORD XIRCOM-FIX CONFIG LTMODEM_PCI_IDS 1ST-READ CREDITS PCI-ID-TESTS RPM-HOW UPDATES-BUGS /var/tmp/ltmodem-root/usr/doc/ltmodem-2.4.0-5.78e
+ exit 0
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /usr/lib/rpm/find-requires)...
warning: Could not canonicalize hostname: stodolsk
PreReq: /bin/sh
Requires: kernel = 2.4.0 kernel-headers = 2.4.0
Wrote: /usr/src/redhat/SRPMS/ltmodem-5.78e-1.src.rpm
Wrote: /usr/src/redhat/RPMS/i386/ltmodem-2.4.0-5.78e-1.i386.rpm
Executing: %clean
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ltmodem-5.78e
+ rm -rf /var/tmp/ltmodem-root
+ exit 0
Executing: --clean
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf ltmodem-5.78e
+ exit 0
 
Install the generated rpm with the command
 
rpm -i ltmodem-2.4.0-5.78e-1.i386.rpm  







