]> git.pld-linux.org Git - packages/dmidecode.git/blobdiff - dmidecode.spec
- updated to 2.12
[packages/dmidecode.git] / dmidecode.spec
index 0543918914c616c30217e67f02f5a7070dc51402..e95ca8fc2d6353c01a4f92bb733f23db76f67109 100644 (file)
@@ -1,45 +1,57 @@
 Summary:       A tool for dumping a computer's DMI table contents
-Summary(pl):   Narzêdzie do zrzucania zawarto¶ci tabeli DMI komputera
+Summary(pl.UTF-8):     Narzędzie do zrzucania zawartości tabeli DMI komputera
 Name:          dmidecode
-Version:       2.1
-Release:       0.1
-License:       GPL
+Version:       2.12
+Release:       1
+License:       GPL v2+
 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: a406f3cbb27736491698697beeddb781
+URL:           http://www.nongnu.org/dmidecode/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define        _sbindir        /sbin
-
 %description
 Dmidecode is a tool for dumping a computer's DMI (some say SMBIOS)
 table contents in a human-readable format. This table contains a
 description of the system's hardware components, as well as other
 useful pieces of information such as serial numbers and BIOS revision.
 
-%description -l pl
-Dmidecode jest narzêdziem do zrzucania zawarto¶ci DMI (niektórzy mówi±
-na to SMBIOS) komputera w formacie odczytywalnym przez cz³owieka.
-Tabela ta zawiera opis sprzêtowych komponentów systemu, a tak¿e
-u¿yteczne kawa³ki informacji takie jak numery seryjne i rewizja BIOSu.
+%description -l pl.UTF-8
+Dmidecode jest narzędziem do zrzucania zawartości DMI (niektórzy mówią
+na to SMBIOS) komputera w formacie odczytywalnym przez człowieka.
+Tabela ta zawiera opis sprzętowych komponentów systemu, a także
+użyteczne kawałki informacji takie jak numery seryjne i rewizja
+BIOS-u.
 
 %prep
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -W -pedantic" \
+       LDFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %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
-%attr(755,root,root) %{_sbindir}/*
+%doc AUTHORS CHANGELOG README
+%attr(755,root,root) %{_sbindir}/biosdecode
+%attr(755,root,root) %{_sbindir}/dmidecode
+%attr(755,root,root) %{_sbindir}/ownership
+%attr(755,root,root) %{_sbindir}/vpddecode
+%{_mandir}/man8/biosdecode.8*
+%{_mandir}/man8/dmidecode.8*
+%{_mandir}/man8/ownership.8*
+%{_mandir}/man8/vpddecode.8*
This page took 0.068161 seconds and 4 git commands to generate.