1 #%include /usr/lib/rpm/macros.python
2 Summary: Examines C/C++ source code for security flaws
3 Summary(pl): Wyszukiwarka zagro¿eñ bezpieczeñstwa w kodzie C/C++
8 Group: Development/Tools
9 Source0: http://www.dwheeler.com/flawfinder/%{name}-%{version}.tar.gz
10 # Source0-md5: fa5b644e00aa4862de5b790f0e1a3ad7
11 Patch0: %{name}-python.patch
12 URL: http://www.dwheeler.com/flawfinder/
13 BuildRequires: rpm-pythonprov
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Flawfinder scans through C/C++ source code, finding potentially
20 dangerous code. It's released under the GNU General Public License
24 Flawfinder przeszukuje kod ¼ród³owy C/C++, znajduj±c potencjalnie
25 niebezpieczne fragmenty.
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
38 install flawfinder $RPM_BUILD_ROOT%{_bindir}
39 install flawfinder.1 $RPM_BUILD_ROOT%{_mandir}/man1
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc ChangeLog README flawfinder.pdf flaw-defect-report correct-results*
47 %attr(755,root,root) %{_bindir}/flawfinder