diff --git a/flawfinder.spec b/flawfinder.spec new file mode 100644 index 0000000..34c87a3 --- /dev/null +++ b/flawfinder.spec @@ -0,0 +1,54 @@ +Summary: Examines C/C++ source code for security flaws +Name: flawfinder +Version: 1.27 +Release: 3%{?dist} +License: GPLv2 +Group: Development/Tools +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +URL: http://www.dwheeler.com/flawfinder/ +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildArch: noarch +BuildRequires: python + +%description +Flawfinder scans through C/C++ source code, +identifying lines ("hits") with potential security flaws. +By default it reports hits sorted by severity, with the riskiest lines first. + + +%prep +%setup -q + + +%build +make + +%install +rm -rf $RPM_BUILD_ROOT +install -p -m755 -D flawfinder ${RPM_BUILD_ROOT}%{_bindir}/flawfinder +install -p -m644 -D flawfinder.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/flawfinder.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root, -) +%doc README ChangeLog COPYING +%{_bindir}/flawfinder +%{_mandir}/man1/flawfinder.1* + +%changelog +* Sun Oct 14 2007 Jakub Hrozek 1.27-3 +- fix the dist tag +- fix build requires +- fix the Source URL to point to SF.net + +* Sat Oct 13 2007 Jakub Hrozek 1.27-2 +- refactor the spec file to conform to the Fedora Guidelines + +* Sat Feb 1 2003 Jose Pedro Oliveira +- changed build architecture to noarch +- replaced hardcoded directories by rpm macros +- removed several rpmlint warnings/errors + diff --git a/sources b/sources index e69de29..dc80acf 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +50fff67dd439f42b785577ed8b3a3f7d flawfinder-1.27.tar.gz