flawfinder/flawfinder.spec

68 lines
2.1 KiB
RPMSpec

Name: flawfinder
Version: 2.0.6
Release: 1mamba
Summary: A program that examines source code looking for security weaknesses
Group: Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.dwheeler.com/flawfinder/
Source: http://www.dwheeler.com/flawfinder/flawfinder-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Requires: python >= 1.5
## AUTOBUILDREQ-BEGIN
BuildRequires: python
## 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
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%{__python} setup.py install \
--root=%{buildroot} \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/flawfinder
%{_mandir}/man?/flawfinder.*
%{python_sitearch}/flawfinder-*-py*.egg-info
%doc COPYING
#%doc announcement ChangeLog
%changelog
* 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