1 Summary: Crosscompiler/Crossassembler for 6502 systems
2 Summary(pl): Crosskompilator/Crossassembler 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: 385678b9f7ad86fc231169d12122332b
12 URL: http://www.cc65.org/
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 C crosskompilator 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 programów dla
42 Commodore VIC20 korzystaj±c z crosskompilatora cc65.
45 Summary: C16/116 specific libraries and headers for the cc65 compiler
46 Summary(pl): Specyficzne dla C16/116 biblioteki i pliki nag³ówkowe
48 Group: Development/Languages
49 Requires: %{name} = %{version}
52 This package contains the header files and libraries needed to write
53 programs for the Commodore C16/116 using the cc65 crosscompiler.
55 %description c16 -l pl
56 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
57 Commodore C16/116 korzystaj±c z crosskompilatora cc65.
60 Summary: C64 specific libraries and headers for the cc65 compiler
61 Summary(pl): Specyficzne dla C64 biblioteki i pliki nag³ówkowe
63 Group: Development/Languages
64 Requires: %{name} = %{version}
67 This package contains the header files and libraries needed to write
68 programs for the Commodore C64 using the cc65 crosscompiler.
70 %description c64 -l pl
71 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
72 Commodore C64 korzystaj±c z crosskompilatora cc65.
75 Summary: C128 specific libraries and headers for the cc65 compiler
76 Summary(pl): Specyficzne dla C128 biblioteki i pliki nag³ówkowe
78 Group: Development/Languages
79 Requires: %{name} = %{version}
82 This package contains the header files and libraries needed to write
83 programs for the Commodore C128 using the cc65 crosscompiler.
85 %description c128 -l pl
86 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
87 Commodore C128 korzystaj±c z crosskompilatora cc65.
90 Summary: Atari specific libraries and headers for the cc65 compiler
91 Summary(pl): Specyficzne dla Atari biblioteki i pliki nag³ówkowe
93 Group: Development/Languages
94 Requires: %{name} = %{version}
97 This package contains the header files and libraries needed to write
98 programs for the 8 bit Atari using the cc65 crosscompiler.
100 %description atari -l pl
101 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
102 8 bitowego Atari korzystaj±c z crosskompilatora cc65.
105 Summary: Plus/4 specific libraries and headers for the cc65 compiler
106 Summary(pl): Specyficzne dla Plus/4 biblioteki i pliki nag³ówkowe
108 Group: Development/Languages
109 Requires: %{name} = %{version}
112 This package contains the header files and libraries needed to write
113 programs for the Commodore Plus/4 and C16/116 using the cc65 crosscompiler.
115 %description plus4 -l pl
116 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
117 Commodore Plus/4 i C16/116 korzystaj±c z crosskompilatora cc65.
120 Summary: PET specific libraries and headers for the cc65 compiler
121 Summary(pl): Specyficzne dla PET biblioteki i pliki nag³ówkowe
123 Group: Development/Languages
124 Requires: %{name} = %{version}
127 This package contains the header files and libraries needed to write
128 programs for the Commodore PET using the cc65 crosscompiler.
130 %description pet -l pl
131 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
132 Commodore PET korzystaj±c z crosskompilatora cc65.
135 Summary: CBM 510 specific libraries and headers for the cc65 compiler
136 Summary(pl): Specyficzne dla CBM 510 biblioteki i pliki nag³ówkowe
138 Group: Development/Languages
139 Requires: %{name} = %{version}
142 This package contains the header files and libraries needed to write
143 programs for the Commodore CBM 510 (aka P500) using the cc65 crosscompiler.
145 %description cbm510 -l pl
146 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
147 Commodore CBM 510 (zwany te¿ P500) korzystaj±c z crosskompilatora cc65.
150 Summary: CBM 610 specific libraries and headers for the cc65 compiler
151 Summary(pl): Specyficzne dla CBM 610 biblioteki i pliki nag³ówkowe
153 Group: Development/Languages
154 Requires: %{name} = %{version}
157 This package contains the header files and libraries needed to write
158 programs for the Commodore PET-II (CBM600/700) using the cc65 crosscompiler.
160 %description cbm610 -l pl
161 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
162 Commodore PET-II (CBM600/700) korzystaj±c z crosskompilatora cc65.
165 Summary: Apple ][ specific libraries and headers for the cc65 compiler
166 Summary(pl): Specyficzne dla Apple ][ biblioteki i pliki nag³ówkowe
168 Group: Development/Languages
169 Requires: %{name} = %{version}
172 This package contains the header files and libraries needed to write
173 programs for the Apple ][ using the cc65 crosscompiler.
175 %description apple2 -l pl
176 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
177 Apple ][ korzystaj±c z crosskompilatora cc65.
180 Summary: Oric Atmos specific libraries and headers for the cc65 compiler
181 Summary(pl): Specyficzne dla Oric Atmos biblioteki i pliki nag³ówkowe
183 Group: Development/Languages
184 Requires: %{name} = %{version}
187 This package contains the header files and libraries needed to write
188 programs for the Oric Atmos using the cc65 crosscompiler.
190 %description atmos -l pl
191 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów dla
192 Oric Atmos korzystaj±c z crosskompilatora cc65.
195 Summary: GEOS specific libraries and headers for the cc65 compiler
196 Summary(pl): Specyficzne dla GEOS biblioteki i pliki nag³ówkowe
198 Group: Development/Languages
199 Requires: %{name} = %{version}
202 This package contains the header files and libraries needed to write
203 GEOS programs for the C64/C128 using the cc65 crosscompiler.
205 %description geos -l pl
206 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania programów GEOS dla
207 C64/C128 korzystaj±c z crosskompilatora cc65.
213 %{__make} -C src -f make/gcc.mak
214 %{__make} -C libsrc zap all
215 %{__make} -C doc html
218 rm -rf $RPM_BUILD_ROOT
219 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,emd,lib,tgi,include/{geos,tgi}}}
221 install -m 755 src/ar65/ar65 $RPM_BUILD_ROOT%{_bindir}
222 install -m 755 src/ca65/ca65 $RPM_BUILD_ROOT%{_bindir}
223 install -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT%{_bindir}
224 install -m 755 src/cc65/cc65 $RPM_BUILD_ROOT%{_bindir}
225 install -m 755 src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir}
226 install -m 755 src/da65/da65 $RPM_BUILD_ROOT%{_bindir}
227 install -m 755 src/grc/grc $RPM_BUILD_ROOT%{_bindir}
228 install -m 755 src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir}
229 install -m 755 src/od65/od65 $RPM_BUILD_ROOT%{_bindir}
230 install libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT%{_libdir}/%{name}/lib
231 install include/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include
232 install include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/geos
233 install include/tgi/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/tgi
234 install asminc/*.inc $RPM_BUILD_ROOT%{_libdir}/%{name}/asminc
237 install -m 644 libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/%{name}/emd
238 install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/%{name}/tgi
241 rm -rf $RPM_BUILD_ROOT
244 %defattr(644,root,root,755)
245 %doc doc/{BUGS,CREDITS,compile.txt,grc.txt,internal.txt,newvers.txt,readme.1st} doc/*.html announce.txt samples
246 %attr(755,root,root) %{_bindir}/*
247 %dir %{_libdir}/%{name}
248 %dir %{_libdir}/%{name}/emd
249 %dir %{_libdir}/%{name}/lib
250 %dir %{_libdir}/%{name}/tgi
251 %dir %{_libdir}/%{name}/include
252 %dir %{_libdir}/%{name}/include/tgi/
253 %dir %{_libdir}/%{name}/asminc
254 %{_libdir}/%{name}/include/*.h
255 %{_libdir}/%{name}/asminc/*.inc
256 %{_libdir}/%{name}/include/tgi/*.h
259 %defattr(644,root,root,755)
260 %{_libdir}/%{name}/lib/vic20.lib
261 %{_libdir}/%{name}/lib/vic20.o
262 %doc src/ld65/cfg/vic20.cfg
265 %defattr(644,root,root,755)
266 %{_libdir}/%{name}/lib/c16.lib
267 %{_libdir}/%{name}/lib/c16.o
268 %doc src/ld65/cfg/c16.cfg
271 %defattr(644,root,root,755)
272 %{_libdir}/%{name}/lib/c64.lib
273 %{_libdir}/%{name}/lib/c64.o
274 %{_libdir}/%{name}/emd/c64-*.emd
275 %{_libdir}/%{name}/tgi/c64-*.tgi
276 %doc src/ld65/cfg/c64.cfg
279 %defattr(644,root,root,755)
280 %{_libdir}/%{name}/lib/c128.lib
281 %{_libdir}/%{name}/lib/c128.o
282 %{_libdir}/%{name}/emd/c128-*.emd
283 %doc src/ld65/cfg/c128.cfg
286 %defattr(644,root,root,755)
287 %{_libdir}/%{name}/lib/atari.lib
288 %{_libdir}/%{name}/lib/atari.o
289 %doc src/ld65/cfg/atari.cfg
292 %defattr(644,root,root,755)
293 %{_libdir}/%{name}/lib/plus4.lib
294 %{_libdir}/%{name}/lib/plus4.o
295 %doc src/ld65/cfg/plus4.cfg
298 %defattr(644,root,root,755)
299 %{_libdir}/%{name}/lib/pet.lib
300 %{_libdir}/%{name}/lib/pet.o
301 %doc src/ld65/cfg/pet.cfg
304 %defattr(644,root,root,755)
305 %{_libdir}/%{name}/lib/cbm510.lib
306 %{_libdir}/%{name}/lib/cbm510.o
307 %{_libdir}/%{name}/emd/cbm510-*.emd
308 %doc src/ld65/cfg/cbm510.cfg
311 %defattr(644,root,root,755)
312 %{_libdir}/%{name}/lib/cbm610.lib
313 %{_libdir}/%{name}/lib/cbm610.o
314 %{_libdir}/%{name}/emd/cbm610-*.emd
315 %doc src/ld65/cfg/cbm610.cfg
318 %defattr(644,root,root,755)
319 %{_libdir}/%{name}/lib/apple2.lib
320 %{_libdir}/%{name}/lib/apple2.o
321 %doc src/ld65/cfg/apple2.cfg
324 %defattr(644,root,root,755)
325 %{_libdir}/%{name}/lib/atmos.lib
326 %{_libdir}/%{name}/lib/atmos.o
327 %doc src/ld65/cfg/atmos.cfg
330 %defattr(644,root,root,755)
331 %attr(755,root,root) %{_bindir}/grc
332 %{_libdir}/%{name}/lib/geos.lib
333 %{_libdir}/%{name}/lib/geos.o
334 %dir %{_libdir}/%{name}/include/geos
335 %{_libdir}/%{name}/include/geos/*.h
336 %doc src/ld65/cfg/geos.cfg