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: 4ca1a2e720a50ac727674543e71e8150
12 URL: http://www.cc65.org/
13 BuildRequires: perl-base
14 BuildRequires: sgml-tools
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 A C crosscompiler for 6502 systems, including a macroassembler that
19 supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
20 other tools. To create programs for one of the supported target
21 machines, you have to install at least one of the library packages.
24 Kompilator skro¶ny C dla systemów 6502, w³±czaj±c w to makroassembler
25 wspieraj±cy 6502, 65SC02 oraz 65816 jako CPI, linker i parê innych
26 narzêdzi. By tworzyæ programy bêdziesz musia³ zainstalowac jeden z
27 pakietów bibliotecznych.
30 Summary: VIC20 specific libraries and headers for the cc65 compiler
31 Summary(pl): Specyficzne dla VIC20 biblioteki i pliki nag³ówkowe
33 Group: Development/Languages
34 Requires: %{name} = %{version}
37 This package contains the header files and libraries needed to write
38 programs for the Commodore VIC20 using the cc65 crosscompiler.
40 %description vic20 -l pl
41 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
42 programów dla Commodore VIC20 korzystaj±c z kompilatora skro¶nego
46 Summary: C16/116 specific libraries and headers for the cc65 compiler
47 Summary(pl): Specyficzne dla C16/116 biblioteki i pliki nag³ówkowe
49 Group: Development/Languages
50 Requires: %{name} = %{version}
53 This package contains the header files and libraries needed to write
54 programs for the Commodore C16/116 using the cc65 crosscompiler.
56 %description c16 -l pl
57 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
58 programów dla Commodore C16/116 korzystaj±c z kompilatora skro¶nego
62 Summary: C64 specific libraries and headers for the cc65 compiler
63 Summary(pl): Specyficzne dla C64 biblioteki i pliki nag³ówkowe
65 Group: Development/Languages
66 Requires: %{name} = %{version}
69 This package contains the header files and libraries needed to write
70 programs for the Commodore C64 using the cc65 crosscompiler.
72 %description c64 -l pl
73 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
74 programów dla Commodore C64 korzystaj±c z kompilatora skro¶nego cc65.
77 Summary: C128 specific libraries and headers for the cc65 compiler
78 Summary(pl): Specyficzne dla C128 biblioteki i pliki nag³ówkowe
80 Group: Development/Languages
81 Requires: %{name} = %{version}
84 This package contains the header files and libraries needed to write
85 programs for the Commodore C128 using the cc65 crosscompiler.
87 %description c128 -l pl
88 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
89 programów dla Commodore C128 korzystaj±c z kompilatora skro¶nego cc65.
92 Summary: Atari specific libraries and headers for the cc65 compiler
93 Summary(pl): Specyficzne dla Atari biblioteki i pliki nag³ówkowe
95 Group: Development/Languages
96 Requires: %{name} = %{version}
99 This package contains the header files and libraries needed to write
100 programs for the 8 bit Atari using the cc65 crosscompiler.
102 %description atari -l pl
103 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
104 programów dla 8 bitowego Atari korzystaj±c z kompilatora skro¶nego
108 Summary: Plus/4 specific libraries and headers for the cc65 compiler
109 Summary(pl): Specyficzne dla Plus/4 biblioteki i pliki nag³ówkowe
111 Group: Development/Languages
112 Requires: %{name} = %{version}
115 This package contains the header files and libraries needed to write
116 programs for the Commodore Plus/4 and C16/116 using the cc65
119 %description plus4 -l pl
120 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
121 programów dla Commodore Plus/4 i C16/116 korzystaj±c z kompilatora
125 Summary: PET specific libraries and headers for the cc65 compiler
126 Summary(pl): Specyficzne dla PET biblioteki i pliki nag³ówkowe
128 Group: Development/Languages
129 Requires: %{name} = %{version}
132 This package contains the header files and libraries needed to write
133 programs for the Commodore PET using the cc65 crosscompiler.
135 %description pet -l pl
136 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
137 programów dla Commodore PET korzystaj±c z kompilatora skro¶nego cc65.
140 Summary: CBM 510 specific libraries and headers for the cc65 compiler
141 Summary(pl): Specyficzne dla CBM 510 biblioteki i pliki nag³ówkowe
143 Group: Development/Languages
144 Requires: %{name} = %{version}
147 This package contains the header files and libraries needed to write
148 programs for the Commodore CBM 510 (aka P500) using the cc65
151 %description cbm510 -l pl
152 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
153 programów dla Commodore CBM 510 (zwany te¿ P500) korzystaj±c z
154 kompilatora skro¶nego cc65.
157 Summary: CBM 610 specific libraries and headers for the cc65 compiler
158 Summary(pl): Specyficzne dla CBM 610 biblioteki i pliki nag³ówkowe
160 Group: Development/Languages
161 Requires: %{name} = %{version}
164 This package contains the header files and libraries needed to write
165 programs for the Commodore PET-II (CBM600/700) using the cc65
168 %description cbm610 -l pl
169 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
170 programów dla Commodore PET-II (CBM600/700) korzystaj±c z kompilatora
174 Summary: Apple ][ specific libraries and headers for the cc65 compiler
175 Summary(pl): Specyficzne dla Apple ][ biblioteki i pliki nag³ówkowe
177 Group: Development/Languages
178 Requires: %{name} = %{version}
181 This package contains the header files and libraries needed to write
182 programs for the Apple ][ using the cc65 crosscompiler.
184 %description apple2 -l pl
185 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
186 programów dla Apple ][ korzystaj±c z kompilatora skro¶nego cc65.
189 Summary: Oric Atmos specific libraries and headers for the cc65 compiler
190 Summary(pl): Specyficzne dla Oric Atmos biblioteki i pliki nag³ówkowe
192 Group: Development/Languages
193 Requires: %{name} = %{version}
196 This package contains the header files and libraries needed to write
197 programs for the Oric Atmos using the cc65 crosscompiler.
199 %description atmos -l pl
200 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
201 programów dla Oric Atmos korzystaj±c z kompilatora skro¶nego cc65.
204 Summary: GEOS specific libraries and headers for the cc65 compiler
205 Summary(pl): Specyficzne dla GEOS biblioteki i pliki nag³ówkowe
207 Group: Development/Languages
208 Requires: %{name} = %{version}
211 This package contains the header files and libraries needed to write
212 GEOS programs for the C64/C128 using the cc65 crosscompiler.
214 %description geos -l pl
215 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
216 programów GEOS dla C64/C128 korzystaj±c z kompilatora skro¶nego cc65.
219 Summary: NES (Nintendo Entertainment System) specific libraries for the cc65 compiler
220 Summary(pl): Specyficzne dla NES (Nintendo Entertainment System) biblioteki dla cc65
222 Group: Development/Languages
223 Requires: %{name} = %{version}
226 This package contains the libraries needed to write programs for the
227 NES (Nintendo Entertainment System) using the cc65 crosscompiler.
229 %description nes -l pl
230 Pakiet zawiera biblioteki potrzebne do pisania programów dla NES
231 (Nintendo Entertainment System) korzystaj±c z kompilatora skro¶nego
235 Summary: Supervision specific libraries for the cc65 compiler
236 Summary(pl): Specyficzne dla Supervision biblioteki dla kompilatora cc65
238 Group: Development/Languages
239 Requires: %{name} = %{version}
241 %description supervision
242 This package contains the libraries needed to write programs for the
243 Supervision console using the cc65 crosscompiler.
245 %description supervision -l pl
246 Pakiet zawiera biblioteki potrzebne do pisania programów dla konsoli
247 Supervision korzystaj±c z kompilatora skro¶nego cc65.
252 echo 'CDEFS=-D$(SPAWN)' >> src/cl65/make/gcc.mak
255 %{__make} -C src -f make/gcc.mak \
257 CFLAGS="%{rpmcflags} -Wall -W -I../common \$(CDEFS)"
259 %{__make} -C libsrc zap all
260 %{__make} -C doc html
263 rm -rf $RPM_BUILD_ROOT
264 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,emd,lib,tgi,include/{geos,tgi}}}
266 install -m 755 src/ar65/ar65 $RPM_BUILD_ROOT%{_bindir}
267 install -m 755 src/ca65/ca65 $RPM_BUILD_ROOT%{_bindir}
268 install -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT%{_bindir}
269 install -m 755 src/cc65/cc65 $RPM_BUILD_ROOT%{_bindir}
270 install -m 755 src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir}
271 install -m 755 src/da65/da65 $RPM_BUILD_ROOT%{_bindir}
272 install -m 755 src/grc/grc $RPM_BUILD_ROOT%{_bindir}
273 install -m 755 src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir}
274 install -m 755 src/od65/od65 $RPM_BUILD_ROOT%{_bindir}
275 install libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT%{_libdir}/%{name}/lib
276 install include/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include
277 install include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/geos
278 install include/tgi/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/tgi
279 install asminc/*.inc $RPM_BUILD_ROOT%{_libdir}/%{name}/asminc
282 install -m 644 libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/%{name}/emd
283 install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/%{name}/tgi
286 rm -rf $RPM_BUILD_ROOT
289 %defattr(644,root,root,755)
290 %doc doc/{BUGS,CREDITS,compile.txt,grc.txt,internal.txt,newvers.txt,readme.1st} doc/*.html announce.txt samples
291 %attr(755,root,root) %{_bindir}/*
292 %dir %{_libdir}/%{name}
293 %dir %{_libdir}/%{name}/emd
294 %dir %{_libdir}/%{name}/lib
295 %dir %{_libdir}/%{name}/tgi
296 %dir %{_libdir}/%{name}/include
297 %dir %{_libdir}/%{name}/include/tgi
298 %dir %{_libdir}/%{name}/asminc
299 %{_libdir}/%{name}/include/*.h
300 %{_libdir}/%{name}/asminc/*.inc
301 %{_libdir}/%{name}/include/tgi/*.h
304 %defattr(644,root,root,755)
305 %doc src/ld65/cfg/vic20.cfg
306 %{_libdir}/%{name}/lib/vic20.lib
307 %{_libdir}/%{name}/lib/vic20.o
310 %defattr(644,root,root,755)
311 %doc src/ld65/cfg/c16.cfg
312 %{_libdir}/%{name}/lib/c16.lib
313 %{_libdir}/%{name}/lib/c16.o
314 %{_libdir}/%{name}/emd/c16-*.emd
317 %defattr(644,root,root,755)
318 %doc src/ld65/cfg/c64.cfg
319 %{_libdir}/%{name}/lib/c64.lib
320 %{_libdir}/%{name}/lib/c64.o
321 %{_libdir}/%{name}/emd/c64-*.emd
322 %{_libdir}/%{name}/tgi/c64-*.tgi
325 %defattr(644,root,root,755)
326 %doc src/ld65/cfg/c128.cfg
327 %{_libdir}/%{name}/lib/c128.lib
328 %{_libdir}/%{name}/lib/c128.o
329 %{_libdir}/%{name}/emd/c128-*.emd
330 %{_libdir}/%{name}/tgi/c128-*.tgi
333 %defattr(644,root,root,755)
334 %doc src/ld65/cfg/atari.cfg
335 %{_libdir}/%{name}/lib/atari.lib
336 %{_libdir}/%{name}/lib/atari.o
339 %defattr(644,root,root,755)
340 %doc src/ld65/cfg/plus4.cfg
341 %{_libdir}/%{name}/lib/plus4.lib
342 %{_libdir}/%{name}/lib/plus4.o
345 %defattr(644,root,root,755)
346 %doc src/ld65/cfg/pet.cfg
347 %{_libdir}/%{name}/lib/pet.lib
348 %{_libdir}/%{name}/lib/pet.o
351 %defattr(644,root,root,755)
352 %doc src/ld65/cfg/cbm510.cfg
353 %{_libdir}/%{name}/lib/cbm510.lib
354 %{_libdir}/%{name}/lib/cbm510.o
355 %{_libdir}/%{name}/emd/cbm510-*.emd
358 %defattr(644,root,root,755)
359 %doc src/ld65/cfg/cbm610.cfg
360 %{_libdir}/%{name}/lib/cbm610.lib
361 %{_libdir}/%{name}/lib/cbm610.o
362 %{_libdir}/%{name}/emd/cbm610-*.emd
365 %defattr(644,root,root,755)
366 %doc src/ld65/cfg/apple2.cfg
367 %{_libdir}/%{name}/lib/apple2.lib
368 %{_libdir}/%{name}/lib/apple2.o
369 %{_libdir}/%{name}/emd/a2.*.emd
370 %{_libdir}/%{name}/tgi/a2.*.tgi
373 %defattr(644,root,root,755)
374 %doc src/ld65/cfg/atmos.cfg
375 %{_libdir}/%{name}/lib/atmos.lib
376 %{_libdir}/%{name}/lib/atmos.o
379 %defattr(644,root,root,755)
380 %doc src/ld65/cfg/geos.cfg
381 %attr(755,root,root) %{_bindir}/grc
382 %{_libdir}/%{name}/lib/geos.lib
383 %{_libdir}/%{name}/lib/geos.o
384 %dir %{_libdir}/%{name}/include/geos
385 %{_libdir}/%{name}/include/geos/*.h
386 %{_libdir}/%{name}/emd/geos-*.emd
387 %{_libdir}/%{name}/tgi/geos-*.tgi
390 %defattr(644,root,root,755)
391 %doc src/ld65/cfg/nes.cfg
392 %{_libdir}/%{name}/lib/nes.lib
393 %{_libdir}/%{name}/lib/nes.o
396 %defattr(644,root,root,755)
397 %doc src/ld65/cfg/supervision*.cfg
398 %{_libdir}/%{name}/lib/supervision.lib
399 %{_libdir}/%{name}/lib/supervision.o