]> git.pld-linux.org Git - packages/biosdevname.git/blame_incremental - biosdevname.spec
- don't package empty ChangeLog, noted download URL
[packages/biosdevname.git] / biosdevname.spec
... / ...
CommitLineData
1Summary: Udev helper for naming devices per BIOS names
2Summary(pl.UTF-8): Program pomocniczy udev do nazywania urządzeń zgodnie z nazwami BIOS-u
3Name: biosdevname
4Version: 0.7.3
5Release: 1
6License: GPL v2
7Group: Base
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
11Source0: https://github.com/dell/biosdevname/archive/v%{version}.tar.gz
12# Source0-md5: e7e76fd8e4b72e7364b10655a9e5f716
13URL: https://github.com/dell/biosdevname
14BuildRequires: autoconf >= 2.59
15BuildRequires: automake
16BuildRequires: pciutils-devel
17BuildRequires: zlib-devel
18Requires: udev-core
19# SMBIOS only exists on these arches. It's also likely that other
20# arches don't expect the PCI bus to be sorted breadth-first, or if
21# so, there haven't been any comments about that on LKML.
22ExclusiveArch: %{ix86} %{x8664} x32
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
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
40%prep
41%setup -q
42
43%build
44%{__aclocal}
45%{__autoconf}
46%{__autoheader}
47%{__automake}
48%configure \
49 --prefix=/ \
50 --sbindir=/sbin
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
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)
64%doc AUTHORS README TODO
65%attr(755,root,root) /sbin/biosdevname
66/lib/udev/rules.d/*-biosdevname.rules
67%{_mandir}/man1/biosdevname.1*
This page took 0.08654 seconds and 4 git commands to generate.