View difference between Paste ID: mht437pZ and Qqk3GLpW
SHOW: | | - or go back to the newest paste.
1
%define guiname	gameconqueror
2
3
Name:		scanmem
4
Version:	0.13
5
Release:	%mkrel 1
6
Summary:	Simple interactive debugging utility
7
Group:		Development/Other
8
License:	GPLv3
9
URL:		http://code.google.com/p/scanmem/
10
Source0:	http://scanmem.googlecode.com/files/%{name}-%{version}.tar.gz
11
12
BuildRequires:	readline-devel
13
14
%description
15
scanmem is a simple interactive debugging utility, used to locate the address
16
of a variable in an executing process. This can be used for the analysis or
17
modification of a hostile process on a compromised machine, reverse
18
engineering, or as a "pokefinder" to cheat at video games.
19
20
%files
21-
%doc ChangeLog README COPYING TODO
21+
%doc ChangeLog README TODO
22
%{_mandir}/man1/%{name}.1*
23
%{_bindir}/%{name}
24
25
#------------------------------------------------------------------------------
26
27
%package gui
28
Summary:	A GUI front-end GameConqueror for scanmem
29
Group:		Development/Other
30-
Requires:	%{name} = %{version}
30+
Requires:	%{name} =  %{version}-%{release}
31
Requires:	gksu
32
33
%description gui
34
This package contains a GUI for scanmem, this one is called GameConqueror.
35
36
%files gui
37-
%doc gui/README gui/COPYING gui/TODO
37+
%doc gui/README gui/TODO
38
%{_mandir}/man1/%{guiname}.1*
39
%{_bindir}/%{guiname}
40-
%{_datadir}/%{guiname}/*
40+
%{_datadir}/%{guiname}/
41
%{_datadir}/applications/*.desktop
42
%{_datadir}/pixmaps/GameConqueror_128x128.png
43
%{_datadir}/pixmaps/GameConqueror_72x72.png
44
45
#------------------------------------------------------------------------------
46
47
%prep
48-
%setup -q %{name}-%{version}
48+
%setup -q
49
50
%build
51-
%configure --enable-gui
51+
%configure2_5x --enable-gui
52-
make %{?_smp_mflags} CFLAGS='%{optflags}'
52+
%make
53
54
55
%install
56-
make install DESTDIR=%{buildroot}
56+
%makeinstall_std