]>
Commit | Line | Data |
---|---|---|
4889459a | 1 | # TODO: switch to system-wide udis86 |
fcf5703b | 2 | # |
e507443e KK |
3 | Summary: Hex editor wxHeXEditor |
4 | Summary(pl.UTF-8): Hex edytor wxHexEditor | |
5 | Name: wxHexEditor | |
4889459a JR |
6 | Version: 0.24 |
7 | Release: 1 | |
e507443e | 8 | License: GPL v2 |
f3fa44f8 | 9 | Group: X11/Applications/Editors |
4889459a JR |
10 | Source0: http://downloads.sourceforge.net/wxhexeditor/wxHexEditor/v0.24%20Beta/%{name}-v%{version}-src.tar.xz |
11 | # Source0-md5: 6e54b7e640bf5296137b765488ec78a6 | |
6caa7333 | 12 | Patch0: wxWidgets3.patch |
4889459a | 13 | URL: http://www.wxhexeditor.org/ |
fcf5703b TP |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
fcf5703b | 16 | BuildRequires: mhash-devel |
4889459a | 17 | BuildRequires: wxGTK3-unicode-devel >= 2.8 |
e507443e KK |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
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 | |
fcf5703b TP |
23 | files up to 2^64 bytes and devices. Designed for reverse enginering |
24 | binary files. | |
e507443e KK |
25 | |
26 | %description -l pl.UTF-8 | |
fcf5703b TP |
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ł | |
bd199606 | 30 | dostosowany do reverse engineringu plików binarnych. |
e507443e KK |
31 | |
32 | %prep | |
33 | %setup -q -n %{name} | |
6caa7333 | 34 | %patch0 -p1 |
e507443e KK |
35 | |
36 | %build | |
fcf5703b | 37 | cd udis86 |
4889459a JR |
38 | mkdir -p build/m4 |
39 | %{__aclocal} -I build/m4 | |
fcf5703b | 40 | %{__autoconf} |
4889459a | 41 | %{__libtoolize} |
fcf5703b TP |
42 | %{__autoheader} |
43 | %{__automake} | |
44 | %configure | |
45 | %{__make} | |
46 | cd .. | |
e507443e KK |
47 | |
48 | %{__make} \ | |
4889459a | 49 | WXCONFIG=wx-gtk3-unicode-config \ |
fcf5703b TP |
50 | LIBS='udis86/libudis86/.libs/libudis86.a -lmhash' \ |
51 | CXXFLAGS="%{rpmcxxflags}" | |
e507443e KK |
52 | |
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
fcf5703b | 55 | |
e507443e | 56 | %{__make} install \ |
1ac58e60 | 57 | PREFIX=%{_prefix} \ |
e507443e KK |
58 | DESTDIR=$RPM_BUILD_ROOT |
59 | ||
fcf5703b TP |
60 | %find_lang %{name} |
61 | ||
e507443e KK |
62 | %clean |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
fcf5703b | 65 | %files -f %{name}.lang |
e507443e | 66 | %defattr(644,root,root,755) |
fcf5703b | 67 | %doc docs/Change.log |
e507443e | 68 | %attr(755,root,root)%{_bindir}/%{name} |
fcf5703b TP |
69 | %{_desktopdir}/%{name}.desktop |
70 | %{_pixmapsdir}/%{name}.png |