package created using the webbuild interface [release 16.01.00-1mamba;Sun Jan 31 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 22:35:55 +01:00
parent f11a6dfa04
commit c71ac443ef
2 changed files with 96 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# fwts
Firmware Test Suite (FWTS) is a test suite that performs sanity checks on Intel/AMD PC firmware. It is intended to identify BIOS and ACPI errors and if appropriate it will try to explain the errors and give advice to help workaround or fix firmware bugs. It is primarily intended to be a Linux-centric firmware troubleshooting tool.

94
fwts.spec Normal file
View File

@ -0,0 +1,94 @@
Name: fwts
Version: 16.01.00
Release: 1mamba
Summary: A test suite that performs sanity checks on Intel/AMD PC firmware
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.ubuntu.com/FirmwareTestSuite
Source: http://fwts.ubuntu.com/release/fwts-V%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libffi-devel
BuildRequires: libglib-devel
BuildRequires: libjson-c-devel
BuildRequires: libselinux-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Firmware Test Suite (FWTS) is a test suite that performs sanity checks on Intel/AMD PC firmware. It is intended to identify BIOS and ACPI errors and if appropriate it will try to explain the errors and give advice to help workaround or fix firmware bugs. It is primarily intended to be a Linux-centric firmware troubleshooting tool.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -c %{name}-%{version}
%build
autoreconf -f -i
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/fwts
%{_bindir}/kernelscan
%dir %{_datadir}/fwts
%{_datadir}/fwts/*.json
%{_mandir}/man1/fwts-collect.1*
%{_mandir}/man1/fwts-frontend-text.1*
%{_mandir}/man1/fwts.1*
%files -n lib%{name}
%defattr(-,root,root)
%dir %{_libdir}/fwts
%{_libdir}/fwts/libfwts.so.*
%{_libdir}/fwts/libfwtsacpica.so.*
%{_libdir}/fwts/libfwtsiasl.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_libdir}/fwts/libfwts.a
%{_libdir}/fwts/libfwts.la
%{_libdir}/fwts/libfwts.so
%{_libdir}/fwts/libfwtsacpica.a
%{_libdir}/fwts/libfwtsacpica.la
%{_libdir}/fwts/libfwtsacpica.so
%{_libdir}/fwts/libfwtsiasl.a
%{_libdir}/fwts/libfwtsiasl.la
%{_libdir}/fwts/libfwtsiasl.so
%doc README README_ACPICA.txt README_SOURCE.txt
%changelog
* Sun Jan 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.01.00-1mamba
- package created using the webbuild interface