]> git.pld-linux.org Git - packages/xa.git/blame - xa.spec
- pl, updated to 2.3.14
[packages/xa.git] / xa.spec
CommitLineData
38c6924f
JR
1#
2# Conditional build:
1e76beaa 3%bcond_without tests # testing
38c6924f
JR
4#
5Summary: Cross-assembler for the 6502 and 65816 CPUs (and derivatives)
1e76beaa 6Summary(pl.UTF-8): Asembler skrośny dla procesorów 6502 oraz 65816 (i pochodnych)
38c6924f 7Name: xa
1e76beaa 8Version: 2.3.14
38c6924f 9Release: 1
1e76beaa 10License: GPL v2+
38c6924f
JR
11Group: Development/Languages
12Source0: https://www.floodgap.com/retrotech/xa/dists/%{name}-%{version}.tar.gz
1e76beaa 13# Source0-md5: c708214bf5d79a6c9ac98424bf7840a5
38c6924f 14URL: https://www.floodgap.com/retrotech/xa/
1e76beaa 15%{?with_tests:BuildRequires: perl-base}
38c6924f
JR
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Cross-assembler for the 6502 and 65816 CPUs (and derivatives). xa is a
20small, fast, portable two-pass assembler that compiles under most ANSI
21C compilers.
22
1e76beaa
JB
23%description -l pl.UTF-8
24Asembler skrośny dla procesorów 6502 oraz 65816 (i pochodnych). Jest
25to mały, szybki, przenośny, dwuprzebiegowy asembler, dający się
26skompilować większością kompilatorów ANSI C.
27
38c6924f
JR
28%prep
29%setup -q
30
31%build
32%{__make} \
1e76beaa
JB
33 CC="%{__cc}" \
34 LD="%{__cc}" \
35 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
38c6924f
JR
36 LDFLAGS="%{rpmldflags}"
37
38%{?with_tests:%{__make} -j1 test}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT%{_prefix}
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
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*
63%{_mandir}/man1/xa.1*
This page took 0.088282 seconds and 4 git commands to generate.