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/co65
52 %attr(755,root,root) /usr/bin/da65
53 %attr(755,root,root) /usr/bin/ld65
54 %attr(755,root,root) /usr/bin/od65
55 %attr(755,root,root) %dir /usr/lib/cc65
56 %attr(755,root,root) %dir /usr/lib/cc65/emd
57 %attr(755,root,root) %dir /usr/lib/cc65/joy
58 %attr(755,root,root) %dir /usr/lib/cc65/lib
59 %attr(755,root,root) %dir /usr/lib/cc65/tgi
60 %attr(755,root,root) %dir /usr/lib/cc65/include
61 %attr(644,root,root) /usr/lib/cc65/include/*.h
62 %attr(755,root,root) %dir /usr/lib/cc65/include/tgi
63 %attr(644,root,root) /usr/lib/cc65/include/tgi/*.h
64 %attr(755,root,root) %dir /usr/lib/cc65/asminc
65 %attr(644,root,root) /usr/lib/cc65/asminc/*.inc
69 ###############################################################################
71 ###############################################################################
74 Requires: %{name} = %{version}
76 Summary: VIC20 specific libraries and headers for the cc65 compiler.
77 Group: Development/Languages
80 This package contains the header files and libraries needed to write
81 programs for the Commodore VIC20 using the cc65 crosscompiler.
84 %attr(644,root,root) /usr/lib/cc65/lib/vic20.lib
85 %attr(644,root,root) /usr/lib/cc65/lib/vic20.o
86 %attr(644,root,root) /usr/lib/cc65/joy/vic20-*.joy
87 %doc src/ld65/cfg/vic20.cfg
91 ###############################################################################
93 ###############################################################################
96 Requires: %{name} = %{version}
98 Summary: C16/116 specific libraries and headers for the cc65 compiler.
99 Group: Development/Languages
102 This package contains the header files and libraries needed to write
103 programs for the Commodore C16/116 using the cc65 crosscompiler.
106 %attr(644,root,root) /usr/lib/cc65/lib/c16.lib
107 %attr(644,root,root) /usr/lib/cc65/lib/c16.o
108 %attr(644,root,root) /usr/lib/cc65/joy/c16-*.joy
109 %doc src/ld65/cfg/c16.cfg
113 ###############################################################################
115 ###############################################################################
118 Requires: %{name} = %{version}
120 Summary: C64 specific libraries and headers for the cc65 compiler.
121 Group: Development/Languages
124 This package contains the header files and libraries needed to write
125 programs for the Commodore C64 using the cc65 crosscompiler.
128 %attr(644,root,root) /usr/lib/cc65/lib/c64.lib
129 %attr(644,root,root) /usr/lib/cc65/lib/c64.o
130 %attr(644,root,root) /usr/lib/cc65/emd/c64-*.emd
131 %attr(644,root,root) /usr/lib/cc65/joy/c64-*.joy
132 %attr(644,root,root) /usr/lib/cc65/tgi/c64-*.tgi
133 %doc src/ld65/cfg/c64.cfg
137 ###############################################################################
139 ###############################################################################
142 Requires: %{name} = %{version}
144 Summary: C128 specific libraries and headers for the cc65 compiler.
145 Group: Development/Languages
148 This package contains the header files and libraries needed to write
149 programs for the Commodore C128 using the cc65 crosscompiler.
152 %attr(644,root,root) /usr/lib/cc65/lib/c128.lib
153 %attr(644,root,root) /usr/lib/cc65/lib/c128.o
154 %attr(644,root,root) /usr/lib/cc65/emd/c128-*.emd
155 %attr(644,root,root) /usr/lib/cc65/joy/c128-*.joy
156 %attr(644,root,root) /usr/lib/cc65/tgi/c128-*.tgi
157 %doc src/ld65/cfg/c128.cfg
161 ###############################################################################
163 ###############################################################################
166 Requires: %{name} = %{version}
168 Summary: Atari specific libraries and headers for the cc65 compiler.
169 Group: Development/Languages
172 This package contains the header files and libraries needed to write
173 programs for the 8 bit Atari machines using the cc65 crosscompiler.
176 %attr(644,root,root) /usr/lib/cc65/lib/atari.lib
177 %attr(644,root,root) /usr/lib/cc65/lib/atari.o
178 %doc src/ld65/cfg/atari.cfg
182 ###############################################################################
183 # Plus/4 subpackage #
184 ###############################################################################
187 Requires: %{name} = %{version}
189 Summary: Plus/4 specific libraries and headers for the cc65 compiler.
190 Group: Development/Languages
193 This package contains the header files and libraries needed to write
194 programs for the Commodore Plus/4 and C16/116 using the cc65
198 %attr(644,root,root) /usr/lib/cc65/lib/plus4.lib
199 %attr(644,root,root) /usr/lib/cc65/lib/plus4.o
200 %attr(644,root,root) /usr/lib/cc65/joy/plus4-*.joy
201 %doc src/ld65/cfg/plus4.cfg
205 ###############################################################################
207 ###############################################################################
210 Requires: %{name} = %{version}
212 Summary: PET specific libraries and headers for the cc65 compiler.
213 Group: Development/Languages
216 This package contains the header files and libraries needed to write
217 programs for the Commodore PET family of computers using the cc65
221 %attr(644,root,root) /usr/lib/cc65/lib/pet.lib
222 %attr(644,root,root) /usr/lib/cc65/lib/pet.o
223 %doc src/ld65/cfg/pet.cfg
227 ###############################################################################
228 # CBM510 subpackage #
229 ###############################################################################
232 Requires: %{name} = %{version}
234 Summary: CBM 510 specific libraries and headers for the cc65 compiler.
235 Group: Development/Languages
238 This package contains the header files and libraries needed to write
239 programs for the Commodore CBM 510 (aka P500) using the cc65
243 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.lib
244 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.o
245 %doc src/ld65/cfg/cbm510.cfg
249 ###############################################################################
250 # CBM610 subpackage #
251 ###############################################################################
254 Requires: %{name} = %{version}
256 Summary: CBM 610 specific libraries and headers for the cc65 compiler.
257 Group: Development/Languages
260 This package contains the header files and libraries needed to write
261 programs for the Commodore PET-II (CBM600/700) family of computers using
262 the cc65 crosscompiler.
265 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.lib
266 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.o
267 %doc src/ld65/cfg/cbm610.cfg
271 ###############################################################################
272 # Apple ][ subpackage #
273 ###############################################################################
276 Requires: %{name} = %{version}
278 Summary: Apple ][ specific libraries and headers for the cc65 compiler.
279 Group: Development/Languages
282 This package contains the header files and libraries needed to write
283 programs for the Apple ][ using the cc65 crosscompiler.
286 %attr(644,root,root) /usr/lib/cc65/lib/apple2.lib
287 %attr(644,root,root) /usr/lib/cc65/lib/apple2.o
288 %doc src/ld65/cfg/apple2.cfg
292 ###############################################################################
294 ###############################################################################
297 Requires: %{name} = %{version}
299 Summary: GEOS specific libraries and headers for the cc65 compiler.
300 Group: Development/Languages
303 This package contains the header files and libraries needed to write
304 GEOS programs for the C64/C128 using the cc65 crosscompiler.
307 %attr(755,root,root) /usr/bin/grc
308 %attr(644,root,root) /usr/lib/cc65/lib/geos.lib
309 %attr(644,root,root) /usr/lib/cc65/lib/geos.o
310 %attr(755,root,root) %dir /usr/lib/cc65/include/geos
311 %attr(644,root,root) /usr/lib/cc65/include/geos/*.h
312 %doc src/ld65/cfg/geos.cfg
316 ###############################################################################
318 ###############################################################################
342 mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{asminc,emd,include/{geos,tgi},joy,lib,tgi}}
345 install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin
346 install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT/usr/bin
347 install -s -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT/usr/bin
348 install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT/usr/bin
349 install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT/usr/bin
350 install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT/usr/bin
351 install -s -m 755 src/grc/grc $RPM_BUILD_ROOT/usr/bin
352 install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT/usr/bin
353 install -s -m 755 src/od65/od65 $RPM_BUILD_ROOT/usr/bin
354 # Libraries and includes
355 install -m 644 libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT/usr/lib/cc65/lib
356 install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include
357 install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos
358 install -m 644 include/tgi/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/tgi
359 install -m 644 asminc/*.inc $RPM_BUILD_ROOT/usr/lib/cc65/asminc
362 install -m 644 libsrc/*.emd $RPM_BUILD_ROOT/usr/lib/cc65/emd
363 install -m 644 libsrc/*.joy $RPM_BUILD_ROOT/usr/lib/cc65/joy
364 install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT/usr/lib/cc65/tgi
369 * Mon Feb 10 2003 Ullrich von Bassewitz <uz@cc65.org>
370 Added the object file conversion utility co65.
372 * Fri Dec 13 2002 Ullrich von Bassewitz <uz@cc65.org>
373 Updated the version number.
375 * Mon Dec 2 2002 Ullrich von Bassewitz <uz@cc65.org>
376 Changed location of TGI drivers, added EM drivers.
378 * Fri Nov 22 2002 Ullrich von Bassewitz <uz@cc65.org>
379 Added the C16 subpackage.
381 * Wed Nov 20 2002 Ullrich von Bassewitz <uz@cc65.org>
384 * Mon Apr 08 2002 Ullrich von Bassewitz <uz@cc65.org>
385 Update to version 2.8.0 of the compiler package.
387 * Wed Nov 07 2001 Ullrich von Bassewitz <uz@cc65.org>
388 Update to version 2.7.1 of the compiler package.
390 * Tue Oct 02 2001 Ullrich von Bassewitz <uz@cc65.org>
391 Update to version 2.7.0 of the compiler package.
393 * Thu Jul 23 2001 Ullrich von Bassewitz <uz@cc65.org>
394 Update to version 2.6.2 of the compiler package.
396 * Thu Mar 8 2001 Ullrich von Bassewitz <uz@cc65.org>
397 Update to version 2.6.1 of the compiler package.
399 * Sat Dec 6 2000 Ullrich von Bassewitz <uz@cc65.org>
400 Update for cc65 2.6.0 and RedHat 7.x
402 * Sun Jul 30 2000 Ullrich von Bassewitz <uz@musoftware.de>
403 The GEOS include files were not installed, remove headegen.sh
405 * Tue Jul 18 2000 Ullrich von Bassewitz <uz@musoftware.de>
406 Update to version 2.5.0 of the compiler package.
408 * Sat May 06 2000 Ullrich von Bassewitz <uz@musoftware.de>
409 Update to version 2.4.1 of the compiler package.
411 * Tue Jan 16 2000 Ullrich von Bassewitz <uz@musoftware.de>
412 Update to version 2.4.0 of the compiler package.
414 * Tue Jan 6 2000 Ullrich von Bassewitz <uz@musoftware.de>
415 Update to version 2.3.1 of the compiler package.
417 * Tue Jan 4 2000 Ullrich von Bassewitz <uz@musoftware.de>
418 Update to version 2.3.0 of the compiler package.
420 * Sat Sep 25 1999 Robert R. Wal <rrw@reptile.eu.org>
422 - changed to allow build as plain user
423 - `samples' are part of documentation, not part of library