]>
Commit | Line | Data |
---|---|---|
f762a6ac | 1 | # TODO: package GUI |
4896add3 TP |
2 | Summary: Interactive debugging utility |
3 | Name: scanmem | |
f762a6ac | 4 | Version: 0.13 |
4896add3 | 5 | Release: 1 |
f762a6ac | 6 | License: GPL v3 |
4896add3 | 7 | Group: Development/Debuggers |
f762a6ac TP |
8 | # v0.15.2 at https://github.com/scanmem/scanmem/archive/v%{version}.tar.gz |
9 | Source0: http://scanmem.googlecode.com/files/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: 1c23eda15db242ff0aac96d94be11db1 | |
4896add3 | 11 | URL: http://taviso.decsystem.org/scanmem.html |
215c5c8b TP |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
a1d1b0ef | 14 | BuildRequires: readline-devel |
4896add3 TP |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | scanmem is a simple interactive debugging utility for linux, used to | |
19 | locate the address of a variable in an executing process. This can be | |
20 | used for the analysis or modification of a hostile process on a | |
21 | compromised machine, reverse engineering, or as a "pokefinder" to | |
22 | cheat at video games. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | %{__aclocal} | |
29 | %{__autoconf} | |
4896add3 | 30 | %{__automake} |
f762a6ac TP |
31 | chmod +x configure |
32 | %configure \ | |
33 | --enable-gui | |
4896add3 TP |
34 | %{__make} |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_bindir} | |
39 | ||
f762a6ac TP |
40 | %{__make} install \ |
41 | DESTDIR=$RPM_BUILD_ROOT | |
4896add3 TP |
42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc ChangeLog NEWS README TODO | |
49 | %attr(755,root,root) %{_bindir}/%{name} | |
f762a6ac | 50 | %{_mandir}/man1/%{name}.1* |