OBS User unknown 2007-01-15 23:23:15 +00:00 committed by Git OBS Bridge
commit 49a78da109
6 changed files with 344 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libsmbios-0.10.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c75fa1cad17d771ee88544ae69c7ee2fe0069c7cb8539585d000271fa5ad926e
size 657913

21
libsmbios.changes Normal file
View File

@ -0,0 +1,21 @@
-------------------------------------------------------------------
Fri Feb 10 23:38:25 CET 2006 - bwise@suse.de
- put description ib bios_update_check
-------------------------------------------------------------------
Wed Jan 25 21:37:44 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Thu Jan 19 01:19:29 CET 2006 - ro@suse.de
- provide main package name in one subpackage
(needed for debuginfo since we do not have a main package here)
-------------------------------------------------------------------
Wed Jan 11 19:27:17 CET 2006 - bwhiteley@suse.de
- first build

296
libsmbios.spec Normal file
View File

@ -0,0 +1,296 @@
#
# spec file for package libsmbios (Version 0.10.6)
#
# Copyright (c) 2006 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.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libsmbios
BuildRequires: Xerces-c-devel gcc-c++
URL: http://linux.dell.com/libsmbios/main/index.html
%define _unpackaged_files_terminate_build 0
# automatically determine if we should build xml
%define build_xml %( ([ -e /usr/include/xercesc/ ] && echo 1) || echo 0 )
# automatically determine if we should build docs
%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}}
%{?_with_xml: %{expand: %%define build_xml 1}}
%{?_without_static: %{expand: %%define build_static 0}}
%{?_with_static: %{expand: %%define build_static 1}}
%{?_without_docs: %{expand: %%define build_docs 0}}
%{?_with_docs: %{expand: %%define build_docs 1}}
%{?_without_butrpm: %{expand: %%define build_butrpm 0}}
%{?_with_butrpm: %{expand: %%define build_butrpm 1}}
# 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
Summary: Open BIOS parsing libs
Group: System/Management
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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.
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
Provides: %name = %version
%package -n libsmbiosxml-libs
Summary: Libsmbiosxml shared libraries.
Group: System/Management
%package bin
Summary: The "supported" sample binaries that use libsmbios
Group: System/Management
%package unsupported-bin
Summary: Unsupported sample binaries using libsmbios
Group: System/Management
%package -n libsmbiosxml-bin
Summary: sample binaries that use libsmbiosxml
Group: System/Management
%package devel
Summary: development headers and archives
Group: System/Management
%package static
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.
Authors:
--------
Michael Brown
%description -n libsmbiosxml-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.
Authors:
--------
Michael Brown
%description devel
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.
This package contains the headers and .a files necessary to compile new
client programs against libsmbios
Authors:
--------
Michael Brown
%description bin
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.
This package contains some sample binaries that use libsmbios.
Authors:
--------
Michael Brown
%description unsupported-bin
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.
This package contains some sample binaries that use libsmbios.
Authors:
--------
Michael Brown
%description -n libsmbiosxml-bin
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.
This package contains some sample binaries that use libsmbios.
Authors:
--------
Michael Brown
%description static
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.
Authors:
--------
Michael Brown
%prep
%setup
%build
make default
%if %{build_static}
make static
%endif
%if %{build_xml}
make xml
%endif
%if %{build_docs}
make doxygen
%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}/
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}
%post libs
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)
%{_libdir}/libsmbios.so.*.*
%if %{build_xml}
%files -n libsmbiosxml-libs
%defattr(-,root,root)
%{_libdir}/libsmbiosxml.so.*.*
%endif
%files devel
%defattr(-,root,root)
%if %{build_docs}
%doc doc/full/html
%endif
%{_libdir}/libsmbios.so
/usr/include/smbios
%if %{build_xml}
%{_libdir}/libsmbiosxml.so
%endif
%files bin
%defattr(555,root,root)
%{_bindir}/assetTag
%{_bindir}/dellBiosUpdate
%{_bindir}/getSystemId
%{_bindir}/propertyTag
%{_bindir}/serviceTag
%{_bindir}/tokenCtl
%{_bindir}/verifySmiPassword
%{_bindir}/wakeupCtl
%files unsupported-bin
%defattr(555,root,root)
%{_bindir}/activateCmosToken
%{_bindir}/ascii2enUS_scancode
%{_bindir}/createUnitTestFiles
%{_bindir}/disable_console_redir
%{_bindir}/dumpCmos
%{_bindir}/getPasswordFormat
%{_bindir}/isCmosTokenActive
%{_bindir}/probes
%{_bindir}/smitest
%{_bindir}/stateByteCtl
%{_bindir}/upBootCtl
%if %{build_xml}
%files -n libsmbiosxml-bin
%defattr(555,root,root)
%{_bindir}/dumpSmbios
%endif
%if %{build_static}
%files static
%defattr(555,root,root)
%{_bindir}/*S
%endif
%changelog -n libsmbios
* Fri Feb 10 2006 - bwise@suse.de
- put description ib bios_update_check
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 19 2006 - ro@suse.de
- provide main package name in one subpackage
(needed for debuginfo since we do not have a main package here)
* Wed Jan 11 2006 - bwhiteley@suse.de
- first build

0
ready Normal file
View File