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: 0f69e04abb640a5d644d912bcdbcf52d
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³ zainstalowaæ jeden z
27 pakietów bibliotecznych.
30 Summary: Apple ][ specific libraries and headers for the cc65 compiler
31 Summary(pl): Specyficzne dla Apple ][ biblioteki i pliki nag³ówkowe
33 Group: Development/Languages
34 Requires: %{name} = %{version}-%{release}
37 This package contains the header files and libraries needed to write
38 programs for the Apple ][ using the cc65 crosscompiler.
40 %description apple2 -l pl
41 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
42 programów dla Apple ][ korzystaj±c z kompilatora skro¶nego cc65.
45 Summary: Apple //e specific libraries and headers for the cc65 compiler
46 Summary(pl): Specyficzne dla Apple //e biblioteki i pliki nag³ówkowe
48 Group: Development/Languages
49 Requires: %{name} = %{version}-%{release}
51 %description apple2enh
52 This package contains the header files and libraries needed to write
53 programs for the Apple //e using the cc65 crosscompiler.
55 %description apple2enh -l pl
56 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
57 programów dla Apple //e korzystaj±c z kompilatora skro¶nego cc65.
60 Summary: Atari specific libraries and headers for the cc65 compiler
61 Summary(pl): Specyficzne dla Atari biblioteki i pliki nag³ówkowe
63 Group: Development/Languages
64 Requires: %{name} = %{version}-%{release}
67 This package contains the header files and libraries needed to write
68 programs for the 8 bit Atari using the cc65 crosscompiler.
70 %description atari -l pl
71 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
72 programów dla 8 bitowego Atari korzystaj±c z kompilatora skro¶nego
76 Summary: Oric Atmos specific libraries and headers for the cc65 compiler
77 Summary(pl): Specyficzne dla Oric Atmos biblioteki i pliki nag³ówkowe
79 Group: Development/Languages
80 Requires: %{name} = %{version}-%{release}
83 This package contains the header files and libraries needed to write
84 programs for the Oric Atmos using the cc65 crosscompiler.
86 %description atmos -l pl
87 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
88 programów dla Oric Atmos korzystaj±c z kompilatora skro¶nego cc65.
91 Summary: C16/116 specific libraries and headers for the cc65 compiler
92 Summary(pl): Specyficzne dla C16/116 biblioteki i pliki nag³ówkowe
94 Group: Development/Languages
95 Requires: %{name} = %{version}-%{release}
98 This package contains the header files and libraries needed to write
99 programs for the Commodore C16/116 using the cc65 crosscompiler.
101 %description c16 -l pl
102 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
103 programów dla Commodore C16/116 korzystaj±c z kompilatora skro¶nego
107 Summary: C64 specific libraries and headers for the cc65 compiler
108 Summary(pl): Specyficzne dla C64 biblioteki i pliki nag³ówkowe
110 Group: Development/Languages
111 Requires: %{name} = %{version}-%{release}
114 This package contains the header files and libraries needed to write
115 programs for the Commodore C64 using the cc65 crosscompiler.
117 %description c64 -l pl
118 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
119 programów dla Commodore C64 korzystaj±c z kompilatora skro¶nego cc65.
122 Summary: C128 specific libraries and headers for the cc65 compiler
123 Summary(pl): Specyficzne dla C128 biblioteki i pliki nag³ówkowe
125 Group: Development/Languages
126 Requires: %{name} = %{version}-%{release}
129 This package contains the header files and libraries needed to write
130 programs for the Commodore C128 using the cc65 crosscompiler.
132 %description c128 -l pl
133 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
134 programów dla Commodore C128 korzystaj±c z kompilatora skro¶nego cc65.
137 Summary: CBM 510 specific libraries and headers for the cc65 compiler
138 Summary(pl): Specyficzne dla CBM 510 biblioteki i pliki nag³ówkowe
140 Group: Development/Languages
141 Requires: %{name} = %{version}-%{release}
144 This package contains the header files and libraries needed to write
145 programs for the Commodore CBM 510 (aka P500) using the cc65
148 %description cbm510 -l pl
149 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
150 programów dla Commodore CBM 510 (zwany te¿ P500) korzystaj±c z
151 kompilatora skro¶nego cc65.
154 Summary: CBM 610 specific libraries and headers for the cc65 compiler
155 Summary(pl): Specyficzne dla CBM 610 biblioteki i pliki nag³ówkowe
157 Group: Development/Languages
158 Requires: %{name} = %{version}-%{release}
161 This package contains the header files and libraries needed to write
162 programs for the Commodore PET-II (CBM600/700) using the cc65
165 %description cbm610 -l pl
166 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
167 programów dla Commodore PET-II (CBM600/700) korzystaj±c z kompilatora
171 Summary: GEOS specific libraries and headers for the cc65 compiler
172 Summary(pl): Specyficzne dla GEOS biblioteki i pliki nag³ówkowe
174 Group: Development/Languages
175 Requires: %{name} = %{version}-%{release}
178 This package contains the header files and libraries needed to write
179 GEOS programs for the C64/C128 using the cc65 crosscompiler.
181 %description geos -l pl
182 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
183 programów GEOS dla C64/C128 korzystaj±c z kompilatora skro¶nego cc65.
186 Summary: Lynx specific libraries for the cc65 compiler
187 Summary(pl): Specyficzne dla Lynksa biblioteki dla cc65
189 Group: Development/Languages
190 Requires: %{name} = %{version}-%{release}
193 This package contains the libraries needed to write programs for the
194 Lynx using the cc65 crosscompiler.
196 %description lynx -l pl
197 Pakiet zawiera biblioteki potrzebne do pisania programów dla Lynksa
198 korzystaj±c z kompilatora skro¶nego cc65.
201 Summary: NES (Nintendo Entertainment System) specific libraries for the cc65 compiler
202 Summary(pl): Specyficzne dla NES (Nintendo Entertainment System) biblioteki dla cc65
204 Group: Development/Languages
205 Requires: %{name} = %{version}-%{release}
208 This package contains the libraries needed to write programs for the
209 NES (Nintendo Entertainment System) using the cc65 crosscompiler.
211 %description nes -l pl
212 Pakiet zawiera biblioteki potrzebne do pisania programów dla NES
213 (Nintendo Entertainment System) korzystaj±c z kompilatora skro¶nego
217 Summary: PET specific libraries and headers for the cc65 compiler
218 Summary(pl): Specyficzne dla PET biblioteki i pliki nag³ówkowe
220 Group: Development/Languages
221 Requires: %{name} = %{version}-%{release}
224 This package contains the header files and libraries needed to write
225 programs for the Commodore PET using the cc65 crosscompiler.
227 %description pet -l pl
228 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
229 programów dla Commodore PET korzystaj±c z kompilatora skro¶nego cc65.
232 Summary: Plus/4 specific libraries and headers for the cc65 compiler
233 Summary(pl): Specyficzne dla Plus/4 biblioteki i pliki nag³ówkowe
235 Group: Development/Languages
236 Requires: %{name} = %{version}-%{release}
239 This package contains the header files and libraries needed to write
240 programs for the Commodore Plus/4 and C16/116 using the cc65
243 %description plus4 -l pl
244 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
245 programów dla Commodore Plus/4 i C16/116 korzystaj±c z kompilatora
249 Summary: Supervision specific libraries for the cc65 compiler
250 Summary(pl): Specyficzne dla Supervision biblioteki dla kompilatora cc65
252 Group: Development/Languages
253 Requires: %{name} = %{version}-%{release}
255 %description supervision
256 This package contains the libraries needed to write programs for the
257 Supervision console using the cc65 crosscompiler.
259 %description supervision -l pl
260 Pakiet zawiera biblioteki potrzebne do pisania programów dla konsoli
261 Supervision korzystaj±c z kompilatora skro¶nego cc65.
264 Summary: VIC20 specific libraries and headers for the cc65 compiler
265 Summary(pl): Specyficzne dla VIC20 biblioteki i pliki nag³ówkowe
267 Group: Development/Languages
268 Requires: %{name} = %{version}-%{release}
271 This package contains the header files and libraries needed to write
272 programs for the Commodore VIC20 using the cc65 crosscompiler.
274 %description vic20 -l pl
275 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
276 programów dla Commodore VIC20 korzystaj±c z kompilatora skro¶nego
282 echo 'CDEFS=-D$(SPAWN)' >> src/cl65/make/gcc.mak
285 %{__make} -C src -f make/gcc.mak \
287 CFLAGS="%{rpmcflags} -Wall -W -I../common \$(CDEFS)"
289 %{__make} -C libsrc zap all
290 %{__make} -C doc html
293 rm -rf $RPM_BUILD_ROOT
294 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,emd,lib,tgi,include/{geos,tgi}}}
296 install src/ar65/ar65 $RPM_BUILD_ROOT%{_bindir}
297 install src/ca65/ca65 $RPM_BUILD_ROOT%{_bindir}
298 install src/ca65html/ca65html $RPM_BUILD_ROOT%{_bindir}
299 install src/cc65/cc65 $RPM_BUILD_ROOT%{_bindir}
300 install src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir}
301 install src/da65/da65 $RPM_BUILD_ROOT%{_bindir}
302 install src/grc/grc $RPM_BUILD_ROOT%{_bindir}
303 install src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir}
304 install src/od65/od65 $RPM_BUILD_ROOT%{_bindir}
305 install libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT%{_libdir}/%{name}/lib
306 install include/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include
307 install include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/geos
308 install include/tgi/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/tgi
309 install asminc/*.inc $RPM_BUILD_ROOT%{_libdir}/%{name}/asminc
312 install libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/%{name}/emd
313 install libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/%{name}/tgi
316 rm -rf $RPM_BUILD_ROOT
319 %defattr(644,root,root,755)
320 %doc doc/{BUGS,CREDITS,compile.txt,internal.txt,newvers.txt,readme.1st} doc/*.html announce.txt samples
321 %attr(755,root,root) %{_bindir}/*
322 %dir %{_libdir}/%{name}
323 %dir %{_libdir}/%{name}/emd
324 %dir %{_libdir}/%{name}/lib
325 %dir %{_libdir}/%{name}/tgi
326 %dir %{_libdir}/%{name}/include
327 %dir %{_libdir}/%{name}/include/tgi
328 %dir %{_libdir}/%{name}/asminc
329 %{_libdir}/%{name}/include/*.h
330 %{_libdir}/%{name}/asminc/*.inc
331 %{_libdir}/%{name}/include/tgi/*.h
334 %defattr(644,root,root,755)
335 %{_libdir}/%{name}/lib/apple2enh.lib
336 %{_libdir}/%{name}/lib/apple2enh.o
337 %{_libdir}/%{name}/emd/a2e.*.emd
338 %{_libdir}/%{name}/tgi/a2e.*.tgi
341 %defattr(644,root,root,755)
342 %doc src/ld65/cfg/apple2.cfg
343 %{_libdir}/%{name}/lib/apple2.lib
344 %{_libdir}/%{name}/lib/apple2.o
345 %{_libdir}/%{name}/emd/a2.*.emd
346 %{_libdir}/%{name}/tgi/a2.*.tgi
349 %defattr(644,root,root,755)
350 %doc src/ld65/cfg/atari.cfg
351 %{_libdir}/%{name}/lib/atari.lib
352 %{_libdir}/%{name}/lib/atari.o
355 %defattr(644,root,root,755)
356 %doc src/ld65/cfg/atmos.cfg
357 %{_libdir}/%{name}/lib/atmos.lib
358 %{_libdir}/%{name}/lib/atmos.o
359 %{_libdir}/%{name}/tgi/atmos-*.tgi
362 %defattr(644,root,root,755)
363 %doc src/ld65/cfg/c16.cfg
364 %{_libdir}/%{name}/lib/c16.lib
365 %{_libdir}/%{name}/lib/c16.o
366 %{_libdir}/%{name}/emd/c16-*.emd
369 %defattr(644,root,root,755)
370 %doc src/ld65/cfg/c64.cfg
371 %{_libdir}/%{name}/lib/c64.lib
372 %{_libdir}/%{name}/lib/c64.o
373 %{_libdir}/%{name}/emd/c64-*.emd
374 %{_libdir}/%{name}/tgi/c64-*.tgi
377 %defattr(644,root,root,755)
378 %doc src/ld65/cfg/c128.cfg
379 %{_libdir}/%{name}/lib/c128.lib
380 %{_libdir}/%{name}/lib/c128.o
381 %{_libdir}/%{name}/emd/c128-*.emd
382 %{_libdir}/%{name}/tgi/c128-*.tgi
385 %defattr(644,root,root,755)
386 %doc src/ld65/cfg/cbm510.cfg
387 %{_libdir}/%{name}/lib/cbm510.lib
388 %{_libdir}/%{name}/lib/cbm510.o
389 %{_libdir}/%{name}/emd/cbm510-*.emd
392 %defattr(644,root,root,755)
393 %doc src/ld65/cfg/cbm610.cfg
394 %{_libdir}/%{name}/lib/cbm610.lib
395 %{_libdir}/%{name}/lib/cbm610.o
396 %{_libdir}/%{name}/emd/cbm610-*.emd
399 %defattr(644,root,root,755)
400 %doc src/ld65/cfg/geos.cfg
401 %attr(755,root,root) %{_bindir}/grc
402 %{_libdir}/%{name}/lib/geos.lib
403 %{_libdir}/%{name}/lib/geos.o
404 %dir %{_libdir}/%{name}/include/geos
405 %{_libdir}/%{name}/include/geos/*.h
406 %{_libdir}/%{name}/emd/geos-*.emd
407 %{_libdir}/%{name}/tgi/geos-*.tgi
410 %defattr(644,root,root,755)
411 %doc src/ld65/cfg/lynx.cfg
412 %{_libdir}/%{name}/lib/lynx.lib
413 %{_libdir}/%{name}/lib/lynx.o
414 %{_libdir}/%{name}/tgi/lynx-*.tgi
417 %defattr(644,root,root,755)
418 %doc src/ld65/cfg/nes.cfg
419 %{_libdir}/%{name}/lib/nes.lib
420 %{_libdir}/%{name}/lib/nes.o
423 %defattr(644,root,root,755)
424 %doc src/ld65/cfg/pet.cfg
425 %{_libdir}/%{name}/lib/pet.lib
426 %{_libdir}/%{name}/lib/pet.o
429 %defattr(644,root,root,755)
430 %doc src/ld65/cfg/plus4.cfg
431 %{_libdir}/%{name}/lib/plus4.lib
432 %{_libdir}/%{name}/lib/plus4.o
435 %defattr(644,root,root,755)
436 %doc src/ld65/cfg/supervision*.cfg
437 %{_libdir}/%{name}/lib/supervision.lib
438 %{_libdir}/%{name}/lib/supervision.o
441 %defattr(644,root,root,755)
442 %doc src/ld65/cfg/vic20.cfg
443 %{_libdir}/%{name}/lib/vic20.lib
444 %{_libdir}/%{name}/lib/vic20.o