rats/rats.spec

60 lines
1.8 KiB
RPMSpec

Name: rats
Version: 2.1
Release: 3mamba
Summary: A security auditing utility for C, C++, Python, Perl and PHP code
Group: Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.fortify.com/security-resources/rats.jsp
Source: http://www.fortify.com/servlet/downloads/public/%{name}-%{version}.tar.gz
Patch: %{name}-2.1-Makefile.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
## AUTOBUILDREQ-END
# FIXME: "checking for xmlparse.h... no"
%description
RATS, the Rough Auditing Tool for Security, is a security auditing utility for C, C++, Python, Perl and PHP code. RATS scans source code, finding potentially dangerous function calls.
The goal of this project is not to definitively find bugs, but to provide a reasonable starting point for performing manual security audits.
%prep
%setup -q
%patch -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/rats
%{_datadir}/rats-c.xml
%{_datadir}/rats-openssl.xml
%{_datadir}/rats-perl.xml
%{_datadir}/rats-php.xml
%{_datadir}/rats-python.xml
%{_mandir}/man1/rats.*
%doc COPYING README README.win32
%changelog
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 2.1-3mamba
- automatic rebuild by autodist
* Thu Jun 19 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.1-2mamba
- update buildrequirements, Vendor, Distribution, mantainer, Url and Source path
* Fri Mar 25 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.1-1qilnx
- package created by autospec