Accepting request 477961 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/477961 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsmbios?expand=0&rev=37
This commit is contained in:
commit
be0ace834a
@ -1,21 +0,0 @@
|
|||||||
diff -Ndur libsmbios-2.2.28/doc/pkgheader.sh libsmbios-2.2.28-fix-bashisms/doc/pkgheader.sh
|
|
||||||
--- libsmbios-2.2.28/doc/pkgheader.sh 2008-05-13 18:19:39.000000000 +0300
|
|
||||||
+++ libsmbios-2.2.28-fix-bashisms/doc/pkgheader.sh 2014-11-20 00:28:20.117811035 +0200
|
|
||||||
@@ -49,7 +49,7 @@
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo
|
|
||||||
- pushd $tmpdir >/dev/null 2>&1
|
|
||||||
+ cd $tmpdir
|
|
||||||
echo "Running BIOS Update:"
|
|
||||||
if ! ./$_PRG -u -f ./bios.hdr "$@"; then
|
|
||||||
echo
|
|
||||||
@@ -59,7 +59,7 @@
|
|
||||||
echo "You must now reboot your system!"
|
|
||||||
echo
|
|
||||||
fi
|
|
||||||
- popd >/dev/null 2>&1
|
|
||||||
+ cd - >/dev/null
|
|
||||||
}
|
|
||||||
|
|
||||||
checkroot()
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c71f040df170f6b55a874f292929792449ba1fad6029ba18544ed04a88343c1c
|
|
||||||
size 830840
|
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 2 14:08:43 UTC 2017 - fschnizlein@suse.com
|
||||||
|
|
||||||
|
- Update to 2.3.2
|
||||||
|
* Drop rbu support
|
||||||
|
* Add smbios-battery script
|
||||||
|
- Fetch source from GitHub
|
||||||
|
- Remove obsolete patches:
|
||||||
|
D libsmbios-2.2.28-fix-bashisms.patch since pkgheader.sh was
|
||||||
|
removed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 6 16:31:44 UTC 2016 - trenn@suse.de
|
Wed Jul 6 16:31:44 UTC 2016 - trenn@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsmbios
|
# spec file for package libsmbios
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,21 +20,24 @@
|
|||||||
%{!?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.3.0
|
Version: 2.3.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Libraries to get information from standard BIOS tables
|
Summary: Libraries to get information from standard BIOS tables
|
||||||
License: GPL-2.0+ or OSL-2.1
|
License: GPL-2.0+ or OSL-2.1
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
|
|
||||||
Url: http://linux.dell.com/libsmbios/main/
|
Url: https://github.com/dell/libsmbios
|
||||||
Source0: http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-%{version}/%{name}-%{version}.tar.xz
|
Source0: https://github.com/dell/libsmbios/archive/v%{version}.tar.gz
|
||||||
Patch1: %{name}-2.2.28-fix-bashisms.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: autogen
|
||||||
|
BuildRequires: automake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libcppunit-devel
|
BuildRequires: libcppunit-devel
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-base
|
BuildRequires: python-base
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
@ -124,9 +127,9 @@ substitutions in yum repository configuration files on Dell systems.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
./autogen.sh
|
||||||
%configure --disable-rpath
|
%configure --disable-rpath
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -149,7 +152,7 @@ mv out/libsmbios_c++ out/libsmbios_c++-%{_arch}
|
|||||||
|
|
||||||
# Manually install the doc files for the devel package in order to fix duplicates with "fdupes -s"
|
# Manually install the doc files for the devel package in order to fix duplicates with "fdupes -s"
|
||||||
install -dp -m 0755 %{buildroot}%{_defaultdocdir}/%{name}-devel
|
install -dp -m 0755 %{buildroot}%{_defaultdocdir}/%{name}-devel
|
||||||
cp -a AUTHORS COPYING-GPL COPYING-OSL ChangeLog NEWS README TODO doc/old_news.txt %{buildroot}%{_defaultdocdir}/%{name}-devel/
|
cp -a COPYING COPYING-GPL COPYING-OSL NEWS README TODO %{buildroot}%{_defaultdocdir}/%{name}-devel/
|
||||||
cp -a src/bin/getopts_LICENSE.txt src/include/smbios/config/boost_LICENSE_1_0_txt %{buildroot}%{_defaultdocdir}/%{name}-devel/
|
cp -a src/bin/getopts_LICENSE.txt src/include/smbios/config/boost_LICENSE_1_0_txt %{buildroot}%{_defaultdocdir}/%{name}-devel/
|
||||||
cp -a out/libsmbios_c-%{_arch} %{buildroot}%{_defaultdocdir}/%{name}-devel/
|
cp -a out/libsmbios_c-%{_arch} %{buildroot}%{_defaultdocdir}/%{name}-devel/
|
||||||
cp -a out/libsmbios_c++-%{_arch} %{buildroot}%{_defaultdocdir}/%{name}-devel/
|
cp -a out/libsmbios_c++-%{_arch} %{buildroot}%{_defaultdocdir}/%{name}-devel/
|
||||||
@ -191,16 +194,14 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files -n python-smbios
|
%files -n python-smbios
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING-GPL COPYING-OSL ChangeLog NEWS README TODO doc/old_news.txt
|
%doc COPYING-GPL COPYING-OSL NEWS README TODO
|
||||||
%{python_sitelib}/libsmbios_c/
|
%{python_sitelib}/libsmbios_c/
|
||||||
|
|
||||||
%files -n smbios-utils-bin
|
%files -n smbios-utils-bin
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING-GPL COPYING-OSL ChangeLog NEWS README TODO doc/old_news.txt
|
%doc COPYING-GPL COPYING-OSL NEWS README TODO
|
||||||
%doc doc/pkgheader.sh
|
|
||||||
%defattr(555,root,root,-)
|
%defattr(555,root,root,-)
|
||||||
# legacy C++
|
# legacy C++
|
||||||
%{_sbindir}/dellBiosUpdate-compat
|
|
||||||
%{_sbindir}/dellLEDCtl
|
%{_sbindir}/dellLEDCtl
|
||||||
%ifnarch ia64
|
%ifnarch ia64
|
||||||
%{_sbindir}/dellMediaDirectCtl
|
%{_sbindir}/dellMediaDirectCtl
|
||||||
@ -215,14 +216,14 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files -n smbios-utils-python
|
%files -n smbios-utils-python
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING-GPL COPYING-OSL ChangeLog NEWS README TODO doc/old_news.txt
|
%doc COPYING-GPL COPYING-OSL NEWS README TODO
|
||||||
%dir %{_sysconfdir}/libsmbios
|
%dir %{_sysconfdir}/libsmbios
|
||||||
%config(noreplace) %{_sysconfdir}/libsmbios/*
|
%config(noreplace) %{_sysconfdir}/libsmbios/*
|
||||||
%defattr(555,root,root,-)
|
%defattr(555,root,root,-)
|
||||||
# python utilities
|
# python utilities
|
||||||
%{_sbindir}/smbios-lcd-brightness
|
%{_sbindir}/smbios-lcd-brightness
|
||||||
%{_sbindir}/smbios-passwd
|
%{_sbindir}/smbios-passwd
|
||||||
%{_sbindir}/smbios-rbu-bios-update
|
%{_sbindir}/smbios-battery-ctl
|
||||||
%{_sbindir}/smbios-sys-info
|
%{_sbindir}/smbios-sys-info
|
||||||
%{_sbindir}/smbios-token-ctl
|
%{_sbindir}/smbios-token-ctl
|
||||||
%{_sbindir}/smbios-wakeup-ctl
|
%{_sbindir}/smbios-wakeup-ctl
|
||||||
@ -232,7 +233,7 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files -n yum-dellsysid
|
%files -n yum-dellsysid
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING-GPL COPYING-OSL ChangeLog NEWS README TODO doc/old_news.txt
|
%doc COPYING-GPL COPYING-OSL NEWS README TODO
|
||||||
%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
|
||||||
|
3
v2.3.2.tar.gz
Normal file
3
v2.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:527874a2abad8f8a9320eeb6b5dd11b6d5b8fff6cdc90bb0f757c39da519714f
|
||||||
|
size 800862
|
Loading…
Reference in New Issue
Block a user