fwts/fwts.spec
Martin Pluskal 0f6d9043a6 - Update to version 17.11.00:
* acpi: devices: add a new test for acpi ec device
  * acpi: devices: add a new test for ACPI AC adapter device
  * acpi: devices: add a new test for ACPI battery device
  * acpi: devices: add a new test for smart battery device
  * acpi: devices: add new tests for power and sleep button devices
  * acpi: madt: check GICD's system vector according to mantis 1819
    (ACPI 6.2a)
  * acp: nfit: add platform capability according to manit 1831
    (ACPI 6.2a)
  * lib: add new large resource data type for _CRS methods
  * acpi: sdev: add ACPI SDEV test (mantis 1632)
  * acpi: dppt: add ACPI PDTT test (mantis 1576)
  * acpi: devices: add new tests for lid device
  * acpi: devices: add new tests for ambient light sensor device
  * acpi: devices: add new tests for time and alarm device
  * acpi: devices: add new tests for wireless power calibration
    device
  * acpi: add tests for _SRT control method
  * auto-packager: mkpackage.sh: add bionic
  * fwts: add bash command-line completion
  * Add ACPI 1.0 RSDP test to make sure RSDT field isn't null
  * ACPICA: Update to version 20171110
  * uefi: uefidump: add dumping for BluetoothLE device path
  * uefi: uefidump: add dumping for DNS device path
  * uefi: uefibootpath: add test for BluetoothLE device path
  * uefi: uefibootpath: add test for DNS device path

OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=67
2017-12-18 16:30:57 +00:00

88 lines
2.8 KiB
RPMSpec

#
# spec file for package fwts
#
# Copyright (c) 2017 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: 17.11.00
Release: 0
Summary: Firmware Test Suite
License: GPL-2.0+
Group: Development/Tools/Other
URL: https://wiki.ubuntu.com/Kernel/Reference/fwts
Source0: http://fwts.ubuntu.com/release/%{name}-V%{version}.tar.gz
# PATCH-FIX-OPENSUSE fwts-no-compiletime.patch
Patch1: fwts-no-compiletime.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: libfdt-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(bash-completion)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(json)
BuildRequires: pkgconfig(libpci)
BuildRequires: pkgconfig(libpcre)
Requires: bash-completion
Recommends: acpica
Recommends: dmidecode
Recommends: pciutils
%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}
%patch1 -p1
%build
autoreconf -fiv
%configure \
--disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
install -D -p -m 0644 data/klog.json %{buildroot}%{_datadir}/%{name}/klog.json
install -D -p -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
%doc README README_ACPICA.txt README_SOURCE.txt ./data/README_JSON.txt
%{_bindir}/fwts
%{_bindir}/kernelscan
%{_libdir}/fwts
%{_mandir}/man1/fwts-collect.1%{ext_man}
%{_mandir}/man1/fwts-frontend-text.1%{ext_man}
%{_mandir}/man1/fwts.1%{ext_man}
%{_datadir}/bash-completion/completions/fwts
%dir %{_datadir}/%{name}
%{_datadir}/fwts/klog.json
%{_datadir}/fwts/syntaxcheck.json
%{_datadir}/fwts/olog.json
%changelog