tstellar / rpms / libsmbios

Forked from rpms/libsmbios 3 years ago
Clone
4faf40d
# pkg/libsmbios.spec.  Generated from libsmbios.spec.in by configure.
Matt Domsch 73c2c78
# required by suse build system
Matt Domsch 73c2c78
# norootforbuild
4faf40d
f146274
# these are all substituted by autoconf
121fda8
%define major 2
4faf40d
%define minor 2
praveenp 6710d57
%define micro 28
4faf40d
%define extra %{nil}
Matt Domsch 73c2c78
%define pot_file  libsmbios
Matt Domsch b2f0d71
%define lang_dom  libsmbios-2.2-x86_64
praveenp 6710d57
%define release_version 2.2.28
4faf40d
ef19d26
%define release_name libsmbios
ef19d26
%define other_name   libsmbios2
ef19d26
%if 0%{?suse_version}
ef19d26
%define release_name libsmbios2
ef19d26
%define other_name   libsmbios
ef19d26
%endif
ef19d26
f7da782
%{!?build_python:   %define build_python 1}
f7da782
%{?_with_python:    %define build_python 1}
Matt Domsch 73c2c78
%{?_without_python: %undefine build_python}
f7da782
Matt Domsch 73c2c78
# run_unit_tests not defined by default as cppunit
Matt Domsch 73c2c78
# not available in OS on several major OS
Matt Domsch 73c2c78
%{?_without_unit_tests: %undefine run_unit_tests}
4faf40d
%{?_with_unit_tests:    %define run_unit_tests 1}
4faf40d
Matt Domsch 73c2c78
%{!?as_needed:         %define as_needed 1}
Matt Domsch 73c2c78
%{?_without_as_needed: %undefine as_needed}
Matt Domsch 73c2c78
%{?_with_as_needed:    %define as_needed 1}
Matt Domsch 73c2c78
4faf40d
# some distros already have fdupes macro. If not, we just set it to something innocuous
4faf40d
%{?!fdupes: %define fdupes /usr/sbin/hardlink -c -v}
4faf40d
Matt Domsch 73c2c78
%define cppunit_BR cppunit-devel
bc5ef6f
%define pkgconfig_BR pkgconfig
4faf40d
%define ctypes_BR python-ctypes
4faf40d
%define fdupes_BR hardlink
f7da782
%define valgrind_BR valgrind
4faf40d
# Some variable definitions so that we can be compatible between SUSE Build service and Fedora build system
4faf40d
# SUSE: fedora_version  suse_version rhel_version centos_version sles_version
4faf40d
# Fedora: fedora dist fc8 fc9
4faf40d
4faf40d
# suse/sles
4faf40d
%if 0%{?suse_version}
Matt Domsch dccd035
%if 0%{?suse_version} < 1000
Matt Domsch dccd035
    %define valgrind_BR %{nil}
Matt Domsch 73c2c78
    # sles 9 doesnt have as_needed
Matt Domsch 73c2c78
    %undefine as_needed
Matt Domsch dccd035
%endif
4faf40d
%if 0%{?suse_version} >= 1020
4faf40d
    # suse never added python-ctypes provides to python 2.5 :(
4faf40d
    %define ctypes_BR %{nil}
4faf40d
%endif
4faf40d
%if 0%{?suse_version} > 1020
4faf40d
    %define fdupes_BR fdupes
4faf40d
%else
4faf40d
    %define fdupes_BR %{nil}
4faf40d
    %define fdupes echo fdupes disabled
4faf40d
%endif
4faf40d
%endif
89ac544
Matt Domsch 73c2c78
# rhel (should work on OBS and EPEL)
Matt Domsch 73c2c78
%if 0%{?rhel}
Matt Domsch 73c2c78
%if 0%{?rhel} < 5
4faf40d
    %define fdupes echo fdupes disabled
4faf40d
    %define fdupes_BR %{nil}
4faf40d
%endif
Matt Domsch 73c2c78
%if 0%{?rhel} < 4
f7da782
    # dont yet have rhel3 valgrind
f7da782
    %define valgrind_BR %{nil}
f7da782
    # no python-ctypes for python <= 2.2
Matt Domsch 73c2c78
    %undefine build_python
Matt Domsch 73c2c78
    # rhel3 doesnt have -as-needed
Matt Domsch 73c2c78
    %undefine as_needed
