--- mon/cxmon.spec.in 2000/10/15 15:07:10 1.1 +++ mon/cxmon.spec.in 2007/01/21 17:15:15 1.6 @@ -6,39 +6,31 @@ Summary: Command-line file manipulation Name: %{name} Version: %{version} Release: %{release} -Copyright: GPL +License: GPL Group: Utilities/File -Source: %{name}-%{version}.tar.gz -URL: http://www.uni-mainz.de/~bauec002/ -BuildRoot: %{_tmppath}/%{name}-root +Source0: %{name}-%{version}.tar.gz +URL: http://cxmon.cebix.net/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Prefix: %{_prefix} %description cxmon is an interactive command-driven file manipulation tool that is -inspired by the "Amiga Monitor" by Timo Rossi . It has -commands and features similar to a machine code monitor/debugger, but it -lacks any functions for running/tracing code. There are, however, built-in -PowerPC, 680x0, 80x86, 6502 and Z80 disassemblers. +inspired by the "Amiga Monitor" by Timo Rossi. It has commands and features +similar to a machine code monitor/debugger, but it lacks any functions for +running/tracing code. There are, however, built-in PowerPC, 680x0, 80x86, +x86-64, 6502 and Z80 disassemblers and special support for disassembling +MacOS code. %prep %setup -q %build -CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir} -if [ -x /usr/bin/getconf ] ; then - NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN) - if [ $NCPU -eq 0 ] ; then - NCPU=1 - fi -else - NCPU=1 -fi -PARL=$[ $NCPU + 1 ] -make -j $PARL +%configure +make %install rm -rf ${RPM_BUILD_ROOT} -make DESTDIR=${RPM_BUILD_ROOT} install-strip +%makeinstall %clean rm -rf ${RPM_BUILD_ROOT}