File: wxHexEditor.spec

package info (click to toggle)
wxhexeditor 0.24%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,588 kB
  • sloc: cpp: 13,058; ansic: 6,222; makefile: 206; python: 35; sh: 8
file content (100 lines) | stat: -rw-r--r-- 3,283 bytes parent folder | download | duplicates (2)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Copyright (c) 2006-2012 Erdem U. Altinyurt
# Thanks for oc2pus
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments to spamjunkeater gmail.com

# norootforbuild

%define _prefix	/usr

Name:			wxHexEditor
Summary:		A hex editor for view / edit huge files and devices
Version:		0.24
Release:		1
License:		GPL
Group:			Editors
URL:			http://www.wxhexeditor.org
Source0:		%{name}-v%{version}-src.tar.bz2
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
BuildRequires:	gcc-c++
BuildRequires:	pkgconfig, automake, autoconf
%if 0%{?suse_version} >= 1140
BuildRequires:  wxWidgets-devel
%else
BuildRequires:  wxGTK-devel >= 2.8.9
%endif
%if 0%{?suse_version}
BuildRequires:  fdupes update-desktop-files libtool pkg-config
%endif

%description
wxHexEditor is another GUI hex editor for open HUGE files and devices
in linux mainland. Designed for reverse engineering binary files.
With wxHexEditor, you can edit huge files and devices like (hdd/sdd).

This programs supports tagging parts of the file for taking notes and make it easier reverse engineer huge binary files.

wxHexEditor program code supports lots of operating system, because
it's writen by cross-platform API, wxWidgets.

%if %{defined mdkversion}
%else
%debug_package
%endif

%prep
%setup -q -n %{name}

%build
%__make -j4 \
	WXCONFIG=wx-config \
	OPTFLAGS="-fopenmp"

%install
%__install -dm 755 %{buildroot}%{_datadir}/pixmaps
%__install -dm 755 %{buildroot}%{_datadir}/applications
%__install -dm 755 %{buildroot}%{_datadir}/locale
%__rm -f %{buildroot}%{_datadir}/applications/%{name}.desktop
%__install -D -s -m 755 %{name} %{buildroot}%{_bindir}/%{name}
%__install -D -m 644 resources/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
%__rm -f locale/*/*.po
%__rm -f locale/*.po
%__cp -rf locale/*/ %{buildroot}%{_datadir}/locale
#%if %{defined suse_version}
#mv resources/%{name}.desktop ./
#%suse_update_desktop_file -i %{name} TextEditor Editor
#%else
%__install -D -m 644 resources/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
#%endif

%find_lang %{name}

%clean
[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"

%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png

%changelog
* Thu Nov 29 2014 Erdem U. Altinyurt <spamjunkeater@gmail.com> - 0.24-0
- Updated to version v0.24
* Thu Nov 29 2014 Erdem U. Altinyurt <spamjunkeater@gmail.com> - 0.23-0
- Updated to version v0.23, fixed build requirements for udis86 compilation
* Thu May 09 2013 Erdem U. Altinyurt <spamjunkeater@gmail.com> - 0.22-0
- Updated to version v0.22, dropped openSUSE 11 version support and lowers
* Wed Dec 12 2012 Erdem U. Altinyurt <spamjunkeater@gmail.com> - 0.21-0
- Updated to version v0.21
* Wed Feb 29 2012 Erdem U. Altinyurt <spamjunkeater@gmail.com> - 0.20-0
- Updated to version v0.20
* Sat Mar 19 2011 Erdem U. Altinyurt <spamjunkeater@gmail.com> - 0.10-0
- fixed OpenSUSE 11.4 compilation
* Fri Apr 23 2010 Erdem U. Altinyurt <spamjunkeater@gmail.com> - 0.09-0
- closing to final
* Tue Feb 9 2009 Erdem U. Altinyurt <spamjunkeater@gmail.com> - 0.08-0
- initial release of rpm