forked from pool/libsmbios
This commit is contained in:
parent
49a78da109
commit
60cfd932fc
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c75fa1cad17d771ee88544ae69c7ee2fe0069c7cb8539585d000271fa5ad926e
|
||||
size 657913
|
3
libsmbios-0.12.4.tar.bz2
Normal file
3
libsmbios-0.12.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7172e20769757e438de847b2cceee40b773a1367f4ff2861fb4d30ffbb2adffc
|
||||
size 4217969
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 4 00:37:22 CET 2007 - dkukawka@suse.de
|
||||
|
||||
- fixed spec file: removed 'rm -rf ${RPM_BUILD_ROOT}' from install
|
||||
section
|
||||
- added ExcludeArch for ppc/ppc64 and s390/s390x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 20:58:32 CET 2007 - dkukawka@suse.de
|
||||
|
||||
- updated to new version 0.12.4:
|
||||
* the package no longer provide bios_update_tools subpackage,
|
||||
since they are no longer part of the source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 10 23:38:25 CET 2006 - bwise@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libsmbios (Version 0.10.6)
|
||||
# spec file for package libsmbios (Version 0.12.4)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
Name: libsmbios
|
||||
BuildRequires: Xerces-c-devel gcc-c++
|
||||
BuildRequires: Xerces-c-devel gcc-c++ glibc-devel libxml libxml2-devel
|
||||
URL: http://linux.dell.com/libsmbios/main/index.html
|
||||
%define _unpackaged_files_terminate_build 0
|
||||
# automatically determine if we should build xml
|
||||
@ -19,8 +19,6 @@ URL: http://linux.dell.com/libsmbios/main/index.html
|
||||
%define build_docs %( ( which doxygen > /dev/null 2>&1 && echo 1) || echo 0 )
|
||||
# build rpm containing everything statically linked
|
||||
%define build_static 0
|
||||
# build bios update tools rpm
|
||||
%define build_butrpm 1
|
||||
# allow --with[out] <feature> at rpm command line build, to override the above
|
||||
# e.g. --with xml ...or... --without xml
|
||||
%{?_without_xml: %{expand: %%define build_xml 0}}
|
||||
@ -34,13 +32,14 @@ URL: http://linux.dell.com/libsmbios/main/index.html
|
||||
# if passed a "dist" variable, use it. Otherwise, not.
|
||||
%{!?dist: %{expand: %%define relver 1}}
|
||||
%{?dist: %{expand: %%define relver 1.%{dist}}}
|
||||
Version: 0.10.6
|
||||
Release: 3
|
||||
License: GPL
|
||||
Source: libsmbios-0.10.6.tar.bz2
|
||||
Version: 0.12.4
|
||||
Release: 1
|
||||
License: GNU General Public License (GPL)
|
||||
Source: libsmbios-0.12.4.tar.bz2
|
||||
Summary: Open BIOS parsing libs
|
||||
Group: System/Management
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExcludeArch: ppc ppc64 s390 s390x
|
||||
|
||||
%description
|
||||
Libsmbios is a library and utilites that can be used by client programs
|
||||
@ -52,10 +51,6 @@ Authors:
|
||||
--------
|
||||
Michael Brown
|
||||
|
||||
%package -n bios_update_tools
|
||||
Summary: Scripts to manage firmware updates
|
||||
Group: System/Management
|
||||
Requires: libsmbios-bin
|
||||
%package libs
|
||||
Summary: Libsmbios shared libraries.
|
||||
Group: System/Management
|
||||
@ -79,16 +74,6 @@ Group: System/Management
|
||||
Summary: Open BIOS parsing libs
|
||||
Group: System/Management
|
||||
|
||||
%description -n bios_update_tools
|
||||
Scripts and tools to manage firmware and BIOS updates.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Michael Brown
|
||||
|
||||
|
||||
%description libs
|
||||
Libsmbios is a library and utilites that can be used by client programs
|
||||
to get information from standard BIOS tables, such as the SMBIOS table.
|
||||
@ -190,19 +175,11 @@ make default
|
||||
%endif
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
|
||||
install -d -m 755 $RPM_BUILD_ROOT/%{_bindir} $RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/usr/include/ $RPM_BUILD_ROOT/%{_sysconfdir} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/
|
||||
install -D -m 555 supported-bins/output/* $RPM_BUILD_ROOT/%{_bindir}
|
||||
install -D -m 555 bins/output/* $RPM_BUILD_ROOT/%{_bindir}
|
||||
cp lib/libsmbios* $RPM_BUILD_ROOT/%{_libdir}/
|
||||
install -d -m 755 $RPM_BUILD_ROOT/%{_bindir} $RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/usr/include/
|
||||
install -p -D -m 555 supported-bins/output/* $RPM_BUILD_ROOT/%{_bindir}
|
||||
install -p -D -m 555 bins/output/* $RPM_BUILD_ROOT/%{_bindir}
|
||||
cp -p lib/libsmbios* $RPM_BUILD_ROOT/%{_libdir}/
|
||||
cp -a include/smbios $RPM_BUILD_ROOT/usr/include/
|
||||
install -D -m 555 build/bios_update_tools/bios_update.conf $RPM_BUILD_ROOT/%{_sysconfdir}/bios_update/bios_update.conf
|
||||
install -D -m 555 build/bios_update_tools/bios_update_check $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/bios_update_check
|
||||
install -D -m 555 build/bios_update_tools/apply_installed_updates $RPM_BUILD_ROOT%{_bindir}/apply_installed_updates
|
||||
install -D -m 555 build/bios_update_tools/inventory_system $RPM_BUILD_ROOT%{_bindir}/inventory_system
|
||||
install -D -m 555 build/bios_update_tools/inventory_to_packages $RPM_BUILD_ROOT%{_bindir}/inventory_to_packages
|
||||
install -D -m 555 build/bios_update_tools/rbu_check $RPM_BUILD_ROOT%{_bindir}/rbu_check
|
||||
install -D -m 555 build/bios_update_tools/update_bios $RPM_BUILD_ROOT%{_bindir}/update_bios
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
|
||||
@ -212,19 +189,6 @@ ldconfig
|
||||
|
||||
%post -n libsmbiosxml-libs
|
||||
ldconfig
|
||||
%if %{build_butrpm}
|
||||
|
||||
%files -n bios_update_tools
|
||||
%defattr(-,root,root)
|
||||
%dir %{_sysconfdir}/bios_update
|
||||
%{_sysconfdir}/bios_update/bios_update.conf
|
||||
%{_sysconfdir}/init.d/bios_update_check
|
||||
%{_bindir}/apply_installed_updates
|
||||
%{_bindir}/inventory_system
|
||||
%{_bindir}/inventory_to_packages
|
||||
%{_bindir}/rbu_check
|
||||
%{_bindir}/update_bios
|
||||
%endif
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
@ -249,6 +213,7 @@ ldconfig
|
||||
|
||||
%files bin
|
||||
%defattr(555,root,root)
|
||||
%doc COPYING-GPL COPYING-OSL README
|
||||
%{_bindir}/assetTag
|
||||
%{_bindir}/dellBiosUpdate
|
||||
%{_bindir}/getSystemId
|
||||
@ -257,9 +222,11 @@ ldconfig
|
||||
%{_bindir}/tokenCtl
|
||||
%{_bindir}/verifySmiPassword
|
||||
%{_bindir}/wakeupCtl
|
||||
%{_bindir}/dellLcdBrightness
|
||||
|
||||
%files unsupported-bin
|
||||
%defattr(555,root,root)
|
||||
%doc COPYING-GPL COPYING-OSL README
|
||||
%{_bindir}/activateCmosToken
|
||||
%{_bindir}/ascii2enUS_scancode
|
||||
%{_bindir}/createUnitTestFiles
|
||||
@ -271,6 +238,7 @@ ldconfig
|
||||
%{_bindir}/smitest
|
||||
%{_bindir}/stateByteCtl
|
||||
%{_bindir}/upBootCtl
|
||||
%{_bindir}/sysid
|
||||
%if %{build_xml}
|
||||
|
||||
%files -n libsmbiosxml-bin
|
||||
@ -284,7 +252,15 @@ ldconfig
|
||||
%{_bindir}/*S
|
||||
%endif
|
||||
|
||||
%changelog -n libsmbios
|
||||
%changelog
|
||||
* Sun Mar 04 2007 - dkukawka@suse.de
|
||||
- fixed spec file: removed 'rm -rf ${RPM_BUILD_ROOT}' from install
|
||||
section
|
||||
- added ExcludeArch for ppc/ppc64 and s390/s390x
|
||||
* Wed Feb 28 2007 - dkukawka@suse.de
|
||||
- updated to new version 0.12.4:
|
||||
* the package no longer provide bios_update_tools subpackage,
|
||||
since they are no longer part of the source
|
||||
* Fri Feb 10 2006 - bwise@suse.de
|
||||
- put description ib bios_update_check
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user