]> git.pld-linux.org Git - packages/biosdevname.git/blobdiff - biosdevname.spec
- don't package empty ChangeLog, noted download URL
[packages/biosdevname.git] / biosdevname.spec
index 3074cca92acdafcbbe81e9a4756ce958e0da5b2a..dd9aab7a9a35a762bc93f466716100276bcb6a5b 100644 (file)
@@ -1,22 +1,25 @@
 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.11
+Version:       0.7.3
 Release:       1
 License:       GPL v2
 Group:         Base
-URL:           http://linux.dell.com/files/biosdevname
-Source0:       https://linux.dell.com/files/biosdevname/%{name}-%{version}/biosdevname-%{version}.tar.gz
-# Source0-md5: 22ce78f5d08cc4b1b2b8f9d28139ea5c
-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
@@ -26,11 +29,18 @@ necessary on systems where the BIOS name for a given device (e.g. the
 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}
@@ -42,6 +52,7 @@ the kernel name (e.g. eth0).
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install install-data \
        DESTDIR=$RPM_BUILD_ROOT
 
@@ -50,7 +61,7 @@ rm -rf $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*
This page took 0.046025 seconds and 4 git commands to generate.