flawfinder/flawfinder.spec

86 lines
2.8 KiB
RPMSpec

Name: flawfinder
Version: 2.0.19
Release: 1mamba
Summary: A program that examines source code looking for security weaknesses
Group: Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://dwheeler.com/
Source: https://dwheeler.com/flawfinder/flawfinder-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(setuptools)
## AUTOBUILDREQ-END
%description
Flawfinder is a program that examines source code and reports possible security weaknesses (``flaws'') sorted by risk level.
It's very useful for quickly finding and removing at least some potential security problems before a program is widely released to the public.
%prep
%setup -q
%build
gzip -c flawfinder.1 > flawfinder.1.gz
%{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%{__python3} setup.py install \
--root=%{buildroot} \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/flawfinder
%{python3_sitearch}/__pycache__/flawfinder.cpython-37.pyc
%{python3_sitearch}/flawfinder.py
%{python3_sitearch}/flawfinder-*-py*.egg-info
%{_mandir}/man1/flawfinder.1*
%doc COPYING
%changelog
* Mon Dec 27 2021 Automatic Build System <autodist@mambasoft.it> 2.0.19-1mamba
- automatic version update by autodist
* Wed Mar 11 2020 Automatic Build System <autodist@mambasoft.it> 2.0.11-1mamba
- automatic version update by autodist
* Tue Jul 02 2019 Automatic Build System <autodist@mambasoft.it> 2.0.10-1mamba
- automatic version update by autodist
* Mon Jun 03 2019 Automatic Build System <autodist@mambasoft.it> 2.0.9-1mamba
- automatic version update by autodist
* Fri Feb 08 2019 Automatic Build System <autodist@mambasoft.it> 2.0.8-1mamba
- automatic version update by autodist
* Sat Oct 13 2018 Automatic Build System <autodist@mambasoft.it> 2.0.7-1mamba
- automatic version update by autodist
* Thu Apr 12 2018 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
- automatic version update by autodist
* Sat Oct 21 2017 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
- automatic update by autodist
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 1.31-1mamba
- automatic update by autodist
* Thu Jul 31 2014 Automatic Build System <autodist@mambasoft.it> 1.29-1mamba
- automatic update by autodist
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 1.27-2mamba
- automatic rebuild by autodist
* Thu Jun 19 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.27-1mamba
- update to 1.27
* Thu Mar 31 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.26-1qilnx
- package created by autospec