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
16 Copyright: Freeware with exceptions - see docs
17 Group: Development/Languages
18 Source: ftp://ftp.musoftware.de/uz/cc65/cc65-sources-%{version}.tar.bz2
19 Vendor: MU Softwareentwicklung
20 Packager: Ullrich von Bassewitz <uz@musoftware.de>
23 BuildRequires: sgml-tools
25 BuildRoot: /var/tmp/%{name}-%{version}
28 A C crosscompiler for 6502 systems, including a macroassembler that
29 supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
30 other tools. To create programs for one of the supported target
31 machines, you have to install at least one of the library packages.
34 %defattr(644,root,root,755)
45 %attr(755,root,root) /usr/bin/ar65
46 %attr(755,root,root) /usr/bin/ca65
47 %attr(755,root,root) /usr/bin/ca65html
48 %attr(755,root,root) /usr/bin/cc65
49 %attr(755,root,root) /usr/bin/cl65
50 %attr(755,root,root) /usr/bin/da65
51 %attr(755,root,root) /usr/bin/ld65
52 %attr(755,root,root) %dir /usr/lib/cc65
53 %attr(755,root,root) %dir /usr/lib/cc65/lib
54 %attr(755,root,root) %dir /usr/lib/cc65/include
55 %attr(644,root,root) /usr/lib/cc65/include/*.h
59 ###############################################################################
61 ###############################################################################
64 Requires: cc65 = %{version}
66 Summary: C64 specific libraries and headers for the cc65 compiler.
67 Group: Development/Languages
70 This package contains the header files and libraries needed to write
71 programs for the Commodore C64 using the cc65 crosscompiler.
74 %attr(644,root,root) /usr/lib/cc65/lib/c64.lib
75 %attr(644,root,root) /usr/lib/cc65/lib/c64.o
76 %doc src/ld65/cfg/c64.cfg
80 ###############################################################################
82 ###############################################################################
85 Requires: cc65 = %{version}
87 Summary: C128 specific libraries and headers for the cc65 compiler.
88 Group: Development/Languages
91 This package contains the header files and libraries needed to write
92 programs for the Commodore C128 using the cc65 crosscompiler.
95 %attr(644,root,root) /usr/lib/cc65/lib/c128.lib
96 %attr(644,root,root) /usr/lib/cc65/lib/c128.o
97 %doc src/ld65/cfg/c128.cfg
101 ###############################################################################
103 ###############################################################################
106 Requires: cc65 = %{version}
108 Summary: Atari specific libraries and headers for the cc65 compiler.
109 Group: Development/Languages
112 This package contains the header files and libraries needed to write
113 programs for the 8 bit Atari machines using the cc65 crosscompiler.
116 %attr(644,root,root) /usr/lib/cc65/lib/atari.lib
117 %attr(644,root,root) /usr/lib/cc65/lib/atari.o
118 %doc src/ld65/cfg/atari.cfg
122 ###############################################################################
123 # Plus/4 subpackage #
124 ###############################################################################
127 Requires: cc65 = %{version}
129 Summary: Plus/4 specific libraries and headers for the cc65 compiler.
130 Group: Development/Languages
133 This package contains the header files and libraries needed to write
134 programs for the Commodore Plus/4 and C16/116 using the cc65
138 %attr(644,root,root) /usr/lib/cc65/lib/plus4.lib
139 %attr(644,root,root) /usr/lib/cc65/lib/plus4.o
140 %doc src/ld65/cfg/plus4.cfg
144 ###############################################################################
146 ###############################################################################
149 Requires: cc65 = %{version}
151 Summary: PET specific libraries and headers for the cc65 compiler.
152 Group: Development/Languages
155 This package contains the header files and libraries needed to write
156 programs for the Commodore PET family of computers using the cc65
160 %attr(644,root,root) /usr/lib/cc65/lib/pet.lib
161 %attr(644,root,root) /usr/lib/cc65/lib/pet.o
162 %doc src/ld65/cfg/pet.cfg
166 ###############################################################################
167 # CBM510 subpackage #
168 ###############################################################################
171 Requires: cc65 = %{version}
173 Summary: CBM 510 specific libraries and headers for the cc65 compiler.
174 Group: Development/Languages
177 This package contains the header files and libraries needed to write
178 programs for the Commodore CBM 510 (aka P500) using the cc65
182 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.lib
183 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.o
184 %doc src/ld65/cfg/cbm510.cfg
188 ###############################################################################
189 # CBM610 subpackage #
190 ###############################################################################
193 Requires: cc65 = %{version}
195 Summary: CBM 610 specific libraries and headers for the cc65 compiler.
196 Group: Development/Languages
199 This package contains the header files and libraries needed to write
200 programs for the Commodore PET-II (CBM600/700) family of computers using
201 the cc65 crosscompiler.
204 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.lib
205 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.o
206 %doc src/ld65/cfg/cbm610.cfg
210 ###############################################################################
211 # Apple ][ subpackage #
212 ###############################################################################
215 Requires: cc65 = %{version}
217 Summary: Apple ][ specific libraries and headers for the cc65 compiler.
218 Group: Development/Languages
221 This package contains the header files and libraries needed to write
222 programs for the Apple ][ using the cc65 crosscompiler.
225 %attr(644,root,root) /usr/lib/cc65/lib/apple2.lib
226 %attr(644,root,root) /usr/lib/cc65/lib/apple2.o
227 %doc src/ld65/cfg/apple2.cfg
231 ###############################################################################
233 ###############################################################################
236 Requires: cc65 = %{version}
238 Summary: GEOS specific libraries and headers for the cc65 compiler.
239 Group: Development/Languages
242 This package contains the header files and libraries needed to write
243 GEOS programs for the C64/C128 using the cc65 crosscompiler.
246 %attr(755,root,root) /usr/bin/grc
247 %attr(644,root,root) /usr/lib/cc65/lib/geos.lib
248 %attr(644,root,root) /usr/lib/cc65/lib/geos.o
249 %attr(755,root,root) %dir /usr/lib/cc65/include/geos
250 %attr(644,root,root) /usr/lib/cc65/include/geos/*.h
251 %doc src/ld65/cfg/geos.cfg
255 ###############################################################################
257 ###############################################################################
281 mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{lib,include/geos}}
284 install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin
285 install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT/usr/bin
286 install -s -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT/usr/bin
287 install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT/usr/bin
288 install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT/usr/bin
289 install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT/usr/bin
290 install -s -m 755 src/grc/grc $RPM_BUILD_ROOT/usr/bin
291 install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT/usr/bin
292 # Libraries and includes
293 install -m 644 libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT/usr/lib/cc65/lib
294 install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include
295 install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos
299 * Mon Apr 08 2002 Ullrich von Bassewitz <uz@cc65.org>
300 Update to version 2.8.0 of the compiler package.
302 * Wed Nov 07 2001 Ullrich von Bassewitz <uz@cc65.org>
303 Update to version 2.7.1 of the compiler package.
305 * Tue Oct 02 2001 Ullrich von Bassewitz <uz@cc65.org>
306 Update to version 2.7.0 of the compiler package.
308 * Thu Jul 23 2001 Ullrich von Bassewitz <uz@cc65.org>
309 Update to version 2.6.2 of the compiler package.
311 * Thu Mar 8 2001 Ullrich von Bassewitz <uz@cc65.org>
312 Update to version 2.6.1 of the compiler package.
314 * Sat Dec 6 2000 Ullrich von Bassewitz <uz@cc65.org>
315 Update for cc65 2.6.0 and RedHat 7.x
317 * Sun Jul 30 2000 Ullrich von Bassewitz <uz@musoftware.de>
318 The GEOS include files were not installed, remove headegen.sh
320 * Tue Jul 18 2000 Ullrich von Bassewitz <uz@musoftware.de>
321 Update to version 2.5.0 of the compiler package.
323 * Sat May 06 2000 Ullrich von Bassewitz <uz@musoftware.de>
324 Update to version 2.4.1 of the compiler package.
326 * Tue Jan 16 2000 Ullrich von Bassewitz <uz@musoftware.de>
327 Update to version 2.4.0 of the compiler package.
329 * Tue Jan 6 2000 Ullrich von Bassewitz <uz@musoftware.de>
330 Update to version 2.3.1 of the compiler package.
332 * Tue Jan 4 2000 Ullrich von Bassewitz <uz@musoftware.de>
333 Update to version 2.3.0 of the compiler package.
335 * Sat Sep 25 1999 Robert R. Wal <rrw@reptile.eu.org>
337 - changed to allow build as plain user
338 - `samples' are part of documentation, not part of library