python 2.7 mass rebuild [release 2.2.28-2mamba;Sun Jun 02 2013]

This commit is contained in:
Silvan Calarco 2024-01-06 05:47:47 +01:00
parent 3cba46042a
commit 3b5fc84785
2 changed files with 108 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libsmbios # libsmbios
smbios provides a library aimed at accessing to as much BIOS information as possible.

106
libsmbios.spec Normal file
View File

@ -0,0 +1,106 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libsmbios
Version: 2.2.28
Release: 2mamba
Summary: A library aimed at providing access to as much BIOS information as possible
Group: System/Libraries
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
License: GPL, Open Software License
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libpython-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libcppunit-devel
BuildRequires: libxerces-c-devel
%description
smbios provides a library aimed at accessing to as much BIOS information as possible.
%package -n smbios-tools
Summary: Tools using libsmbios to access BIOS infomation
Group: System/Tools
%description -n smbios-tools
smbios provides a library aimed at accessing to as much BIOS information as possible.
%package devel
Summary: Devel package for libsmbios
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
smbios provides a library aimed at accessing to as much BIOS information as possible.
This package contains the static libraries and headers needed for development.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -d %{buildroot}%{_includedir}
cp -a src/include/* %{buildroot}%{_includedir}
#rm -f %{buildroot}%{_includedir}/smbios/config/README \
# %{buildroot}%{_includedir}/smbios/config/boost_LICENSE_1_0_txt
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n smbios-tools
%defattr(-,root,root)
%{_sbindir}/*
%files -f %{name}.lang
%defattr(-,root,root)
%dir %{_sysconfdir}/libsmbios
%config(noreplace) %{_sysconfdir}/libsmbios/logging.conf
%{_sysconfdir}/yum/pluginconf.d/dellsysid.conf
%{_libdir}/libsmbios.so.*
%{_libdir}/libsmbios_c.so.*
%{_prefix}/lib/yum-plugins/dellsysid.py*
%dir %{python_sitearch}/libsmbios_c
%{python_sitearch}/libsmbios_c/*
%{_datadir}/smbios-utils/*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/smbios
%{_includedir}/smbios/*
%dir %{_includedir}/smbios_c
%{_includedir}/smbios_c/*
%{_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
%changelog
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.28-2mamba
- python 2.7 mass rebuild
* Sat Dec 08 2012 Automatic Build System <autodist@mambasoft.it> 2.2.28-1mamba
- automatic version update by autodist
* Tue Jun 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.16-1mamba
- update to 2.2.16
* Mon Dec 03 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.13-1mamba
- package created by autospec