]> git.pld-linux.org Git - packages/dmidecode.git/blobdiff - dmidecode.spec
- check files cleanup
[packages/dmidecode.git] / dmidecode.spec
index 1ebe431a6ce437944058dbdf3507dd19501d08fa..65f28edb6ea578c1c77c906851a1f28e8c3cd3d4 100644 (file)
@@ -1,13 +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.1
-Release:       0.2
+Version:       2.8
+Release:       1
 License:       GPL
 Group:         Applications/System
-Source0:       http://savannah.nongnu.org/download/%{name}/%{name}.pkg/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: b5717e623b7aaceee7c46ba3205c2d10
-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
@@ -26,18 +26,24 @@ u
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} -Wall -W -pedantic"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
 
-%{__make} install PREFIX=$RPM_BUILD_ROOT
+%{__make} install \
+       prefix=%{_prefix} \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -rf $RPM_BUILD_ROOT%{_docdir}/dmidecode
 
 %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.057404 seconds and 4 git commands to generate.