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/lib
56 %attr(755,root,root) %dir /usr/lib/cc65/tgi
57 %attr(755,root,root) %dir /usr/lib/cc65/include
58 %attr(644,root,root) /usr/lib/cc65/include/*.h
59 %attr(755,root,root) %dir /usr/lib/cc65/include/tgi
60 %attr(644,root,root) /usr/lib/cc65/include/tgi/*.h
61 %attr(755,root,root) %dir /usr/lib/cc65/asminc
62 %attr(644,root,root) /usr/lib/cc65/asminc/*.inc
66 ###############################################################################
68 ###############################################################################
71 Requires: cc65 = %{version}
73 Summary: VIC20 specific libraries and headers for the cc65 compiler.
74 Group: Development/Languages
77 This package contains the header files and libraries needed to write
78 programs for the Commodore VIC20 using the cc65 crosscompiler.
81 %attr(644,root,root) /usr/lib/cc65/lib/vic20.lib
82 %attr(644,root,root) /usr/lib/cc65/lib/vic20.o
83 %doc src/ld65/cfg/vic20.cfg
87 ###############################################################################
89 ###############################################################################
92 Requires: cc65 = %{version}
94 Summary: C64 specific libraries and headers for the cc65 compiler.
95 Group: Development/Languages
98 This package contains the header files and libraries needed to write
99 programs for the Commodore C64 using the cc65 crosscompiler.
102 %attr(644,root,root) /usr/lib/cc65/lib/c64.lib
103 %attr(644,root,root) /usr/lib/cc65/lib/c64.o
104 %attr(755,root,root) %dir /usr/lib/cc65/tgi/c64
105 %attr(644,root,root) /usr/lib/cc65/tgi/c64/c64-*.tgi
106 %doc src/ld65/cfg/c64.cfg
110 ###############################################################################
112 ###############################################################################
115 Requires: cc65 = %{version}
117 Summary: C128 specific libraries and headers for the cc65 compiler.
118 Group: Development/Languages
121 This package contains the header files and libraries needed to write
122 programs for the Commodore C128 using the cc65 crosscompiler.
125 %attr(644,root,root) /usr/lib/cc65/lib/c128.lib
126 %attr(644,root,root) /usr/lib/cc65/lib/c128.o
127 %doc src/ld65/cfg/c128.cfg
131 ###############################################################################
133 ###############################################################################
136 Requires: cc65 = %{version}
138 Summary: Atari specific libraries and headers for the cc65 compiler.
139 Group: Development/Languages
142 This package contains the header files and libraries needed to write
143 programs for the 8 bit Atari machines using the cc65 crosscompiler.
146 %attr(644,root,root) /usr/lib/cc65/lib/atari.lib
147 %attr(644,root,root) /usr/lib/cc65/lib/atari.o
148 %doc src/ld65/cfg/atari.cfg
152 ###############################################################################
153 # Plus/4 subpackage #
154 ###############################################################################
157 Requires: cc65 = %{version}
159 Summary: Plus/4 specific libraries and headers for the cc65 compiler.
160 Group: Development/Languages
163 This package contains the header files and libraries needed to write
164 programs for the Commodore Plus/4 and C16/116 using the cc65
168 %attr(644,root,root) /usr/lib/cc65/lib/plus4.lib
169 %attr(644,root,root) /usr/lib/cc65/lib/plus4.o
170 %doc src/ld65/cfg/plus4.cfg
174 ###############################################################################
176 ###############################################################################
179 Requires: cc65 = %{version}
181 Summary: PET specific libraries and headers for the cc65 compiler.
182 Group: Development/Languages
185 This package contains the header files and libraries needed to write
186 programs for the Commodore PET family of computers using the cc65
190 %attr(644,root,root) /usr/lib/cc65/lib/pet.lib
191 %attr(644,root,root) /usr/lib/cc65/lib/pet.o
192 %doc src/ld65/cfg/pet.cfg
196 ###############################################################################
197 # CBM510 subpackage #
198 ###############################################################################
201 Requires: cc65 = %{version}
203 Summary: CBM 510 specific libraries and headers for the cc65 compiler.
204 Group: Development/Languages
207 This package contains the header files and libraries needed to write
208 programs for the Commodore CBM 510 (aka P500) using the cc65
212 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.lib
213 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.o
214 %doc src/ld65/cfg/cbm510.cfg
218 ###############################################################################
219 # CBM610 subpackage #
220 ###############################################################################
223 Requires: cc65 = %{version}
225 Summary: CBM 610 specific libraries and headers for the cc65 compiler.
226 Group: Development/Languages
229 This package contains the header files and libraries needed to write
230 programs for the Commodore PET-II (CBM600/700) family of computers using
231 the cc65 crosscompiler.
234 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.lib
235 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.o
236 %doc src/ld65/cfg/cbm610.cfg
240 ###############################################################################
241 # Apple ][ subpackage #
242 ###############################################################################
245 Requires: cc65 = %{version}
247 Summary: Apple ][ specific libraries and headers for the cc65 compiler.
248 Group: Development/Languages
251 This package contains the header files and libraries needed to write
252 programs for the Apple ][ using the cc65 crosscompiler.
255 %attr(644,root,root) /usr/lib/cc65/lib/apple2.lib
256 %attr(644,root,root) /usr/lib/cc65/lib/apple2.o
257 %doc src/ld65/cfg/apple2.cfg
261 ###############################################################################
263 ###############################################################################
266 Requires: cc65 = %{version}
268 Summary: GEOS specific libraries and headers for the cc65 compiler.
269 Group: Development/Languages
272 This package contains the header files and libraries needed to write
273 GEOS programs for the C64/C128 using the cc65 crosscompiler.
276 %attr(755,root,root) /usr/bin/grc
277 %attr(644,root,root) /usr/lib/cc65/lib/geos.lib
278 %attr(644,root,root) /usr/lib/cc65/lib/geos.o
279 %attr(755,root,root) %dir /usr/lib/cc65/include/geos
280 %attr(644,root,root) /usr/lib/cc65/include/geos/*.h
281 %doc src/ld65/cfg/geos.cfg
285 ###############################################################################
287 ###############################################################################
312 $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{tgi/{c64},lib,include/{geos,tgi},asminc}}
315 install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin
316 install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT/usr/bin
317 install -s -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT/usr/bin
318 install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT/usr/bin
319 install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT/usr/bin
320 install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT/usr/bin
321 install -s -m 755 src/grc/grc $RPM_BUILD_ROOT/usr/bin
322 install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT/usr/bin
323 install -s -m 755 src/od65/od65 $RPM_BUILD_ROOT/usr/bin
324 # Libraries and includes
325 install -m 644 libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT/usr/lib/cc65/lib
326 install -m 644 libsrc/c64-*.tgi $RPM_BUILD_ROOT/usr/lib/cc65/tgi/c64
327 install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include
328 install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos
329 install -m 644 include/tgi/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/tgi
330 install -m 644 asminc/*.inc $RPM_BUILD_ROOT/usr/lib/cc65/asminc
334 * Wed Nov 20 2002 Ullrich von Bassewitz <uz@cc65.org>
337 * Mon Apr 08 2002 Ullrich von Bassewitz <uz@cc65.org>
338 Update to version 2.8.0 of the compiler package.
340 * Wed Nov 07 2001 Ullrich von Bassewitz <uz@cc65.org>
341 Update to version 2.7.1 of the compiler package.
343 * Tue Oct 02 2001 Ullrich von Bassewitz <uz@cc65.org>
344 Update to version 2.7.0 of the compiler package.
346 * Thu Jul 23 2001 Ullrich von Bassewitz <uz@cc65.org>
347 Update to version 2.6.2 of the compiler package.
349 * Thu Mar 8 2001 Ullrich von Bassewitz <uz@cc65.org>
350 Update to version 2.6.1 of the compiler package.
352 * Sat Dec 6 2000 Ullrich von Bassewitz <uz@cc65.org>
353 Update for cc65 2.6.0 and RedHat 7.x
355 * Sun Jul 30 2000 Ullrich von Bassewitz <uz@musoftware.de>
356 The GEOS include files were not installed, remove headegen.sh
358 * Tue Jul 18 2000 Ullrich von Bassewitz <uz@musoftware.de>
359 Update to version 2.5.0 of the compiler package.
361 * Sat May 06 2000 Ullrich von Bassewitz <uz@musoftware.de>
362 Update to version 2.4.1 of the compiler package.
364 * Tue Jan 16 2000 Ullrich von Bassewitz <uz@musoftware.de>
365 Update to version 2.4.0 of the compiler package.
367 * Tue Jan 6 2000 Ullrich von Bassewitz <uz@musoftware.de>
368 Update to version 2.3.1 of the compiler package.
370 * Tue Jan 4 2000 Ullrich von Bassewitz <uz@musoftware.de>
371 Update to version 2.3.0 of the compiler package.
373 * Sat Sep 25 1999 Robert R. Wal <rrw@reptile.eu.org>
375 - changed to allow build as plain user
376 - `samples' are part of documentation, not part of library