Added framework.spec
git-svn-id: file:///home/svn/framework3/trunk@5865 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4250d1e132
commit
a434db7e03
|
@ -0,0 +1,47 @@
|
|||
%define name framework
|
||||
%define version 3.2
|
||||
%define release 1
|
||||
%define prefix /opt
|
||||
%define __spec_install_post :
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
Group: Applications/System
|
||||
License: BSD
|
||||
Name: %{name}
|
||||
Packager: Ramon de Carvalho Valle <ramon@risesecurity.org>
|
||||
Release: %{release}
|
||||
Requires: ruby
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Summary: The Metasploit Framework
|
||||
URL: http://www.metasploit.com/framework/
|
||||
Version: %{version}
|
||||
|
||||
%description
|
||||
The Metasploit Framework is a development platform for creating security tools
|
||||
and exploits. The framework is used by network security professionals to
|
||||
perform penetration tests, system administrators to verify patch
|
||||
installations, product vendors to perform regression testing, and security
|
||||
researchers world-wide. The framework is written in the Ruby programming
|
||||
language and includes components written in C and assembler.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
cd ../
|
||||
mkdir -p %{buildroot}%{prefix}/%{name}-%{version}
|
||||
cp -r %{name}-%{version} %{buildroot}%{prefix}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/%{name}-%{version}
|
||||
|
||||
%changelog
|
||||
* Sun Nov 9 2008 Ramon de Carvalho Valle <ramon@risesecurity.org> - 3.2-1
|
||||
- Initial version
|
||||
|
Loading…
Reference in New Issue