a098af7caf
* ACPICA: Update to version 20160108 (LP: #1532268) * acpi: method: add _PTC test * sync with uefi 2.5 global variables + uefidump: add dumping global variabl AuditMode + uefidump: add dumping global variabl DeployedMode + uefidump: add dumping global variable OsRecoveryOrder + uefidump: add dumping global variable PlatformRecovery#### + uefidump: add dumping global variable SysPrepOrder + uefidump: add dumping global variable SysPrep#### * ACPICA: Update to version 20151218 (LP: #1527733) * esrtdump: add dumping for esrt table (LP: #1532103) * Fix spelling mistakes of "ACPI" * method: update method status * utilities: kernelscan: fix memory leaks and a segfault * acpi: cstates: fix clang build warning on zero CPUs. * acpi: s3, s3power, s4: replace cleanup free with explicit frees * data: klog.json: add in some more kernel error messages for 4.4 (LP: #1526746) * acpi: hpet: fwts_mmap failure is FWTS_MAP_FAILED and not NULL * acpi: pcc: fwts_mmap failure is FWTS_MAP_FAILED and not NULL * bios: ebdadump: fwts_mmap failure is FWTS_MAP_FAILED and not MAP_FAILED * acpi: syntaxcheck: ASL_MSG_COMPILER_RESERVED failure should be an info (LP: #1529717) * Update copyright year to 2016 * dmi: dmicheck: fix reserved bits mask for Processor Information * uefirtvariable: fix decalred VLA have zero size (LP: #1526815) OBS-URL: https://build.opensuse.org/package/show/hardware/fwts?expand=0&rev=29
88 lines
2.8 KiB
RPMSpec
88 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package fwts
|
|
#
|
|
# Copyright (c) 2016 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: 16.05.01
|
|
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
|
|
Patch0: json-c-includes.patch
|
|
# PATCH-FIX-OPENSUSE fwts-no-compiletime.patch
|
|
Patch1: fwts-no-compiletime.patch
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: bison
|
|
BuildRequires: flex
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
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
|
|
%patch1
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure \
|
|
--disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make %{?_smp_mflags} DESTDIR=%{buildroot} 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}
|
|
%{_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}/fwts/klog.json
|
|
%{_datadir}/fwts/syntaxcheck.json
|
|
%{_datadir}/fwts/olog.json
|
|
|
|
%changelog
|