[pyrasite] Initial import
Luke Macken
lmacken at fedoraproject.org
Wed May 9 17:23:08 UTC 2012
commit 01cc5936a6d890ee45729a598001f5f12dd54e97
Author: Luke Macken <lmacken at redhat.com>
Date: Wed May 9 13:22:46 2012 -0400
Initial import
.gitignore | 1 +
pyrasite.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..eab34e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyrasite-2.0.tar.gz
diff --git a/pyrasite.spec b/pyrasite.spec
new file mode 100644
index 0000000..2732839
--- /dev/null
+++ b/pyrasite.spec
@@ -0,0 +1,55 @@
+Name: pyrasite
+Version: 2.0
+Release: 1%{?dist}
+Summary: Code injection and monitoring of running Python processes
+
+Group: Development/Languages
+License: GPLv3
+URL: http://pyrasite.com
+Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: python-setuptools-devel
+BuildRequires: python-nose
+BuildRequires: python-sphinx
+
+Requires: gdb
+
+%if 0%{?rhel} <= 6
+BuildRequires: python-argparse
+Requires: python-argparse
+%endif
+
+%description
+Pyrasite uses the GNU debugger to inject code into a running Python process.
+It is comprised of a command-line tool, and a Python API. This package
+also comes with a variety of example payloads.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+make -C docs man
+
+%check
+%{__python} setup.py test
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+mkdir -p %{buildroot}%{_mandir}/man1
+gzip -c docs/_build/man/pyrasite.1 > %{buildroot}/%{_mandir}/man1/pyrasite.1.gz
+
+%files
+%defattr(-,root,root,-)
+%doc README.rst LICENSE
+%doc %{_mandir}/man1/pyrasite.1.gz
+%{_bindir}/pyrasite
+%{_bindir}/pyrasite-memory-viewer
+%{_bindir}/pyrasite-shell
+%{python_sitelib}/*
+
+%changelog
+* Mon Mar 12 2012 Luke Macken <lmacken at redhat.com> 2.0-1
+- Initial package for Fedora
diff --git a/sources b/sources
index e69de29..7a5bfa2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5491f5cc080538a7d2523ba9150ffff2 pyrasite-2.0.tar.gz
More information about the scm-commits
mailing list