ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/mon.spec.in
Revision: 1.6
Committed: 2000-10-15T15:07:11Z (24 years, 1 month ago) by cebix
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +0 -0 lines
State: FILE REMOVED
Log Message:
- extended to 8080 disassembler to a Z80 disassembler
- program renamed to "cxmon"

File Contents

# User Rev Content
1 cebix 1.1 %define name @PACKAGE@
2     %define version @VERSION@
3     %define release 1
4    
5     Summary: Command-line file manipulation tool and disassembler
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}
9     Copyright: GPL
10     Group: Utilities/File
11     Source: %{name}-%{version}.tar.gz
12     URL: http://www.uni-mainz.de/~bauec002/
13     BuildRoot: %{_tmppath}/%{name}-root
14     Prefix: %{_prefix}
15    
16     %description
17     "mon" is an interactive command-driven file manipulation tool that is
18     inspired by the "Amiga Monitor" by Timo Rossi <trossi@jyu.fi>. It has
19     commands and features similar to a machine code monitor/debugger, but it
20     lacks any functions for running/tracing code. There are, however, built-in
21     PowerPC, 680x0, 80x86, 6502 and 8080 disassemblers.
22    
23     %prep
24     %setup -q
25    
26     %build
27 cebix 1.5 CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir}
28 cebix 1.1 if [ -x /usr/bin/getconf ] ; then
29     NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN)
30     if [ $NCPU -eq 0 ] ; then
31     NCPU=1
32     fi
33     else
34     NCPU=1
35     fi
36     PARL=$[ $NCPU + 1 ]
37     make -j $PARL
38    
39     %install
40     rm -rf ${RPM_BUILD_ROOT}
41 cebix 1.5 make DESTDIR=${RPM_BUILD_ROOT} install-strip
42 cebix 1.1
43     %clean
44     rm -rf ${RPM_BUILD_ROOT}
45    
46     %files
47     %defattr(-,root,root)
48     %doc AUTHORS ChangeLog COPYING README
49     %{_bindir}/*
50     %{_mandir}/man1/*