]> git.pld-linux.org Git - packages/flawfinder.git/blob - flawfinder.spec
- release 2
[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:        1.25
6 Release:        2
7 License:        GPL
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
14 Requires:       python
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Flawfinder scans through C/C++ source code, finding potentially
20 dangerous code. It's released under the GNU General Public License
21 (GPL).
22
23 %description -l pl
24 Flawfinder przeszukuje kod ¼ród³owy C/C++, znajduj±c potencjalnie
25 niebezpieczne fragmenty.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
37
38 install flawfinder $RPM_BUILD_ROOT%{_bindir}
39 install flawfinder.1 $RPM_BUILD_ROOT%{_mandir}/man1
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc ChangeLog README flawfinder.pdf flaw-defect-report correct-results*
47 %attr(755,root,root) %{_bindir}/flawfinder
48 %{_mandir}/man1/*
This page took 0.059414 seconds and 3 git commands to generate.