%define name @PACKAGE@ %define version @VERSION@ %define release 1 Summary: Command-line file manipulation tool and disassembler Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Utilities/File 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, x86-64, 6502 and Z80 disassemblers and special support for disassembling MacOS code. %prep %setup -q %build %configure make %install rm -rf ${RPM_BUILD_ROOT} %makeinstall %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README %{_bindir}/* %{_mandir}/man1/*