update to 2.4.1 [release 2.4.1-1mamba;Wed Mar 21 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 05:47:47 +01:00
parent 3ff3becd47
commit f66be8a813

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libsmbios
Version: 2.3.0
Version: 2.4.1
Release: 1mamba
Summary: A library aimed at providing access to as much BIOS information as possible
Group: System/Libraries
@ -8,7 +8,8 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://linux.dell.com/libsmbios
Source: http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-%{version}/libsmbios-%{version}.tar.gz
Source: https://github.com/dell/libsmbios.git/v%{version}/libsmbios-%{version}.tar.bz2
#Source: http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-%{version}/libsmbios-%{version}.tar.gz
License: GPL, Open Software License
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
@ -43,6 +44,7 @@ This package contains the static libraries and headers needed for development.
%setup -q
%build
./autogen.sh
%configure
%make
@ -67,32 +69,36 @@ cp -a src/include/* %{buildroot}%{_includedir}
%defattr(-,root,root)
%dir %{_sysconfdir}/libsmbios
%config(noreplace) %{_sysconfdir}/libsmbios/logging.conf
%{_sysconfdir}/yum/pluginconf.d/dellsysid.conf
%{_libdir}/libsmbios.so.*
#%{_sysconfdir}/yum/pluginconf.d/dellsysid.conf
#%{_libdir}/libsmbios.so.*
%{_libdir}/libsmbios_c.so.*
%{_prefix}/lib/yum-plugins/dellsysid.py*
%dir %{python_sitelib}/libsmbios_c
%{python_sitelib}/libsmbios_c/*
#%{_prefix}/lib/yum-plugins/dellsysid.py*
%dir %{python3_sitearch}/libsmbios_c
%{python3_sitearch}/libsmbios_c/*
%{_datadir}/smbios-utils/*
%doc AUTHORS COPYING
%{_mandir}/man1/smbios-*.1*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/smbios
%{_includedir}/smbios/*
#%dir %{_includedir}/smbios
#%{_includedir}/smbios/*
%dir %{_includedir}/smbios_c
%{_includedir}/smbios_c/*
%{_libdir}/libsmbios.a
%{_libdir}/libsmbios.la
%{_libdir}/libsmbios.so
#%{_libdir}/libsmbios.a
#%{_libdir}/libsmbios.la
#%{_libdir}/libsmbios.so
%{_libdir}/libsmbios_c.a
%{_libdir}/libsmbios_c.la
%{_libdir}/libsmbios_c.so
%{_libdir}/pkgconfig/libsmbios_c.pc
%{_libdir}/pkgconfig/libsmbios_c++.pc
%doc ChangeLog NEWS README TODO
#%{_libdir}/pkgconfig/libsmbios_c++.pc
#%doc ChangeLog NEWS README TODO
%changelog
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-1mamba
- update to 2.4.1
* Fri May 20 2016 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist