SPECS: biew.spec - installed syntax files - data files moved to da...

glen glen at pld-linux.org
Thu Jun 15 02:24:26 CEST 2006


Author: glen                         Date: Thu Jun 15 00:24:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- installed syntax files
- data files moved to datadir
- enable mouse support
- fix prefix
- rel 2

---- Files affected:
SPECS:
   biew.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/biew.spec
diff -u SPECS/biew.spec:1.23 SPECS/biew.spec:1.24
--- SPECS/biew.spec:1.23	Thu Nov 24 22:10:25 2005
+++ SPECS/biew.spec	Thu Jun 15 02:24:20 2006
@@ -1,24 +1,27 @@
 # $Revision$, $Date$
+# 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
@@ -29,44 +32,47 @@
 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
@@ -76,7 +82,7 @@
 %doc doc/*txt doc/*.en
 %lang(ru) %doc doc/*.ru
 %attr(755,root,root) %{_bindir}/biew
-%{_libdir}/biew
+%{_datadir}/%{name}
 %{_mandir}/man1/biew*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -85,6 +91,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2006/06/15 00:24:20  glen
+- installed syntax files
+- data files moved to datadir
+- enable mouse support
+- fix prefix
+- rel 2
+
 Revision 1.23  2005/11/24 21:10:25  darekr
 - pass CC
 
@@ -132,7 +145,7 @@
 - release 2: use new %doc.
 
 Revision 1.8  2002/04/25 15:52:53  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.7  2002/02/23 01:33:37  kloczek
 - adapterized.
@@ -142,11 +155,11 @@
   Group field using gettext).
 
 Revision 1.5  2002/01/18 02:12:30  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.4  2001/04/29 16:43:25  qboosh
 - 53p5
 - updated Source URL
 
 Revision 1.3  2000/12/07 03:16:32  agaran
-Another spec with %changelog but no $Log $ entry
+- Another spec with %changelog but no $Log $ entry
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/biew.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list