1 Summary: Udev helper for naming devices per BIOS names
2 Summary(pl.UTF-8): Program pomocniczy udev do nazywania urządzeń zgodnie z nazwami BIOS-u
8 Source0: http://linux.dell.com/files/biosdevname/%{name}-%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: 86d1040754df774f7a58e8aa2ced2d78
10 URL: http://linux.dell.com/files/biosdevname/
11 BuildRequires: autoconf >= 2.59
12 BuildRequires: automake
13 BuildRequires: pciutils-devel
14 BuildRequires: zlib-devel
16 # SMBIOS only exists on these arches. It's also likely that other
17 # arches don't expect the PCI bus to be sorted breadth-first, or of
18 # so, there haven't been any comments about that on LKML.
19 ExclusiveArch: %{ix86} %{x8664} ia64
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 biosdevname in its simplest form takes a kernel device name as an
24 argument, and returns the BIOS-given name it "should" be. This is
25 necessary on systems where the BIOS name for a given device (e.g. the
26 label on the chassis is "Gb1") doesn't map directly and obviously to
27 the kernel name (e.g. eth0).
29 %description -l pl.UTF-8
30 biosdevname w najprostszej formie przyjmuje jako arugmnet nazwę
31 urządzenia wg jądra Linuksa i zwraca, jaką ono powinno mieć nazwę
32 nadaną przez BIOS. Jest to przydatne na systemach, gdzie BIOS-owa
33 nazwa danego urządzenia (np. etykieta na obudowie "Gb1") nie ma
34 bezpośredniego, oczywistego odwzorowania na nazwę wg jądra Linuksa
51 rm -rf $RPM_BUILD_ROOT
52 %{__make} install install-data \
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog README TODO
61 %attr(755,root,root) /sbin/%{name}
62 /lib/udev/rules.d/*-biosdevname.rules
63 %{_mandir}/man1/%{name}.1*