91bbd85ae8
* Update ACPICA to version 20151124 * live-image/fwts-frontend-text: add a selection for recommended * data: klog.json: add in some more kernel error messages for 4.3 * ACPI: Add ASPT test * lib: framework: allow mixed tests and test category options * fwts: framework: Add --log-level option * lib: fwts_uefi: add SD device path define * Boot path sync with UEFI spec. 2.5 + uefibootpath: add test for the SD device path + uefidump: add dumping for the SD device path + lib: fwts_uefi: add efi bluetooth device path define + uefibootpath: add test for the bluetooth device path + uefidump: add dumping for the bluetooth device path + lib: fwts_uefi: add wireless device path define + uefibootpath: add test for the wireless device path + uefidump: add dumping for the wireless device path + lib: fwts_uefi: add ramdisk device path define + uefibootpath: add test for the ramdisk device path + uefidump: add dumping for the ramdisk device path * Fixed bugs + acpi: fpdt: add a terminate for buggy BIOS that reports zero length + lib: klog: remove use of pcre, use regex instead + utilities: kernelscan: remove use of pcre, use regex instead + uefidump: add more bounds checking and remove need for heap + utilities: fix memory leak, line not being free'd + acpi: bert: remove redundant variable 'length' + lib: iasl: rework IASL interface to ACPICA OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=21
86 lines
2.7 KiB
RPMSpec
86 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package fwts
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: fwts
|
|
Version: 15.12.00
|
|
Release: 0
|
|
Summary: Firmware Test Suite
|
|
License: GPL-2.0+
|
|
Group: Development/Tools/Other
|
|
Url: https://wiki.ubuntu.com/Kernel/Reference/fwts
|
|
# upstream seems to randomly change upper and lover case "v" in tarball name
|
|
Source0: http://fwts.ubuntu.com/release/%{name}-V%{version}.tar.gz
|
|
Patch0: json-c-includes.patch
|
|
# based on patch for acpica
|
|
Patch1: fwts-no-compiletime.patch
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: bison
|
|
BuildRequires: flex
|
|
BuildRequires: libtool
|
|
BuildRequires: pkg-config
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(json)
|
|
BuildRequires: pkgconfig(libpci)
|
|
BuildRequires: pkgconfig(libpcre)
|
|
Requires: acpica
|
|
Requires: dmidecode
|
|
Requires: pciutils
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
ExclusiveArch: %ix86 x86_64
|
|
|
|
%description
|
|
The FirmWare Test Suite (fwts) is a tool to do automatic testing of a PC's
|
|
firmware. There can be a lot of subtle or vexing Linux Kernel/firmware issues
|
|
caused when firmware is buggy, so it's useful to have a tool that can
|
|
automatically check for common BIOS and ACPI errors. Where possible the tool
|
|
will give some form of advice on how to fix issues or workaround firmware
|
|
issues.
|
|
|
|
%prep
|
|
%setup -q -c %{name}-%{version}
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure \
|
|
--disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
install -D -m 0644 data/klog.json %{buildroot}%{_datadir}/%{name}/klog.json
|
|
install -D -m 0644 data/syntaxcheck.json %{buildroot}%{_datadir}/%{name}/syntaxcheck.json
|
|
# There are no headers, so drop remaining development files
|
|
rm -f "%{buildroot}/%{_libdir}/%{name}"/*.so
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/%{name}
|
|
%{_datadir}/%{name}/klog.json
|
|
%{_datadir}/%{name}/syntaxcheck.json
|
|
%{_mandir}/man1/*.1.gz
|
|
%{_bindir}/fwts
|
|
%{_bindir}/kernelscan
|
|
%{_libdir}/%{name}
|
|
|
|
%changelog
|