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 |
License: GPL |
10 |
Group: Utilities/File |
11 |
Source0: %{name}-%{version}.tar.gz |
12 |
URL: http://cxmon.cebix.net/ |
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
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 |
x86-64, 6502 and Z80 disassemblers and special support for disassembling |
22 |
MacOS code. |
23 |
|
24 |
%prep |
25 |
%setup -q |
26 |
|
27 |
%build |
28 |
%configure |
29 |
make |
30 |
|
31 |
%install |
32 |
rm -rf ${RPM_BUILD_ROOT} |
33 |
%makeinstall |
34 |
|
35 |
%clean |
36 |
rm -rf ${RPM_BUILD_ROOT} |
37 |
|
38 |
%files |
39 |
%defattr(-,root,root) |
40 |
%doc AUTHORS ChangeLog COPYING README |
41 |
%{_bindir}/* |
42 |
%{_mandir}/man1/* |