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