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