- updated to 0.7.2
[packages/biosdevname.git] / biosdevname.spec
CommitLineData
e9da034a 1Summary: Udev helper for naming devices per BIOS names
ecccf403 2Summary(pl.UTF-8): Program pomocniczy udev do nazywania urządzeń zgodnie z nazwami BIOS-u
e9da034a 3Name: biosdevname
4fbf529c 4Version: 0.7.2
e9da034a
ER
5Release: 1
6License: GPL v2
7Group: Base
7960aba4 8Source0: http://linux.dell.com/files/biosdevname/%{name}-%{version}/%{name}-%{version}.tar.gz
4fbf529c 9# Source0-md5: 3baeaa28bffb8128331a4f3715db27dd
ecccf403
JB
10URL: http://linux.dell.com/files/biosdevname/
11BuildRequires: autoconf >= 2.59
e9da034a 12BuildRequires: automake
6c838d48
ER
13BuildRequires: pciutils-devel
14BuildRequires: zlib-devel
e9da034a
ER
15Requires: udev-core
16# SMBIOS only exists on these arches. It's also likely that other
e497225b 17# arches don't expect the PCI bus to be sorted breadth-first, or if
e9da034a 18# so, there haven't been any comments about that on LKML.
e497225b 19ExclusiveArch: %{ix86} %{x8664} x32
e9da034a
ER
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23biosdevname in its simplest form takes a kernel device name as an
24argument, and returns the BIOS-given name it "should" be. This is
25necessary on systems where the BIOS name for a given device (e.g. the
26label on the chassis is "Gb1") doesn't map directly and obviously to
27the kernel name (e.g. eth0).
28
ecccf403
JB
29%description -l pl.UTF-8
30biosdevname w najprostszej formie przyjmuje jako arugmnet nazwę
31urządzenia wg jądra Linuksa i zwraca, jaką ono powinno mieć nazwę
32nadaną przez BIOS. Jest to przydatne na systemach, gdzie BIOS-owa
33nazwa danego urządzenia (np. etykieta na obudowie "Gb1") nie ma
34bezpośredniego, oczywistego odwzorowania na nazwę wg jądra Linuksa
35(np. eth0).
36
e9da034a
ER
37%prep
38%setup -q
39
e9da034a 40%build
e9da034a
ER
41%{__aclocal}
42%{__autoconf}
43%{__autoheader}
44%{__automake}
45%configure \
46 --prefix=/ \
6c838d48 47 --sbindir=/sbin
e9da034a
ER
48%{__make}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52%{__make} install install-data \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
ecccf403 60%doc AUTHORS ChangeLog README TODO
6c838d48 61%attr(755,root,root) /sbin/%{name}
ecccf403 62/lib/udev/rules.d/*-biosdevname.rules
e9da034a 63%{_mandir}/man1/%{name}.1*
This page took 0.124404 seconds and 4 git commands to generate.