add: rgbds (#895)

* add: rgbds

* anda.hcl

* update.rhai
This commit is contained in:
madomado
2024-01-21 09:49:53 +08:00
committed by GitHub
parent ff3ec8bf39
commit 8091ce3211
3 changed files with 64 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "terra-rgbds.spec"
}
}
+58
View File
@@ -0,0 +1,58 @@
Name: terra-rgbds
Version: 0.7.0
Release: 1%{?dist}
Summary: A development package for the Game Boy, including an assembler
# See LICENSE for details
License: DWPL and ISC and MIT and BSD
URL: https://github.com/gbdev/rgbds
Source0: %{url}/archive/v%{version}/rgbds-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc
BuildRequires: g++
BuildRequires: byacc
BuildRequires: bison
BuildRequires: flex
BuildRequires: git-core
BuildRequires: pkgconfig(libpng)
%description
RGBDS (Rednex Game Boy Development System) is a free assembler/linker package
for the Game Boy and Game Boy Color.
It consists of:
* rgbasm (assembler)
* rgblink (linker)
* rgbfix (checksum/header fixer)
* rgbgfx (PNGto2bpp graphics converter)
%prep
%autosetup -S git -n rgbds-%version
%build
%make_build Q="" CFLAGS="%{optflags}" VERSION_STRING=""
%install
%make_install PREFIX=%{_prefix} bindir=%{_bindir} mandir=%{_mandir} STRIP="-p" MANMODE="644 -p" Q=""
%files
%{_bindir}/rgbasm
%{_bindir}/rgblink
%{_bindir}/rgbfix
%{_bindir}/rgbgfx
%{_mandir}/man1/rgbasm.1.*
%{_mandir}/man1/rgblink.1.*
%{_mandir}/man1/rgbfix.1.*
%{_mandir}/man1/rgbgfx.1.*
%{_mandir}/man5/rgbds.5.*
%{_mandir}/man5/rgbasm.5.*
%{_mandir}/man5/rgblink.5.*
%{_mandir}/man7/rgbds.7.*
%{_mandir}/man7/gbz80.7.*
%license LICENSE
%doc README.rst
%changelog
%autochangelog
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("gbdev/rgbds"));