#
# Conditional build:
-%bcond_without tests # build without tests
+%bcond_without tests # testing
#
Summary: Cross-assembler for the 6502 and 65816 CPUs (and derivatives)
+Summary(pl.UTF-8): Asembler skrośny dla procesorów 6502 oraz 65816 (i pochodnych)
Name: xa
-Version: 2.3.9
+Version: 2.3.14
Release: 1
-License: GPL v2
+License: GPL v2+
Group: Development/Languages
Source0: https://www.floodgap.com/retrotech/xa/dists/%{name}-%{version}.tar.gz
-# Source0-md5: f533c3d36fcedcbca3b61a90ded6f37f
+# Source0-md5: c708214bf5d79a6c9ac98424bf7840a5
URL: https://www.floodgap.com/retrotech/xa/
-%{?with_tests:BuildRequires: perl}
+%{?with_tests:BuildRequires: perl-base}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
small, fast, portable two-pass assembler that compiles under most ANSI
C compilers.
+%description -l pl.UTF-8
+Asembler skrośny dla procesorów 6502 oraz 65816 (i pochodnych). Jest
+to mały, szybki, przenośny, dwuprzebiegowy asembler, dający się
+skompilować większością kompilatorów ANSI C.
+
%prep
%setup -q
%build
%{__make} \
- CFLAGS="%{rpmcflags}" \
+ CC="%{__cc}" \
+ LD="%{__cc}" \
+ CFLAGS="%{rpmcflags} %{rpmcppflags}" \
LDFLAGS="%{rpmldflags}"
%{?with_tests:%{__make} -j1 test}