[packages/xa] - new
baggins
baggins at pld-linux.org
Sun Oct 20 20:55:30 CEST 2019
commit 38c6924fbdc469e15fc00ff6612cddfe7f3c5478
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Oct 20 20:53:59 2019 +0200
- new
xa.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
---
diff --git a/xa.spec b/xa.spec
new file mode 100644
index 0000000..b00b905
--- /dev/null
+++ b/xa.spec
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+%bcond_without tests # build without tests
+#
+Summary: Cross-assembler for the 6502 and 65816 CPUs (and derivatives)
+Name: xa
+Version: 2.3.9
+Release: 1
+License: GPL v2
+Group: Development/Languages
+Source0: https://www.floodgap.com/retrotech/xa/dists/%{name}-%{version}.tar.gz
+# Source0-md5: f533c3d36fcedcbca3b61a90ded6f37f
+URL: https://www.floodgap.com/retrotech/xa/
+%{?with_tests:BuildRequires: perl}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Cross-assembler for the 6502 and 65816 CPUs (and derivatives). xa is a
+small, fast, portable two-pass assembler that compiles under most ANSI
+C compilers.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+ CFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
+
+%{?with_tests:%{__make} -j1 test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT%{_prefix}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README.1st TODO
+%attr(755,root,root) %{_bindir}/file65
+%attr(755,root,root) %{_bindir}/ldo65
+%attr(755,root,root) %{_bindir}/printcbm
+%attr(755,root,root) %{_bindir}/reloc65
+%attr(755,root,root) %{_bindir}/uncpk
+%attr(755,root,root) %{_bindir}/xa
+%{_mandir}/man1/file65.1*
+%{_mandir}/man1/ldo65.1*
+%{_mandir}/man1/printcbm.1*
+%{_mandir}/man1/reloc65.1*
+%{_mandir}/man1/uncpk.1*
+%{_mandir}/man1/xa.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xa.git/commitdiff/38c6924fbdc469e15fc00ff6612cddfe7f3c5478
More information about the pld-cvs-commit
mailing list