2002-08-07 19:52:24 +00:00
|
|
|
#
|
2010-04-16 19:37:59 +00:00
|
|
|
# RPM SPEC file for the cc65 C compiler
|
2002-08-07 19:52:24 +00:00
|
|
|
#
|
2010-04-16 19:37:59 +00:00
|
|
|
# 04/15/2010, Robert Hurst <robert@hurst-ri.us>
|
2002-08-07 19:52:24 +00:00
|
|
|
# 03/08/2001, Ullrich von Bassewitz (uz@cc65.org)
|
|
|
|
#
|
|
|
|
|
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +00:00
|
|
|
# Main package #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
Summary: Crosscompiler/Crossassembler for 6502 systems
|
2002-11-20 20:40:20 +00:00
|
|
|
%define name cc65
|
|
|
|
Name: %{name}
|
2010-04-16 19:37:59 +00:00
|
|
|
%define version 2.13.2
|
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
|
2010-04-16 19:37:59 +00:00
|
|
|
Source: ftp://ftp.musoftware.de/pub/uz/cc65/%{name}-sources-%{version}.tar.bz2
|
2002-08-07 19:52:24 +00:00
|
|
|
Vendor: MU Softwareentwicklung
|
2010-04-16 19:37:59 +00:00
|
|
|
#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
|
2010-04-16 19:37:59 +00:00
|
|
|
BuildRoot: %{_topdir}/%{name}-%{version}
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
%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
|
2009-09-22 10:27:30 +00:00
|
|
|
machines, you have to install at least one of the target platform
|
|
|
|
packages in addition to the main package.
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%doc announce.txt
|
|
|
|
%doc doc/BUGS
|
|
|
|
%doc doc/CREDITS
|
|
|
|
%doc doc/readme.1st
|
2010-04-16 19:37:59 +00:00
|
|
|
%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
|
|
|
|
%attr(755,root,root) /usr/bin/co65
|
|
|
|
%attr(755,root,root) /usr/bin/da65
|
|
|
|
%attr(755,root,root) /usr/bin/ld65
|
|
|
|
%attr(755,root,root) /usr/bin/od65
|
2012-03-10 23:14:36 +00:00
|
|
|
%attr(755,root,root) /usr/bin/sp65
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/cfg
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/emd
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/joy
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/lib
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/obj
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/ser
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/tgi
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/include
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/include/*.h
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/include/em
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/include/em/*.h
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/include/joystick
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/include/joystick/*.h
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/include/mouse
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/include/mouse/*.h
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/include/sys
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/include/sys/*.h
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/include/tgi
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/include/tgi/*.h
|
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/asminc
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/asminc/*.inc
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
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
|
2010-04-16 19:37:59 +00:00
|
|
|
%defattr(644,root,root,755)
|
2003-10-19 09:56:51 +00:00
|
|
|
%doc doc/*.html
|
|
|
|
%doc doc/compile.txt
|
|
|
|
%doc doc/internal.txt
|
|
|
|
%doc doc/newvers.txt
|
|
|
|
%doc samples
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/apple2.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/obj/apple2-*.o
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/emd/a2.*.emd
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/a2.*.joy
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/mou/a2.*.mou
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/ser/a2.*.ser
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/a2.*.tgi
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/cfg/apple2-*.cfg
|
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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/apple2enh.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/obj/apple2enh-*.o
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/emd/a2e.*.emd
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/a2e.*.joy
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/mou/a2e.*.mou
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/ser/a2e.*.ser
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/a2e.*.tgi
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/cfg/apple2enh-*.cfg
|
2004-03-13 23:27:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-11-22 02:18:52 +00:00
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/atari.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/atari*.joy
|
2010-10-10 13:43:41 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/atari*.tgi
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/atr*.tgi
|
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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/atmos.lib
|
2010-10-10 13:43:41 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/atmos-*.joy
|
2012-03-09 10:50:12 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/atmos-*.ser
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/atmos-*.tgi
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/c128.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/emd/c128-*.emd
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/c128-*.joy
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/mou/c128-*.mou
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/ser/c128-*.ser
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/c128-*.tgi
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/c16.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/emd/c16-*.emd
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/c16-*.joy
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/c64.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/emd/dtv-*.emd
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/emd/c64-*.emd
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/c64-*.joy
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/mou/c64-*.mou
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/ser/c64-*.ser
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/c64-*.tgi
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +00:00
|
|
|
# CBM510 subpackage #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/cbm510.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/emd/cbm510-*.emd
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/cbm510-*.joy
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/ser/cbm510-*.ser
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +00:00
|
|
|
# CBM610 subpackage #
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/cbm610.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/emd/cbm610-*.emd
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/ser/cbm610-*.ser
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +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
|
2010-11-18 18:47:01 +00:00
|
|
|
%attr(755,root,root) /usr/bin/grc65
|
2012-01-05 16:36:27 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/geos-cbm.lib
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(755,root,root) %dir %{_libdir}/cc65/include/geos
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/include/geos/*.h
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/emd/geos-*.emd
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/geos-*.joy
|
|
|
|
%attr(644,root,root) %{_libdir}/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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/lynx.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/lynx-*.joy
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/ser/lynx-*.ser
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/lynx-*.tgi
|
2011-01-26 22:14:42 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/cfg/lynx-*.cfg
|
2011-06-21 20:34:18 +00:00
|
|
|
|
2004-10-08 18:23:44 +00:00
|
|
|
|
|
|
|
|
2003-04-14 14:49:06 +00:00
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/nes.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/nes-*.joy
|
2011-06-21 20:34:18 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/tgi/nes-*.tgi
|
2003-04-14 14:49:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-08-07 19:52:24 +00:00
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/pet.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/pet-*.joy
|
2003-05-02 15:08:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +00:00
|
|
|
# Plus/4 subpackage #
|
2003-05-02 15:08:35 +00:00
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/plus4.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/plus4-*.joy
|
|
|
|
%attr(644,root,root) %{_libdir}/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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/supervision.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/cfg/supervision-*.cfg
|
2003-10-10 17:29:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2003-05-02 15:08:35 +00:00
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +00:00
|
|
|
# VIC20 subpackage #
|
2003-05-02 15:08:35 +00:00
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
%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
|
2010-04-16 19:37:59 +00:00
|
|
|
%attr(644,root,root) %{_libdir}/cc65/lib/vic20.lib
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/joy/vic20-*.joy
|
|
|
|
%attr(644,root,root) %{_libdir}/cc65/cfg/vic20-*.cfg
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
2010-04-16 19:37:59 +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
|
2010-04-16 19:37:59 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,cfg,emd,include/{em,geos,joystick,mouse,sys,tgi},joy,lib,mou,obj,ser,tgi}}
|
2002-08-07 19:52:24 +00:00
|
|
|
|
|
|
|
# Binaries
|
2010-04-16 19:37:59 +00:00
|
|
|
install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -s -m 755 src/co65/co65 $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT%{_bindir}
|
2010-11-18 18:47:01 +00:00
|
|
|
install -s -m 755 src/grc65/grc65 $RPM_BUILD_ROOT%{_bindir}
|
2010-04-16 19:37:59 +00:00
|
|
|
install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
install -s -m 755 src/od65/od65 $RPM_BUILD_ROOT%{_bindir}
|
2012-03-10 23:14:36 +00:00
|
|
|
install -s -m 755 src/od65/sp65 $RPM_BUILD_ROOT%{_bindir}
|
2009-09-18 18:14:34 +00:00
|
|
|
|
2002-08-07 19:52:24 +00:00
|
|
|
# Libraries and includes
|
2010-04-16 19:37:59 +00:00
|
|
|
install -m 644 libsrc/*.lib $RPM_BUILD_ROOT%{_libdir}/cc65/lib
|
|
|
|
install -m 644 include/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include
|
|
|
|
install -m 644 include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/geos
|
|
|
|
install -m 644 include/em/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/em
|
|
|
|
install -m 644 include/joystick/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/joystick
|
|
|
|
install -m 644 include/mouse/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/mouse
|
|
|
|
install -m 644 include/sys/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/sys
|
|
|
|
install -m 644 include/tgi/*.h $RPM_BUILD_ROOT%{_libdir}/cc65/include/tgi
|
|
|
|
install -m 644 asminc/*.inc $RPM_BUILD_ROOT%{_libdir}/cc65/asminc
|
2002-08-07 19:52:24 +00:00
|
|
|
|
2009-09-22 10:27:30 +00:00
|
|
|
# Extra object files
|
|
|
|
for extra in libsrc/*-*.o; do
|
2010-04-16 19:37:59 +00:00
|
|
|
install -m 644 ${extra} $RPM_BUILD_ROOT%{_libdir}/cc65/obj
|
2009-09-22 10:27:30 +00:00
|
|
|
done
|
|
|
|
|
2009-09-18 18:14:34 +00:00
|
|
|
# Additional linker configurations
|
|
|
|
for config in src/ld65/cfg/*-*.cfg; do
|
2010-04-16 19:37:59 +00:00
|
|
|
install -m 644 ${config} $RPM_BUILD_ROOT%{_libdir}/cc65/cfg
|
2009-09-18 18:14:34 +00:00
|
|
|
done
|
|
|
|
|
2002-12-20 23:42:21 +00:00
|
|
|
# Drivers
|
2010-04-16 19:37:59 +00:00
|
|
|
install -m 644 libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/cc65/emd
|
|
|
|
install -m 644 libsrc/*.joy $RPM_BUILD_ROOT%{_libdir}/cc65/joy
|
|
|
|
install -m 644 libsrc/*.mou $RPM_BUILD_ROOT%{_libdir}/cc65/mou
|
|
|
|
install -m 644 libsrc/*.ser $RPM_BUILD_ROOT%{_libdir}/cc65/ser
|
|
|
|
install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/cc65/tgi
|
2002-12-02 21:33:45 +00:00
|
|
|
|
|
|
|
|
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
|
2010-04-16 19:37:59 +00:00
|
|
|
* Thu Apr 15 2010 Robert Hurst <robert@hurst-ri.us>
|
|
|
|
- built for RPM Fusion non-free repository
|
2003-12-23 09:39:29 +00:00
|
|
|
* Thu Dec 23 2003 Ullrich von Bassewitz <uz@cc65.org>
|
|
|
|
- Changelog is now in CVS
|
2010-04-16 19:37:59 +00:00
|
|
|
|