-
Notifications
You must be signed in to change notification settings - Fork 83
/
flawfinder.spec
47 lines (38 loc) · 1.22 KB
/
flawfinder.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Name: flawfinder
Summary: Examines C/C++ source code for security flaws
Version: 2.0.19
Release: 1%{?dist}
License: GPLv2+
Group: Development/Tools
URL: http://dwheeler.com/flawfinder/
Source: http://dwheeler.com/flawfinder/%{name}-%{version}.tar.gz
Requires: python
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%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 %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
install -m755 -D flawfinder ${RPM_BUILD_ROOT}%{_bindir}/flawfinder
install -m644 -D flawfinder.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/flawfinder.1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.md ChangeLog COPYING flawfinder.ps
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Mon Aug 27 2007 Horst H. von Brand <[email protected]> 1.27-2
- Fix specfile as per Fedora guidelines
* Sat Feb 1 2003 Jose Pedro Oliveira <[email protected]>
- changed build architecture to noarch
- replaced hardcoded directories by rpm macros
- removed several rpmlint warnings/errors
# vim:set ai ts=4 sw=4: