]> git.pld-linux.org Git - packages/dmidecode.git/blobdiff - dmidecode.spec
- 2.8
[packages/dmidecode.git] / dmidecode.spec
index 96aa18e0a73533a241c4bca9cdb556f18fc2a983..4e96526319f7a40e1a3448fe647442e6be69da8e 100644 (file)
@@ -1,14 +1,13 @@
 Summary:       A tool for dumping a computer's DMI table contents
 Summary(pl):   Narzêdzie do zrzucania zawarto¶ci tabeli DMI komputera
 Name:          dmidecode
-Version:       2.4
+Version:       2.8
 Release:       1
 License:       GPL
 Group:         Applications/System
-Source0:       http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: dab0937d69ee5b90ccaefa3c28071718
-Patch0:                %{name}-mandir.patch
-URL:           http://www.nongnu.org/dmidecode
+Source0:       http://savannah.nongnu.org/download/dmidecode/%{name}-%{version}.tar.bz2
+# Source0-md5: 72dc651f1d6e9d7571d0117b16987edf
+URL:           http://www.nongnu.org/dmidecode/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,7 +24,6 @@ u
 
 %prep
 %setup -q
-%patch0
 
 %build
 %{__make} \
@@ -34,16 +32,16 @@ u
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
 
 %{__make} install \
-       PREFIX=$RPM_BUILD_ROOT%{_prefix}
+       prefix=%{_prefix} \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGELOG README AUTHORS
+%doc AUTHORS CHANGELOG README
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man?/*
This page took 0.265796 seconds and 4 git commands to generate.