Summary: A tool for dumping a computer's DMI table contents
Summary(pl.UTF-8): Narzędzie do zrzucania zawartości tabeli DMI komputera
Name: dmidecode
-Version: 3.0
+Version: 3.6
Release: 1
License: GPL v2+
Group: Applications/System
-Source0: http://savannah.nongnu.org/download/dmidecode/%{name}-%{version}.tar.xz
-# Source0-md5: 281ee572d45c78eca73a14834c495ffd
-Patch0: %{name}-fixes.patch
+Source0: http://download.savannah.gnu.org/releases/dmidecode/%{name}-%{version}.tar.xz
+# Source0-md5: e931a92708ac7a7396452dbc8be8decd
URL: http://www.nongnu.org/dmidecode/
+BuildRequires: rpmbuild(macros) >= 1.673
BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
-%patch0 -p1
%build
%{__make} \
%files
%defattr(644,root,root,755)
-%doc AUTHORS CHANGELOG README
+%doc AUTHORS NEWS README
%attr(755,root,root) %{_sbindir}/biosdecode
%attr(755,root,root) %{_sbindir}/dmidecode
%attr(755,root,root) %{_sbindir}/ownership
%{_mandir}/man8/dmidecode.8*
%{_mandir}/man8/ownership.8*
%{_mandir}/man8/vpddecode.8*
+%{bash_compdir}/biosdecode
+%{bash_compdir}/dmidecode
+%{bash_compdir}/ownership
+%{bash_compdir}/vpddecode