f7da782
%endif
f7da782
%endif
f7da782
f7da782
%define python_devel_BR %{nil}
Matt Domsch 73c2c78
%if 0%{?build_python}
f7da782
    %define python_devel_BR python-devel
f7da782
    # per fedora and suse python packaging guidelines
f7da782
    # suse: will define py_sitedir for us
f7da782
    # fedora: use the !? code below to define when it isnt already
Matt Domsch b2f0d71
Matt Domsch b2f0d71
    # pure python stuff goes here
Matt Domsch b2f0d71
    %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Matt Domsch b2f0d71
Matt Domsch b2f0d71
    # arch-dep python stuff goes here
Matt Domsch b2f0d71
    %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
Matt Domsch b2f0d71
4faf40d
%endif
4faf40d
Matt Domsch 73c2c78
# if unit tests are disabled, get rid of a few BuildRequires
Matt Domsch 73c2c78
%{!?run_unit_tests: %define cppunit_BR %{nil}}
Matt Domsch 73c2c78
%{!?run_unit_tests: %define valgrind_BR %{nil}}
4faf40d
ef19d26
Name: %{release_name}
89ac544
Version: %{release_version}
ea6ad75
Release: 16%{?dist}
2e09a50
License: GPLv2+ or OSL 2.1
4faf40d
Summary: Libsmbios C/C++ shared libraries
89ac544
Group: System Environment/Libraries
bf5653c
Source: http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-%{version}/libsmbios-%{version}.tar.bz2
gunnersrini 55c5308
Patch0: 0001-reverting-the-patch-3304b513.patch
89ac544
URL: http://linux.dell.com/libsmbios/main
89ac544
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f7da782
BuildRequires: strace libxml2-devel gcc-c++ gettext doxygen %{valgrind_BR} %{cppunit_BR} %{fdupes_BR} %{pkgconfig_BR} %{python_devel_BR}
4faf40d
# uncomment for official fedora
ef19d26
Obsoletes: libsmbios-libs < 2.0.0
ef19d26
Provides: libsmbios-libs = 0:%{version}-%{release}
ef19d26
Obsoletes: %{other_name} <= 0:%{version}-%{release}
praveenp 6710d57
Provides: %{other_name} = 0:%{version}-%{release}
89ac544
89ac544
# libsmbios only ever makes sense on intel compatible arches
89ac544
# no DMI tables on ppc, s390, etc.
89ac544
ExclusiveArch: x86_64 ia64 %{ix86}
89ac544
4faf40d
%description
4faf40d
Libsmbios is a library and utilities that can be used by client programs to get
4faf40d
information from standard BIOS tables, such as the SMBIOS table.
9de2d44
4faf40d
This package provides the C-based libsmbios library, with a C interface.
89ac544
4faf40d
This package also has a C++-based library, with a C++ interface. It is not
4faf40d
actively maintained, but provided for backwards compatibility. New programs
4faf40d
should use the libsmbios C interface.
121fda8
4faf40d
4faf40d
%package -n python-smbios
4faf40d
Summary: Python interface to Libsmbios C library
4faf40d
Group: System Environment/Libraries
ef19d26
Requires: %{release_name} = 0:%{version}-%{release}
Matt Domsch 73c2c78
Requires: python %{ctypes_BR}
4faf40d
4faf40d
%description -n python-smbios
4faf40d
This package provides a Python interface to libsmbios
89ac544
121fda8
%package -n smbios-utils
Matt Domsch 73c2c78
Summary: Meta-package that pulls in all smbios binaries and python scripts
89ac544
Group: Applications/System
f7da782
Requires: smbios-utils-bin
Matt Domsch 73c2c78
%if 0%{?build_python}
f7da782
Requires: smbios-utils-python
f7da782
%endif
06d0faf
Obsoletes: libsmbios-bin < 0:2.0.0
121fda8
Provides: libsmbios-bin = %{version}-%{release}
06d0faf
Obsoletes: libsmbios-unsupported-bin < 0:2.0.0
121fda8
Provides: libsmbios-unsupported-bin = %{version}-%{release}
89ac544
4faf40d
%description -n smbios-utils
4faf40d
This is a meta-package that pulls in the binary libsmbios executables as well
4faf40d
as the python executables.
4faf40d
4faf40d
%package -n smbios-utils-bin
4faf40d
Summary: Binary utilities that use libsmbios
4faf40d
Group: Applications/System
ef19d26
Requires: %{release_name} = 0:%{version}-%{release}
4faf40d
4faf40d
%description -n smbios-utils-bin
4faf40d
Get BIOS information, such as System product name, product id, service tag and
f7da782
asset tag.
4faf40d
4faf40d
%package -n smbios-utils-python
4faf40d
Summary: Python executables that use libsmbios
4faf40d
Group: Applications/System
4faf40d
Requires: python-smbios = %{version}-%{release}
4faf40d
4faf40d
%description -n smbios-utils-python
4faf40d
Get BIOS information, such as System product name, product id, service tag and
4faf40d
asset tag. Set service and asset tags on Dell machines. Manipulate wireless
4faf40d
cards/bluetooth on Dell laptops. Set BIOS password on select Dell systems.
4faf40d
Update BIOS on select Dell systems. Set LCD brightness on select Dell laptops.
4faf40d
ef19d26
# name the devel package libsmbios-devel regardless of package name, per suse/fedora convention
ef19d26
%package -n libsmbios-devel
89ac544
Summary: Development headers and archives
89ac544
Group: Development/Libraries
ef19d26
Requires: %{release_name} = 0:%{version}-%{release}
ef19d26
Provides: libsmbios2-devel = %{version}-%{release}
ef19d26
Obsoletes: libsmbios2-devel < %{version}-%{release}
89ac544
ef19d26
%description -n libsmbios-devel
4faf40d
Libsmbios is a library and utilities that can be used by client programs to get
4faf40d
information from standard BIOS tables, such as the SMBIOS table.
89ac544
4faf40d
This package contains the headers and .a files necessary to compile new client
4faf40d
programs against libsmbios.
89ac544
Matt Domsch 73c2c78
%package -n yum-dellsysid
Matt Domsch 73c2c78
Summary: YUM plugin to retrieve the Dell System ID
Matt Domsch 73c2c78
Group: Development/Tools
Matt Domsch b2f0d71
# yum plugin and supporting functions first appeared in 2.2.0
Matt Domsch b2f0d71
Requires: smbios-utils-python >= 2.2.0
Matt Domsch 73c2c78
Matt Domsch 73c2c78
%description -n yum-dellsysid
Matt Domsch 73c2c78
Libsmbios is a library and utilities that can be used by client programs to get
Matt Domsch 73c2c78
information from standard BIOS tables, such as the SMBIOS table.
Matt Domsch 73c2c78
Matt Domsch 73c2c78
This package contains a YUM plugin which allows the use of certain
Matt Domsch 73c2c78
substitutions in yum repository configuration files on Dell systems.
Matt Domsch 73c2c78
89ac544
89ac544
%prep
Matt Domsch 73c2c78
: '########################################'
Matt Domsch 73c2c78
: '########################################'
Matt Domsch 73c2c78
: '#'
Matt Domsch 73c2c78
: '# build_python: %{?build_python}'
Matt Domsch 73c2c78
: '# run_unit_tests: %{?run_unit_tests}'
Matt Domsch 73c2c78
: '# rhel: %{?rhel}'
Matt Domsch 73c2c78
: '# suse_version: %{?suse_version}'
Matt Domsch 73c2c78
: '#'
Matt Domsch 73c2c78
: '########################################'
Matt Domsch 73c2c78
: '########################################'
4faf40d
%setup -q -n libsmbios-%{version}
gunnersrini 55c5308
%patch0 -p1
89ac544
find . -type d -exec chmod -f 755 {} \;
4faf40d
find doc src -type f -exec chmod -f 644 {} \;
4faf40d
chmod 755 src/cppunit/*.sh
89ac544
89ac544
%build
4faf40d
# this line lets us build an RPM directly from a git tarball
f7da782
# and retains any customized version information we might have
Matt Domsch 73c2c78
[ -e ./configure ] || ./autogen.sh --no-configure
4faf40d
4faf40d
mkdir _build
4faf40d
cd _build
4faf40d
echo '../configure "$@"' > configure
4faf40d
chmod +x ./configure
4faf40d
ef19d26
%configure \
Matt Domsch 73c2c78
    %{?!as_needed:--disable-as-needed} %{?!build_python:--disable-python}
Matt Domsch 73c2c78
4faf40d
mkdir -p out/libsmbios_c
4faf40d
mkdir -p out/libsmbios_c++
praveenp 6710d57
make CFLAGS="-Werror" %{?_smp_mflags} 2>&1 | tee build-%{_arch}.log
4faf40d
Matt Domsch 73c2c78
echo \%doc _build/build-%{_arch}.log > buildlogs.txt
4faf40d
4faf40d
%check
4faf40d
runtest() {
4faf40d
    mkdir _$1$2
4faf40d
%if 0%{?run_unit_tests}
4faf40d
    pushd _$1$2
4faf40d
    ../configure
4faf40d
    make -e $1 CFLAGS="$CFLAGS -DDEBUG_OUTPUT_ALL" 2>&1 | tee $1$2.log
Matt Domsch 73c2c78
    touch -r ../configure.ac $1$2-%{_arch}.log
Matt Domsch 73c2c78
    make -e $1 2>&1 | tee $1$2.log
4faf40d
    popd
Matt Domsch 73c2c78
    echo \%doc _$1$2/$1$2-%{_arch}.log >> _build/buildlogs.txt
4faf40d
%endif
4faf40d
}
4faf40d
4faf40d
if [ -d /usr/include/cppunit ]; then
4faf40d
   # run this first since it is slightly faster than valgrind
4faf40d
    VALGRIND="strace -f" runtest check strace > /dev/null || echo FAILED strace check
4faf40d
fi
4faf40d
4faf40d
if [ -e /usr/bin/valgrind -a -d /usr/include/cppunit ]; then
4faf40d
    runtest valgrind > /dev/null || echo FAILED valgrind check
4faf40d
fi
4faf40d
4faf40d
if [ -d /usr/include/cppunit ]; then
4faf40d
    runtest check > /dev/null || echo FAILED check
4faf40d
fi
4faf40d
4faf40d
if [ ! -d /usr/include/cppunit ]; then
4faf40d
    echo "Unit tests skipped due to missing cppunit."
4faf40d
fi
89ac544
89ac544
%install
121fda8
rm -rf %{buildroot}
4faf40d
mkdir %{buildroot}
89ac544
4faf40d
cd _build
4faf40d
TOPDIR=..
30c6733
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
Matt Domsch 73c2c78
mkdir -p %{buildroot}/%{_includedir}
Matt Domsch 73c2c78
cp -a $TOPDIR/src/include/*  %{buildroot}/%{_includedir}/
Matt Domsch 73c2c78
cp -a out/public-include/*  %{buildroot}/%{_includedir}/
Matt Domsch 73c2c78
rm -f %{buildroot}/%{_libdir}/lib*.{la,a}
Matt Domsch 73c2c78
find %{buildroot}/%{_includedir} out/libsmbios_c++ out/libsmbios_c -exec touch -r $TOPDIR/configure.ac {} \;
30c6733
Matt Domsch 73c2c78
mv out/libsmbios_c++  out/libsmbios_c++-%{_arch}
Matt Domsch 73c2c78
mv out/libsmbios_c    out/libsmbios_c-%{_arch}
4faf40d
Matt Domsch 73c2c78
rename %{pot_file}.mo %{lang_dom}.mo $(find %{buildroot}/%{_datadir} -name %{pot_file}.mo)
4faf40d
%find_lang %{lang_dom}
4faf40d
Matt Domsch 73c2c78
touch files-yum-dellsysid
Matt Domsch 73c2c78
touch files-smbios-utils-python
Matt Domsch 73c2c78
touch files-python-smbios
Matt Domsch 73c2c78
Matt Domsch 73c2c78
%if 0%{?build_python}
Matt Domsch 73c2c78
Matt Domsch 73c2c78
# backwards compatible:
Matt Domsch 73c2c78
ln -s %{_sbindir}/dellWirelessCtl %{buildroot}/%{_bindir}/dellWirelessCtl
Matt Domsch 73c2c78
ln -s smbios-sys-info %{buildroot}/%{_sbindir}/getSystemId
Matt Domsch 73c2c78
ln -s smbios-wireless-ctl %{buildroot}/%{_sbindir}/dellWirelessCtl
Matt Domsch 73c2c78
ln -s smbios-lcd-brightness %{buildroot}/%{_sbindir}/dellLcdBrightness
Matt Domsch 73c2c78
ln -s smbios-rbu-bios-update %{buildroot}/%{_sbindir}/dellBiosUpdate
Matt Domsch 73c2c78
Matt Domsch 73c2c78
cat > files-python-smbios <<-EOF
Matt Domsch 73c2c78
	%doc COPYING-GPL COPYING-OSL README
Matt Domsch b2f0d71
	%{python_sitelib}/*
Matt Domsch 73c2c78
EOF
Matt Domsch 73c2c78
Matt Domsch 73c2c78
cat > files-smbios-utils-python <<-EOF
Matt Domsch 73c2c78
	%doc COPYING-GPL COPYING-OSL README
Matt Domsch 73c2c78
	%doc src/bin/getopts_LICENSE.txt src/include/smbios/config/boost_LICENSE_1_0_txt
Matt Domsch 73c2c78
	%doc doc/pkgheader.sh
Matt Domsch 73c2c78
	%dir %{_sysconfdir}/libsmbios
Matt Domsch 73c2c78
	%config(noreplace) %{_sysconfdir}/libsmbios/*
Matt Domsch 73c2c78
	
Matt Domsch 73c2c78
	# python utilities
Matt Domsch 73c2c78
	%{_sbindir}/smbios-sys-info
Matt Domsch 73c2c78
	%{_sbindir}/smbios-token-ctl
Matt Domsch 73c2c78
	%{_sbindir}/smbios-passwd
Matt Domsch 73c2c78
	%{_sbindir}/smbios-wakeup-ctl
Matt Domsch 73c2c78
	%{_sbindir}/smbios-wireless-ctl
Matt Domsch 73c2c78
	%{_sbindir}/smbios-rbu-bios-update
Matt Domsch 73c2c78
	%{_sbindir}/smbios-lcd-brightness
Matt Domsch 73c2c78
	
Matt Domsch 73c2c78
	# symlinks: backwards compat
Matt Domsch 73c2c78
	%{_sbindir}/dellLcdBrightness
Matt Domsch 73c2c78
	%{_sbindir}/getSystemId
Matt Domsch 73c2c78
	%{_sbindir}/dellWirelessCtl
Matt Domsch 73c2c78
	%{_sbindir}/dellBiosUpdate
Matt Domsch 73c2c78
	# used by HAL in old location, so keep it around until HAL is updated.
Matt Domsch 73c2c78
	%{_bindir}/dellWirelessCtl
Matt Domsch 73c2c78
	
Matt Domsch 73c2c78
	# data files
Matt Domsch 73c2c78
	%{_datadir}/smbios-utils
Matt Domsch 73c2c78
EOF
Matt Domsch 73c2c78
Matt Domsch 73c2c78
cat > files-yum-dellsysid <<-EOF
Matt Domsch 73c2c78
	%doc COPYING-GPL COPYING-OSL README
Matt Domsch 73c2c78
	# YUM Plugin
Matt Domsch 73c2c78
	%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/*
Matt Domsch 73c2c78
	%{_exec_prefix}/lib/yum-plugins/*
Matt Domsch 73c2c78
	# SUSE build has anal directory ownership check. RPM which owns all dirs *must*
Matt Domsch 73c2c78
	# be installed at buildtime.
Matt Domsch 73c2c78
	%if 0%{?suse_version} >= 1100
Matt Domsch 73c2c78
	%dir %{_sysconfdir}/yum
Matt Domsch 73c2c78
	%dir %{_sysconfdir}/yum/pluginconf.d/
Matt Domsch 73c2c78
	%dir %{_exec_prefix}/lib/yum-plugins/
Matt Domsch 73c2c78
	%endif
Matt Domsch 73c2c78
EOF
Matt Domsch 73c2c78
%endif
Matt Domsch 73c2c78
4faf40d
# hardlink files to save some space.
4faf40d
%fdupes $RPM_BUILD_ROOT
30c6733
89ac544
%clean
9de2d44
rm -rf %{buildroot}
89ac544
ef19d26
%post   -n %{release_name}   -p /sbin/ldconfig
ef19d26
%postun -n %{release_name}   -p /sbin/ldconfig
89ac544
Matt Domsch 73c2c78
%files -f _build/%{lang_dom}.lang
9de2d44
%defattr(-,root,root,-)
4faf40d
%{_libdir}/libsmbios_c.so.*
9de2d44
%{_libdir}/libsmbios.so.*
89ac544
ef19d26
%files -n libsmbios-devel -f _build/buildlogs.txt
9de2d44
%defattr(-,root,root,-)
4faf40d
%doc COPYING-GPL COPYING-OSL README src/bin/getopts_LICENSE.txt src/include/smbios/config/boost_LICENSE_1_0_txt
Matt Domsch 73c2c78
%{_includedir}/smbios
Matt Domsch 73c2c78
%{_includedir}/smbios_c
89ac544
%{_libdir}/libsmbios.so
4faf40d
%{_libdir}/libsmbios_c.so
bc5ef6f
%{_libdir}/pkgconfig/*.pc
Matt Domsch 73c2c78
%doc _build/out/libsmbios_c++-%{_arch}
Matt Domsch 73c2c78
%doc _build/out/libsmbios_c-%{_arch}
89ac544
121fda8
%files -n smbios-utils
4faf40d
# opensuse 11.1 enforces non-empty file list :(
9de2d44
%defattr(-,root,root,-)
121fda8
%doc COPYING-GPL COPYING-OSL README
f7da782
# no other files.
121fda8
4faf40d
%files -n smbios-utils-bin
4faf40d
%defattr(-,root,root,-)
4faf40d
%doc COPYING-GPL COPYING-OSL README
4faf40d
%doc src/bin/getopts_LICENSE.txt src/include/smbios/config/boost_LICENSE_1_0_txt
4faf40d
%doc doc/pkgheader.sh
Matt Domsch 73c2c78
#
4faf40d
# legacy C++
4faf40d
%{_sbindir}/dellBiosUpdate-compat
4faf40d
%{_sbindir}/dellLEDCtl
4faf40d
%ifnarch ia64
4faf40d
%{_sbindir}/dellMediaDirectCtl
4faf40d
%endif
Matt Domsch 73c2c78
#
4faf40d
# new C utilities
4faf40d
%{_sbindir}/smbios-state-byte-ctl
4faf40d
%{_sbindir}/smbios-get-ut-data
4faf40d
%{_sbindir}/smbios-upflag-ctl
4faf40d
%{_sbindir}/smbios-sys-info-lite
4faf40d
Matt Domsch 73c2c78
%files -n python-smbios -f _build/files-python-smbios
Matt Domsch 73c2c78
%defattr(-,root,root,-)
4faf40d
Matt Domsch 73c2c78
%files -n smbios-utils-python -f _build/files-smbios-utils-python
4faf40d
%defattr(-,root,root,-)
4faf40d
Matt Domsch 73c2c78
%files -n yum-dellsysid -f _build/files-yum-dellsysid
Matt Domsch 73c2c78
%defattr(-,root,root,-)
4faf40d
89ac544
%changelog
ea6ad75
* Thu Feb 25 2016 Peter Jones <pjones@redhat.com> - 2.2.28-16
ea6ad75
- Don't complain about compilers newer than tested with in the public
ea6ad75
  headers.
ea6ad75
d8690ef
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.28-15
d8690ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d8690ef
gunnersrini 55c5308
* Tue Sep 1 2015 Srinivas G Gowda <srinivas_g_gowda@dell.com> - 2.2.28-14
gunnersrini 55c5308
- Fixes Bug 852719: Dell Open Manage falis to start when libsmbios in EPEL branch is used.
gunnersrini 55c5308
- Patch re-enables display of "OEM String" in smbios-sys-info-lite.
gunnersrini 55c5308
f63002a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.28-13
f63002a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f63002a
de24008
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.2.28-12
de24008
- Rebuilt for GCC 5 C++11 ABI change
de24008
13dd69f
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.28-11
13dd69f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
13dd69f
0f5cdc0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.28-10
0f5cdc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0f5cdc0
8bddec8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.28-9
8bddec8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8bddec8
807898b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.28-8
807898b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
807898b
7e4d493
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.28-7
7e4d493
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7e4d493
d3fe11a
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.28-6
d3fe11a
- Rebuilt for c++ ABI breakage
d3fe11a
0f3d7be
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.28-5
0f3d7be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0f3d7be
praveenp 6710d57
* Thu Jun 30 2011 Praveen K Paladugu <praveen_paladugu@dell.com> 2.2.28-4
praveenp 6710d57
- Adding the right tar ball, coz files were missing from the previous version. 
praveenp 6710d57
praveenp 6710d57
* Thu Jun 30 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 2.2.28-3
praveenp 6710d57
- Fixing the build failure of version 2.2.26-4.
praveenp 6710d57
- The updated sources adds support for the compiler version available in F15 and other fixes.
praveenp 6710d57
ab5bdf9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.26-4
ab5bdf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ab5bdf9
Matt Domsch b2f0d71
* Mon Sep 27 2010 Matt Domsch <mdomsch@fedoraproject.org> - 2.2.26-3
Matt Domsch b2f0d71
- build for Fedora 15
Matt Domsch b2f0d71
c475402
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.19-2
c475402
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
c475402
Matt Domsch b2f0d71
* Fri Jul 06 2010 Michael Brown <michael-e_brown at dell.com> - 2.2.26-1
Matt Domsch b2f0d71
- implement CSV export of token settings from smbios-token-ctl
Matt Domsch b2f0d71
Matt Domsch b2f0d71
* Fri Jul 06 2010 Michael Brown <michael-e_brown at dell.com> - 2.2.25-1
Matt Domsch b2f0d71
- Fix breakage resulting from improperly fixing up constructors for MemoryAccess/CmosAccess. Fixes CLI utilities.
Matt Domsch b2f0d71
Matt Domsch b2f0d71
* Fri Jun 11 2010 Michael Brown <michael-e_brown at dell.com> - 2.2.23-1
Matt Domsch b2f0d71
- Fixup ABI break where a couple functions that should have been exported were not marked.
Matt Domsch 73c2c78
Matt Domsch b2f0d71
* Thu Jun 10 2010 Michael Brown <michael-e_brown at dell.com> - 2.2.22-1
Matt Domsch b2f0d71
- Fixup bug in reading asset and service tag where it A) read checksum from wrong location and B) used wrong comparison check to validate it
Matt Domsch b2f0d71
- enable service tag SET for machines that still set service tag in CMOS
Matt Domsch b2f0d71
- ABI/API - change to -fvisibility=hidden for libsmbios_c.so.*, mark public api's. This removes all non-public symbols that were not formerly part of the ABI from the dynamic link table.
f6b3906
Matt Domsch 73c2c78
* Mon May 18 2009 Matt Domsch <Matt_Domsch@dell.com> - 2.2.16-3
Matt Domsch 73c2c78
- split yum plugin into yum-dellsysid package
Matt Domsch 73c2c78
Matt Domsch dccd035
* Mon Mar 24 2009 Michael E Brown <michael_e_brown at dell.com> - 2.2.16-1
c3cbc50
- add gcc 4.4 support
c3cbc50
Matt Domsch dccd035
* Mon Mar 24 2009 Michael E Brown <michael_e_brown at dell.com> - 2.2.15-1
f7da782
- update to lastest upstream.
f7da782
- fixes bug in bios update on systems with versions like x.y.z.
f7da782
1527b6d
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.13-2
1527b6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1527b6d
c21d90a
* Tue Feb 3 2009 Michael E Brown <michael_e_brown at dell.com> - 2.2.12-1
c21d90a
- Add feature to turn on debugging printf()'s without recompiling by setting
c21d90a
  certain environment variables:
c21d90a
    LIBSMBIOS_C_DEBUG_OUTPUT_ALL    -- all debugging output
c21d90a
        or, per module:
c21d90a
    LIBSMBIOS_C_DEBUG_CONSTRUCTOR_C
c21d90a
    LIBSMBIOS_C_DEBUG_SYSINFO_C
c21d90a
    LIBSMBIOS_C_DEBUG_SMBIOS_C
c21d90a
    LIBSMBIOS_C_DEBUG_TOKEN_C
c21d90a
    LIBSMBIOS_C_DEBUG_MEMORY_C
c21d90a
    LIBSMBIOS_C_DEBUG_CMOS_C
c21d90a
    LIBSMBIOS_C_DEBUG_SMI_C
c21d90a
c21d90a
* Mon Feb 2 2009 Michael E Brown <michael_e_brown at dell.com> - 2.2.12-1
bc5ef6f
- Add pkgconfig files to -devel
bc5ef6f
- fixup yum plugin to not parse certain data that causes a crash on some machines (Optiplex 755, others may be affected)
bc5ef6f
ef19d26
* Thu Jan 15 2009 Michael E Brown <michael_e_brown at dell.com> - 2.2.8-1
ef19d26
- revert change in upstream renaming rpm to libsmbios2
ef19d26
4faf40d
* Thu Jan 15 2009 Michael E Brown <michael_e_brown at dell.com> - 2.2.7-1
4faf40d
- change source to bz2 format
4faf40d
- Update to latest upstream release. Many changes in the new release:
4faf40d
  - python interface
4faf40d
  - libsmbios_c interface almost fully implemented
4faf40d
  - libsmbios c++ interface deprecated
4faf40d
4faf40d
* Tue Oct 28 2008 Michael E Brown <michael_e_brown at dell.com> - 2.2.0-1
4faf40d
- Spec updates
4faf40d
b594377
* Mon Apr 21 2008 Michael E Brown <michael_e_brown at dell.com> - 2.0.1-2.1
b594377
- obsolete libsmbios-libs as well
b594377
622955e
* Mon Mar 3 2008 Michael E Brown <michael_e_brown at dell.com> - 2.0.1-2
06d0faf
- properly obsolete older versions
06d0faf
ec0d8cb
* Wed Feb 13 2008 Michael E Brown <michael_e_brown at dell.com> - 2.0.1
ec0d8cb
- Fixup GCC 4.3 compile issues.
ec0d8cb
121fda8
* Wed Jan 9 2008 Michael E Brown <michael_e_brown at dell.com> - 2.0.0
121fda8
- ABI incompatible, minor API changes
121fda8
- sync up libsmbios soname with version #
121fda8
- move binaries to /usr/sbin as they are only runnable by root
121fda8
- drop libsmbiosxml lib as it was mostly unused.
121fda8
- drop autotools generated files out of git and add autogen.sh
121fda8
- drop tokenCtl binary-- pysmbios has a *much* improved version
7219386
73eb79a
* Wed Aug 22 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.9
30c6733
- Fix a couple of failure-to-check-return on fopen. most were unit-test code
7219386
  only, but two or three were in regular code.
7219386
- Add hinting to the memory class, so that it can intelligently close /dev/mem
7219386
  file handle when it is not needed (which is most of the time). it only
7219386
  leaves it open when it is scanning, so speed is not impacted.
73eb79a
f146274
* Tue Aug 6 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.8
f146274
- new upstream
f146274
4cb96f8
* Tue Apr 3 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.6
f146274
- critical bugfix for dellBiosUpdate utility for packet mode
4cb96f8
- autoconf/automake support for automatically building docs
4cb96f8
- more readable 'make' lines by splitting out env vars
4cb96f8
- remove run_cppunit option... always run unit tests.
4cb96f8
- update autoconf/automake utilities to latest version
4cb96f8
- fix LDFLAGS to not overwrite user entered LDFLAGS
4cb96f8
- add automatic doxygen build of docs
4cb96f8
- fix urls of public repos
4cb96f8
- remove yum repo page in favor of official page from docs
4cb96f8
- split dmi table entry point from smbios table entry point
4cb96f8
- support legacy _DMI_ tables
4cb96f8
- fix support for EFI-based imacs without proper _SM_ anchor
4cb96f8
9de2d44
* Tue Mar 20 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.5
9de2d44
- rpmlint cleanups
9de2d44
- Add dellLEDCtl binary
9de2d44
- update AUTHORS file to add credit for dellLEDCtl
9de2d44
- update doc/DellToken.txt to add a few more useful tokens.
9de2d44
- updated build system to create documentation
9de2d44
- skip cppunit dep on .elX builds (not in EPEL yet)
9de2d44
e7a1713
* Mon Mar 12 2007 Michael E Brown <michael_e_brown at dell.com> - 0.13.4-1
e7a1713
- Added dellWirelessCtl binary
e7a1713
- Added 'static' makefile target to build static binaries and clean them as well
e7a1713
- fix for signed/unsigned bug in probes binary. CPU temp misreported
e7a1713
- simplify interface for DELL_CALLING_INTERFACE_SMI, autodetect Port/Magic
e7a1713
- document all of the tokens for controlling wireless on dell notebooks
f7da782
- enums for SMI args/res to make code match docs better (cbRES1 = res[0], which
e7a1713
  was confusing.
e7a1713
- helper functions isTokenActive() and activateToken() to simplify token API.
f7da782
- Added missing windows .cpp files to the dist tarball for those who compile
e7a1713
  windows from dist tarball vs source control
e7a1713
- Add support for EFI based machines without backwards compatible smbios table
e7a1713
  entry point in 0xF0000 block.
f7da782
- Added wirelessSwitchControl() and wirelessRadioControl() API for newer
e7a1713
  laptops.
f7da782
- fixed bug in TokenDA activate() code where it wasnt properly using SMI
e7a1713
  (never worked, but apparently wasnt used until now.)
e7a1713
f146274
* Tue Oct 3 2006 Michael E Brown <Michael_E_Brown@Dell.com> - 0.13.0-1
f146274
- autotools conversion
f146274
- add Changelog
f146274
89ac544
* Tue Sep 26 2006 Michael E Brown <michael_e_brown at dell.com> - 0.12.4-1
89ac544
- Changes per Fedora Packaging Guidelines to prepare to submit to Extras.
89ac544
- Add in a changelog entry per Fedora Packaging Guidelines...
f146274