]> git.pld-linux.org Git - packages/biew.git/blob - biew.spec
- update to 532
[packages/biew.git] / biew.spec
1 Summary:        BIEW is Binary vIEWer and editor
2 Summary(pl):    BIEW jest przegl±dark± plików binarnych z edytorem
3 Name:           biew
4 Version:        532
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        http://prdownloads.sourceforge.net/biew/%{name}-%{version}.tar.bz2
9 #Patch0:                %{name}-CURSES.patch
10 URL:            http://biew.sourceforge.net/
11 BuildRequires:  ncurses-devel
12 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 BIEW is advenced Binary vIEWer with built-in editor for binary,
16 hexadecimal and disassembler modes. His disassembler support many
17 procesors(Pentium4, K7 Athlon, Cyrix-M2) and many file formats (MZ,
18 NE, PE, LE, LX, DOS.SYS, NLM, arch, ELF, a.out, coff32 PharLap, rdoff)
19
20 %description -l pl
21 BIEW (Binary vIEWer) jest zaawansowan± przegl±dark± i edytorem plików
22 binarnych. Zawiera wbudowany disasembler z suportem dla wielu nowych
23 procesorów (w tym Pentium4, Athlon i Cyrix-M2) oraz wielu formatów
24 plików wykonywalnych (MZ, NE, PE, LE, LX, DOS.SYS, NLM, arch, ELF,
25 a.out, coff32 PharLap, rdoff)
26
27 %prep
28 %setup -q
29 #%patch0 -p1
30
31 %build
32 %ifarch %{ix86}
33  target=%{_target_cpu}
34 %else
35  target=generic
36 %endif
37
38 %{__make} \
39         TARGET_PLATFORM=$target \
40         TARGET_OS=unix \
41         INCS="-I. -I/usr/include/ncurses" \
42         compilation=%{?debug:debug}%{!?debug:advance}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_bindir}/ $RPM_BUILD_ROOT%{_libdir}/biew/
47
48 install biew $RPM_BUILD_ROOT%{_bindir}
49 install bin_rc/{biew.hlp,skn/*} $RPM_BUILD_ROOT%{_libdir}/biew/
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc doc/*txt doc/*.en
57 %lang(ru) %doc doc/*.ru
58 %attr(755,root,root) %{_bindir}/biew
59 %{_libdir}/biew
This page took 0.156639 seconds and 3 git commands to generate.