biosdevname/biosdevname.spec

58 lines
1.6 KiB
RPMSpec

Name: biosdevname
Version: 0.7.3
Release: 1mamba
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://github.com/dell/biosdevname.git/v%{version}/biosdevname-%{version}.tar.bz2
#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
./autogen.sh
%build
%configure \
--sbindir=/sbin
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/sbin/biosdevname
%{_udevrulesdir}/71-biosdevname.rules
%{_mandir}/man1/biosdevname.1*
%doc AUTHORS COPYING
%changelog
* Thu Feb 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.3-1mamba
- update to 0.7.3
* Fri Aug 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-2mamba
- move binary to /sbin to comply with udev rules file
* Tue Jun 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
- package created using the webbuild interface