From: Elan Ruusamäe Date: Thu, 15 Jun 2006 00:24:20 +0000 (+0000) Subject: - installed syntax files X-Git-Tag: AC-STABLE X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=refs%2Fheads%2FAC-branch;hp=25166bfbec507e81d2fe9a0178772002ef52b536;p=packages%2Fbiew.git - installed syntax files - data files moved to datadir - enable mouse support - fix prefix - rel 2 Changed files: biew.spec -> 1.24 --- diff --git a/biew.spec b/biew.spec index af68ad4..ce6afd4 100644 --- a/biew.spec +++ b/biew.spec @@ -1,23 +1,26 @@ +# NOTE: +# - slang (recommented screen lib) doesn't have mouse support 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: 562 -Release: 1 +Release: 2 License: GPL Group: Applications/Editors Source0: http://dl.sourceforge.net/biew/%{name}%{version}.tar.bz2 # Source0-md5: 622fb1f02a6d921b273f0a39407f8e7d URL: http://biew.sourceforge.net/ +BuildRequires: gpm-devel BuildRequires: ncurses-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description 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, +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 @@ -28,44 +31,47 @@ plik a.out, coff32 PharLap, rdoff). %description -l ru -biew - ÜÔÏ ÐÒÏÓÍÏÔÒÝÉË/ÒÅÄÁËÔÏÒ Ä×ÏÉÞÎÙÈ ÆÁÊÌÏ× Ó ×ÏÚÍÏÖÎÏÓÔØÀ ÐÒÏÓÍÏÔÒÁ -É ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ × Ä×ÏÉÞÎÏÍ, ÛÅÓÔÎÁÄÃÁÔÉÒÉÞÎÏÍ É ÄÉÚÁÓÓÅÍÂÅÒÎÏÍ ÒÅÖÉÍÁÈ. -ðÏÄÄÅÒÖÉ×ÁÅÔÓÑ ×ÙÄÅÌÅÎÉÅ ÁÓÓÅÍÂÌÅÒÎÙÈ ËÏÍÁÎÄ PentiumIV/K7-Athlon/Cyrix-M2, -ÅÓÔØ ËÏÎ×ÅÒÔÏÒ ËÉÒÉÌÌÉÞÅÓËÉÈ ËÏÄÉÒÏ×ÏË, ÐÏÌÎÙÊ ÐÒÏÓÍÏÔÒ ÆÏÒÍÁÔÏ× MZ, NE, PE, -LE, LX, DOS.SYS, NLM, ELF. +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. +biew - ÃÅ ÐÅÒÅÇÌÑÄÁÞ/ÒÅÄÁËÔÏÒ ÄצÊËÏ×ÉÈ ÆÁÊÌ¦× Ú ÍÏÖÌÉצÓÔÀ ÐÅÒÅÇÌÑÄÕ +ÔÁ ÒÅÄÁÇÕ×ÁÎÎÑ × ÄצÊËÏ×ÏÍÕ, Û¦ÓÔÎÁÄÃÑÔËÏ×ÏÍÕ ÔÁ ÄÉÚÁÓÅÍÂÌÅÒÎÏÍÕ +ÒÅÖÉÍÁÈ. ð¦ÄÔÒÉÍÕ¤ÔØÓÑ ×ÉĦÌÅÎÎÑ ÁÓÅÍÂÅÒÎÉÈ ËÏÍÁÎÄ +PentiumIV/K7-Athlon/Cyrix-M2, ¤ ËÏÎ×ÅÒÔÏÒ ËÉÒÉ̦ÞÎÉÈ ËÏÄÕ×ÁÎØ, ÐÏ×ÎÉÊ +ÐÅÒÅÇÌÑÄ ÆÏÒÍÁÔ¦× MZ, NE, PE, LE, LX, DOS.SYS, NLM, ELF. %prep %setup -q %build -%ifarch %{ix86} - target=%{_target_cpu} -%else - target=generic -%endif - %{__make} \ + PREFIX=%{_prefix} \ CC="%{__cc}" \ HOST_CFLAGS="%{rpmcflags}" \ - TARGET_PLATFORM=$target \ +%ifarch %{ix86} + TARGET_PLATFORM=%{_target_cpu} \ +%else + TARGET_PLATFORM=generic \ +%endif + TARGET_SCREEN_LIB=curses \ TARGET_OS=unix \ + USE_MOUSE=y \ INCS="-I. -I/usr/include/ncurses" \ compilation=%{?debug:debug}%{!?debug:advance} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/biew,%{_mandir}/man1} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1} install biew $RPM_BUILD_ROOT%{_bindir} -install bin_rc/{biew.hlp,skn/*} $RPM_BUILD_ROOT%{_libdir}/biew -install doc/biew.1 $RPM_BUILD_ROOT%{_mandir}/man1 +install bin_rc/{biew.hlp,skn/*} $RPM_BUILD_ROOT%{_datadir}/biew +cp -a bin_rc/{xlt,skn,*.hlp} $RPM_BUILD_ROOT%{_datadir}/%{name} +cp -a bin_rc/syntax/*.stx $RPM_BUILD_ROOT%{_datadir}/biew +cp -a doc/biew.1 $RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT @@ -75,5 +81,5 @@ rm -rf $RPM_BUILD_ROOT %doc doc/*txt doc/*.en %lang(ru) %doc doc/*.ru %attr(755,root,root) %{_bindir}/biew -%{_libdir}/biew +%{_datadir}/%{name} %{_mandir}/man1/biew*