This repository has been archived on 2024-03-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
rpmbuild/vortexdiag/vortexdiag-1.09-1.spec
2024-03-20 09:19:02 -05:00

50 lines
1.2 KiB
RPMSpec

%define name vortexdiag
%define version 1.09
%define release 1
%define prefix /usr
%define postfix /sbin
%define builddir $RPM_BUILD_DIR/%{name}-%{version}
Summary: Diagnostics/EEPROM setup for the 3Com Vortex series
Name: %{name}
Version: %{version}
Release: %{release}
Prefix: %{prefix}
Copyright: GPL
Vendor: Donald Becker <becker@cesdis.gsfc.nasa.gov>
Packager: Troy Engel <tengel@sonic.net>
Group: Utilities/Console
Source: %{name}-%{version}.tar.gz
URL: http://cesdis.gsfc.nasa.gov/linux/diag/index.html
BuildRoot: /tmp/%{name}-%{version}-root
Patch: %{name}-%{version}.patch
%description
This is a diagnostic and EEPROM setup program for Ethernet adapters
based on the 3Com Vortex, Boomerang and Cyclone chips, as used on the
3Com 3c590/595/900/905 PCI EtherLink XL adapters.
%prep
rm -rf $RPM_BUILD_ROOT
rm -rf %{builddir}
%setup
%patch -p1
%build
make
%install
install -d $RPM_BUILD_ROOT%{prefix}%{postfix}
install -m 0755 vortex-diag $RPM_BUILD_ROOT%{prefix}%{postfix}
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{builddir}
%files
%defattr(-,root,root)
%attr(0755,root,root) %{prefix}%{postfix}/vortex-diag
%attr(0644,root,root) %doc vortex-diag.html vortex-diag.url