ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/cxmon.spec.in
Revision: 1.2
Committed: 2000-10-18T13:42:55Z (23 years, 6 months ago) by cebix
Branch: MAIN
Changes since 1.1: +4 -4 lines
Log Message:
updated docs

File Contents

# Content
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 cxmon is an interactive command-driven file manipulation tool that is
18 inspired by the "Amiga Monitor" by Timo Rossi. It has commands and features
19 similar to a machine code monitor/debugger, but it lacks any functions for
20 running/tracing code. There are, however, built-in PowerPC, 680x0, 80x86,
21 6502 and Z80 disassemblers and special support for disassembling MacOS code.
22
23 %prep
24 %setup -q
25
26 %build
27 CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir}
28 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 make DESTDIR=${RPM_BUILD_ROOT} install-strip
42
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/*