Summary: Udev helper for naming devices per BIOS names
+Summary(pl.UTF-8): Program pomocniczy udev do nazywania urządzeń zgodnie z nazwami BIOS-u
Name: biosdevname
-Version: 0.3.8
+Version: 0.7.3
Release: 1
License: GPL v2
Group: Base
-URL: http://linux.dell.com/files/biosdevname
-Source0: http://linux.dell.com/files/biosdevname/permalink/%{name}-%{version}.tar.gz
-# Source0-md5: 93c7bc3859033534ace6c2556b5b6bba
-BuildRequires: autoconf
+#Source0Download: https://github.com/dell/biosdevname/releases
+#TODO: switch to named sources:
+#Source0: https://github.com/dell/biosdevname/archive/v%{version}/%{name}-%{version}.tar.gz
+Source0: https://github.com/dell/biosdevname/archive/v%{version}.tar.gz
+# Source0-md5: e7e76fd8e4b72e7364b10655a9e5f716
+URL: https://github.com/dell/biosdevname
+BuildRequires: autoconf >= 2.59
BuildRequires: automake
-BuildRequires: libtool
BuildRequires: pciutils-devel
BuildRequires: zlib-devel
Requires: udev-core
# SMBIOS only exists on these arches. It's also likely that other
-# arches don't expect the PCI bus to be sorted breadth-first, or of
+# arches don't expect the PCI bus to be sorted breadth-first, or if
# so, there haven't been any comments about that on LKML.
-ExclusiveArch: %{ix86} %{x8664} ia64
+ExclusiveArch: %{ix86} %{x8664} x32
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
label on the chassis is "Gb1") doesn't map directly and obviously to
the kernel name (e.g. eth0).
+%description -l pl.UTF-8
+biosdevname w najprostszej formie przyjmuje jako arugmnet nazwę
+urządzenia wg jądra Linuksa i zwraca, jaką ono powinno mieć nazwę
+nadaną przez BIOS. Jest to przydatne na systemach, gdzie BIOS-owa
+nazwa danego urządzenia (np. etykieta na obudowie "Gb1") nie ma
+bezpośredniego, oczywistego odwzorowania na nazwę wg jądra Linuksa
+(np. eth0).
+
%prep
%setup -q
%build
-%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install install-data \
DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README
-%attr(755,root,root) /sbin/%{name}
-/lib/udev/rules.d/*.rules
-%{_mandir}/man1/%{name}.1*
+%doc AUTHORS README TODO
+%attr(755,root,root) /sbin/biosdevname
+/lib/udev/rules.d/*-biosdevname.rules
+%{_mandir}/man1/biosdevname.1*