Accepting request 70228 from home:adra:branches:Base:System
Update to version 2.2.27, Spec file updates OBS-URL: https://build.opensuse.org/request/show/70228 OBS-URL: https://build.opensuse.org/package/show/Base:System/libsmbios?expand=0&rev=10
This commit is contained in:
parent
e97ecce088
commit
27de8e991f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dc5512f64783c4160822e77070a80dd783010e0bd844c240495b7662b774a46d
|
|
||||||
size 905847
|
|
3
libsmbios-2.2.27.tar.bz2
Normal file
3
libsmbios-2.2.27.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5a68bad70e8a187def3540e7cb577311ecdf9fb68eaefe3f383d6b7ce3075814
|
||||||
|
size 926742
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 13 20:23:47 UTC 2011 - asterios.dramis@gmail.com
|
||||||
|
|
||||||
|
- Update to version 2.2.27:
|
||||||
|
* print out all the OEM strings in smbios-sys-info-lite output.
|
||||||
|
* fixup logic error in bayonette id detection which could potentially cause
|
||||||
|
segfault.
|
||||||
|
* Adding support to compile on solaris.
|
||||||
|
* update string extracts for spanish.
|
||||||
|
* Fix output of translated unicode strings.
|
||||||
|
* By default, python was trying to output all translated strings as ascii,
|
||||||
|
which breaks for unicode. Wrap sys.stdout with a streamwriter that outputs
|
||||||
|
unicode.
|
||||||
|
* add spanish translations.
|
||||||
|
* localize messages from import/export token dumps.
|
||||||
|
* add another exception case for missing header line.
|
||||||
|
- Spec file updates:
|
||||||
|
* Removed Provides/Obsoletes for libsmbios-libs-0.13.12 in libsmbios2
|
||||||
|
(0.13.12 was released at 2007-11-02).
|
||||||
|
* Removed smbios-utils meta-package (not needed). Provides/Obsoletes for
|
||||||
|
libsmbios-bin and libsmbios-unsupported-bin moved to smbios-utils-python
|
||||||
|
and smbios-utils-bin respectively.
|
||||||
|
* Fix locales removal if suse_version is not set.
|
||||||
|
* Minor other updates.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 10 02:55:25 UTC 2011 - crrodriguez@opensuse.org
|
Tue May 10 02:55:25 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||||
|
|
||||||
Name: libsmbios
|
Name: libsmbios
|
||||||
Version: 2.2.26
|
Version: 2.2.27
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Libraries to get information from standard BIOS tables
|
Summary: Libraries to get information from standard BIOS tables
|
||||||
|
|
||||||
License: GPLv2+ or OSL 2.1
|
License: GPLv2+ or OSL 2.1
|
||||||
@ -48,7 +48,7 @@ Libsmbios is a library and utilities that can be used by client programs
|
|||||||
to get information from standard BIOS tables, such as the SMBIOS table.
|
to get information from standard BIOS tables, such as the SMBIOS table.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development headers and archives
|
Summary: Development files for libsmios
|
||||||
License: GPLv2+ or OSL 2.1
|
License: GPLv2+ or OSL 2.1
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libsmbios2 = %{version}
|
Requires: libsmbios2 = %{version}
|
||||||
@ -58,16 +58,14 @@ Requires: libstdc++-devel
|
|||||||
Libsmbios is a library and utilities that can be used by client programs to get
|
Libsmbios is a library and utilities that can be used by client programs to get
|
||||||
information from standard BIOS tables, such as the SMBIOS table.
|
information from standard BIOS tables, such as the SMBIOS table.
|
||||||
|
|
||||||
This package contains the headers and .a files necessary to compile new client
|
This package contains the necessary files to compile new client programs
|
||||||
programs against libsmbios.
|
against libsmbios.
|
||||||
|
|
||||||
%package -n libsmbios2
|
%package -n libsmbios2
|
||||||
Summary: Libraries to get information from standard BIOS tables
|
Summary: Libraries to get information from standard BIOS tables
|
||||||
License: GPLv2+ or OSL 2.1
|
License: GPLv2+ or OSL 2.1
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Supplements: modalias(dmi:*:[bs]vnD[Ee][Ll][Ll]*:*)
|
Supplements: modalias(dmi:*:[bs]vnD[Ee][Ll][Ll]*:*)
|
||||||
Obsoletes: libsmbios-libs <= 0.13.12
|
|
||||||
Provides: libsmbios-libs = %{version}
|
|
||||||
|
|
||||||
%description -n libsmbios2
|
%description -n libsmbios2
|
||||||
Libsmbios is a library and utilities that can be used by client programs
|
Libsmbios is a library and utilities that can be used by client programs
|
||||||
@ -86,28 +84,14 @@ BuildArch: noarch
|
|||||||
%description -n python-smbios
|
%description -n python-smbios
|
||||||
This package provides a Python interface to libsmbios.
|
This package provides a Python interface to libsmbios.
|
||||||
|
|
||||||
%package -n smbios-utils
|
|
||||||
Summary: Meta-package that pulls in all smbios binaries and python scripts
|
|
||||||
License: GPLv2+ or OSL 2.1
|
|
||||||
Group: System/Management
|
|
||||||
Requires: smbios-utils-bin
|
|
||||||
Requires: smbios-utils-python
|
|
||||||
Supplements: modalias(dmi:*:[bs]vnD[Ee][Ll][Ll]*:*)
|
|
||||||
Obsoletes: libsmbios-bin <= 2.0.2
|
|
||||||
Provides: libsmbios-bin = %{version}
|
|
||||||
Obsoletes: libsmbios-unsupported-bin <= 2.0.2
|
|
||||||
Provides: libsmbios-unsupported-bin = %{version}
|
|
||||||
|
|
||||||
%description -n smbios-utils
|
|
||||||
This is a meta-package that pulls in the binary libsmbios executables as well
|
|
||||||
as the python executables.
|
|
||||||
|
|
||||||
%package -n smbios-utils-bin
|
%package -n smbios-utils-bin
|
||||||
Summary: Binary utilities that use libsmbios
|
Summary: Binary utilities that use libsmbios
|
||||||
License: GPLv2+ or OSL 2.1
|
License: GPLv2+ or OSL 2.1
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Requires: libsmbios2 = %{version}
|
|
||||||
Supplements: modalias(dmi:*:[bs]vnD[Ee][Ll][Ll]*:*)
|
Supplements: modalias(dmi:*:[bs]vnD[Ee][Ll][Ll]*:*)
|
||||||
|
# libsmbios-unsupported-bin was last used in openSUSE 11.4 (libsmbios-unsupported-bin-2.0.2)
|
||||||
|
Obsoletes: libsmbios-unsupported-bin <= 2.0.2
|
||||||
|
Provides: libsmbios-unsupported-bin = %{version}
|
||||||
|
|
||||||
%description -n smbios-utils-bin
|
%description -n smbios-utils-bin
|
||||||
Get BIOS information, such as System product name, product id, service tag and
|
Get BIOS information, such as System product name, product id, service tag and
|
||||||
@ -119,6 +103,9 @@ License: GPLv2+ or OSL 2.1
|
|||||||
Group: System/Management
|
Group: System/Management
|
||||||
Requires: python-smbios = %{version}
|
Requires: python-smbios = %{version}
|
||||||
Supplements: modalias(dmi:*:[bs]vnD[Ee][Ll][Ll]*:*)
|
Supplements: modalias(dmi:*:[bs]vnD[Ee][Ll][Ll]*:*)
|
||||||
|
# libsmbios-bin was last used in openSUSE 11.4 (libsmbios-bin-2.0.2)
|
||||||
|
Obsoletes: libsmbios-bin <= 2.0.2
|
||||||
|
Provides: libsmbios-bin = %{version}
|
||||||
|
|
||||||
%description -n smbios-utils-python
|
%description -n smbios-utils-python
|
||||||
Get BIOS information, such as System product name, product id, service tag and
|
Get BIOS information, such as System product name, product id, service tag and
|
||||||
@ -130,8 +117,7 @@ Update BIOS on select Dell systems. Set LCD brightness on select Dell laptops.
|
|||||||
Summary: YUM plugin to retrieve the Dell System ID
|
Summary: YUM plugin to retrieve the Dell System ID
|
||||||
License: GPLv2+ or OSL 2.1
|
License: GPLv2+ or OSL 2.1
|
||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
# yum plugin and supporting functions first appeared in 2.2.0
|
Requires: smbios-utils-python = %{version}
|
||||||
Requires: smbios-utils-python >= 2.2.0
|
|
||||||
Requires: yum
|
Requires: yum
|
||||||
|
|
||||||
%description -n yum-dellsysid
|
%description -n yum-dellsysid
|
||||||
@ -145,21 +131,21 @@ substitutions in yum repository configuration files on Dell systems.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Fix build with GCC 4.6
|
||||||
sed -i -e "s@-Werror@@g" Makefile.am
|
sed -i -e "s@-Werror@@g" Makefile.am
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
|
||||||
%configure --disable-rpath
|
%configure --disable-rpath
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
|
|
||||||
# Install headers
|
# Install headers
|
||||||
install -dp -m 0755 %{buildroot}%{_includedir}
|
install -dp -m 0755 %{buildroot}%{_includedir}
|
||||||
cp -a src/include/* %{buildroot}/%{_includedir}/
|
cp -a src/include/* %{buildroot}/%{_includedir}/
|
||||||
cp -a out/public-include/* %{buildroot}/%{_includedir}/
|
cp -a out/public-include/* %{buildroot}/%{_includedir}/
|
||||||
|
|
||||||
#
|
|
||||||
find %{buildroot}/%{_includedir} out/libsmbios_c++ out/libsmbios_c -exec touch -r configure.ac {} \;
|
find %{buildroot}/%{_includedir} out/libsmbios_c++ out/libsmbios_c -exec touch -r configure.ac {} \;
|
||||||
|
|
||||||
# Remove *.la files (package provides pkg-config files), remove static libraries
|
# Remove *.la files (package provides pkg-config files), remove static libraries
|
||||||
@ -176,12 +162,14 @@ cp -a out/libsmbios_c++-%{_arch} %{buildroot}%{_defaultdocdir}/%{name}-devel/
|
|||||||
|
|
||||||
#
|
#
|
||||||
rename libsmbios.mo libsmbios-2.2-x86_64.mo $(find %{buildroot}/%{_datadir} -name libsmbios.mo)
|
rename libsmbios.mo libsmbios-2.2-x86_64.mo $(find %{buildroot}/%{_datadir} -name libsmbios.mo)
|
||||||
|
|
||||||
# Remove unneeded locales
|
# Remove unneeded locales
|
||||||
%if 0%{?suse_version} < 1140
|
%if 0%{?suse_version} && 0%{?suse_version} < 1140
|
||||||
rm -rf %{buildroot}%{_datadir}/locale/en/
|
rm -rf %{buildroot}%{_datadir}/locale/en/
|
||||||
rm -rf %{buildroot}%{_datadir}/locale/en@boldquot/
|
rm -rf %{buildroot}%{_datadir}/locale/en@boldquot/
|
||||||
rm -rf %{buildroot}%{_datadir}/locale/en@quot/
|
rm -rf %{buildroot}%{_datadir}/locale/en@quot/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%find_lang %{name}-2.2-x86_64
|
%find_lang %{name}-2.2-x86_64
|
||||||
|
|
||||||
# Backwards compatible symlinks
|
# Backwards compatible symlinks
|
||||||
@ -220,10 +208,6 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/libsmbios_c/
|
%{python_sitelib}/libsmbios_c/
|
||||||
|
|
||||||
%files -n smbios-utils
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING-GPL COPYING-OSL README
|
|
||||||
|
|
||||||
%files -n smbios-utils-bin
|
%files -n smbios-utils-bin
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc/pkgheader.sh
|
%doc doc/pkgheader.sh
|
||||||
@ -261,12 +245,10 @@ rm -rf %{buildroot}
|
|||||||
%{_sbindir}/dellWirelessCtl
|
%{_sbindir}/dellWirelessCtl
|
||||||
%{_sbindir}/getSystemId
|
%{_sbindir}/getSystemId
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
# data files
|
|
||||||
%{_datadir}/smbios-utils/
|
%{_datadir}/smbios-utils/
|
||||||
|
|
||||||
%files -n yum-dellsysid
|
%files -n yum-dellsysid
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
# YUM Plugin
|
|
||||||
%dir %{_sysconfdir}/yum
|
%dir %{_sysconfdir}/yum
|
||||||
%dir %{_sysconfdir}/yum/pluginconf.d
|
%dir %{_sysconfdir}/yum/pluginconf.d
|
||||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/dellsysid.conf
|
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/dellsysid.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user