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