1 Summary: Crosscompiler/crossassembler for 6502 systems
2 Summary(pl.UTF-8): Kompilator/asembler skrośny dla systemów 6502
6 License: Freeware with exceptions - see docs
7 Group: Development/Languages
8 Source0: ftp://ftp.musoftware.de/pub/uz/cc65/%{name}-sources-%{version}.tar.bz2
9 # Source0-md5: 99de534c4a9e04b45a82c239ed4ded20
10 URL: http://www.cc65.org/
11 BuildRequires: perl-base
12 BuildRequires: sed >= 4.0
13 BuildRequires: sgml-tools
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 A C crosscompiler for 6502 systems, including a macroassembler that
18 supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
19 other tools. To create programs for one of the supported target
20 machines, you have to install at least one of the library packages.
22 %description -l pl.UTF-8
23 Kompilator skrośny C dla systemów 6502, włączając w to makroassembler
24 wspierający 6502, 65SC02 oraz 65816 jako CPI, linker i parę innych
25 narzędzi. By tworzyć programy będziesz musiał zainstalować jeden z
26 pakietów bibliotecznych.
29 Summary: Apple ][ specific libraries and headers for the cc65 compiler
30 Summary(pl.UTF-8): Specyficzne dla Apple ][ biblioteki i pliki nagłówkowe
32 Group: Development/Languages
33 Requires: %{name} = %{version}-%{release}
36 This package contains the header files and libraries needed to write
37 programs for the Apple ][ using the cc65 crosscompiler.
39 %description apple2 -l pl.UTF-8
40 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
41 programów dla Apple ][ korzystając z kompilatora skrośnego cc65.
44 Summary: Apple //e specific libraries and headers for the cc65 compiler
45 Summary(pl.UTF-8): Specyficzne dla Apple //e biblioteki i pliki nagłówkowe
47 Group: Development/Languages
48 Requires: %{name} = %{version}-%{release}
50 %description apple2enh
51 This package contains the header files and libraries needed to write
52 programs for the Apple //e using the cc65 crosscompiler.
54 %description apple2enh -l pl.UTF-8
55 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
56 programów dla Apple //e korzystając z kompilatora skrośnego cc65.
59 Summary: Atari specific libraries and headers for the cc65 compiler
60 Summary(pl.UTF-8): Specyficzne dla Atari biblioteki i pliki nagłówkowe
62 Group: Development/Languages
63 Requires: %{name} = %{version}-%{release}
66 This package contains the header files and libraries needed to write
67 programs for the 8 bit Atari using the cc65 crosscompiler.
69 %description atari -l pl.UTF-8
70 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
71 programów dla 8 bitowego Atari korzystając z kompilatora skrośnego
75 Summary: Oric Atmos specific libraries and headers for the cc65 compiler
76 Summary(pl.UTF-8): Specyficzne dla Oric Atmos biblioteki i pliki nagłówkowe
78 Group: Development/Languages
79 Requires: %{name} = %{version}-%{release}
82 This package contains the header files and libraries needed to write
83 programs for the Oric Atmos using the cc65 crosscompiler.
85 %description atmos -l pl.UTF-8
86 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
87 programów dla Oric Atmos korzystając z kompilatora skrośnego cc65.
90 Summary: C16/116 specific libraries and headers for the cc65 compiler
91 Summary(pl.UTF-8): Specyficzne dla C16/116 biblioteki i pliki nagłówkowe
93 Group: Development/Languages
94 Requires: %{name} = %{version}-%{release}
97 This package contains the header files and libraries needed to write
98 programs for the Commodore C16/116 using the cc65 crosscompiler.
100 %description c16 -l pl.UTF-8
101 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
102 programów dla Commodore C16/116 korzystając z kompilatora skrośnego
106 Summary: C64 specific libraries and headers for the cc65 compiler
107 Summary(pl.UTF-8): Specyficzne dla C64 biblioteki i pliki nagłówkowe
109 Group: Development/Languages
110 Requires: %{name} = %{version}-%{release}
113 This package contains the header files and libraries needed to write
114 programs for the Commodore C64 using the cc65 crosscompiler.
116 %description c64 -l pl.UTF-8
117 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
118 programów dla Commodore C64 korzystając z kompilatora skrośnego cc65.
121 Summary: C128 specific libraries and headers for the cc65 compiler
122 Summary(pl.UTF-8): Specyficzne dla C128 biblioteki i pliki nagłówkowe
124 Group: Development/Languages
125 Requires: %{name} = %{version}-%{release}
128 This package contains the header files and libraries needed to write
129 programs for the Commodore C128 using the cc65 crosscompiler.
131 %description c128 -l pl.UTF-8
132 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
133 programów dla Commodore C128 korzystając z kompilatora skrośnego cc65.
136 Summary: CBM 510 specific libraries and headers for the cc65 compiler
137 Summary(pl.UTF-8): Specyficzne dla CBM 510 biblioteki i pliki nagłówkowe
139 Group: Development/Languages
140 Requires: %{name} = %{version}-%{release}
143 This package contains the header files and libraries needed to write
144 programs for the Commodore CBM 510 (aka P500) using the cc65
147 %description cbm510 -l pl.UTF-8
148 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
149 programów dla Commodore CBM 510 (zwany też P500) korzystając z
150 kompilatora skrośnego cc65.
153 Summary: CBM 610 specific libraries and headers for the cc65 compiler
154 Summary(pl.UTF-8): Specyficzne dla CBM 610 biblioteki i pliki nagłówkowe
156 Group: Development/Languages
157 Requires: %{name} = %{version}-%{release}
160 This package contains the header files and libraries needed to write
161 programs for the Commodore PET-II (CBM600/700) using the cc65
164 %description cbm610 -l pl.UTF-8
165 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
166 programów dla Commodore PET-II (CBM600/700) korzystając z kompilatora
170 Summary: GEOS specific libraries and headers for the cc65 compiler
171 Summary(pl.UTF-8): Specyficzne dla GEOS biblioteki i pliki nagłówkowe
173 Group: Development/Languages
174 Requires: %{name} = %{version}-%{release}
177 This package contains the header files and libraries needed to write
178 GEOS programs for the C64/C128 using the cc65 crosscompiler.
180 %description geos -l pl.UTF-8
181 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
182 programów GEOS dla C64/C128 korzystając z kompilatora skrośnego cc65.
185 Summary: Lynx specific libraries for the cc65 compiler
186 Summary(pl.UTF-8): Specyficzne dla Lynksa biblioteki dla cc65
188 Group: Development/Languages
189 Requires: %{name} = %{version}-%{release}
192 This package contains the libraries needed to write programs for the
193 Lynx using the cc65 crosscompiler.
195 %description lynx -l pl.UTF-8
196 Pakiet zawiera biblioteki potrzebne do pisania programów dla Lynksa
197 korzystając z kompilatora skrośnego cc65.
200 Summary: NES (Nintendo Entertainment System) specific libraries for the cc65 compiler
201 Summary(pl.UTF-8): Specyficzne dla NES (Nintendo Entertainment System) biblioteki dla cc65
203 Group: Development/Languages
204 Requires: %{name} = %{version}-%{release}
207 This package contains the libraries needed to write programs for the
208 NES (Nintendo Entertainment System) using the cc65 crosscompiler.
210 %description nes -l pl.UTF-8
211 Pakiet zawiera biblioteki potrzebne do pisania programów dla NES
212 (Nintendo Entertainment System) korzystając z kompilatora skrośnego
216 Summary: PET specific libraries and headers for the cc65 compiler
217 Summary(pl.UTF-8): Specyficzne dla PET biblioteki i pliki nagłówkowe
219 Group: Development/Languages
220 Requires: %{name} = %{version}-%{release}
223 This package contains the header files and libraries needed to write
224 programs for the Commodore PET using the cc65 crosscompiler.
226 %description pet -l pl.UTF-8
227 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
228 programów dla Commodore PET korzystając z kompilatora skrośnego cc65.
231 Summary: Plus/4 specific libraries and headers for the cc65 compiler
232 Summary(pl.UTF-8): Specyficzne dla Plus/4 biblioteki i pliki nagłówkowe
234 Group: Development/Languages
235 Requires: %{name} = %{version}-%{release}
238 This package contains the header files and libraries needed to write
239 programs for the Commodore Plus/4 and C16/116 using the cc65
242 %description plus4 -l pl.UTF-8
243 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
244 programów dla Commodore Plus/4 i C16/116 korzystając z kompilatora
248 Summary: Supervision specific libraries for the cc65 compiler
249 Summary(pl.UTF-8): Specyficzne dla Supervision biblioteki dla kompilatora cc65
251 Group: Development/Languages
252 Requires: %{name} = %{version}-%{release}
254 %description supervision
255 This package contains the libraries needed to write programs for the
256 Supervision console using the cc65 crosscompiler.
258 %description supervision -l pl.UTF-8
259 Pakiet zawiera biblioteki potrzebne do pisania programów dla konsoli
260 Supervision korzystając z kompilatora skrośnego cc65.
263 Summary: VIC20 specific libraries and headers for the cc65 compiler
264 Summary(pl.UTF-8): Specyficzne dla VIC20 biblioteki i pliki nagłówkowe
266 Group: Development/Languages
267 Requires: %{name} = %{version}-%{release}
270 This package contains the header files and libraries needed to write
271 programs for the Commodore VIC20 using the cc65 crosscompiler.
273 %description vic20 -l pl.UTF-8
274 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
275 programów dla Commodore VIC20 korzystając z kompilatora skrośnego
281 # use sgml-tools (no linuxdoc-tools in PLD)
282 sed -i -e 's/linuxdoc -B /sgml2/' doc/Makefile
285 %{__make} -C src -f make/gcc.mak \
287 CFLAGS="%{rpmcflags} -ansi -Wall -W -I../common \$(CDEFS)"
289 %{__make} -j1 -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-iobuf-0800.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-iobuf-0800.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
354 %defattr(644,root,root,755)
355 %doc src/ld65/cfg/atmos.cfg
356 %{_libdir}/%{name}/lib/atmos.lib
357 %{_libdir}/%{name}/tgi/atmos-*.tgi
360 %defattr(644,root,root,755)
361 %doc src/ld65/cfg/c16.cfg
362 %{_libdir}/%{name}/lib/c16.lib
363 %{_libdir}/%{name}/emd/c16-*.emd
366 %defattr(644,root,root,755)
367 %doc src/ld65/cfg/c64.cfg
368 %{_libdir}/%{name}/lib/c64.lib
369 %{_libdir}/%{name}/emd/c64-*.emd
370 %{_libdir}/%{name}/emd/dtv-himem.emd
371 %{_libdir}/%{name}/tgi/c64-*.tgi
374 %defattr(644,root,root,755)
375 %doc src/ld65/cfg/c128.cfg
376 %{_libdir}/%{name}/lib/c128.lib
377 %{_libdir}/%{name}/emd/c128-*.emd
378 %{_libdir}/%{name}/tgi/c128-*.tgi
381 %defattr(644,root,root,755)
382 %doc src/ld65/cfg/cbm510.cfg
383 %{_libdir}/%{name}/lib/cbm510.lib
384 %{_libdir}/%{name}/emd/cbm510-*.emd
387 %defattr(644,root,root,755)
388 %doc src/ld65/cfg/cbm610.cfg
389 %{_libdir}/%{name}/lib/cbm610.lib
390 %{_libdir}/%{name}/emd/cbm610-*.emd
393 %defattr(644,root,root,755)
394 %doc src/ld65/cfg/geos.cfg
395 %attr(755,root,root) %{_bindir}/grc
396 %{_libdir}/%{name}/lib/geos.lib
397 %dir %{_libdir}/%{name}/include/geos
398 %{_libdir}/%{name}/include/geos/*.h
399 %{_libdir}/%{name}/emd/geos-*.emd
400 %{_libdir}/%{name}/tgi/geos-*.tgi
403 %defattr(644,root,root,755)
404 %doc src/ld65/cfg/lynx.cfg
405 %{_libdir}/%{name}/lib/lynx.lib
406 %{_libdir}/%{name}/tgi/lynx-*.tgi
409 %defattr(644,root,root,755)
410 %doc src/ld65/cfg/nes.cfg
411 %{_libdir}/%{name}/lib/nes.lib
414 %defattr(644,root,root,755)
415 %doc src/ld65/cfg/pet.cfg
416 %{_libdir}/%{name}/lib/pet.lib
419 %defattr(644,root,root,755)
420 %doc src/ld65/cfg/plus4.cfg
421 %{_libdir}/%{name}/lib/plus4.lib
424 %defattr(644,root,root,755)
425 %doc src/ld65/cfg/supervision*.cfg
426 %{_libdir}/%{name}/lib/supervision.lib
429 %defattr(644,root,root,755)
430 %doc src/ld65/cfg/vic20.cfg
431 %{_libdir}/%{name}/lib/vic20.lib