Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37407951
en ru br
ALT Linux repos
5.0: r2-alt1
4.1: r2-alt1
4.0: r2-alt1

Group :: System/Configuration/Hardware
RPM: firmwarekit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: firmwarekit
VERSION: r2
Release: alt1

Summary: BIOS checker that validates ACPI and other parts for x86 and x86_64 machines
Summary(ru_RU.UTF-8): Утилита для проверки коректной работы Linux с программно-аппаратными средствами (BIOS, ACPI, EFI) архитектур x86 и x86_64
License: GNU Lesser General Public License version 2.1
Url: http://www.linuxfirmwarekit.org
Packager: Andriy Stepanov <stanv at altlinux.ru>
Source0: http://www.linuxfirmwarekit.org/download/%name-%version.tar.gz
Source1: biostest.sh

Group: System/Configuration/Hardware
ExclusiveArch: %ix86 x86_64

Requires: pmtools util-linux dmidecode iasl pciutils

Patch0: alt_ssh.patch
Patch1: alt_dmesg_and_acpi.patch
Patch2: alt_rip_out_unneeded_stuff4.patch
Patch5: alt_use_external_bins2.patch
Patch6: alt_makefile
Patch7: alt_lspci_path.patch
Patch9: alt_thermal.patch
Patch10: alt_pipes.patch
Patch20: alt_pipes_again.patch
Patch11: alt_usb2.patch
Patch12: alt_shared_objects.patch
Patch13: alt_ebda_makefile.patch

# Automatically added by buildreq on Thu Feb 22 2007

BuildRequires: gccmakedep glib2-devel libnewt-devel

%description
This tool, developed by Intel, is meant for vendors to validate and
certifcate their BIOS. It is also convenient for ACPI or general BIOS
related bugs. If you have an ACPI error/warning, run this tool and
provide output for bug tracking information

Authors:
--------
   Intel

%prep
%setup -q -n linux%name
#%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch9 -p1
%patch10 -p1
%patch20 -p1
#%patch11 -p1
%patch12 -p1
%patch13 -p1

%build
make -e CFLAGS="%optflags"

%install
install -D -m 744 %{S:1} %buildroot/%_sbindir/biostest.sh
#cp %{S:1} hooks
install -d -m 755 %buildroot/%_logdir/%name
install -D -m 644 initramfs/results.css %buildroot/%_logdir/%name/results.css
install -D -m 644 initramfs/resources.css %buildroot/%_logdir/%name/resources.css
install -D -m 744 biostest %buildroot/%_libdir/%name/biostest
install -D -m 755 shelltools/start_test %buildroot/%_libdir/%name/bin/start_test
ln -s start_test %buildroot/%_libdir/%name/bin/announce_resource
ln -s start_test %buildroot/%_libdir/%name/bin/finish_test
ln -s start_test %buildroot/%_libdir/%name/bin/report_result
ln -s start_test %buildroot/%_libdir/%name/bin/report_testrun_progress
install -D -m 755 libstandalone.so %buildroot/%_libdir/libstandalone.so
cp      -a        plugins %buildroot/%_libdir/%name/plugins
#install -D -m 644 biostest.1 %buildroot/%_man1dir/biostest.1

%files
#%define _verify_elf_method skip

%_sbindir/biostest.sh
%_libdir/%name
%_logdir/%name
%_libdir/libstandalone.so
#%_docdir/%name
#You'll note that we neglected to use the %doc  directive on the man page files. The reason is that RPM automatically tags any file destined for /usr/man as documentation.
#%_mandir/man1/biostest.1
#%doc QUICKSTART.txt USERGUIDE.txt
%doc Documentation/ NEWS README AUTHORS todo.txt COPYING

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin