biosdevname/biosdevname.spec

48 lines
1.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: biosdevname
Version: 0.4.1
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://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
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/lib/udev/rules.d/71-biosdevname.rules
%{_sbindir}/biosdevname
%{_mandir}/man1/biosdevname.1*
%doc AUTHORS COPYING
%changelog
* Tue Jun 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
- package created using the webbuild interface