]> git.pld-linux.org Git - packages/flawfinder.git/blob - flawfinder.spec
- updated to 0.21 (bugfix release),
[packages/flawfinder.git] / flawfinder.spec
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++
4 Name:           flawfinder
5 Version:        0.21
6 Release:        1
7 License:        GPL
8 Group:          Development/Tools
9 Group(de):      Entwicklung/Werkzeuge
10 Group(es):      Desarrollo
11 Group(fr):      Development/Outils
12 Group(pl):      Programowanie/Narzêdzia
13 Group(pt_BR):   Desenvolvimento
14 Group(ru):      òÁÚÒÁÂÏÔËÁ
15 Group(uk):      òÏÚÒÏÂËÁ
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
20 Requires:       python
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Flawfinder scans through C/C++ source code, finding potentially
25 dangerous code. It's released under the GNU Public License (GPL).
26
27 %description -l pl
28 Flawfinder przeszukuje kod ¼ród³owy C/C++, znajduj±c potencjalnie
29 niebezpieczne fragmenty.
30
31 %prep
32 %setup -q 
33 %patch0 -p1
34
35 %build
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d ${RPM_BUILD_ROOT}{%{_bindir},%{_mandir}/man1}
41
42 install flawfinder ${RPM_BUILD_ROOT}%{_bindir}/flawfinder
43 install flawfinder.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1
44
45 gzip -9nf README ChangeLog
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc *.gz
53 %attr(755,root,root) %{_bindir}/flawfinder
54 %{_mandir}/man1/*
This page took 0.057302 seconds and 3 git commands to generate.