forked from lmacken/pyrasite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyrasite.spec
46 lines (36 loc) · 1.19 KB
/
pyrasite.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
%global betaver beta3
Name: pyrasite
Version: 2.0
Release: 0.1.%{betaver}%{?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}%{betaver}.tar.gz
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-meliae
Requires: pygobject3
Requires: webkitgtk3
Requires: python-meliae
Requires: python-pycallgraph
Requires: gdb >= 7.3
%description
Pyrasite uses gdb to inject code into a running Python process. It is
comprised of a command-line tool, a Python API, and a graphical interface.
%prep
%setup -q -n %{name}-%{version}%{betaver}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.rst
%{_bindir}/pyrasite
%{_bindir}/pyrasite-gui
%{_bindir}/pyrasite-memory-viewer
%{python_sitelib}/*
%changelog
* Mon Mar 12 2012 Luke Macken <[email protected]> 2.0-0.1.beta1
- Initial package for Fedora