-Summary: BIEW is Binary vIEWer and editor
+Summary: BIEW is Binary vIEWer and editor
Summary(pl): BIEW jest przegl±dark± plików binarnych z edytorem
+Summary(ru): biew - ÒÅÄÁËÔÏÒ Ä×ÏÉÞÎÙÈ ÆÁÊÌÏ× Ó ÄÉÚÁÓÓÅÍÂÌÅÒÏÍ
+Summary(uk): biew - ÒÅÄÁËÔÏÒ ÄצÊËÏ×ÉÈ ÆÁÊÌ¦× Ú ÄÉÚÁÓÅÍÂÌÅÒÏÍ
Name: biew
-Version: 53p5
+Version: 562
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
+Source0: http://dl.sourceforge.net/biew/%{name}%{version}.tar.bz2
+# Source0-md5: 622fb1f02a6d921b273f0a39407f8e7d
URL: http://biew.sourceforge.net/
BuildRequires: ncurses-devel
-Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+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)
+BIEW is advanced Binary vIEWer with built-in editor for binary,
+hexadecimal and disassembler modes. His disassembler supports many
+processors (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
+binarnych. Zawiera wbudowany disasembler ze wsparciem 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)
+a.out, coff32 PharLap, rdoff).
+
+%description -l ru
+biew - ÜÔÏ ÐÒÏÓÍÏÔÒÝÉË/ÒÅÄÁËÔÏÒ Ä×ÏÉÞÎÙÈ ÆÁÊÌÏ× Ó ×ÏÚÍÏÖÎÏÓÔØÀ ÐÒÏÓÍÏÔÒÁ
+É ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ × Ä×ÏÉÞÎÏÍ, ÛÅÓÔÎÁÄÃÁÔÉÒÉÞÎÏÍ É ÄÉÚÁÓÓÅÍÂÅÒÎÏÍ ÒÅÖÉÍÁÈ.
+ðÏÄÄÅÒÖÉ×ÁÅÔÓÑ ×ÙÄÅÌÅÎÉÅ ÁÓÓÅÍÂÌÅÒÎÙÈ ËÏÍÁÎÄ PentiumIV/K7-Athlon/Cyrix-M2,
+ÅÓÔØ ËÏÎ×ÅÒÔÏÒ ËÉÒÉÌÌÉÞÅÓËÉÈ ËÏÄÉÒÏ×ÏË, ÐÏÌÎÙÊ ÐÒÏÓÍÏÔÒ ÆÏÒÍÁÔÏ× MZ, NE, PE,
+LE, LX, DOS.SYS, NLM, ELF.
+
+%description -l uk
+biew - ÃÅ ÐÅÒÅÇÌÑÄÁÞ/ÒÅÄÁËÔÏÒ ÄצÊËÏ×ÉÈ ÆÁÊÌ¦× Ú ÍÏÖÌÉצÓÔÀ ÐÅÒÅÇÌÑÄÕ ÔÁ
+ÒÅÄÁÇÕ×ÁÎÎÑ × ÄצÊËÏ×ÏÍÕ, Û¦ÓÔÎÁÄÃÑÔËÏ×ÏÍÕ ÔÁ ÄÉÚÁÓÅÍÂÌÅÒÎÏÍÕ ÒÅÖÉÍÁÈ.
+ð¦ÄÔÒÉÍÕ¤ÔØÓÑ ×ÉĦÌÅÎÎÑ ÁÓÅÍÂÅÒÎÉÈ ËÏÍÁÎÄ PentiumIV/K7-Athlon/Cyrix-M2,
+¤ ËÏÎ×ÅÒÔÏÒ ËÉÒÉ̦ÞÎÉÈ ËÏÄÕ×ÁÎØ, ÐÏ×ÎÉÊ ÐÅÒÅÇÌÑÄ ÆÏÒÍÁÔ¦× MZ, NE, PE, LE,
+LX, DOS.SYS, NLM, ELF.
%prep
-%setup -q -n %{name}%{version}
-%patch0 -p1
+%setup -q
%build
%ifarch %{ix86}
%endif
%{__make} \
+ HOST_CFLAGS="%{rpmcflags}" \
TARGET_PLATFORM=$target \
- TARGET_OS=%{_target_os} \
+ 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 -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/biew,%{_mandir}/man1}
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
+install bin_rc/{biew.hlp,skn/*} $RPM_BUILD_ROOT%{_libdir}/biew
+install doc/biew.1 $RPM_BUILD_ROOT%{_mandir}/man1
-%clean
+%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files
%defattr(644,root,root,755)
-%doc doc/*.gz
+%doc doc/*txt doc/*.en
+%lang(ru) %doc doc/*.ru
%attr(755,root,root) %{_bindir}/biew
%{_libdir}/biew
+%{_mandir}/man1/biew*