]> git.pld-linux.org Git - packages/dmidecode.git/blob - dmidecode.spec
e97685e8f5e5d64c8a286c88412abfc0d27a759c
[packages/dmidecode.git] / dmidecode.spec
1 Summary:        A tool for dumping a computer's DMI table contents
2 Summary(pl):    Narzêdzie do zrzucania zawarto¶ci tabeli DMI komputera
3 Name:           dmidecode
4 Version:        2.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://savannah.nongnu.org/download/%{name}/%{name}.pkg/%{version}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b826e2eda9a1710c85e11e5c26920d23
10 URL:            http://www.nongnu.org/dmidecode
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Dmidecode is a tool for dumping a computer's DMI (some say SMBIOS)
15 table contents in a human-readable format. This table contains a
16 description of the system's hardware components, as well as other
17 useful pieces of information such as serial numbers and BIOS revision.
18
19 %description -l pl
20 Dmidecode jest narzêdziem do zrzucania zawarto¶ci DMI (niektórzy mówi±
21 na to SMBIOS) komputera w formacie odczytywalnym przez cz³owieka.
22 Tabela ta zawiera opis sprzêtowych komponentów systemu, a tak¿e
23 u¿yteczne kawa³ki informacji takie jak numery seryjne i rewizja BIOSu.
24
25 %prep
26 %setup -q
27
28 %build
29 %{__make} \
30         CC="%{__cc}" \
31         CFLAGS="%{rpmcflags} -Wall -W -pedantic"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_sbindir}
36
37 %{__make} install \
38         PREFIX=$RPM_BUILD_ROOT%{_prefix}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc CHANGELOG README AUTHORS
46 %attr(755,root,root) %{_sbindir}/*
This page took 0.060157 seconds and 2 git commands to generate.