2 # SPEC file for the cc65 C compiler and RedHat 7.x
4 # 03/08/2001, Ullrich von Bassewitz (uz@cc65.org)
7 ###############################################################################
9 ###############################################################################
11 Summary: Crosscompiler/Crossassembler for 6502 systems
17 Copyright: Freeware with exceptions - see docs
18 Group: Development/Languages
19 Source: ftp://ftp.musoftware.de/uz/cc65/%{name}-sources-%{version}.tar.bz2
20 Vendor: MU Softwareentwicklung
21 Packager: Ullrich von Bassewitz <uz@musoftware.de>
24 BuildRequires: sgml-tools
26 BuildRoot: /var/tmp/%{name}-%{version}
29 A C crosscompiler for 6502 systems, including a macroassembler that
30 supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
31 other tools. To create programs for one of the supported target
32 machines, you have to install at least one of the library packages.
35 %defattr(644,root,root,755)
46 %attr(755,root,root) /usr/bin/ar65
47 %attr(755,root,root) /usr/bin/ca65
48 %attr(755,root,root) /usr/bin/ca65html
49 %attr(755,root,root) /usr/bin/cc65
50 %attr(755,root,root) /usr/bin/cl65
51 %attr(755,root,root) /usr/bin/da65
52 %attr(755,root,root) /usr/bin/ld65
53 %attr(755,root,root) /usr/bin/od65
54 %attr(755,root,root) %dir /usr/lib/cc65
55 %attr(755,root,root) %dir /usr/lib/cc65/emd
56 %attr(755,root,root) %dir /usr/lib/cc65/joy
57 %attr(755,root,root) %dir /usr/lib/cc65/lib
58 %attr(755,root,root) %dir /usr/lib/cc65/tgi
59 %attr(755,root,root) %dir /usr/lib/cc65/include
60 %attr(644,root,root) /usr/lib/cc65/include/*.h
61 %attr(755,root,root) %dir /usr/lib/cc65/include/tgi
62 %attr(644,root,root) /usr/lib/cc65/include/tgi/*.h
63 %attr(755,root,root) %dir /usr/lib/cc65/asminc
64 %attr(644,root,root) /usr/lib/cc65/asminc/*.inc
68 ###############################################################################
70 ###############################################################################
73 Requires: %{name} = %{version}
75 Summary: VIC20 specific libraries and headers for the cc65 compiler.
76 Group: Development/Languages
79 This package contains the header files and libraries needed to write
80 programs for the Commodore VIC20 using the cc65 crosscompiler.
83 %attr(644,root,root) /usr/lib/cc65/lib/vic20.lib
84 %attr(644,root,root) /usr/lib/cc65/lib/vic20.o
85 %attr(644,root,root) /usr/lib/cc65/joy/vic20-*.joy
86 %doc src/ld65/cfg/vic20.cfg
90 ###############################################################################
92 ###############################################################################
95 Requires: %{name} = %{version}
97 Summary: C16/116 specific libraries and headers for the cc65 compiler.
98 Group: Development/Languages
101 This package contains the header files and libraries needed to write
102 programs for the Commodore C16/116 using the cc65 crosscompiler.
105 %attr(644,root,root) /usr/lib/cc65/lib/c16.lib
106 %attr(644,root,root) /usr/lib/cc65/lib/c16.o
107 %attr(644,root,root) /usr/lib/cc65/joy/c16-*.joy
108 %doc src/ld65/cfg/c16.cfg
112 ###############################################################################
114 ###############################################################################
117 Requires: %{name} = %{version}
119 Summary: C64 specific libraries and headers for the cc65 compiler.
120 Group: Development/Languages
123 This package contains the header files and libraries needed to write
124 programs for the Commodore C64 using the cc65 crosscompiler.
127 %attr(644,root,root) /usr/lib/cc65/lib/c64.lib
128 %attr(644,root,root) /usr/lib/cc65/lib/c64.o
129 %attr(644,root,root) /usr/lib/cc65/emd/c64-*.emd
130 %attr(644,root,root) /usr/lib/cc65/joy/c64-*.joy
131 %attr(644,root,root) /usr/lib/cc65/tgi/c64-*.tgi
132 %doc src/ld65/cfg/c64.cfg
136 ###############################################################################
138 ###############################################################################
141 Requires: %{name} = %{version}
143 Summary: C128 specific libraries and headers for the cc65 compiler.
144 Group: Development/Languages
147 This package contains the header files and libraries needed to write
148 programs for the Commodore C128 using the cc65 crosscompiler.
151 %attr(644,root,root) /usr/lib/cc65/lib/c128.lib
152 %attr(644,root,root) /usr/lib/cc65/lib/c128.o
153 %attr(644,root,root) /usr/lib/cc65/emd/c128-*.emd
154 %attr(644,root,root) /usr/lib/cc65/joy/c128-*.joy
155 %doc src/ld65/cfg/c128.cfg
159 ###############################################################################
161 ###############################################################################
164 Requires: %{name} = %{version}
166 Summary: Atari specific libraries and headers for the cc65 compiler.
167 Group: Development/Languages
170 This package contains the header files and libraries needed to write
171 programs for the 8 bit Atari machines using the cc65 crosscompiler.
174 %attr(644,root,root) /usr/lib/cc65/lib/atari.lib
175 %attr(644,root,root) /usr/lib/cc65/lib/atari.o
176 %doc src/ld65/cfg/atari.cfg
180 ###############################################################################
181 # Plus/4 subpackage #
182 ###############################################################################
185 Requires: %{name} = %{version}
187 Summary: Plus/4 specific libraries and headers for the cc65 compiler.
188 Group: Development/Languages
191 This package contains the header files and libraries needed to write
192 programs for the Commodore Plus/4 and C16/116 using the cc65
196 %attr(644,root,root) /usr/lib/cc65/lib/plus4.lib
197 %attr(644,root,root) /usr/lib/cc65/lib/plus4.o
198 %attr(644,root,root) /usr/lib/cc65/joy/plus4-*.joy
199 %doc src/ld65/cfg/plus4.cfg
203 ###############################################################################
205 ###############################################################################
208 Requires: %{name} = %{version}
210 Summary: PET specific libraries and headers for the cc65 compiler.
211 Group: Development/Languages
214 This package contains the header files and libraries needed to write
215 programs for the Commodore PET family of computers using the cc65
219 %attr(644,root,root) /usr/lib/cc65/lib/pet.lib
220 %attr(644,root,root) /usr/lib/cc65/lib/pet.o
221 %doc src/ld65/cfg/pet.cfg
225 ###############################################################################
226 # CBM510 subpackage #
227 ###############################################################################
230 Requires: %{name} = %{version}
232 Summary: CBM 510 specific libraries and headers for the cc65 compiler.
233 Group: Development/Languages
236 This package contains the header files and libraries needed to write
237 programs for the Commodore CBM 510 (aka P500) using the cc65
241 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.lib
242 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.o
243 %doc src/ld65/cfg/cbm510.cfg
247 ###############################################################################
248 # CBM610 subpackage #
249 ###############################################################################
252 Requires: %{name} = %{version}
254 Summary: CBM 610 specific libraries and headers for the cc65 compiler.
255 Group: Development/Languages
258 This package contains the header files and libraries needed to write
259 programs for the Commodore PET-II (CBM600/700) family of computers using
260 the cc65 crosscompiler.
263 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.lib
264 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.o
265 %doc src/ld65/cfg/cbm610.cfg
269 ###############################################################################
270 # Apple ][ subpackage #
271 ###############################################################################
274 Requires: %{name} = %{version}
276 Summary: Apple ][ specific libraries and headers for the cc65 compiler.
277 Group: Development/Languages
280 This package contains the header files and libraries needed to write
281 programs for the Apple ][ using the cc65 crosscompiler.
284 %attr(644,root,root) /usr/lib/cc65/lib/apple2.lib
285 %attr(644,root,root) /usr/lib/cc65/lib/apple2.o
286 %doc src/ld65/cfg/apple2.cfg
290 ###############################################################################
292 ###############################################################################
295 Requires: %{name} = %{version}
297 Summary: GEOS specific libraries and headers for the cc65 compiler.
298 Group: Development/Languages
301 This package contains the header files and libraries needed to write
302 GEOS programs for the C64/C128 using the cc65 crosscompiler.
305 %attr(755,root,root) /usr/bin/grc
306 %attr(644,root,root) /usr/lib/cc65/lib/geos.lib
307 %attr(644,root,root) /usr/lib/cc65/lib/geos.o
308 %attr(755,root,root) %dir /usr/lib/cc65/include/geos
309 %attr(644,root,root) /usr/lib/cc65/include/geos/*.h
310 %doc src/ld65/cfg/geos.cfg
314 ###############################################################################
316 ###############################################################################
340 mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{asminc,emd,include/{geos,tgi},joy,lib,tgi}}
343 install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin
344 install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT/usr/bin
345 install -s -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT/usr/bin
346 install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT/usr/bin
347 install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT/usr/bin
348 install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT/usr/bin
349 install -s -m 755 src/grc/grc $RPM_BUILD_ROOT/usr/bin
350 install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT/usr/bin
351 install -s -m 755 src/od65/od65 $RPM_BUILD_ROOT/usr/bin
352 # Libraries and includes
353 install -m 644 libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT/usr/lib/cc65/lib
354 install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include
355 install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos
356 install -m 644 include/tgi/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/tgi
357 install -m 644 asminc/*.inc $RPM_BUILD_ROOT/usr/lib/cc65/asminc
360 install -m 644 libsrc/*.emd $RPM_BUILD_ROOT/usr/lib/cc65/emd
361 install -m 644 libsrc/*.joy $RPM_BUILD_ROOT/usr/lib/cc65/joy
362 install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT/usr/lib/cc65/tgi
367 * Fri Dec 13 2002 Ullrich von Bassewitz <uz@cc65.org>
368 Updated the version number.
370 * Mon Dec 2 2002 Ullrich von Bassewitz <uz@cc65.org>
371 Changed location of TGI drivers, added EM drivers.
373 * Fri Nov 22 2002 Ullrich von Bassewitz <uz@cc65.org>
374 Added the C16 subpackage.
376 * Wed Nov 20 2002 Ullrich von Bassewitz <uz@cc65.org>
379 * Mon Apr 08 2002 Ullrich von Bassewitz <uz@cc65.org>
380 Update to version 2.8.0 of the compiler package.
382 * Wed Nov 07 2001 Ullrich von Bassewitz <uz@cc65.org>
383 Update to version 2.7.1 of the compiler package.
385 * Tue Oct 02 2001 Ullrich von Bassewitz <uz@cc65.org>
386 Update to version 2.7.0 of the compiler package.
388 * Thu Jul 23 2001 Ullrich von Bassewitz <uz@cc65.org>
389 Update to version 2.6.2 of the compiler package.
391 * Thu Mar 8 2001 Ullrich von Bassewitz <uz@cc65.org>
392 Update to version 2.6.1 of the compiler package.
394 * Sat Dec 6 2000 Ullrich von Bassewitz <uz@cc65.org>
395 Update for cc65 2.6.0 and RedHat 7.x
397 * Sun Jul 30 2000 Ullrich von Bassewitz <uz@musoftware.de>
398 The GEOS include files were not installed, remove headegen.sh
400 * Tue Jul 18 2000 Ullrich von Bassewitz <uz@musoftware.de>
401 Update to version 2.5.0 of the compiler package.
403 * Sat May 06 2000 Ullrich von Bassewitz <uz@musoftware.de>
404 Update to version 2.4.1 of the compiler package.
406 * Tue Jan 16 2000 Ullrich von Bassewitz <uz@musoftware.de>
407 Update to version 2.4.0 of the compiler package.
409 * Tue Jan 6 2000 Ullrich von Bassewitz <uz@musoftware.de>
410 Update to version 2.3.1 of the compiler package.
412 * Tue Jan 4 2000 Ullrich von Bassewitz <uz@musoftware.de>
413 Update to version 2.3.0 of the compiler package.
415 * Sat Sep 25 1999 Robert R. Wal <rrw@reptile.eu.org>
417 - changed to allow build as plain user
418 - `samples' are part of documentation, not part of library