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 Group(de): Entwicklung/Werkzeuge
11 Group(fr): Development/Outils
12 Group(pl): Programowanie/Narzêdzia
13 Group(pt_BR): Desenvolvimento
16 Source0: http://www.dwheeler.com/flawfinder/%{name}-%{version}.tar.gz
17 Patch0: %{name}-python.patch
18 URL: http://www.dwheeler.com/flawfinder/
19 BuildRequires: rpm-pythonprov
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Flawfinder scans through C/C++ source code, finding potentially
25 dangerous code. It's released under the GNU Public License (GPL).
28 Flawfinder przeszukuje kod ¼ród³owy C/C++, znajduj±c potencjalnie
29 niebezpieczne fragmenty.
39 rm -rf $RPM_BUILD_ROOT
40 install -d ${RPM_BUILD_ROOT}{%{_bindir},%{_mandir}/man1}
42 install flawfinder ${RPM_BUILD_ROOT}%{_bindir}/flawfinder
43 install flawfinder.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1
45 gzip -9nf README ChangeLog
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/flawfinder