]> git.pld-linux.org Git - packages/wxHexEditor.git/blob - wxHexEditor.spec
mmmm, not allowed to amend, so once again fixed URL
[packages/wxHexEditor.git] / wxHexEditor.spec
1 # TODO: package and switch to system-wide udis86
2 #
3 Summary:        Hex editor wxHeXEditor
4 Summary(pl.UTF-8):      Hex edytor wxHexEditor
5 Name:           wxHexEditor
6 Version:        0.22
7 Release:        1
8 License:        GPL v2
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)
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
23 files up to 2^64 bytes and devices. Designed for reverse enginering
24 binary files.
25
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.
31
32 %prep
33 %setup -q -n %{name}
34
35 %build
36 cd udis86
37 %{__aclocal} -I m4
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure
42 %{__make}
43 cd ..
44
45 %{__make} \
46         WXCONFIG=wx-gtk2-unicode-config \
47         LIBS='udis86/libudis86/.libs/libudis86.a -lmhash' \
48         CXXFLAGS="%{rpmcxxflags}"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %find_lang %{name}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
63 %doc docs/Change.log
64 %attr(755,root,root)%{_bindir}/%{name}
65 %{_desktopdir}/%{name}.desktop
66 %{_pixmapsdir}/%{name}.png
This page took 0.057239 seconds and 3 git commands to generate.