]> git.pld-linux.org Git - packages/biew.git/commitdiff
- installed syntax files AC-branch AC-STABLE auto/ac/biew-562-2
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 15 Jun 2006 00:24:20 +0000 (00:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- data files moved to datadir
- enable mouse support
- fix prefix
- rel 2

Changed files:
    biew.spec -> 1.24

biew.spec

index af68ad41f56f7cb217dc6d52fbed23e0d36a65f4..ce6afd4ae85fbc88e4650ba9723e5bce4dcae962 100644 (file)
--- 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*
This page took 0.245817 seconds and 4 git commands to generate.