2 # SPEC file for the cc65 C compiler and RedHat 7.x
4 # 07/10/99, Ullrich von Bassewitz (uz@cc65.org)
7 ###############################################################################
9 ###############################################################################
11 Summary: Crosscompiler/Crossassembler for 6502 systems
16 Copyright: Freeware with exceptions - see docs
17 Group: Development/Languages
18 Source: ftp://ftp.musoftware.de/uz/cc65/cc65-sources-%{version}.tar.gz
19 Vendor: MU Softwareentwicklung
20 Packager: Ullrich von Bassewitz <uz@musoftware.de>
22 BuildRequires: sgml-tools
24 BuildRoot: /var/tmp/%{name}-%{version}
27 A C crosscompiler for 6502 systems, including a macroassembler that
28 supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
29 other tools. To create programs for one of the supported target
30 machines, you have to install at least one of the library packages.
33 %defattr(644,root,root,755)
44 %attr(755,root,root) /usr/bin/ar65
45 %attr(755,root,root) /usr/bin/ca65
46 %attr(755,root,root) /usr/bin/ca65html
47 %attr(755,root,root) /usr/bin/cc65
48 %attr(755,root,root) /usr/bin/cl65
49 %attr(755,root,root) /usr/bin/da65
50 %attr(755,root,root) /usr/bin/ld65
51 %attr(755,root,root) %dir /usr/lib/cc65
52 %attr(755,root,root) %dir /usr/lib/cc65/lib
53 %attr(755,root,root) %dir /usr/lib/cc65/include
54 %attr(644,root,root) /usr/lib/cc65/include/*.h
58 ###############################################################################
60 ###############################################################################
63 Requires: cc65 = 2.6.0
65 Summary: C64 specific libraries and headers for the cc65 compiler.
66 Group: Development/Languages
69 This package contains the header files and libraries needed to write
70 programs for the Commodore C64 using the cc65 crosscompiler.
73 %attr(644,root,root) /usr/lib/cc65/lib/c64.lib
74 %attr(644,root,root) /usr/lib/cc65/lib/c64.o
75 %doc src/ld65/cfg/c64.cfg
79 ###############################################################################
81 ###############################################################################
84 Requires: cc65 = 2.6.0
86 Summary: C128 specific libraries and headers for the cc65 compiler.
87 Group: Development/Languages
90 This package contains the header files and libraries needed to write
91 programs for the Commodore C128 using the cc65 crosscompiler.
94 %attr(644,root,root) /usr/lib/cc65/lib/c128.lib
95 %attr(644,root,root) /usr/lib/cc65/lib/c128.o
96 %doc src/ld65/cfg/c128.cfg
100 ###############################################################################
102 ###############################################################################
105 Requires: cc65 = 2.6.0
107 Summary: Atari specific libraries and headers for the cc65 compiler.
108 Group: Development/Languages
111 This package contains the header files and libraries needed to write
112 programs for the 8 bit Atari machines using the cc65 crosscompiler.
115 %attr(644,root,root) /usr/lib/cc65/lib/atari.lib
116 %attr(644,root,root) /usr/lib/cc65/lib/atari.o
117 %doc src/ld65/cfg/atari.cfg
121 ###############################################################################
122 # Plus/4 subpackage #
123 ###############################################################################
126 Requires: cc65 = 2.6.0
128 Summary: Plus/4 specific libraries and headers for the cc65 compiler.
129 Group: Development/Languages
132 This package contains the header files and libraries needed to write
133 programs for the Commodore Plus/4 and C16/116 using the cc65
137 %attr(644,root,root) /usr/lib/cc65/lib/plus4.lib
138 %attr(644,root,root) /usr/lib/cc65/lib/plus4.o
139 %doc src/ld65/cfg/plus4.cfg
143 ###############################################################################
145 ###############################################################################
148 Requires: cc65 = 2.6.0
150 Summary: PET specific libraries and headers for the cc65 compiler.
151 Group: Development/Languages
154 This package contains the header files and libraries needed to write
155 programs for the Commodore PET family of computers using the cc65
159 %attr(644,root,root) /usr/lib/cc65/lib/pet.lib
160 %attr(644,root,root) /usr/lib/cc65/lib/pet.o
161 %doc src/ld65/cfg/pet.cfg
165 ###############################################################################
166 # CBM610 subpackage #
167 ###############################################################################
170 Requires: cc65 = 2.6.0
172 Summary: CBM 610 specific libraries and headers for the cc65 compiler.
173 Group: Development/Languages
176 This package contains the header files and libraries needed to write
177 programs for the Commodore PET-II (CBM600/700) family of computers using
178 the cc65 crosscompiler.
181 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.lib
182 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.o
183 %doc src/ld65/cfg/cbm610.cfg
187 ###############################################################################
188 # Apple ][ subpackage #
189 ###############################################################################
192 Requires: cc65 = 2.6.0
194 Summary: Apple ][ specific libraries and headers for the cc65 compiler.
195 Group: Development/Languages
198 This package contains the header files and libraries needed to write
199 programs for the Apple ][ using the cc65 crosscompiler.
202 %attr(644,root,root) /usr/lib/cc65/lib/apple2.lib
203 %attr(644,root,root) /usr/lib/cc65/lib/apple2.o
204 %doc src/ld65/cfg/apple2.cfg
208 ###############################################################################
210 ###############################################################################
213 Requires: cc65 = 2.6.0
215 Summary: GEOS specific libraries and headers for the cc65 compiler.
216 Group: Development/Languages
219 This package contains the header files and libraries needed to write
220 GEOS programs for the C64/C128 using the cc65 crosscompiler.
223 %attr(755,root,root) /usr/bin/grc
224 %attr(644,root,root) /usr/lib/cc65/lib/geos.lib
225 %attr(644,root,root) /usr/lib/cc65/lib/geos.o
226 %attr(755,root,root) %dir /usr/lib/cc65/include/geos
227 %attr(644,root,root) /usr/lib/cc65/include/geos/*.h
228 %doc src/ld65/cfg/geos.cfg
232 ###############################################################################
234 ###############################################################################
258 mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{lib,include/geos}}
261 install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin
262 install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT/usr/bin
263 install -s -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT/usr/bin
264 install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT/usr/bin
265 install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT/usr/bin
266 install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT/usr/bin
267 install -s -m 755 src/grc/grc $RPM_BUILD_ROOT/usr/bin
268 install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT/usr/bin
269 # Libraries and includes
270 install -m 644 libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT/usr/lib/cc65/lib
271 install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include
272 install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos
276 * Sat Dec 6 2000 Ullrich von Bassewitz <uz@cc65.org>
277 Update for cc65 2.6.0 and RedHat 7.x
279 * Sun Jul 30 2000 Ullrich von Bassewitz <uz@musoftware.de>
280 The GEOS include files were not installed, remove headegen.sh
282 * Tue Jul 18 2000 Ullrich von Bassewitz <uz@musoftware.de>
283 Update to version 2.5.0 of the compiler package.
285 * Sat May 06 2000 Ullrich von Bassewitz <uz@musoftware.de>
286 Update to version 2.4.1 of the compiler package.
288 * Tue Jan 16 2000 Ullrich von Bassewitz <uz@musoftware.de>
289 Update to version 2.4.0 of the compiler package.
291 * Tue Jan 6 2000 Ullrich von Bassewitz <uz@musoftware.de>
292 Update to version 2.3.1 of the compiler package.
294 * Tue Jan 4 2000 Ullrich von Bassewitz <uz@musoftware.de>
295 Update to version 2.3.0 of the compiler package.
297 * Sat Sep 25 1999 Robert R. Wal <rrw@reptile.eu.org>
299 - changed to allow build as plain user
300 - `samples' are part of documentation, not part of library