forked from terrapkg/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add: rgbds * anda.hcl * update.rhai
- Loading branch information
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
project pkg { | ||
rpm { | ||
spec = "terra-rgbds.spec" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rpm.version(gh("gbdev/rgbds")); |