]> git.pld-linux.org Git - packages/wxHexEditor.git/blame - wxHexEditor.spec
- up to 0.24
[packages/wxHexEditor.git] / wxHexEditor.spec
CommitLineData
4889459a 1# TODO: switch to system-wide udis86
fcf5703b 2#
e507443e
KK
3Summary: Hex editor wxHeXEditor
4Summary(pl.UTF-8): Hex edytor wxHexEditor
5Name: wxHexEditor
4889459a
JR
6Version: 0.24
7Release: 1
e507443e 8License: GPL v2
f3fa44f8 9Group: X11/Applications/Editors
4889459a
JR
10Source0: http://downloads.sourceforge.net/wxhexeditor/wxHexEditor/v0.24%20Beta/%{name}-v%{version}-src.tar.xz
11# Source0-md5: 6e54b7e640bf5296137b765488ec78a6
6caa7333 12Patch0: wxWidgets3.patch
4889459a 13URL: http://www.wxhexeditor.org/
fcf5703b
TP
14BuildRequires: autoconf
15BuildRequires: automake
fcf5703b 16BuildRequires: mhash-devel
4889459a 17BuildRequires: wxGTK3-unicode-devel >= 2.8
e507443e
KK
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21wxHexEditor is another Hex Editor, build because of there is no good
22hex editor for Linux system, specially for big files. It supports
fcf5703b
TP
23files up to 2^64 bytes and devices. Designed for reverse enginering
24binary files.
e507443e
KK
25
26%description -l pl.UTF-8
fcf5703b
TP
27wxHexEditor to kolejny edytor szesnastkowy, stworzony ponieważ nie ma
28dobrych edytorów dla systemu Linux, szczególnie dla dużych plików.
29Wspiera pliki do rozmiaru 2^64 bajtów i urządzenia blokowe. Został
bd199606 30dostosowany 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 37cd udis86
4889459a
JR
38mkdir -p build/m4
39%{__aclocal} -I build/m4
fcf5703b 40%{__autoconf}
4889459a 41%{__libtoolize}
fcf5703b
TP
42%{__autoheader}
43%{__automake}
44%configure
45%{__make}
46cd ..
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
54rm -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
63rm -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
This page took 0.092973 seconds and 4 git commands to generate.