diff --git a/anda/devs/rgbds/anda.hcl b/anda/devs/rgbds/anda.hcl new file mode 100644 index 0000000000..551cd3cda9 --- /dev/null +++ b/anda/devs/rgbds/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "terra-rgbds.spec" + } +} \ No newline at end of file diff --git a/anda/devs/rgbds/terra-rgbds.spec b/anda/devs/rgbds/terra-rgbds.spec new file mode 100644 index 0000000000..1358ce7b15 --- /dev/null +++ b/anda/devs/rgbds/terra-rgbds.spec @@ -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 (PNG‐to‐2bpp 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 diff --git a/anda/devs/rgbds/update.rhai b/anda/devs/rgbds/update.rhai new file mode 100644 index 0000000000..d9aa45cd6c --- /dev/null +++ b/anda/devs/rgbds/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("gbdev/rgbds")); \ No newline at end of file