fwts/fwts.spec

135 lines
4.3 KiB
RPMSpec
Raw Normal View History

Name: fwts
Version: 21.08.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
#librt.so.1()(64bit): /usr/lib64/librt.so: file not owned by any package
BuildRequires: glibc-devel
BuildRequires: libbsd-devel
BuildRequires: libglib-devel
BuildRequires: libpci-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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}
autoreconf -f -i
%build
%configure \
CFLAGS="%{optflags} -Wno-format-truncation"
%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
%{_datadir}/bash-completion/completions/fwts
%{_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
* Fri Aug 27 2021 Automatic Build System <autodist@mambasoft.it> 21.08.00-1mamba
- automatic version update by autodist
* Fri Aug 06 2021 Automatic Build System <autodist@mambasoft.it> 21.07.00-1mamba
- automatic version update by autodist
* Thu Jun 24 2021 Automatic Build System <autodist@mambasoft.it> 21.06.00-1mamba
- automatic version update by autodist
* Fri May 28 2021 Automatic Build System <autodist@mambasoft.it> 21.05.00-1mamba
- automatic version update by autodist
* Mon Mar 29 2021 Automatic Build System <autodist@mambasoft.it> 21.03.00-1mamba
- automatic version update by autodist
* Wed Mar 03 2021 Automatic Build System <autodist@mambasoft.it> 21.02.00-1mamba
- automatic version update by autodist
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 21.01.00-1mamba
- automatic version update by autodist
* Mon May 04 2020 Automatic Build System <autodist@mambasoft.it> 20.03.00-1mamba
- automatic update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 17.12.00-1mamba
- automatic update by autodist
* Thu Nov 30 2017 Automatic Build System <autodist@mambasoft.it> 17.11.00-1mamba
- automatic update by autodist
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 17.09.01-1mamba
- automatic update by autodist
* Tue Sep 20 2016 Automatic Build System <autodist@mambasoft.it> 16.09.00-1mamba
- automatic update by autodist
* Thu Sep 01 2016 Automatic Build System <autodist@mambasoft.it> 16.08.01-1mamba
- automatic update by autodist
* Sun Jan 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.01.00-1mamba
- package created using the webbuild interface