3 %bcond_without tests # testing
5 Summary: Cross-assembler for the 6502 and 65816 CPUs (and derivatives)
6 Summary(pl.UTF-8): Asembler skrośny dla procesorów 6502 oraz 65816 (i pochodnych)
11 Group: Development/Languages
12 Source0: https://www.floodgap.com/retrotech/xa/dists/%{name}-%{version}.tar.gz
13 # Source0-md5: c708214bf5d79a6c9ac98424bf7840a5
14 URL: https://www.floodgap.com/retrotech/xa/
15 %{?with_tests:BuildRequires: perl-base}
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Cross-assembler for the 6502 and 65816 CPUs (and derivatives). xa is a
20 small, fast, portable two-pass assembler that compiles under most ANSI
23 %description -l pl.UTF-8
24 Asembler skrośny dla procesorów 6502 oraz 65816 (i pochodnych). Jest
25 to mały, szybki, przenośny, dwuprzebiegowy asembler, dający się
26 skompilować większością kompilatorów ANSI C.
35 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
36 LDFLAGS="%{rpmldflags}"
38 %{?with_tests:%{__make} -j1 test}
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT%{_prefix}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc ChangeLog README.1st TODO
52 %attr(755,root,root) %{_bindir}/file65
53 %attr(755,root,root) %{_bindir}/ldo65
54 %attr(755,root,root) %{_bindir}/printcbm
55 %attr(755,root,root) %{_bindir}/reloc65
56 %attr(755,root,root) %{_bindir}/uncpk
57 %attr(755,root,root) %{_bindir}/xa
58 %{_mandir}/man1/file65.1*
59 %{_mandir}/man1/ldo65.1*
60 %{_mandir}/man1/printcbm.1*
61 %{_mandir}/man1/reloc65.1*
62 %{_mandir}/man1/uncpk.1*