dmidecode/dmidecode.spec

62 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: dmidecode
Version: 2.12
Release: 1mamba
Summary: System hardware information tool according to BIOS the SMBIOS/DMI standard
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.nongnu.org/dmidecode/
Source: http://download.savannah.gnu.org/releases/dmidecode/dmidecode-%{version}.tar.bz2
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output). This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).
%prep
%setup -q
# Make 3.82 patch
sed -i -e "/^PROGRAMS !=/d" Makefile
%build
%make CC=%{_host}-gcc
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall prefix=%{_prefix} docdir=%{_datadir}/doc/%{name}-%{version}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_sbindir}/biosdecode
%{_sbindir}/dmidecode
%{_sbindir}/ownership
%{_sbindir}/vpddecode
%{_mandir}/man8/biosdecode.8.gz
%{_mandir}/man8/dmidecode.8.gz
%{_mandir}/man8/ownership.8.gz
%{_mandir}/man8/vpddecode.8.gz
%doc AUTHORS LICENSE README
%changelog
* Thu Apr 18 2013 Automatic Build System <autodist@mambasoft.it> 2.12-1mamba
- automatic version update by autodist
* Sat Jun 18 2011 Automatic Build System <autodist@mambasoft.it> 2.11-1mamba
- automatic update by autodist
* Sat Sep 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-2mamba
- fixed build with make 3.82
* Sun Jan 11 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-1mamba
- automatic update by autodist
* Thu Mar 13 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9-1mamba
- update to 2.9
* Thu Jun 29 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8-1qilnx
- package created by autospec