1 # TODO: package and 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.22%20Beta/%{name}-v%{version}-src.tar.bz2
11 # Source0-md5: eb88cfcda0553e23a2a9490197e18552
12 URL: http://wxhexeditor.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtoolize
16 BuildRequires: mhash-devel
17 BuildRequires: wxGTK2-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 dostoswany do reverse engineringu plików binarnych.
46 WXCONFIG=wx-gtk2-unicode-config \
47 LIBS='udis86/libudis86/.libs/libudis86.a -lmhash' \
48 CXXFLAGS="%{rpmcxxflags}"
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
64 %attr(755,root,root)%{_bindir}/%{name}
65 %{_desktopdir}/%{name}.desktop
66 %{_pixmapsdir}/%{name}.png