mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "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
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("gbdev/rgbds"));
|
||||
Reference in New Issue
Block a user