biosdevname/biosdevname.spec

53 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: biosdevname
Version: 0.4.1
Release: 2mamba
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
%configure \
--sbindir=/sbin
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/lib/udev/rules.d/71-biosdevname.rules
/sbin/biosdevname
%{_mandir}/man1/biosdevname.1*
%doc AUTHORS COPYING
%changelog
* 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