106 lines
3.3 KiB
RPMSpec
106 lines
3.3 KiB
RPMSpec
Name: xa
|
|
Version: 2.3.7
|
|
Release: 1%{?dist}
|
|
Summary: 6502/65816 cross-assembler
|
|
|
|
Group: Development/Tools
|
|
License: GPLv2+
|
|
URL: http://www.floodgap.com/retrotech/xa/
|
|
Source0: http://www.floodgap.com/retrotech/%{name}/dists/%{name}-%{version}.tar.gz
|
|
# update the build system, reported in private email
|
|
Patch0: %{name}-2.3.7-make.patch
|
|
|
|
|
|
%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
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .make
|
|
|
|
# fix encoding
|
|
for f in ChangeLog doc/fileformat.txt
|
|
do
|
|
iconv -f ISO-8859-1 -t UTF-8 < $f > $f.new
|
|
touch -r $f $f.new
|
|
mv $f.new $f
|
|
done
|
|
|
|
|
|
%build
|
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
%check
|
|
make test
|
|
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} INSTALL="install -p"
|
|
|
|
|
|
%files
|
|
%doc COPYING ChangeLog README.1st doc/fileformat.txt
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
%changelog
|
|
* Sat Jan 03 2015 Dan Horák <dan[at]danny.cz> - 2.3.7-1
|
|
- updated to version 2.3.7
|
|
- enable test-suite
|
|
|
|
* Mon Nov 17 2014 Dan Horák <dan[at]danny.cz> - 2.3.6-1
|
|
- updated to version 2.3.6
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Apr 20 2014 Dan Horák <dan[at]danny.cz> - 2.3.5-10
|
|
- spec cleanup
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.5-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Tue Apr 14 2009 Dan Horák <dan[at]danny.cz> - 2.3.5-3
|
|
- move the INSTALL override to "make install"
|
|
- comment the patches
|
|
|
|
* Tue Mar 31 2009 Dan Horák <dan[at]danny.cz> - 2.3.5-2
|
|
- don't use hardcoded /usr
|
|
- preserve timestamps when using "install"
|
|
|
|
* Sat Feb 21 2009 Dan Horák <dan[at]danny.cz> - 2.3.5-1
|
|
- initial Fedora version
|