Summary: BIEW is Binary vIEWer and editor Summary(pl): BIEW jest przeglądarką plików binarnych z edytorem Name: biew 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/5.x/src/%{name}%{version}.tar.bz2 Patch0: %{name}-CURSES.patch URL: http://biew.sourceforge.net/ BuildRequires: ncurses-devel Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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, 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 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, a.out, coff32 PharLap, rdoff) %prep %setup -q -n %{name}%{version} %patch0 -p1 %build %ifarch %{ix86} target=%{_target_cpu} %else target=generic %endif %{__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 install -d $RPM_BUILD_ROOT%{_bindir}/ $RPM_BUILD_ROOT%{_libdir}/biew/ install biew $RPM_BUILD_ROOT%{_bindir} install bin_rc/{biew.hlp,standard.skn} $RPM_BUILD_ROOT%{_libdir}/biew/ gzip -9nf doc/*txt doc/*.en doc/*.ru %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc doc/*.gz %attr(755,root,root) %{_bindir}/biew %{_libdir}/biew