]> git.pld-linux.org Git - packages/dmidecode.git/blob - dmidecode.spec
up to 3.5
[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:        3.1
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://savannah.nongnu.org/download/dmidecode/%{name}-%{version}.tar.xz
9 # Source0-md5:  679c2c015c515aa6ca5f229aee49c102
10 URL:            http://www.nongnu.org/dmidecode/
11 BuildRequires:  tar >= 1:1.22
12 BuildRequires:  xz
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.UTF-8
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
26 BIOS-u.
27
28 %prep
29 %setup -q
30
31 %build
32 %{__make} \
33         CC="%{__cc}" \
34         CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -W -pedantic" \
35         LDFLAGS="%{rpmcflags} %{rpmldflags}"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         prefix=%{_prefix} \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dmidecode
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS CHANGELOG README
52 %attr(755,root,root) %{_sbindir}/biosdecode
53 %attr(755,root,root) %{_sbindir}/dmidecode
54 %attr(755,root,root) %{_sbindir}/ownership
55 %attr(755,root,root) %{_sbindir}/vpddecode
56 %{_mandir}/man8/biosdecode.8*
57 %{_mandir}/man8/dmidecode.8*
58 %{_mandir}/man8/ownership.8*
59 %{_mandir}/man8/vpddecode.8*
This page took 0.099059 seconds and 3 git commands to generate.