Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37913189
en ru br
ALT Linux repos
S:r38-alt4

Group :: Development/Tools
RPM: x16-rom

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: x16-rom
Version: r38
Release: alt3
Summary: Commander X16 BASIC/KERNAL/DOS/GEOS ROM
Group: Development/Tools
License: BSD2
Url: https://github.com/commanderx16/x16-rom
Packager: Artyom Bystrov <arbars at altlinux.org>
BuildArch: noarch

Source: %name-%version.tar

BuildRequires: gcc
BuildRequires: make
BuildRequires: cc65-devel
BuildRequires: pandoc

%description
This is the Commander X16 ROM containing BASIC,
KERNAL, DOS and GEOS. BASIC and KERNAL are
derived from the Commodore 64 versions.
GEOS is derived from the C64/C128 version.

%prep
%setup

%build
pandoc \
   --from gfm \
   --to html -c github-pandoc.css \
   --standalone \
   --metadata pagetitle="X16 KERNAL/BASIC/DOS ROM" README.md \
   --output KERNAL-BASIC.html

%make_build

%install
mkdir -p %buildroot%_datadir/%name
mkdir -p %buildroot%_docdir/%name
install -p -m 0755 build/x16/rom.bin %buildroot%_datadir/%name/%name.bin
install -p -m 0755 build/x16/*.sym %buildroot%_datadir/%name
install -Dm644 KERNAL-BASIC.html %buildroot%_docdir/%name/KERNAL-BASIC.html
install -Dm644 github-pandoc.css %buildroot%_docdir/%name/github-pandoc.css

%files
%doc README.md
%_datadir/%name/%name.bin
%_datadir/%name/*.sym
%_docdir/%name/KERNAL-BASIC.html
%_docdir/%name/github-pandoc.css

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin