Summary: BIEW is Binary vIEWer and editor Summary(pl): BIEW jest przeglądarką plików binarnych z edytorem Name: biew Version: 532 Release: 1 License: GPL Group: Applications/Editors Source0: http://prdownloads.sourceforge.net/biew/%{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 #%patch0 -p1 %build %ifarch %{ix86} target=%{_target_cpu} %else target=generic %endif %{__make} \ TARGET_PLATFORM=$target \ TARGET_OS=unix \ 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,skn/*} $RPM_BUILD_ROOT%{_libdir}/biew/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc doc/*txt doc/*.en %lang(ru) %doc doc/*.ru %attr(755,root,root) %{_bindir}/biew %{_libdir}/biew