File scanmem.spec of Package scanmem

Name:          scanmem
Version:       0.15.2
Summary:       Simple interactive debugging utility
Release:       1
License:       GPL-3.0
Group:         Development/Tools/Debuggers

BuildRoot:     %{_tmppath}/%{name}-%{version}-build
BuildRequires: readline-devel, libtool, intltool
Source0:       %{name}-%{version}.tar.gz
Patch1:        gameconqueror-incomplete-desktop.patch

%package -n gameconqueror
Summary:       Scanmem GTK GUI
Group:         Development/Tools/Debuggers
Requires:      scanmem = %{version}, python, python-gtk, python-gobject, polkit
BuildArch:     noarch

scanmem is a debugging utility designed to isolate the address of an arbitrary variable in an executing process. scanmem simply needs to be told the pid of the process, and the value of the variable at several different times.
After several scans of the process, scanmem isolates the position of the variable and allows you to modify it's value.

%description -n gameconqueror
GameConqueror is a GUI of scanmem and more than that, it provides flexible syntax for searching, multiple memory locking and a memory editor.

%setup -q
%patch1 -p1

%configure --prefix=/usr --enable-gui
%{__make} %{?_smp_mflags} CFLAGS='%{optflags}'

%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}

%{__rm} -rf %{buildroot}

%defattr(-, root, root)
%dir %{_datadir}/doc/scanmem/
%doc %{_mandir}/man1/scanmem.1*

%files -n gameconqueror
%defattr(-, root, root)
%doc %{_mandir}/man1/gameconqueror.1*
%dir %{_datadir}/gameconqueror/
%dir %{_datadir}/appdata/
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/72x72
%dir %{_datadir}/icons/hicolor/72x72/apps
%dir %{_datadir}/icons/hicolor/128x128
%dir %{_datadir}/icons/hicolor/128x128/apps
%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/
%dir %{_datadir}/polkit-1
%dir %{_datadir}/polkit-1/actions
%attr(644,root,root) %config %{_datadir}/polkit-1/actions/org.freedesktop.gameconqueror.policy

* Fri Jul 3 2015 Sebastian Parschauer <>
- Update to version 0.15.2
 * Scan performance optimization: up to half the scan time than before in scanmem, further up to 40% less scan time when using the GUI - all that due to scan progress optimization
 * Python 3 GUI fixes for the string and bytearray search as well as for the hexview
 * Python 2 and 3 GUI fixes for the differential number search and cursor movement in the hexview
* Sun Oct 28 2012 Javier Garcia Capel <>
- Update to version 0.13