2002-08-07 19:52:24 +00:00
|
|
|
#
|
|
|
|
# SPEC file for the cc65 C compiler and RedHat 7.x
|
|
|
|
#
|
|
|
|
# 03/08/2001, Ullrich von Bassewitz (uz@cc65.org)
|
|
|
|
#
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Main package #
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
Summary: Crosscompiler/Crossassembler for 6502 systems
|
2002-11-20 20:40:20 +00:00
|
|
|
%define name cc65
|
|
|
|
Name: %{name}
|
2005-09-10 13:43:59 +00:00
|
|
|
%define version 2.11.0
|
2002-08-07 19:52:24 +00:00
|
|
|
Version: %{version}
|
|
|
|
Release: 1
|
2007-05-26 19:59:06 +00:00
|
|
|
License: Freeware with exceptions - see docs
|
2002-08-07 19:52:24 +00:00
|
|
|
Group: Development/Languages
|
2002-11-20 20:40:20 +00:00
|
|
|
Source: ftp://ftp.musoftware.de/uz/cc65/%{name}-sources-%{version}.tar.bz2
|
2002-08-07 19:52:24 +00:00
|
|
|
Vendor: MU Softwareentwicklung
|
|
|
|
Packager: Ullrich von Bassewitz <uz@musoftware.de>
|
2007-08-20 08:43:45 +00:00
|
|
|
URL: http://www.cc65.org/
|
2002-08-07 19:52:24 +00:00
|
|
|
%ifos linux
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: sgml-tools
|
|
|
|
%endif
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
A C crosscompiler for 6502 systems, including a macroassembler that
|
|
|
|
supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
|
|
|
|
other tools. To create programs for one of the supported target
|
|
|
|
machines, you have to install at least one of the library packages.
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%doc announce.txt
|
|
|
|
%doc doc/BUGS
|
|
|
|
%doc doc/CREDITS
|
|
|
|
%doc doc/readme.1st
|
|
|
|
%attr(755,root,root) /usr/bin/ar65
|
|
|
|
%attr(755,root,root) /usr/bin/ca65
|
|
|
|
%attr(755,root,root) /usr/bin/ca65html
|
|
|
|
%attr(755,root,root) /usr/bin/cc65
|
|
|
|
%attr(755,root,root) /usr/bin/cl65
|
2003-02-10 22:22:53 +00:00
|
|
|
%attr(755,root,root) /usr/bin/co65
|
2002-08-07 19:52:24 +00:00
|
|
|
%attr(755,root,root) /usr/bin/da65
|
|
|
|
%attr(755,root,root) /usr/bin/ld65
|
|
|
|
%attr(755,root,root) /usr/bin/od65
|
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65
|
2002-12-02 21:33:45 +00:00
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/emd
|
2002-12-20 23:42:21 +00:00
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/joy
|
2002-08-07 19:52:24 +00:00
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/lib
|
2002-11-20 20:40:20 +00:00
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/tgi
|
2002-08-07 19:52:24 +00:00
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/include
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/include/*.h
|
2003-11-02 10:15:21 +00:00
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/include/em
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/include/em/*.h
|
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/include/joystick
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/include/joystick/*.h
|
2003-12-29 07:40:56 +00:00
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/include/mouse
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/include/mouse/*.h
|
2003-11-02 10:15:21 +00:00
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/include/sys
|
2003-06-12 18:12:12 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/include/sys/*.h
|
2004-03-13 23:27:54 +00:00
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/include/tgi
|
2002-08-07 19:52:24 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/include/tgi/*.h
|
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/asminc
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/asminc/*.inc
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-10-19 09:56:51 +00:00
|
|
|
###############################################################################
|
|
|
|
# Documentation subpackage #
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-10-19 09:56:51 +00:00
|
|
|
Summary: Documentation for the cc65 C compiler
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains the documentation for the cc65 C compiler, mostly
|
|
|
|
in HTML format. Other formats can be generated from the sources.
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc doc/*.html
|
|
|
|
%doc doc/compile.txt
|
|
|
|
%doc doc/internal.txt
|
|
|
|
%doc doc/newvers.txt
|
|
|
|
%doc samples
|
|
|
|
%doc src/ld65/cfg/*.cfg
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
2003-05-02 15:08:35 +00:00
|
|
|
# Apple ][ subpackage #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%package apple2
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: Apple ][ specific libraries and headers for the cc65 compiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
Group: Development/Languages
|
2004-03-29 17:27:48 +00:00
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%description apple2
|
2002-08-07 19:52:24 +00:00
|
|
|
This package contains the header files and libraries needed to write
|
2003-05-02 15:08:35 +00:00
|
|
|
programs for the Apple ][ using the cc65 crosscompiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%files apple2
|
2003-10-19 09:56:51 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/apple2.lib
|
2003-12-22 21:37:36 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/emd/a2.*.emd
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/a2.*.joy
|
2006-04-06 20:23:53 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/mou/a2.*.mou
|
2005-09-08 21:06:48 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/ser/a2.*.ser
|
2003-12-22 21:37:36 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/tgi/a2.*.tgi
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2004-03-13 23:27:54 +00:00
|
|
|
###############################################################################
|
|
|
|
# Apple //e subpackage #
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%package apple2enh
|
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2004-03-13 23:27:54 +00:00
|
|
|
Summary: Apple //e specific libraries and headers for the cc65 compiler.
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description apple2enh
|
|
|
|
This package contains the header files and libraries needed to write
|
|
|
|
programs for the Apple //e using the cc65 crosscompiler.
|
|
|
|
|
|
|
|
%files apple2enh
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/apple2enh.lib
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/emd/a2e.*.emd
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/a2e.*.joy
|
2006-04-06 20:23:53 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/mou/a2e.*.mou
|
2005-09-08 21:06:48 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/ser/a2e.*.ser
|
2004-03-13 23:27:54 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/tgi/a2e.*.tgi
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-11-22 02:18:52 +00:00
|
|
|
###############################################################################
|
2003-12-21 11:02:52 +00:00
|
|
|
# Atari subpackage #
|
2002-11-22 02:18:52 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%package atari
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: Atari specific libraries and headers for the cc65 compiler.
|
2002-11-22 02:18:52 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%description atari
|
2002-11-22 02:18:52 +00:00
|
|
|
This package contains the header files and libraries needed to write
|
2003-05-02 15:08:35 +00:00
|
|
|
programs for the 8 bit Atari machines using the cc65 crosscompiler.
|
2002-11-22 02:18:52 +00:00
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%files atari
|
2004-05-12 08:53:24 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/atari.lib
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/atari*.joy
|
2002-11-22 02:18:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
2003-05-02 15:08:35 +00:00
|
|
|
# Oric Atmos subpackage #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%package atmos
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: Oric Atmos specific libraries and headers for the cc65 compiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%description atmos
|
2002-08-07 19:52:24 +00:00
|
|
|
This package contains the header files and libraries needed to write
|
2003-05-02 15:08:35 +00:00
|
|
|
programs for the Oric Atmos using the cc65 crosscompiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%files atmos
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/atmos.lib
|
2004-06-03 21:30:16 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/tgi/atmos-*.tgi
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2002-12-20 23:42:21 +00:00
|
|
|
# C128 subpackage #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%package c128
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2002-08-07 19:52:24 +00:00
|
|
|
Summary: C128 specific libraries and headers for the cc65 compiler.
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description c128
|
|
|
|
This package contains the header files and libraries needed to write
|
|
|
|
programs for the Commodore C128 using the cc65 crosscompiler.
|
|
|
|
|
|
|
|
%files c128
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/c128.lib
|
2002-12-02 21:48:23 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/emd/c128-*.emd
|
2002-12-20 23:42:21 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/c128-*.joy
|
2004-03-29 17:27:48 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/mou/c128-*.mou
|
2003-12-13 11:29:15 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/ser/c128-*.ser
|
2002-12-24 14:27:11 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/tgi/c128-*.tgi
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2003-05-02 15:08:35 +00:00
|
|
|
# C16 subpackage #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%package c16
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: C16/116 specific libraries and headers for the cc65 compiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%description c16
|
2002-08-07 19:52:24 +00:00
|
|
|
This package contains the header files and libraries needed to write
|
2003-05-02 15:08:35 +00:00
|
|
|
programs for the Commodore C16/116 using the cc65 crosscompiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%files c16
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/c16.lib
|
2003-12-15 21:10:24 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/emd/c16-*.emd
|
2003-05-02 15:08:35 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/c16-*.joy
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2003-05-02 15:08:35 +00:00
|
|
|
# C64 subpackage #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%package c64
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: C64 specific libraries and headers for the cc65 compiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%description c64
|
2002-08-07 19:52:24 +00:00
|
|
|
This package contains the header files and libraries needed to write
|
2003-05-02 15:08:35 +00:00
|
|
|
programs for the Commodore C64 using the cc65 crosscompiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%files c64
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/c64.lib
|
2005-12-03 23:15:13 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/emd/dtv-*.emd
|
2003-05-02 15:08:35 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/emd/c64-*.emd
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/c64-*.joy
|
2004-03-23 21:58:33 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/mou/c64-*.mou
|
2003-12-13 12:37:10 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/ser/c64-*.ser
|
2003-05-02 15:08:35 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/tgi/c64-*.tgi
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# CBM510 subpackage #
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%package cbm510
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2002-08-07 19:52:24 +00:00
|
|
|
Summary: CBM 510 specific libraries and headers for the cc65 compiler.
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description cbm510
|
|
|
|
This package contains the header files and libraries needed to write
|
|
|
|
programs for the Commodore CBM 510 (aka P500) using the cc65
|
|
|
|
crosscompiler.
|
|
|
|
|
|
|
|
%files cbm510
|
2003-12-26 22:51:29 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/cbm510.lib
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/emd/cbm510-*.emd
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/cbm510-*.joy
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/ser/cbm510-*.ser
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# CBM610 subpackage #
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%package cbm610
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2002-08-07 19:52:24 +00:00
|
|
|
Summary: CBM 610 specific libraries and headers for the cc65 compiler.
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description cbm610
|
|
|
|
This package contains the header files and libraries needed to write
|
|
|
|
programs for the Commodore PET-II (CBM600/700) family of computers using
|
|
|
|
the cc65 crosscompiler.
|
|
|
|
|
2004-05-12 08:53:24 +00:00
|
|
|
%files cbm610
|
2003-12-26 22:51:29 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/cbm610.lib
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/emd/cbm610-*.emd
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/ser/cbm610-*.ser
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2003-05-02 15:08:35 +00:00
|
|
|
# GEOS subpackage #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%package geos
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: GEOS specific libraries and headers for the cc65 compiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%description geos
|
2002-08-07 19:52:24 +00:00
|
|
|
This package contains the header files and libraries needed to write
|
2003-05-02 15:08:35 +00:00
|
|
|
GEOS programs for the C64/C128 using the cc65 crosscompiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%files geos
|
|
|
|
%attr(755,root,root) /usr/bin/grc
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/geos.lib
|
|
|
|
%attr(755,root,root) %dir /usr/lib/cc65/include/geos
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/include/geos/*.h
|
2003-11-02 10:15:21 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/emd/geos-*.emd
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/geos-*.joy
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/tgi/geos-*.tgi
|
2003-11-12 17:23:29 +00:00
|
|
|
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
2004-10-08 18:23:44 +00:00
|
|
|
###############################################################################
|
|
|
|
# Lynx subpackage #
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%package lynx
|
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2004-10-08 18:23:44 +00:00
|
|
|
Summary: Lynx specific libraries and headers for the cc65 compiler.
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description lynx
|
|
|
|
This package contains the header files and libraries needed to write
|
|
|
|
programs for the Lynx Game Console using the cc65 crosscompiler.
|
|
|
|
|
|
|
|
%files lynx
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/lynx.lib
|
2004-10-14 17:36:14 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/lynx-*.joy
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/tgi/lynx-*.tgi
|
2004-10-08 18:23:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2003-04-14 14:49:06 +00:00
|
|
|
###############################################################################
|
2003-05-02 15:08:35 +00:00
|
|
|
# NES subpackage #
|
2003-04-14 14:49:06 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%package nes
|
2003-04-14 14:49:06 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: NES specific libraries and headers for the cc65 compiler.
|
2003-04-14 14:49:06 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%description nes
|
2003-04-14 14:49:06 +00:00
|
|
|
This package contains the header files and libraries needed to write
|
2003-05-02 15:08:35 +00:00
|
|
|
programs for the Nintendo Entertainment System using the cc65
|
|
|
|
crosscompiler.
|
2003-04-14 14:49:06 +00:00
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%files nes
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/nes.lib
|
2004-10-26 21:04:38 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/nes-*.joy
|
2003-04-14 14:49:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
2003-05-02 15:08:35 +00:00
|
|
|
# PET subpackage #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%package pet
|
2002-11-27 14:22:55 +00:00
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: PET specific libraries and headers for the cc65 compiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
Group: Development/Languages
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%description pet
|
2002-08-07 19:52:24 +00:00
|
|
|
This package contains the header files and libraries needed to write
|
2003-05-02 15:08:35 +00:00
|
|
|
programs for the Commodore PET family of computers using the cc65
|
|
|
|
crosscompiler.
|
2002-08-07 19:52:24 +00:00
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
%files pet
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/pet.lib
|
2005-08-28 21:08:02 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/pet-*.joy
|
2003-05-02 15:08:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Plus/4 subpackage #
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%package plus4
|
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: Plus/4 specific libraries and headers for the cc65 compiler.
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description plus4
|
|
|
|
This package contains the header files and libraries needed to write
|
|
|
|
programs for the Commodore Plus/4 and C16/116 using the cc65
|
|
|
|
crosscompiler.
|
|
|
|
|
|
|
|
%files plus4
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/plus4.lib
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/plus4-*.joy
|
2003-12-14 17:42:41 +00:00
|
|
|
%attr(644,root,root) /usr/lib/cc65/ser/plus4-*.ser
|
2003-05-02 15:08:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2003-10-10 17:29:18 +00:00
|
|
|
###############################################################################
|
|
|
|
# Supervision subpackage #
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%package supervision
|
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-10-10 17:29:18 +00:00
|
|
|
Summary: Supervision specific libraries and headers for the cc65 compiler.
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description supervision
|
|
|
|
This package contains the header files and libraries needed to write
|
|
|
|
programs for the Supervision Game console using the cc65 crosscompiler.
|
|
|
|
|
|
|
|
%files supervision
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/supervision.lib
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
###############################################################################
|
|
|
|
# VIC20 subpackage #
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%package vic20
|
|
|
|
Requires: %{name} = %{version}
|
2007-08-20 08:40:23 +00:00
|
|
|
License: Freeware
|
2003-05-02 15:08:35 +00:00
|
|
|
Summary: VIC20 specific libraries and headers for the cc65 compiler.
|
|
|
|
Group: Development/Languages
|
|
|
|
|
|
|
|
%description vic20
|
|
|
|
This package contains the header files and libraries needed to write
|
|
|
|
programs for the Commodore VIC20 using the cc65 crosscompiler.
|
|
|
|
|
|
|
|
%files vic20
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/lib/vic20.lib
|
|
|
|
%attr(644,root,root) /usr/lib/cc65/joy/vic20-*.joy
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2002-12-20 23:42:21 +00:00
|
|
|
# Build #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2003-10-02 09:07:50 +00:00
|
|
|
%setup -q
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Binaries
|
2003-10-19 09:56:51 +00:00
|
|
|
make -C src -f make/gcc.mak
|
2002-08-07 19:52:24 +00:00
|
|
|
# Libraries
|
2003-10-19 09:56:51 +00:00
|
|
|
make -C libsrc -s zap all
|
2002-08-07 19:52:24 +00:00
|
|
|
# Documentation
|
2003-10-19 09:56:51 +00:00
|
|
|
make -C doc html
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2003-12-28 21:48:22 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{asminc,emd,include/{em,geos,joystick,mouse,sys,tgi},joy,lib,mou,ser,tgi}}
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
# Binaries
|
|
|
|
install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin
|
|
|
|
install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT/usr/bin
|
2007-08-20 09:24:04 +00:00
|
|
|
install -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT/usr/bin
|
2002-08-07 19:52:24 +00:00
|
|
|
install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT/usr/bin
|
|
|
|
install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT/usr/bin
|
2003-02-10 23:20:11 +00:00
|
|
|
install -s -m 755 src/co65/co65 $RPM_BUILD_ROOT/usr/bin
|
2002-08-07 19:52:24 +00:00
|
|
|
install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT/usr/bin
|
|
|
|
install -s -m 755 src/grc/grc $RPM_BUILD_ROOT/usr/bin
|
|
|
|
install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT/usr/bin
|
|
|
|
install -s -m 755 src/od65/od65 $RPM_BUILD_ROOT/usr/bin
|
|
|
|
# Libraries and includes
|
2009-07-31 12:56:36 +00:00
|
|
|
install -m 644 libsrc/*.lib $RPM_BUILD_ROOT/usr/lib/cc65/lib
|
2002-08-07 19:52:24 +00:00
|
|
|
install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include
|
|
|
|
install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos
|
2003-06-12 18:12:12 +00:00
|
|
|
install -m 644 include/em/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/em
|
|
|
|
install -m 644 include/joystick/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/joystick
|
2003-12-28 21:48:22 +00:00
|
|
|
install -m 644 include/mouse/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/mouse
|
2003-06-12 18:12:12 +00:00
|
|
|
install -m 644 include/sys/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/sys
|
2002-08-07 19:52:24 +00:00
|
|
|
install -m 644 include/tgi/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/tgi
|
|
|
|
install -m 644 asminc/*.inc $RPM_BUILD_ROOT/usr/lib/cc65/asminc
|
|
|
|
|
2002-12-20 23:42:21 +00:00
|
|
|
# Drivers
|
2002-12-02 21:33:45 +00:00
|
|
|
install -m 644 libsrc/*.emd $RPM_BUILD_ROOT/usr/lib/cc65/emd
|
2002-12-20 23:42:21 +00:00
|
|
|
install -m 644 libsrc/*.joy $RPM_BUILD_ROOT/usr/lib/cc65/joy
|
2004-03-23 21:58:33 +00:00
|
|
|
install -m 644 libsrc/*.mou $RPM_BUILD_ROOT/usr/lib/cc65/mou
|
2003-12-13 12:09:21 +00:00
|
|
|
install -m 644 libsrc/*.ser $RPM_BUILD_ROOT/usr/lib/cc65/ser
|
2002-12-02 21:33:45 +00:00
|
|
|
install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT/usr/lib/cc65/tgi
|
|
|
|
|
|
|
|
|
2003-10-02 09:07:50 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
2002-08-07 19:52:24 +00:00
|
|
|
|
2003-04-14 14:49:06 +00:00
|
|
|
%changelog
|
2003-12-23 09:39:29 +00:00
|
|
|
* Thu Dec 23 2003 Ullrich von Bassewitz <uz@cc65.org>
|
|
|
|
- Changelog is now in CVS
|