rendered paste body%define name biew%define version 6.1.0%define versrc 610%define release %mkrel 1Name: %{name}Version: %{version}Release: %{release}Summary: Console hex viewer/editor and disassemblerLicense: GPLGroup: File toolsURL: http://biew.sourceforge.netSource: %{name}-%{versrc}.tar.bz2BuildRoot: %_tmppath/%name-%version-buildrootExclusiveArch: %ix86%descriptionBIEW (Binary vIEW) is a free, portable, advanced file viewer withbuilt-in editor for binary, hexadecimal and disassembler modes.It contains a highlight Athlon64/Prescott/K7-Athlon/Cyrix-M2 disassembler,full preview of MZ, NE, PE, LE, LX, DOS.SYS, NLM, ELF, a.out, arch,coff32, PharLap, rdoff executable formats, a code guider, and lot ofother features, making it invaluable for examining binary code.Linux, Unix, QNX, BeOS, DOS, Win32, OS/2 versions are available.%prep%setup -q -n %{name}-%{versrc}%configure2_5x%build./configure --enable-curses --prefix=/usrmake TARGET_OS=linux USE_MOUSE=n PREFIX=%_prefix%installrm -rf $RPM_BUILD_ROOTinstall -d ${RPM_BUILD_ROOT}{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}install -m 755 biew $RPM_BUILD_ROOT%{_bindir}/%{name}strip -R .note -R .comment $RPM_BUILD_ROOT%{_bindir}/%{name}cp -a bin_rc/{xlt,skn,*.hlp} $RPM_BUILD_ROOT%{_datadir}/%{name}install doc/biew.1 $RPM_BUILD_ROOT%{_mandir}/man1%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%doc doc/biew_en.txt doc/biew_ru.txt doc/unix.txt doc/release.txt%{_bindir}/%{name}%{_datadir}/%{name}/*%{_mandir}/man?/%{name}.1*