vortexdiag via WBM
This commit is contained in:
parent
ed6d4320f1
commit
9b127ecf84
1 changed files with 50 additions and 0 deletions
50
vortexdiag/vortexdiag-1.09-1.spec
Normal file
50
vortexdiag/vortexdiag-1.09-1.spec
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
%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
|
||||||
|
|
||||||
Reference in a new issue