]> git.pld-linux.org Git - packages/dmidecode.git/blame - dmidecode.spec
- updated to 2.12
[packages/dmidecode.git] / dmidecode.spec
CommitLineData
b6828385 1Summary: A tool for dumping a computer's DMI table contents
cb3a2974 2Summary(pl.UTF-8): Narzędzie do zrzucania zawartości tabeli DMI komputera
b6828385 3Name: dmidecode
b4593438 4Version: 2.12
5fffe5eb 5Release: 1
d7b7b77b 6License: GPL v2+
b6828385 7Group: Applications/System
5fffe5eb 8Source0: http://savannah.nongnu.org/download/dmidecode/%{name}-%{version}.tar.bz2
b4593438 9# Source0-md5: a406f3cbb27736491698697beeddb781
5fffe5eb 10URL: http://www.nongnu.org/dmidecode/
b6828385 11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
b6828385 13%description
14Dmidecode is a tool for dumping a computer's DMI (some say SMBIOS)
15table contents in a human-readable format. This table contains a
16description of the system's hardware components, as well as other
17useful pieces of information such as serial numbers and BIOS revision.
18
7389a266
JR
19%description -l pl.UTF-8
20Dmidecode jest narzędziem do zrzucania zawartości DMI (niektórzy mówią
21na to SMBIOS) komputera w formacie odczytywalnym przez człowieka.
22Tabela ta zawiera opis sprzętowych komponentów systemu, a także
d7b7b77b
JB
23użyteczne kawałki informacji takie jak numery seryjne i rewizja
24BIOS-u.
b6828385 25
26%prep
12c0a597 27%setup -q
b6828385 28
29%build
9f25d81a
JB
30%{__make} \
31 CC="%{__cc}" \
73e49963 32 CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall -W -pedantic" \
33 LDFLAGS="%{rpmcflags} %{rpmldflags}"
b6828385 34
35%install
36rm -rf $RPM_BUILD_ROOT
b6828385 37
9f25d81a 38%{__make} install \
0f494337 39 prefix=%{_prefix} \
40 DESTDIR=$RPM_BUILD_ROOT
b6828385 41
c5d0bc88
ER
42rm -rf $RPM_BUILD_ROOT%{_docdir}/dmidecode
43
b6828385 44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
5fffe5eb 49%doc AUTHORS CHANGELOG README
d7b7b77b
JB
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.498089 seconds and 4 git commands to generate.