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