# # spec file for package fwts (Version 0.18.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: fwts Url: http://kernel.ubuntu.com/git?p=cking/fwts/.git License: GPL v2 or later Group: Development/Tools/Other Requires: acpica dmidecode pciutils AutoReqProv: on Summary: Firmware Test Suite Version: 0.18.1 Release: 1 Source: %{name}-%{version}.tar.bz2 Patch0: no-werror.diff Patch1: libm-hack.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pciutils-devel pcre pcre-devel %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 -n %{name}-%{version} %patch0 -p1 %patch1 -p1 %build %configure make %install make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root) %doc /usr/share/man/man1/fwts.1.gz %defattr(-,root,root) /usr/bin/fwts %changelog