]> git.pld-linux.org Git - packages/dmidecode.git/blob - dmidecode.spec
- updated to 3.6
[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.6
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://download.savannah.gnu.org/releases/dmidecode/%{name}-%{version}.tar.xz
9 # Source0-md5:  e931a92708ac7a7396452dbc8be8decd
10 URL:            http://www.nongnu.org/dmidecode/
11 BuildRequires:  rpmbuild(macros) >= 1.673
12 BuildRequires:  tar >= 1:1.22
13 BuildRequires:  xz
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Dmidecode is a tool for dumping a computer's DMI (some say SMBIOS)
18 table contents in a human-readable format. This table contains a
19 description of the system's hardware components, as well as other
20 useful pieces of information such as serial numbers and BIOS revision.
21
22 %description -l pl.UTF-8
23 Dmidecode jest narzędziem do zrzucania zawartości DMI (niektórzy mówią
24 na to SMBIOS) komputera w formacie odczytywalnym przez człowieka.
25 Tabela ta zawiera opis sprzętowych komponentów systemu, a także
26 użyteczne kawałki informacji takie jak numery seryjne i rewizja
27 BIOS-u.
28
29 %prep
30 %setup -q
31
32 %build
33 %{__make} \
34         CC="%{__cc}" \
35         CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -W -pedantic" \
36         LDFLAGS="%{rpmcflags} %{rpmldflags}"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         prefix=%{_prefix} \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dmidecode
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc AUTHORS NEWS README
53 %attr(755,root,root) %{_sbindir}/biosdecode
54 %attr(755,root,root) %{_sbindir}/dmidecode
55 %attr(755,root,root) %{_sbindir}/ownership
56 %attr(755,root,root) %{_sbindir}/vpddecode
57 %{_mandir}/man8/biosdecode.8*
58 %{_mandir}/man8/dmidecode.8*
59 %{_mandir}/man8/ownership.8*
60 %{_mandir}/man8/vpddecode.8*
61 %{bash_compdir}/biosdecode
62 %{bash_compdir}/dmidecode
63 %{bash_compdir}/ownership
64 %{bash_compdir}/vpddecode
This page took 0.078152 seconds and 3 git commands to generate.