]>
Commit | Line | Data |
---|---|---|
b6828385 | 1 | Summary: A tool for dumping a computer's DMI table contents |
cb3a2974 | 2 | Summary(pl.UTF-8): Narzędzie do zrzucania zawartości tabeli DMI komputera |
b6828385 | 3 | Name: dmidecode |
ac701bd9 | 4 | Version: 3.5 |
b0bf1790 | 5 | Release: 1 |
d7b7b77b | 6 | License: GPL v2+ |
b6828385 | 7 | Group: Applications/System |
b0bf1790 | 8 | Source0: http://savannah.nongnu.org/download/dmidecode/%{name}-%{version}.tar.xz |
ac701bd9 | 9 | # Source0-md5: b8ed8fa2c01c624a61157f10dbbf2b03 |
5fffe5eb | 10 | URL: http://www.nongnu.org/dmidecode/ |
b0bf1790 JB |
11 | BuildRequires: tar >= 1:1.22 |
12 | BuildRequires: xz | |
b6828385 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
b6828385 | 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 | ||
7389a266 JR |
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 | |
d7b7b77b JB |
25 | użyteczne kawałki informacji takie jak numery seryjne i rewizja |
26 | BIOS-u. | |
b6828385 | 27 | |
28 | %prep | |
12c0a597 | 29 | %setup -q |
b6828385 | 30 | |
31 | %build | |
9f25d81a JB |
32 | %{__make} \ |
33 | CC="%{__cc}" \ | |
73e49963 | 34 | CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -W -pedantic" \ |
35 | LDFLAGS="%{rpmcflags} %{rpmldflags}" | |
b6828385 | 36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
b6828385 | 39 | |
9f25d81a | 40 | %{__make} install \ |
0f494337 | 41 | prefix=%{_prefix} \ |
42 | DESTDIR=$RPM_BUILD_ROOT | |
b6828385 | 43 | |
b0bf1790 | 44 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/dmidecode |
c5d0bc88 | 45 | |
b6828385 | 46 | %clean |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
90235e99 | 51 | %doc AUTHORS NEWS README |
d7b7b77b JB |
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* |