]> git.pld-linux.org Git - packages/xa.git/blob - xa.spec
- pl, updated to 2.3.14
[packages/xa.git] / xa.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # testing
4 #
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)
7 Name:           xa
8 Version:        2.3.14
9 Release:        1
10 License:        GPL v2+
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)
17
18 %description
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
21 C compilers.
22
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.
27
28 %prep
29 %setup -q
30
31 %build
32 %{__make} \
33         CC="%{__cc}" \
34         LD="%{__cc}" \
35         CFLAGS="%{rpmcflags} %{rpmcppflags}" \
36         LDFLAGS="%{rpmldflags}"
37
38 %{?with_tests:%{__make} -j1 test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT%{_prefix}
45
46 %clean
47 rm -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.208794 seconds and 3 git commands to generate.