Summary: BIEW is Binary vIEWer and editor
Summary(pl): BIEW jest przegl±dark± plików binarnych z edytorem
Name: biew
-Version: 520
+Version: 53p5
Release: 1
License: GPL
Group: Applications/Editors
Group(de): Applikationen/Editors
Group(pl): Aplikacje/Edytory
Group(pt): Aplicações/Editores
-Source0: ftp://biew.sourceforge.net/pub/biew/%{name}-%{version}.tar.bz2
+Source0: ftp://biew.sourceforge.net/pub/biew/5.x/src/%{name}%{version}.tar.bz2
Patch0: %{name}-CURSES.patch
URL: http://biew.sourceforge.net/
BuildRequires: ncurses-devel
%description
BIEW is advenced Binary vIEWer with built-in editor for binary,
hexadecimal and disassembler modes. His disassembler support many
-procesors(Pentium4, K7 Athlon, Cyrix-M2) and many file formats(MZ, NE,
+procesors(Pentium4, K7 Athlon, Cyrix-M2) and many file formats (MZ, NE,
PE, LE, LX, DOS.SYS, NLM, arch, ELF, a.out, coff32 PharLap, rdoff)
%description -l pl
-BIEW(Binary vIEWer) jest zaawansowan± przegl±dark± i edytorem plików
+BIEW (Binary vIEWer) jest zaawansowan± przegl±dark± i edytorem plików
binarnych. Zawiera wbudowany disasembler z suportem dla wielu nowych
-procesorów(w tym Pentium4, Athlon i Cyrix-M2) oraz wielu formatów
-plików wykonywalnych(MZ, NE, PE, LE, LX, DOS.SYS, NLM, arch, ELF,
+procesorów (w tym Pentium4, Athlon i Cyrix-M2) oraz wielu formatów
+plików wykonywalnych (MZ, NE, PE, LE, LX, DOS.SYS, NLM, arch, ELF,
a.out, coff32 PharLap, rdoff)
%prep
-
-%setup -q
+%setup -q -n %{name}%{version}
%patch0 -p1
%build
target=generic
%endif
-%{__make} TARGET_PLATFORM=$target TARGET_OS=%{_target_os} compilation=advenced
+%{__make} \
+ TARGET_PLATFORM=$target \
+ TARGET_OS=%{_target_os} \
+ INCS="-I. -I/usr/include/ncurses" \
+ compilation=%{?debug:debug}%{!?debug:advance}
%install
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc doc/*.gz
%attr(755,root,root) %{_bindir}/biew
-%dir %{_libdir}/biew
-%{_libdir}/biew/*
+%{_libdir}/biew