]>
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 |
7bfd3fb6 | 4 | Version: 2.10 |
5fffe5eb | 5 | Release: 1 |
b6828385 | 6 | License: GPL |
7 | Group: Applications/System | |
5fffe5eb | 8 | Source0: http://savannah.nongnu.org/download/dmidecode/%{name}-%{version}.tar.bz2 |
7bfd3fb6 | 9 | # Source0-md5: 3c9c4d55a40b78600f3b43bfa64616f9 |
5fffe5eb | 10 | URL: http://www.nongnu.org/dmidecode/ |
b6828385 | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
b6828385 | 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 | ||
7389a266 JR |
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 BIOSu. | |
b6828385 | 24 | |
25 | %prep | |
12c0a597 | 26 | %setup -q |
b6828385 | 27 | |
28 | %build | |
9f25d81a JB |
29 | %{__make} \ |
30 | CC="%{__cc}" \ | |
31 | CFLAGS="%{rpmcflags} -Wall -W -pedantic" | |
b6828385 | 32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
b6828385 | 35 | |
9f25d81a | 36 | %{__make} install \ |
0f494337 | 37 | prefix=%{_prefix} \ |
38 | DESTDIR=$RPM_BUILD_ROOT | |
b6828385 | 39 | |
c5d0bc88 ER |
40 | rm -rf $RPM_BUILD_ROOT%{_docdir}/dmidecode |
41 | ||
b6828385 | 42 | %clean |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
5fffe5eb | 47 | %doc AUTHORS CHANGELOG README |
b6828385 | 48 | %attr(755,root,root) %{_sbindir}/* |
2f908404 | 49 | %{_mandir}/man?/* |