dmidecode/dmidecode.spec

93 lines
3.2 KiB
RPMSpec

Name: dmidecode
Version: 3.6
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.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%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).
%debug_package
%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}
rm -rf %{buildroot}%{_datadir}/doc/dmidecode
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_sbindir}/biosdecode
%{_sbindir}/dmidecode
%{_sbindir}/ownership
%{_sbindir}/vpddecode
%{_datadir}/bash-completion/completions/biosdecode
%{_datadir}/bash-completion/completions/dmidecode
%{_datadir}/bash-completion/completions/ownership
%{_datadir}/bash-completion/completions/vpddecode
%{_mandir}/man8/biosdecode.8*
%{_mandir}/man8/dmidecode.8*
%{_mandir}/man8/ownership.8*
%{_mandir}/man8/vpddecode.8*
%doc AUTHORS LICENSE README
%changelog
* Thu Apr 25 2024 Automatic Build System <autodist@openmamba.org> 3.6-1mamba
- automatic version update by autodist
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 3.5-1mamba
- automatic version update by autodist
* Wed Jun 29 2022 Automatic Build System <autodist@mambasoft.it> 3.4-1mamba
- automatic version update by autodist
* Sun Oct 18 2020 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
- automatic version update by autodist
* Sun Sep 16 2018 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
- automatic version update by autodist
* Thu May 25 2017 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
- automatic version update by autodist
* Tue Oct 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-1mamba
- update to 3.0
* 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