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/lib
57 %attr(755,root,root) %dir /usr/lib/cc65/tgi
58 %attr(755,root,root) %dir /usr/lib/cc65/include
59 %attr(644,root,root) /usr/lib/cc65/include/*.h
60 %attr(755,root,root) %dir /usr/lib/cc65/include/tgi
61 %attr(644,root,root) /usr/lib/cc65/include/tgi/*.h
62 %attr(755,root,root) %dir /usr/lib/cc65/asminc
63 %attr(644,root,root) /usr/lib/cc65/asminc/*.inc
67 ###############################################################################
69 ###############################################################################
72 Requires: %{name} = %{version}
74 Summary: VIC20 specific libraries and headers for the cc65 compiler.
75 Group: Development/Languages
78 This package contains the header files and libraries needed to write
79 programs for the Commodore VIC20 using the cc65 crosscompiler.
82 %attr(644,root,root) /usr/lib/cc65/lib/vic20.lib
83 %attr(644,root,root) /usr/lib/cc65/lib/vic20.o
84 %doc src/ld65/cfg/vic20.cfg
88 ###############################################################################
90 ###############################################################################
93 Requires: %{name} = %{version}
95 Summary: C16/116 specific libraries and headers for the cc65 compiler.
96 Group: Development/Languages
99 This package contains the header files and libraries needed to write
100 programs for the Commodore C16/116 using the cc65 crosscompiler.
103 %attr(644,root,root) /usr/lib/cc65/lib/c16.lib
104 %attr(644,root,root) /usr/lib/cc65/lib/c16.o
105 %doc src/ld65/cfg/c16.cfg
109 ###############################################################################
111 ###############################################################################
114 Requires: %{name} = %{version}
116 Summary: C64 specific libraries and headers for the cc65 compiler.
117 Group: Development/Languages
120 This package contains the header files and libraries needed to write
121 programs for the Commodore C64 using the cc65 crosscompiler.
124 %attr(644,root,root) /usr/lib/cc65/lib/c64.lib
125 %attr(644,root,root) /usr/lib/cc65/lib/c64.o
126 %attr(644,root,root) /usr/lib/cc65/emd/c64-*.emd
127 %attr(644,root,root) /usr/lib/cc65/tgi/c64-*.tgi
128 %doc src/ld65/cfg/c64.cfg
132 ###############################################################################
134 ###############################################################################
137 Requires: %{name} = %{version}
139 Summary: C128 specific libraries and headers for the cc65 compiler.
140 Group: Development/Languages
143 This package contains the header files and libraries needed to write
144 programs for the Commodore C128 using the cc65 crosscompiler.
147 %attr(644,root,root) /usr/lib/cc65/lib/c128.lib
148 %attr(644,root,root) /usr/lib/cc65/lib/c128.o
149 %attr(644,root,root) /usr/lib/cc65/tgi/c128-*.emd
150 %doc src/ld65/cfg/c128.cfg
154 ###############################################################################
156 ###############################################################################
159 Requires: %{name} = %{version}
161 Summary: Atari specific libraries and headers for the cc65 compiler.
162 Group: Development/Languages
165 This package contains the header files and libraries needed to write
166 programs for the 8 bit Atari machines using the cc65 crosscompiler.
169 %attr(644,root,root) /usr/lib/cc65/lib/atari.lib
170 %attr(644,root,root) /usr/lib/cc65/lib/atari.o
171 %doc src/ld65/cfg/atari.cfg
175 ###############################################################################
176 # Plus/4 subpackage #
177 ###############################################################################
180 Requires: %{name} = %{version}
182 Summary: Plus/4 specific libraries and headers for the cc65 compiler.
183 Group: Development/Languages
186 This package contains the header files and libraries needed to write
187 programs for the Commodore Plus/4 and C16/116 using the cc65
191 %attr(644,root,root) /usr/lib/cc65/lib/plus4.lib
192 %attr(644,root,root) /usr/lib/cc65/lib/plus4.o
193 %doc src/ld65/cfg/plus4.cfg
197 ###############################################################################
199 ###############################################################################
202 Requires: %{name} = %{version}
204 Summary: PET specific libraries and headers for the cc65 compiler.
205 Group: Development/Languages
208 This package contains the header files and libraries needed to write
209 programs for the Commodore PET family of computers using the cc65
213 %attr(644,root,root) /usr/lib/cc65/lib/pet.lib
214 %attr(644,root,root) /usr/lib/cc65/lib/pet.o
215 %doc src/ld65/cfg/pet.cfg
219 ###############################################################################
220 # CBM510 subpackage #
221 ###############################################################################
224 Requires: %{name} = %{version}
226 Summary: CBM 510 specific libraries and headers for the cc65 compiler.
227 Group: Development/Languages
230 This package contains the header files and libraries needed to write
231 programs for the Commodore CBM 510 (aka P500) using the cc65
235 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.lib
236 %attr(644,root,root) /usr/lib/cc65/lib/cbm510.o
237 %doc src/ld65/cfg/cbm510.cfg
241 ###############################################################################
242 # CBM610 subpackage #
243 ###############################################################################
246 Requires: %{name} = %{version}
248 Summary: CBM 610 specific libraries and headers for the cc65 compiler.
249 Group: Development/Languages
252 This package contains the header files and libraries needed to write
253 programs for the Commodore PET-II (CBM600/700) family of computers using
254 the cc65 crosscompiler.
257 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.lib
258 %attr(644,root,root) /usr/lib/cc65/lib/cbm610.o
259 %doc src/ld65/cfg/cbm610.cfg
263 ###############################################################################
264 # Apple ][ subpackage #
265 ###############################################################################
268 Requires: %{name} = %{version}
270 Summary: Apple ][ specific libraries and headers for the cc65 compiler.
271 Group: Development/Languages
274 This package contains the header files and libraries needed to write
275 programs for the Apple ][ using the cc65 crosscompiler.
278 %attr(644,root,root) /usr/lib/cc65/lib/apple2.lib
279 %attr(644,root,root) /usr/lib/cc65/lib/apple2.o
280 %doc src/ld65/cfg/apple2.cfg
284 ###############################################################################
286 ###############################################################################
289 Requires: %{name} = %{version}
291 Summary: GEOS specific libraries and headers for the cc65 compiler.
292 Group: Development/Languages
295 This package contains the header files and libraries needed to write
296 GEOS programs for the C64/C128 using the cc65 crosscompiler.
299 %attr(755,root,root) /usr/bin/grc
300 %attr(644,root,root) /usr/lib/cc65/lib/geos.lib
301 %attr(644,root,root) /usr/lib/cc65/lib/geos.o
302 %attr(755,root,root) %dir /usr/lib/cc65/include/geos
303 %attr(644,root,root) /usr/lib/cc65/include/geos/*.h
304 %doc src/ld65/cfg/geos.cfg
308 ###############################################################################
310 ###############################################################################
334 mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{asminc,emd,include/{geos,tgi},lib,tgi}}
337 install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin
338 install -s -m 755 src/ca65/ca65 $RPM_BUILD_ROOT/usr/bin
339 install -s -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT/usr/bin
340 install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT/usr/bin
341 install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT/usr/bin
342 install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT/usr/bin
343 install -s -m 755 src/grc/grc $RPM_BUILD_ROOT/usr/bin
344 install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT/usr/bin
345 install -s -m 755 src/od65/od65 $RPM_BUILD_ROOT/usr/bin
346 # Libraries and includes
347 install -m 644 libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT/usr/lib/cc65/lib
348 install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include
349 install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos
350 install -m 644 include/tgi/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/tgi
351 install -m 644 asminc/*.inc $RPM_BUILD_ROOT/usr/lib/cc65/asminc
354 install -m 644 libsrc/*.emd $RPM_BUILD_ROOT/usr/lib/cc65/emd
355 install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT/usr/lib/cc65/tgi
360 * Mon Dec 2 2002 Ullrich von Bassewitz <uz@cc65.org>
361 Changed location of TGI drivers, added EM drivers.
363 * Fri Nov 22 2002 Ullrich von Bassewitz <uz@cc65.org>
364 Added the C16 subpackage.
366 * Wed Nov 20 2002 Ullrich von Bassewitz <uz@cc65.org>
369 * Mon Apr 08 2002 Ullrich von Bassewitz <uz@cc65.org>
370 Update to version 2.8.0 of the compiler package.
372 * Wed Nov 07 2001 Ullrich von Bassewitz <uz@cc65.org>
373 Update to version 2.7.1 of the compiler package.
375 * Tue Oct 02 2001 Ullrich von Bassewitz <uz@cc65.org>
376 Update to version 2.7.0 of the compiler package.
378 * Thu Jul 23 2001 Ullrich von Bassewitz <uz@cc65.org>
379 Update to version 2.6.2 of the compiler package.
381 * Thu Mar 8 2001 Ullrich von Bassewitz <uz@cc65.org>
382 Update to version 2.6.1 of the compiler package.
384 * Sat Dec 6 2000 Ullrich von Bassewitz <uz@cc65.org>
385 Update for cc65 2.6.0 and RedHat 7.x
387 * Sun Jul 30 2000 Ullrich von Bassewitz <uz@musoftware.de>
388 The GEOS include files were not installed, remove headegen.sh
390 * Tue Jul 18 2000 Ullrich von Bassewitz <uz@musoftware.de>
391 Update to version 2.5.0 of the compiler package.
393 * Sat May 06 2000 Ullrich von Bassewitz <uz@musoftware.de>
394 Update to version 2.4.1 of the compiler package.
396 * Tue Jan 16 2000 Ullrich von Bassewitz <uz@musoftware.de>
397 Update to version 2.4.0 of the compiler package.
399 * Tue Jan 6 2000 Ullrich von Bassewitz <uz@musoftware.de>
400 Update to version 2.3.1 of the compiler package.
402 * Tue Jan 4 2000 Ullrich von Bassewitz <uz@musoftware.de>
403 Update to version 2.3.0 of the compiler package.
405 * Sat Sep 25 1999 Robert R. Wal <rrw@reptile.eu.org>
407 - changed to allow build as plain user
408 - `samples' are part of documentation, not part of library