fwts/fwts.spec
Martin Pluskal cef5e13a42 - Update to 15.07.00
* --uefi and --acpi options renamed to --uefitests and 
    --acpitests
  * ACPI table tests in the acpitables test have been moved into 
    specific ACPI tests.
  * acpi: acpidump: update TCPA table and acpidump accordingly
  * acpi: add ACPI TCPA test
  * acpi: add XENV table test
  * lib: fwts_framework: Append "tests" to --uefi and --acpi
  * live-image/fwts-frontend-text: update to --uefitests and 
    --acpitests
  * lib: acpi, acpidump: rename slit tables types
  * lib: acpi: add in new GICC table fwts_acpi_table_gicc_affinity
  * acpi: add SRAT table sanity checking (LP: #1464658)
  * acpi: add BERT table sanity checking (LP: #1464712)
  * lib: acpi: Add in GAS address types
  * acpi: add ECDT table sanity checking (LP: #1464716)
  * lib: acpi: Add support for the SPMI table
  * acpi: add ACPI SPMI table sanity checking (LP: #1465256)
  * acpi: add ACPI SLIT table sanity checking (LP: #1465276)
  * lib: acpi: Add support for the HEST family of ACPI tables
  * acpi: add ACPI HEST table sanity checking (LP: #1465379)
  * acpi: Add BOOT table test (LP: #1465435)
  * acpi: Add DBGP table test (LP: #1465441)
  * acpi: Add DBG2 table test (LP: #1465710)
  * acpi: re-orgainise HPET tests
  * acpi: move MADT test from acpitables into new MADT test
  * acpi: move GTDT test from acpitables into new GTDT test
  * acpi: move XSDT test from acpitables into new XSDT test
  * acpi: move RSDP test from acpitables into new RSDP test

OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=11
2015-07-14 09:13:23 +00:00

85 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.07.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
%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_install
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