fwts/fwts.spec
Martin Pluskal 6fbe5be8e6 - Update to version 23.07.00:
* lib: fwts_version.h - update to V23.07.00
  * debian: update changelog
  * debian: fix lintian errors and warnings
  * debian: fix debuild fail for the not installed files
  * debian: update compat level and standards version
  * ACPICA: Update to version 20230628
  * fwts_acpica: Remove unused variable "context"
  * acpi/wmi: Fix bug when counting WMI methods
  * acpi/wmi: Check if the mandatory block query method exists
  * acpi/wmi: Add WMI GUID for the dell-wmi-ddv driver
  * Increase number of max semaphores to fix OOM crashes on some systems
  * lib: fwts_acpi_object_eval: sync up the AML exceptions from ACPICA
  * uefi: esrt: update the LastAttemptStatus values to UEFI spec 2.10
  * acpi: mpam: fix build fail on bionic
  * fwts-test: sync up with test with resource specific data
  * acpi: mpam: test with resource specific data for interconnect location type
  * fwts-test: sync up with adding the mpam tests
  * acpi: mpam: add test for ACPI MPAM table
  * fwts-test: sync up aest modify the dumping raw data
  * acpi: aest: modify the dumping raw data without noisy info
  * lib: fwts_dump_data: add library function for dumping all raw data with prefix
  * lib: fwts_dump_data: add function for simply dump raw data
  * auto-packager: mkpackage.sh: remove the control hook
  * lib: make the return types consistent
  * debian: control: modify newer dkms dependency
  * debian: control: update uploader
  * lib: fwts_oops: fix the WARN_ON warnings in kernel not found
  * cppcheck: fix the cppcheck source link error
  * fwts-test: sync up the removing ARM specific for ebbr

OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=159
2023-07-10 08:25:20 +00:00

95 lines
3.0 KiB
RPMSpec

#
# spec file for package fwts
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: fwts
Version: 23.07.00
Release: 0
Summary: Firmware Test Suite
License: GPL-2.0-or-later
Group: Development/Tools/Other
URL: https://wiki.ubuntu.com/Kernel/Reference/fwts
Source0: %{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE fwts-no-compiletime.patch
Patch1: fwts-no-compiletime.patch
# PATCH-FIX-OPENSUSE fwts-fix-non-acpi.patch
Patch2: fwts-fix-non-acpi.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(libbsd)
BuildRequires: pkgconfig(libpci)
BuildRequires: pkgconfig(libpcre)
BuildRequires: pkgconfig(zlib)
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
%autosetup -p1
%build
find . -name Makefile.am -exec sed -i "s|-Werror||g" {} +
autoreconf -fiv
%configure \
--disable-static
# parallel build fails on Factory
%make_build --jobs=1
%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
%doc debian/changelog
%{_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/clog.json
%{_datadir}/fwts/klog.json
%{_datadir}/fwts/syntaxcheck.json
%{_datadir}/fwts/olog.json
%changelog