File xa65.spec of Package xa65

#
# RPM SPEC file for the xa65 assembler
#
# 09/16/2017, Spiro Trikaliotis <ml-cc65@trikaliotis.net>, converted from cc65 spec file
# 01/30/2014, Spiro Trikaliotis <ml-cc65@trikaliotis.net>
# 04/15/2010, Robert Hurst <robert@hurst-ri.us>
# 03/08/2001, Ullrich von Bassewitz (uz@xa65.org)
#

###############################################################################
#                                Main package                                 #
###############################################################################

Summary: Crossassembler for 6502 systems
%define name xa65
Name: %{name}
%define version 2.3.11.git.13734490652
Version: 2.3.11.git.1396210237.b926301
Release: 1
License: GPL-2.0
Group: Development/Languages/C and C++
Source: %{name}-%{version}.tar.gz
#Source1: xa65-rpmlintrc
Vendor: Cameron Kaiser
Packager: Spiro Trikaliotis <ml-cc65@trikaliotis.net>
URL: http://www.floodgap.com/retrotech/xa/
%ifos linux
#BuildRequires: sgmltool
#BuildRequires: texinfo
%endif
BuildRoot: %{_topdir}/%{name}-%{version}

%description
xa is Andre Fachat's open-source 6502 cross assembler. Cameron Kaiser is the
current maintainer, and bug reports and questions should now go to him.

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. 

%files
%defattr(644,root,root,755)
# doc announce.txt
# doc doc/BUGS
# doc doc/CREDITS
# doc doc/readme.1st

%doc COPYING

%attr(755,root,root)        /usr/bin/*
%attr(644,root,root)        /usr/share/man/man1/*


###############################################################################
#                                   Build                                     #
###############################################################################



%prep
%setup -q

%build
# Binaries
make -s all


%install
rm -rf $RPM_BUILD_ROOT

make -s DESTDIR=$RPM_BUILD_ROOT/usr install

%clean
rm -rf $RPM_BUILD_ROOT


%changelog
* Mon Jul 13 2020 Spiro Trikaliotis <ml-cc65@trikaliotis.net>
- Update to 2.3.11
* Sat Mar 28 2020 Spiro Trikaliotis <ml-cc65@trikaliotis.net>
- Update to 2.3.10
* Sat Sep 16 2017 Spiro Trikaliotis <ml-cc65@trikaliotis.net>
- Initial release
openSUSE Build Service is sponsored by