]> git.pld-linux.org Git - packages/dmidecode.git/blob - dmidecode.spec
- updated to 2.12
[packages/dmidecode.git] / dmidecode.spec
1 Summary:        A tool for dumping a computer's DMI table contents
2 Summary(pl.UTF-8):      Narzędzie do zrzucania zawartości tabeli DMI komputera
3 Name:           dmidecode
4 Version:        2.12
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://savannah.nongnu.org/download/dmidecode/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a406f3cbb27736491698697beeddb781
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.UTF-8
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
24 BIOS-u.
25
26 %prep
27 %setup -q
28
29 %build
30 %{__make} \
31         CC="%{__cc}" \
32         CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -W -pedantic" \
33         LDFLAGS="%{rpmcflags} %{rpmldflags}"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install \
39         prefix=%{_prefix} \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 rm -rf $RPM_BUILD_ROOT%{_docdir}/dmidecode
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc AUTHORS CHANGELOG README
50 %attr(755,root,root) %{_sbindir}/biosdecode
51 %attr(755,root,root) %{_sbindir}/dmidecode
52 %attr(755,root,root) %{_sbindir}/ownership
53 %attr(755,root,root) %{_sbindir}/vpddecode
54 %{_mandir}/man8/biosdecode.8*
55 %{_mandir}/man8/dmidecode.8*
56 %{_mandir}/man8/ownership.8*
57 %{_mandir}/man8/vpddecode.8*
This page took 0.15534 seconds and 3 git commands to generate.