1 # TODO: switch to system-wide udis86
3 Summary: Hex editor wxHeXEditor
4 Summary(pl.UTF-8): Hex edytor wxHexEditor
9 Group: X11/Applications/Editors
10 Source0: http://downloads.sourceforge.net/wxhexeditor/wxHexEditor/v0.24%20Beta/%{name}-v%{version}-src.tar.xz
11 # Source0-md5: 6e54b7e640bf5296137b765488ec78a6
12 Patch0: wxWidgets3.patch
13 URL: http://www.wxhexeditor.org/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: mhash-devel
17 BuildRequires: wxGTK3-unicode-devel >= 2.8
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 wxHexEditor is another Hex Editor, build because of there is no good
22 hex editor for Linux system, specially for big files. It supports
23 files up to 2^64 bytes and devices. Designed for reverse enginering
26 %description -l pl.UTF-8
27 wxHexEditor to kolejny edytor szesnastkowy, stworzony ponieważ nie ma
28 dobrych edytorów dla systemu Linux, szczególnie dla dużych plików.
29 Wspiera pliki do rozmiaru 2^64 bajtów i urządzenia blokowe. Został
30 dostosowany do reverse engineringu plików binarnych.
39 %{__aclocal} -I build/m4
49 WXCONFIG=wx-gtk3-unicode-config \
50 LIBS='udis86/libudis86/.libs/libudis86.a -lmhash' \
51 CXXFLAGS="%{rpmcxxflags}"
54 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
60 %{__mv} $RPM_BUILD_ROOT%{_localedir}/hu{_HU,}
61 %{__mv} $RPM_BUILD_ROOT%{_localedir}/ja{_JP,}
62 %{__mv} $RPM_BUILD_ROOT%{_localedir}/nl{_NL,}
67 rm -rf $RPM_BUILD_ROOT
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
72 %attr(755,root,root)%{_bindir}/%{name}
73 %{_desktopdir}/%{name}.desktop
74 %{_pixmapsdir}/%{name}.png