]> git.pld-linux.org Git - packages/wxHexEditor.git/blob - wxHexEditor.spec
- fix incorrect locale, rel 2
[packages/wxHexEditor.git] / wxHexEditor.spec
1 # TODO: 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.24
7 Release:        2
8 License:        GPL v2
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)
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 dostosowany do reverse engineringu plików binarnych.
31
32 %prep
33 %setup -q -n %{name}
34 %patch0 -p1
35
36 %build
37 cd udis86
38 mkdir -p build/m4
39 %{__aclocal} -I build/m4
40 %{__autoconf}
41 %{__libtoolize}
42 %{__autoheader}
43 %{__automake}
44 %configure
45 %{__make}
46 cd ..
47
48 %{__make} \
49         WXCONFIG=wx-gtk3-unicode-config \
50         LIBS='udis86/libudis86/.libs/libudis86.a -lmhash' \
51         CXXFLAGS="%{rpmcxxflags}"
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         PREFIX=%{_prefix} \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{__mv} $RPM_BUILD_ROOT%{_localedir}/hu{_HU,}
61 %{__mv} $RPM_BUILD_ROOT%{_localedir}/ja{_JP,}
62 %{__mv} $RPM_BUILD_ROOT%{_localedir}/nl{_NL,}
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc docs/Change.log
72 %attr(755,root,root)%{_bindir}/%{name}
73 %{_desktopdir}/%{name}.desktop
74 %{_pixmapsdir}/%{name}.png
This page took 0.083561 seconds and 4 git commands to generate.