2024-01-05 20:48:26 +01:00
|
|
|
Name: biosdevname
|
|
|
|
Version: 0.4.1
|
2024-01-05 20:48:26 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 20:48:26 +01:00
|
|
|
Summary: Udev helper for naming devices per BIOS names
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://linux.dell.com/biosdevname/
|
|
|
|
Source: https://linux.dell.com/biosdevname/biosdevname-%{version}/biosdevname-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libpci-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Biosdevname is a udev helper utility which provides a consistent naming mechanism for network devices based on their physical location as suggested by the system BIOS.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 20:48:26 +01:00
|
|
|
%configure \
|
|
|
|
--sbindir=/sbin
|
|
|
|
|
2024-01-05 20:48:26 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/lib/udev/rules.d/71-biosdevname.rules
|
2024-01-05 20:48:26 +01:00
|
|
|
/sbin/biosdevname
|
2024-01-05 20:48:26 +01:00
|
|
|
%{_mandir}/man1/biosdevname.1*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:48:26 +01:00
|
|
|
* Fri Aug 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-2mamba
|
|
|
|
- move binary to /sbin to comply with udev rules file
|
|
|
|
|
2024-01-05 20:48:26 +01:00
|
|
|
* Tue Jun 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
|
|
|
|
- package created using the webbuild interface
|