]> git.pld-linux.org Git - packages/biew.git/blobdiff - biew.spec
- added man page
[packages/biew.git] / biew.spec
index 97d7eeb844369ef181e3fa58e683724d00c9b6f6..54e872e48ae72339f3df9004d5272f9f19303f21 100644 (file)
--- a/biew.spec
+++ b/biew.spec
@@ -1,34 +1,49 @@
-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:       520
+Version:       562
 Release:       1
 License:       GPL
 Group:         Applications/Editors
-Group(pl):     Aplikacje/Edytory
-Source0:       ftp://biew.sourceforge.net/pub/biew/%{name}-%{version}.tar.bz2
-Patch0:                biew-CURSES.patch
+Source0:       http://dl.sourceforge.net/biew/%{name}%{version}.tar.bz2
+# Source0-md5: 622fb1f02a6d921b273f0a39407f8e7d
+# Source0-size:        594367
 URL:           http://biew.sourceforge.net/
-BuildRequires: ncurses-devel
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+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)
+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
-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)
+BIEW (Binary vIEWer) jest zaawansowan± przegl±dark± i edytorem plików
+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).
 
-%prep
+%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.
 
-%setup -q 
-%patch0 -p1
+%prep
+%setup -q
 
 %build
 %ifarch %{ix86}
@@ -37,22 +52,28 @@ a.out, coff32 PharLap, rdoff)
  target=generic
 %endif
 
-%{__make} TARGET_PLATFORM=$target TARGET_OS=%{_target_os} compilation=advenced
+%{__make} \
+       HOST_CFLAGS="%{rpmcflags}" \
+       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 -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/biew,%{_mandir}/man1}
+
 install biew $RPM_BUILD_ROOT%{_bindir}
-install bin_rc/biew.hlp $RPM_BUILD_ROOT%{_libdir}/biew/
-install bin_rc/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/*txt doc/*.en
+%lang(ru) %doc doc/*.ru
 %attr(755,root,root) %{_bindir}/biew
-%dir %{_libdir}/biew
-%{_libdir}/biew/*
-%doc doc/biew_en.txt* doc/release.txt* doc/unix.txt*
+%{_libdir}/biew
+%{_mandir}/man1/biew*
This page took 0.091876 seconds and 4 git commands to generate.