forked from ice799/pstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpstack-gdb.spec.in
47 lines (39 loc) · 1.12 KB
/
pstack-gdb.spec.in
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
47
#
# Spec file for pstack-gdb
#
Summary: Display stack trace of a running process using GDB
Name: pstack-gdb
Version: @VERSION@
Release: 1
Copyright: GPL
Group: Development/Debuggers
Source: %{name}-%{version}.tar.gz
URL: http://oss.oracle.com/projects/pstack-gdb/
Distribution: Oracle
Vendor: Oracle Corporation
Packager: nobody <[email protected]>
Requires: glib2 >= 2.2.0
BuildRequires: glib2-devel >= 2.2.0
BuildRoot: %{_tmppath}/%{name}-root
%description
pstack-gdb dumps a stack trace for a process, given a list of pids to dump.
If the process is threads, a stack trace will be printed for each thread.
It is a just a wrapper around GDB; the debugger does the real heavy lifting.
%prep
%setup -q
%build
%configure --prefix=/usr --bindir=%{_bindir} --mandir=%{_mandir}
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR="$RPM_BUILD_ROOT"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/pstack-gdb
#%{_mandir}/man1/*
%changelog
* Mon Mar 22 2004 Manish Singh <[email protected]> 0.2.0-1
- Initial packaging