1 Summary: Crosscompiler/crossassembler for 6502 systems
2 Summary(pl): Kompilator/asembler skro¶ny dla systemów 6502
6 License: Freeware with exceptions - see docs
7 Group: Development/Languages
8 # ftp.musoftware.de is ugly, there is mirror at ftp://ftp.funet.fi/pub/cbm/programming/cc65/
9 #Source0: ftp://ftp.musoftware.de/pub/uz/cc65/%{name}-sources-%{version}.tar.bz2
10 Source0: http://cc65.civitas64.de/%{name}-sources-%{version}.tar.bz2
11 # Source0-md5: ea600666a514a792d2a18c4af2859380
12 Patch0: %{name}-types.patch
13 URL: http://www.cc65.org/
14 BuildRequires: perl-base
15 BuildRequires: sgml-tools
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 A C crosscompiler for 6502 systems, including a macroassembler that
20 supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
21 other tools. To create programs for one of the supported target
22 machines, you have to install at least one of the library packages.
25 Kompilator skro¶ny C dla systemów 6502, w³±czaj±c w to makroassembler
26 wspieraj±cy 6502, 65SC02 oraz 65816 jako CPI, linker i parê innych
27 narzêdzi. By tworzyæ programy bêdziesz musia³ zainstalowac jeden z
28 pakietów bibliotecznych.
31 Summary: VIC20 specific libraries and headers for the cc65 compiler
32 Summary(pl): Specyficzne dla VIC20 biblioteki i pliki nag³ówkowe
34 Group: Development/Languages
35 Requires: %{name} = %{version}
38 This package contains the header files and libraries needed to write
39 programs for the Commodore VIC20 using the cc65 crosscompiler.
41 %description vic20 -l pl
42 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
43 programów dla Commodore VIC20 korzystaj±c z kompilatora skro¶nego
47 Summary: C16/116 specific libraries and headers for the cc65 compiler
48 Summary(pl): Specyficzne dla C16/116 biblioteki i pliki nag³ówkowe
50 Group: Development/Languages
51 Requires: %{name} = %{version}
54 This package contains the header files and libraries needed to write
55 programs for the Commodore C16/116 using the cc65 crosscompiler.
57 %description c16 -l pl
58 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
59 programów dla Commodore C16/116 korzystaj±c z kompilatora skro¶nego
63 Summary: C64 specific libraries and headers for the cc65 compiler
64 Summary(pl): Specyficzne dla C64 biblioteki i pliki nag³ówkowe
66 Group: Development/Languages
67 Requires: %{name} = %{version}
70 This package contains the header files and libraries needed to write
71 programs for the Commodore C64 using the cc65 crosscompiler.
73 %description c64 -l pl
74 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
75 programów dla Commodore C64 korzystaj±c z kompilatora skro¶nego cc65.
78 Summary: C128 specific libraries and headers for the cc65 compiler
79 Summary(pl): Specyficzne dla C128 biblioteki i pliki nag³ówkowe
81 Group: Development/Languages
82 Requires: %{name} = %{version}
85 This package contains the header files and libraries needed to write
86 programs for the Commodore C128 using the cc65 crosscompiler.
88 %description c128 -l pl
89 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
90 programów dla Commodore C128 korzystaj±c z kompilatora skro¶nego cc65.
93 Summary: Atari specific libraries and headers for the cc65 compiler
94 Summary(pl): Specyficzne dla Atari biblioteki i pliki nag³ówkowe
96 Group: Development/Languages
97 Requires: %{name} = %{version}
100 This package contains the header files and libraries needed to write
101 programs for the 8 bit Atari using the cc65 crosscompiler.
103 %description atari -l pl
104 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
105 programów dla 8 bitowego Atari korzystaj±c z kompilatora skro¶nego
109 Summary: Plus/4 specific libraries and headers for the cc65 compiler
110 Summary(pl): Specyficzne dla Plus/4 biblioteki i pliki nag³ówkowe
112 Group: Development/Languages
113 Requires: %{name} = %{version}
116 This package contains the header files and libraries needed to write
117 programs for the Commodore Plus/4 and C16/116 using the cc65
120 %description plus4 -l pl
121 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
122 programów dla Commodore Plus/4 i C16/116 korzystaj±c z kompilatora
126 Summary: PET specific libraries and headers for the cc65 compiler
127 Summary(pl): Specyficzne dla PET biblioteki i pliki nag³ówkowe
129 Group: Development/Languages
130 Requires: %{name} = %{version}
133 This package contains the header files and libraries needed to write
134 programs for the Commodore PET using the cc65 crosscompiler.
136 %description pet -l pl
137 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
138 programów dla Commodore PET korzystaj±c z kompilatora skro¶nego cc65.
141 Summary: CBM 510 specific libraries and headers for the cc65 compiler
142 Summary(pl): Specyficzne dla CBM 510 biblioteki i pliki nag³ówkowe
144 Group: Development/Languages
145 Requires: %{name} = %{version}
148 This package contains the header files and libraries needed to write
149 programs for the Commodore CBM 510 (aka P500) using the cc65
152 %description cbm510 -l pl
153 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
154 programów dla Commodore CBM 510 (zwany te¿ P500) korzystaj±c z
155 kompilatora skro¶nego cc65.
158 Summary: CBM 610 specific libraries and headers for the cc65 compiler
159 Summary(pl): Specyficzne dla CBM 610 biblioteki i pliki nag³ówkowe
161 Group: Development/Languages
162 Requires: %{name} = %{version}
165 This package contains the header files and libraries needed to write
166 programs for the Commodore PET-II (CBM600/700) using the cc65
169 %description cbm610 -l pl
170 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
171 programów dla Commodore PET-II (CBM600/700) korzystaj±c z kompilatora
175 Summary: Apple ][ specific libraries and headers for the cc65 compiler
176 Summary(pl): Specyficzne dla Apple ][ biblioteki i pliki nag³ówkowe
178 Group: Development/Languages
179 Requires: %{name} = %{version}
182 This package contains the header files and libraries needed to write
183 programs for the Apple ][ using the cc65 crosscompiler.
185 %description apple2 -l pl
186 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
187 programów dla Apple ][ korzystaj±c z kompilatora skro¶nego cc65.
190 Summary: Oric Atmos specific libraries and headers for the cc65 compiler
191 Summary(pl): Specyficzne dla Oric Atmos biblioteki i pliki nag³ówkowe
193 Group: Development/Languages
194 Requires: %{name} = %{version}
197 This package contains the header files and libraries needed to write
198 programs for the Oric Atmos using the cc65 crosscompiler.
200 %description atmos -l pl
201 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
202 programów dla Oric Atmos korzystaj±c z kompilatora skro¶nego cc65.
205 Summary: GEOS specific libraries and headers for the cc65 compiler
206 Summary(pl): Specyficzne dla GEOS biblioteki i pliki nag³ówkowe
208 Group: Development/Languages
209 Requires: %{name} = %{version}
212 This package contains the header files and libraries needed to write
213 GEOS programs for the C64/C128 using the cc65 crosscompiler.
215 %description geos -l pl
216 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
217 programów GEOS dla C64/C128 korzystaj±c z kompilatora skro¶nego cc65.
220 Summary: NES (Nintendo Entertainment System) specific libraries for the cc65 compiler
221 Summary(pl): Specyficzne dla NES (Nintendo Entertainment System) biblioteki dla cc65
223 Group: Development/Languages
224 Requires: %{name} = %{version}
227 This package contains the libraries needed to write programs for the
228 NES (Nintendo Entertainment System) using the cc65 crosscompiler.
230 %description nes -l pl
231 Pakiet zawiera biblioteki potrzebne do pisania programów dla NES
232 (Nintendo Entertainment System) korzystaj±c z kompilatora skro¶nego
236 Summary: Supervision specific libraries for the cc65 compiler
237 Summary(pl): Specyficzne dla Supervision biblioteki dla kompilatora cc65
239 Group: Development/Languages
240 Requires: %{name} = %{version}
242 %description supervision
243 This package contains the libraries needed to write programs for the
244 Supervision console using the cc65 crosscompiler.
246 %description supervision -l pl
247 Pakiet zawiera biblioteki potrzebne do pisania programów dla konsoli
248 Supervision korzystaj±c z kompilatora skro¶nego cc65.
254 echo 'CDEFS=-D$(SPAWN)' >> src/cl65/make/gcc.mak
257 %{__make} -C src -f make/gcc.mak \
259 CFLAGS="%{rpmcflags} -Wall -W -I../common \$(CDEFS)"
261 %{__make} -C libsrc zap all
262 %{__make} -C doc html
265 rm -rf $RPM_BUILD_ROOT
266 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,emd,lib,tgi,include/{geos,tgi}}}
268 install -m 755 src/ar65/ar65 $RPM_BUILD_ROOT%{_bindir}
269 install -m 755 src/ca65/ca65 $RPM_BUILD_ROOT%{_bindir}
270 install -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT%{_bindir}
271 install -m 755 src/cc65/cc65 $RPM_BUILD_ROOT%{_bindir}
272 install -m 755 src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir}
273 install -m 755 src/da65/da65 $RPM_BUILD_ROOT%{_bindir}
274 install -m 755 src/grc/grc $RPM_BUILD_ROOT%{_bindir}
275 install -m 755 src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir}
276 install -m 755 src/od65/od65 $RPM_BUILD_ROOT%{_bindir}
277 install libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT%{_libdir}/%{name}/lib
278 install include/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include
279 install include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/geos
280 install include/tgi/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/tgi
281 install asminc/*.inc $RPM_BUILD_ROOT%{_libdir}/%{name}/asminc
284 install -m 644 libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/%{name}/emd
285 install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/%{name}/tgi
288 rm -rf $RPM_BUILD_ROOT
291 %defattr(644,root,root,755)
292 %doc doc/{BUGS,CREDITS,compile.txt,grc.txt,internal.txt,newvers.txt,readme.1st} doc/*.html announce.txt samples
293 %attr(755,root,root) %{_bindir}/*
294 %dir %{_libdir}/%{name}
295 %dir %{_libdir}/%{name}/emd
296 %dir %{_libdir}/%{name}/lib
297 %dir %{_libdir}/%{name}/tgi
298 %dir %{_libdir}/%{name}/include
299 %dir %{_libdir}/%{name}/include/tgi
300 %dir %{_libdir}/%{name}/asminc
301 %{_libdir}/%{name}/include/*.h
302 %{_libdir}/%{name}/asminc/*.inc
303 %{_libdir}/%{name}/include/tgi/*.h
306 %defattr(644,root,root,755)
307 %doc src/ld65/cfg/vic20.cfg
308 %{_libdir}/%{name}/lib/vic20.lib
309 %{_libdir}/%{name}/lib/vic20.o
312 %defattr(644,root,root,755)
313 %doc src/ld65/cfg/c16.cfg
314 %{_libdir}/%{name}/lib/c16.lib
315 %{_libdir}/%{name}/lib/c16.o
316 %{_libdir}/%{name}/emd/c16-*.emd
319 %defattr(644,root,root,755)
320 %doc src/ld65/cfg/c64.cfg
321 %{_libdir}/%{name}/lib/c64.lib
322 %{_libdir}/%{name}/lib/c64.o
323 %{_libdir}/%{name}/emd/c64-*.emd
324 %{_libdir}/%{name}/tgi/c64-*.tgi
327 %defattr(644,root,root,755)
328 %doc src/ld65/cfg/c128.cfg
329 %{_libdir}/%{name}/lib/c128.lib
330 %{_libdir}/%{name}/lib/c128.o
331 %{_libdir}/%{name}/emd/c128-*.emd
332 %{_libdir}/%{name}/tgi/c128-*.tgi
335 %defattr(644,root,root,755)
336 %doc src/ld65/cfg/atari.cfg
337 %{_libdir}/%{name}/lib/atari.lib
338 %{_libdir}/%{name}/lib/atari.o
341 %defattr(644,root,root,755)
342 %doc src/ld65/cfg/plus4.cfg
343 %{_libdir}/%{name}/lib/plus4.lib
344 %{_libdir}/%{name}/lib/plus4.o
347 %defattr(644,root,root,755)
348 %doc src/ld65/cfg/pet.cfg
349 %{_libdir}/%{name}/lib/pet.lib
350 %{_libdir}/%{name}/lib/pet.o
353 %defattr(644,root,root,755)
354 %doc src/ld65/cfg/cbm510.cfg
355 %{_libdir}/%{name}/lib/cbm510.lib
356 %{_libdir}/%{name}/lib/cbm510.o
357 %{_libdir}/%{name}/emd/cbm510-*.emd
360 %defattr(644,root,root,755)
361 %doc src/ld65/cfg/cbm610.cfg
362 %{_libdir}/%{name}/lib/cbm610.lib
363 %{_libdir}/%{name}/lib/cbm610.o
364 %{_libdir}/%{name}/emd/cbm610-*.emd
367 %defattr(644,root,root,755)
368 %doc src/ld65/cfg/apple2.cfg
369 %{_libdir}/%{name}/lib/apple2.lib
370 %{_libdir}/%{name}/lib/apple2.o
371 %{_libdir}/%{name}/emd/a2.*.emd
372 %{_libdir}/%{name}/tgi/a2.*.tgi
375 %defattr(644,root,root,755)
376 %doc src/ld65/cfg/atmos.cfg
377 %{_libdir}/%{name}/lib/atmos.lib
378 %{_libdir}/%{name}/lib/atmos.o
381 %defattr(644,root,root,755)
382 %doc src/ld65/cfg/geos.cfg
383 %attr(755,root,root) %{_bindir}/grc
384 %{_libdir}/%{name}/lib/geos.lib
385 %{_libdir}/%{name}/lib/geos.o
386 %dir %{_libdir}/%{name}/include/geos
387 %{_libdir}/%{name}/include/geos/*.h
388 %{_libdir}/%{name}/emd/geos-*.emd
389 %{_libdir}/%{name}/tgi/geos-*.tgi
392 %defattr(644,root,root,755)
393 %doc src/ld65/cfg/nes.cfg
394 %{_libdir}/%{name}/lib/nes.lib
395 %{_libdir}/%{name}/lib/nes.o
398 %defattr(644,root,root,755)
399 %doc src/ld65/cfg/supervision*.cfg
400 %{_libdir}/%{name}/lib/supervision.lib
401 %{_libdir}/%{name}/lib/supervision.o