File xa.spec of Package xa

#
# spec file for package xa
#

Name:           xa
Version:        2.3.11
Release:        2
Summary:        Crossassembler for 6502 systems
License:        GPL-2.0-only
Group:          Development/Tools/Other
URL:            https://www.floodgap.com/retrotech/xa/
Source:         %{name}-%{version}.tar.gz
Patch0:         %{name}-%{version}-destdir.patch
Patch1:         %{name}-%{version}-manfiles-install-permissions.patch
BuildRequires:  gcc-c++

%description
xa is a high-speed, two-pass portable cross-assembler.

It understands mnemonics and generates code for NMOS 6502s (such as 6502A,
6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), CMOS 6502s (65C02 and Rockwell
R65C02) and the 65816.

Key amongst its features:
  * C-like preprocessor (and understands cpp for additional feature support)
  * rich expression syntax and pseudo-op vocabulary
  * multiple character sets
  * binary linking
  * supports o65 relocatable objects with a full linker and relocation suite,
    as well as "bare" plain binary object files
  * block structure for label scoping

xa's eventual companion disassembler is dxa, a moderately hacked-up version of
Marko Mäkelä's d65 disassembler. This is still alpha and is available as a
separate distribution until it is stabilized enough to be part of the xa suite.

%prep
%setup -q

%patch0 -p1
%patch1 -p1

%build
make

%install
make install DESTDIR=$RPM_BUILD_ROOT/usr

%files
%{_bindir}/*
%{_mandir}/man1/*
%doc COPYING ChangeLog README.1st TODO doc/*

%changelog
openSUSE Build Service is sponsored by