ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/cxmon.spec.in
Revision: 1.4
Committed: 2004-04-20T19:39:02Z (20 years, 6 months ago) by cebix
Branch: MAIN
CVS Tags: release_3-1
Changes since 1.3: +1 -1 lines
Log Message:
- fixed URL in package
- "ver" command displays correct program name

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 cebix 1.4 URL: http://www.uni-mainz.de/~bauec002/CXMain.html
13 cebix 1.1 BuildRoot: %{_tmppath}/%{name}-root
14     Prefix: %{_prefix}
15    
16     %description
17     cxmon is an interactive command-driven file manipulation tool that is
18 cebix 1.2 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 cebix 1.3 x86-64, 6502 and Z80 disassemblers and special support for disassembling
22     MacOS code.
23 cebix 1.1
24     %prep
25     %setup -q
26    
27     %build
28     CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir}
29     if [ -x /usr/bin/getconf ] ; then
30     NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN)
31     if [ $NCPU -eq 0 ] ; then
32     NCPU=1
33     fi
34     else
35     NCPU=1
36     fi
37     PARL=$[ $NCPU + 1 ]
38     make -j $PARL
39    
40     %install
41     rm -rf ${RPM_BUILD_ROOT}
42     make DESTDIR=${RPM_BUILD_ROOT} install-strip
43    
44     %clean
45     rm -rf ${RPM_BUILD_ROOT}
46    
47     %files
48     %defattr(-,root,root)
49     %doc AUTHORS ChangeLog COPYING README
50     %{_bindir}/*
51     %{_mandir}/man1/*