rpms/python-ptrace/devel import.log, NONE, 1.1 python-ptrace.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Terje Røsten terjeros at fedoraproject.org
Sun Mar 8 20:03:19 UTC 2009


Author: terjeros

Update of /cvs/extras/rpms/python-ptrace/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4091/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log python-ptrace.spec 
Log Message:
Import python-ptrace.




--- NEW FILE import.log ---
python-ptrace-0_6-2_fc10:HEAD:python-ptrace-0.6-2.fc10.src.rpm:1236542533


--- NEW FILE python-ptrace.spec ---
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitelib_arch: %global python_sitelib_arch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

%{!?pyver: %global pyver %(%{__python} -c "import sys ; print sys.version[:3]")}

Summary:       Debugger using ptrace written in Python
Name:          python-ptrace
Version:       0.6
Release:       2%{?dist}
License:       GPLv2
Group:         Development/Tools
URL  :         http://python-ptrace.hachoir.org/
Source0:       http://pypi.python.org/packages/source/p/python-ptrace/%{name}-%{version}.tar.gz
BuildRequires: python-setuptools-devel
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
python-ptrace is a debugger using ptrace written in Python.
Fearures:
 o High level Python object API : PtraceDebugger and PtraceProcess
 o Able to control multiple processes: catch fork events on Linux
 o Read/write bytes to arbitrary address: take care of memory alignment
   and split bytes to cpu word
 o Execution step by step using ptrace_singlestep() 
   or hardware interruption 3
 o Dump registers, memory mappings, stack, etc.
 o Syscall tracer and parser (strace.py command) 
 o Can use distorm disassembler (if available)

%prep
%setup -q

%build
%{__python} setup.py build
%{__python} setup_cptrace.py build

%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__python} setup_cptrace.py install -O1 --skip-build --root %{buildroot}

%{__chmod} 0644  examples/*.py
%{__rm} -f %{buildroot}%{_bindir}/{gdb,strace}.{pyo,pyc}

%clean
%{__rm} -rf %{buildroot}

%check
%{__python} ./test_doc.py

%files
%defattr(-, root, root, -)
%doc AUTHORS ChangeLog COPYING README README.cptrace TODO
%doc doc/* examples
%exclude %{_bindir}/gdb.py[co]
%exclude %{_bindir}/strace.py[co]
%{_bindir}/gdb.py
%{_bindir}/strace.py
%{python_sitelib}/ptrace/
%{python_sitelib}/python_ptrace-*-py%{pyver}.egg-info
%{python_sitelib_arch}/cptrace.so
%{python_sitelib_arch}/ptrace-*-py%{pyver}.egg-info

%changelog
* Thu Mar  5 2009 Terje Rosten <terje.rosten at ntnu.no> - 0.6-2
- switch to %%global, fix files listing, remove comments

* Wed Mar  4 2009 Terje Rosten <terje.rosten at ntnu.no> - 0.6-1
- 0.6

* Sat Sep 13 2008 Terje Rosten <terje.rosten at ntnu.no> - 0.5-1
- 0.5


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-ptrace/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Mar 2009 20:45:44 -0000	1.1
+++ .cvsignore	8 Mar 2009 20:02:48 -0000	1.2
@@ -0,0 +1 @@
+python-ptrace-0.6.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-ptrace/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Mar 2009 20:45:44 -0000	1.1
+++ sources	8 Mar 2009 20:02:48 -0000	1.2
@@ -0,0 +1 @@
+510c8c005f373c3e079074c9720bacc9  python-ptrace-0.6.tar.gz




More information about the fedora-extras-commits mailing list