pkg://3c5x9utils-1.0-3.src.rpm:9573/3c5x9utils.spec
info downloads
Summary: configuration and diagnostic utils for 3Com 5x9 cards.
Name: 3c5x9utils
Version: 1.0
Release: 3
Copyright: GPL
ExclusiveArch: i386
Group: Networking/Utilities
Source: ftp://cesdis.gsfc.nasa.gov/pub/linux/diag/el3.c
Source1: ftp://cesdis.gsfc.nasa.gov/pub/linux/setup/3c5x9setup.c
Patch: 3c5x9utils-1.0-3.patch
BuildRoot: /var/tmp/3c5x9-root
Vendor: Donald Becker <becker@cesdis.gsfc.nasa.gov>
Packager: Peter Soos <sp@osb.hu>
%changelog
* Fri Dec 05 1997 Peter Soos <sp@osb.hu> 1.0-3
Recompiled for RedHat Linux 5.0
%description
3c5x9 and el3-diag :
3c5x9 : EEPROM setup and diagnostic program for the 3Com 3c5x9 series ethercards
el3-diag : Diagnostic program for 3c509 and 3c579 ethercards
%prep
%setup -T -c
cp -p $RPM_SOURCE_DIR/{el3.c,3c5x9setup.c} $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
%patch -p1
%build
gcc $RPM_OPT_FLAGS -o 3c5x9 3c5x9setup.c
gcc $RPM_OPT_FLAGS -o el3-diag el3.c
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/sbin
install -s -m700 3c5x9 el3-diag $RPM_BUILD_ROOT/usr/sbin
%clean
rm -rf $RPM_BUILD_ROOT
%files
/usr/sbin/3c5x9
/usr/sbin/el3-diag