|
 |
bb3c6e8 |
Name: 64tass
|
|
 |
bb3c6e8 |
Version: 1.50.486
|
|
 |
bb3c6e8 |
Release: 1%{?dist}
|
|
 |
bb3c6e8 |
Summary: 6502 assembler
|
|
 |
bb3c6e8 |
Group: Development/Languages
|
|
 |
bb3c6e8 |
License: GPLv2+
|
|
 |
bb3c6e8 |
URL: http://tass64.sourceforge.net/
|
|
 |
bb3c6e8 |
BuildRequires: w3m
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
# The following would meet the Fedora Packaging Guidelines for Source URLs
|
|
 |
bb3c6e8 |
# for SourceForge, but it doesn't actually work! Despite the "/source/" in
|
|
 |
bb3c6e8 |
# the path, it actually gets the *binary* release ZIP archives. This may have
|
|
 |
bb3c6e8 |
# something to do with the fact that the source and binary release ZIP
|
|
 |
bb3c6e8 |
# archives have the same name. I've requested that upstream start putting
|
|
 |
bb3c6e8 |
# "-source" or "-src" in the names of the source archives, which hopefully
|
|
 |
bb3c6e8 |
# would fix this problem.
|
|
 |
bb3c6e8 |
# https://sourceforge.net/p/tass64/bugs/13/
|
|
 |
bb3c6e8 |
#Source0: http://downloads.sourceforge.net/tass64/source/%{name}-%{version}.zip
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
Source0: http://sourceforge.net/projects/tass64/files/source/%{name}-%{version}.zip
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
# Fix problem with printf conversions of size_t. Reported upstream with
|
|
 |
bb3c6e8 |
# proposed patch:
|
|
 |
bb3c6e8 |
# https://sourceforge.net/p/tass64/bugs/14/
|
|
 |
bb3c6e8 |
Patch0: 64tass-1.50.486-sizet.patch
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
# Fix problem with cast of pointer to int. Reported upstream with
|
|
 |
bb3c6e8 |
# proposed patch:
|
|
 |
bb3c6e8 |
# https://sourceforge.net/p/tass64/bugs/15/
|
|
 |
bb3c6e8 |
Patch1: 64tass-1.50.486-ptrcast.patch
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
%description
|
|
 |
bb3c6e8 |
64tass is a multi-pass optimizing macro assembler for the 65xx series of
|
|
 |
bb3c6e8 |
processors. It supports the 6502, 65C02, R65C02, W65C02, 65CE02, 65816,
|
|
 |
bb3c6e8 |
DTV, and 65EL02, using a syntax similar to that of Omicron TASS and TASM.
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
%prep
|
|
 |
bb3c6e8 |
%setup -q
|
|
 |
bb3c6e8 |
%patch -P 0 -p1 -b .sizet
|
|
 |
bb3c6e8 |
%patch -P 1 -p1 -b .ptrcast
|
|
 |
bb3c6e8 |
rm README # will be built
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
%build
|
|
 |
bb3c6e8 |
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
%install
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
# install binaries
|
|
 |
bb3c6e8 |
install -d %{buildroot}%{_bindir}/
|
|
 |
bb3c6e8 |
install -m 755 64tass %{buildroot}%{_bindir}/
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
%files
|
|
 |
bb3c6e8 |
%{_bindir}/64tass
|
|
 |
bb3c6e8 |
%doc README README.html
|
|
 |
bb3c6e8 |
%doc LICENSE-GPL-2.0
|
|
 |
bb3c6e8 |
%doc LICENSE-LGPL-2.0 LICENSE-LGPL-2.1
|
|
 |
bb3c6e8 |
%doc LICENSE-my_getopt
|
|
 |
bb3c6e8 |
|
|
 |
bb3c6e8 |
%changelog
|
|
 |
bb3c6e8 |
* Tue Jun 11 2013 Eric Smith <brouhaha@fedoraproject.org> 1.50.486-1
|
|
 |
bb3c6e8 |
- Initial version
|