1Name: flawfinder 2Summary: Examines C/C++ source code for security flaws 3Version: 1.31 4Release: 1%{?dist} 5License: GPLv2+ 6Group: Development/Tools 7URL: http://www.dwheeler.com/flawfinder/ 8Source: http://www.dwheeler.com/flawfinder/%{name}-%{version}.tar.gz 9Requires: python 10BuildArch: noarch 11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 12 13%description 14Flawfinder scans through C/C++ source code, 15identifying lines ("hits") with potential security flaws. 16By default it reports hits sorted by severity, with the riskiest lines first. 17 18%prep 19%setup -q 20 21%build 22make %{?_smp_mflags} 23 24%install 25rm -rf $RPM_BUILD_ROOT 26install -m755 -D flawfinder ${RPM_BUILD_ROOT}%{_bindir}/flawfinder 27install -m644 -D flawfinder.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/flawfinder.1 28 29%clean 30rm -rf $RPM_BUILD_ROOT 31 32%files 33%defattr(-,root,root,-) 34%doc README ChangeLog COPYING flawfinder.ps 35%{_bindir}/* 36%{_mandir}/man1/* 37 38%changelog 39* Mon Aug 27 2007 Horst H. von Brand <vonbrand@inf.utfsm.cl> 1.27-2 40- Fix specfile as per Fedora guidelines 41 42* Sat Feb 1 2003 Jose Pedro Oliveira <jpo@di.uminho.pt> 43- changed build architecture to noarch 44- replaced hardcoded directories by rpm macros 45- removed several rpmlint warnings/errors 46 47# vim:set ai ts=4 sw=4: 48