6b6798a
%global __python %{__python3}
6b6798a
Igor Gnatenko 9edd1b9
Name:           scanmem
Igor Gnatenko 9edd1b9
Summary:        Memory scanner
0d2d5c8
Version:        0.17
2a001f9
Release:        15%{?dist}.1
6b6798a
License:        GPLv3+ and LGPLv3+
Igor Gnatenko 9edd1b9
VCS:            https://github.com/scanmem/scanmem.git
Igor Gnatenko 9edd1b9
URL:            https://github.com/scanmem/scanmem
Igor Gnatenko 9edd1b9
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
18ba23f
6035440
BuildRequires: make
Igor Gnatenko 9edd1b9
BuildRequires:  gcc
6b6798a
BuildRequires:  intltool
6b6798a
BuildRequires:  libtool
6b6798a
BuildRequires:  autoconf
6b6798a
BuildRequires:  automake
Igor Gnatenko 9edd1b9
BuildRequires:  readline-devel
0d2d5c8
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
0d2d5c8
# Remove after F29
0d2d5c8
Obsoletes:      %{name} < 0.17
18ba23f
18ba23f
%description
18ba23f
scanmem is a simple interactive debugging utility, used to locate the address
18ba23f
of a variable in an executing process. This can be used for the analysis or
18ba23f
modification of a hostile process on a compromised machine, reverse
18ba23f
engineering, or as a "pokefinder" to cheat at video games.
18ba23f
0d2d5c8
%package libs
0d2d5c8
Summary:        Memory scanner library
0d2d5c8
# Remove after F29
0d2d5c8
Obsoletes:      %{name} < 0.17
0d2d5c8
0d2d5c8
%description libs
0d2d5c8
%{summary}.
0d2d5c8
6b6798a
%package devel
6b6798a
Summary:        Development libraries and header files for %{name}
0d2d5c8
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
6b6798a
6b6798a
%description devel
6b6798a
%{summary}.
6b6798a
023a690
%package -n gameconqueror
Igor Gnatenko 9edd1b9
Summary:        CheatEngline-alike interface for scanmem
0d2d5c8
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
Igor Gnatenko 9edd1b9
Requires:       polkit
6b6798a
Requires:       python3-gobject-base
6b6798a
Requires:       gtk3
6b6798a
BuildRequires:  python3-devel
Igor Gnatenko 9edd1b9
BuildRequires:  gettext
6b6798a
BuildRequires:  desktop-file-utils
6b6798a
BuildRequires:  %{_bindir}/appstream-util
023a690
023a690
%description -n gameconqueror
6b6798a
GameConqueror is a GUI front-end for scanmem, providing more features, such as:
6b6798a
* Flexible syntax for searching
6b6798a
* Easier and multiple variable locking
6b6798a
* Better process finder
6b6798a
* Memory browser/editor
023a690
18ba23f
%prep
20847c4
%autosetup
6b6798a
sed -i -e "1s|.*|#!%{__python3}|" gui/GameConqueror.py
18ba23f
18ba23f
%build
cf572be
./autogen.sh
6b6798a
%configure --enable-gui --disable-static
20847c4
%make_build
18ba23f
18ba23f
%install
023a690
%make_install
6b6798a
# No libtool, please
6b6798a
rm -vf %{buildroot}%{_libdir}/lib%{name}.la
6b6798a
# We install docs ourselves
6b6798a
rm -vrf %{buildroot}%{_datadir}/doc/%{name}/
6b6798a
# No need to do bytecode compilation for us
6b6798a
find %{buildroot}%{_datadir}/gameconqueror/ -type f -name '*.py[co]' -print -delete
f3e1ba1
%find_lang GameConqueror
2b99e49
6c9a4a7
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/gameconqueror
6c9a4a7
023a690
%check
023a690
make check
023a690
desktop-file-validate %{buildroot}%{_datadir}/applications/GameConqueror.desktop
20847c4
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/GameConqueror.appdata.xml
18ba23f
18ba23f
%files
20847c4
%doc README
6b6798a
%{_mandir}/man1/%{name}.1*
6b6798a
%{_bindir}/%{name}
0d2d5c8
0d2d5c8
%files libs
0d2d5c8
%license gpl-3.0.txt lgpl-3.0.txt
6b6798a
%{_libdir}/lib%{name}.so.*
6b6798a
6b6798a
%files devel
6b6798a
%{_includedir}/%{name}/
6b6798a
%{_libdir}/lib%{name}.so
18ba23f
f3e1ba1
%files -n gameconqueror -f GameConqueror.lang
023a690
%{_datadir}/applications/GameConqueror.desktop
023a690
%{_mandir}/man1/gameconqueror.1*
2b99e49
%{_datadir}/gameconqueror/
3791e6a
%{_datadir}/icons/hicolor/*/apps/GameConqueror.png
023a690
%{_bindir}/gameconqueror
f3e1ba1
%{_datadir}/polkit-1/actions/org.freedesktop.gameconqueror.policy
463ad06
%{_datadir}/appdata/GameConqueror.appdata.xml
023a690
18ba23f
%changelog
2a001f9
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-15.1
2a001f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2a001f9
0a28064
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-14.1
0a28064
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
0a28064
69c824f
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-13.1
69c824f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
69c824f
f580771
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-12.1
f580771
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f580771
f0d0357
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-11.1
f0d0357
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
f0d0357
13b47f6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-10.1
13b47f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
13b47f6
a01027c
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-9.1
a01027c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a01027c
1736332
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-8.1
1736332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1736332
31351e7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-7.1
31351e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
31351e7
3bd69da
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.17-6.1
3bd69da
- Rebuild for readline 8.0
3bd69da
99e1e42
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-5.1
99e1e42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
99e1e42
4dd37b5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-4.1
4dd37b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4dd37b5
2e946c7
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 0.17-3.1
2e946c7
- Rebuilt for Python 3.7
2e946c7
7c35f20
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2.1
7c35f20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7c35f20
bd84b8e
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.17-1.1
bd84b8e
- Remove obsolete scriptlets
bd84b8e
0d2d5c8
* Fri Oct 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.17-1
0d2d5c8
- Update to 0.17
0d2d5c8
95ccfde
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-3
95ccfde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
95ccfde
39e4d66
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.1-2
39e4d66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
39e4d66
Igor Gnatenko dc998f6
* Thu Jun 08 2017 Igor Gnatenko <ignatenko@rehdat.com> - 0.16.1-1
Igor Gnatenko dc998f6
- Update to 0.16.1
Igor Gnatenko dc998f6
78a89c9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-3
78a89c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
78a89c9
Igor Gnatenko 0777bc2
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.16-2
Igor Gnatenko 0777bc2
- Rebuild for readline 7.x
Igor Gnatenko 0777bc2
6b6798a
* Tue Dec 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.16-1
6b6798a
- Update to 0.16 (RHBZ #1406381)
6b6798a
Igor Gnatenko 7c44d46
* Wed Jun 01 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.15.8-1
Igor Gnatenko 7c44d46
- Update to 0.15.8 (RHBZ #1341438)
Igor Gnatenko 7c44d46
Igor Gnatenko 9edd1b9
* Wed Apr 27 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.15.7-1
Igor Gnatenko 9edd1b9
- Update to 0.15.7 (RHBZ #1330792)
Igor Gnatenko 9edd1b9
ab0fe09
* Mon Mar 14 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.15.6-1
ab0fe09
- Update to 0.15.6 (RHBZ #1315294)
ab0fe09
e398e66
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.4-2
e398e66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e398e66
db0f7d0
* Sun Nov 29 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.15.4-1
db0f7d0
- 0.15.4
db0f7d0
da76fd4
* Wed Oct 14 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.15.3-1
da76fd4
- 0.15.3 (RHBZ #1271427)
da76fd4
20847c4
* Tue Jun 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.15.2-1
20847c4
- 0.15.2 (RHBZ #1235031)
20847c4
- Use modern RPM macroses
20847c4
db38a85
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-7.de2653d
db38a85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
db38a85
8b8db27
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
8b8db27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8b8db27
61b0b33
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-5.de2653d
61b0b33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
61b0b33
463ad06
* Fri May 02 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.14-4.de2653d
463ad06
- Typo fix in files section
463ad06
f29d519
* Fri May 02 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.14-3.de2653d
f29d519
- Update to latest master
f29d519
- Include appdata
f29d519
cf572be
* Sun Dec 08 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.14-2.0bff2a6
cf572be
- Russian translate
cf572be
- Fix some crashes (alike RHBZ #1039313)
cf572be
- spec: some fixes
cf572be
f3e1ba1
* Sun Dec 01 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.14-1.3e65b13
f3e1ba1
- Git fixes + improve pkexec
f3e1ba1
cf4baf4
* Wed Sep  4 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.13-7
cf4baf4
- Add patch as downstream for fix shell command crash
cf4baf4
3791e6a
* Wed Sep  4 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.13-6
3791e6a
- Update icon fix (in app icons will present)
3791e6a
2b99e49
* Fri Aug 23 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.13-5
2b99e49
- spec: Fix icons path and add scriptlets for gen icon-cache
2b99e49
- spec: some fixes
2b99e49
b6d8ced
* Tue Aug 20 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.13-4
b6d8ced
- Force removing unversioned doc dir
b6d8ced
56835bc
* Tue Aug 20 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.13-3
56835bc
- Remove Application category in Desktop-file (deprecated)
56835bc
8d862c8
* Tue Aug 20 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.13-2
8d862c8
- spec: some fixes
8d862c8
023a690
* Tue Aug 20 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.13-1
023a690
- Update to 0.13
023a690
- Add new sub-package gameconqueror (gui interface for scanmem)
023a690
- Drop unneeded tags and sections
023a690
- Few fixes in spec
023a690
3131ed4
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-10
3131ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3131ed4
d39ca7d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-9
d39ca7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d39ca7d
97f3297
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-8
97f3297
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
97f3297
0b16aa3
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-7
0b16aa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0b16aa3
27a7fbd
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-6
27a7fbd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
27a7fbd
2972565
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-5
2972565
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2972565
a9f3b72
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-4
a9f3b72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a9f3b72
b5dfef4
* Thu Dec 27 2007 Jakub Hrozek <jhrozek@redhat.com> 0.07-3
b5dfef4
- Rebuild for GCC 4.3
b5dfef4
18ba23f
* Thu Dec 27 2007 Jakub Hrozek <jhrozek@redhat.com> 0.07-2
18ba23f
- Refactored spec to match Fedora packaging guidelines
18ba23f
18ba23f
* Tue Jun 05 2007 Dag Wieers <dag@wieers.com> - 0.07-1 - 5269+/dag
18ba23f
- Updated to release 0.07.
18ba23f
18ba23f
* Sun Apr 15 2007 Dag Wieers <dag@wieers.com> - 0.06-1
18ba23f
- Updated to release 0.06.
18ba23f
18ba23f
* Sun Mar 04 2007 Dag Wieers <dag@wieers.com> - 0.05-1
18ba23f
- Updated to release 0.05.
18ba23f
18ba23f
* Tue Jan 30 2007 Dag Wieers <dag@wieers.com> - 0.04-1
18ba23f
- Initial package. (using DAR)