Blob Blame History Raw
Name:		64tass
Version:	1.50.486
Release:	2%{?dist}
Summary:	6502 assembler
Group:		Development/Languages
License:	GPLv2+
BuildRequires:	w3m

# The following would meet the Fedora Packaging Guidelines for Source URLs
# for SourceForge, but it doesn't actually work! Despite the "/source/" in
# the path, it actually gets the *binary* release ZIP archives.  This may have
# something to do with the fact that the source and binary release ZIP
# archives have the same name.  I've requested that upstream start putting
# "-source" or "-src" in the names of the source archives, which hopefully
# would fix this problem.


# Fix problem with printf conversions of size_t. Reported upstream with
# proposed patch:
Patch0:		64tass-1.50.486-sizet.patch

# Fix problem with cast of pointer to int. Reported upstream with
# proposed patch:
Patch1:		64tass-1.50.486-ptrcast.patch

64tass is a multi-pass optimizing macro assembler for the 65xx series of
processors. It supports the 6502, 65C02, R65C02, W65C02, 65CE02, 65816,
DTV, and 65EL02, using a syntax similar to that of Omicron TASS and TASM.

%setup -q
%patch -P 0 -p1 -b .sizet
%patch -P 1 -p1 -b .ptrcast
rm README  # will be built

make %{?_smp_mflags} CFLAGS="%{optflags}"


# install binaries
install -d %{buildroot}%{_bindir}/
install -m 755 64tass %{buildroot}%{_bindir}/

%doc LICENSE-GPL-2.0
%doc LICENSE-my_getopt

* Fri Jun 06 2014 Fedora Release Engineering <> - 1.50.486-2
- Rebuilt for

* Tue Jun 11 2013 Eric Smith <> 1.50.486-1
- Initial version