]> git.pld-linux.org Git - packages/cc65.git/blob - cc65.spec
- converted to UTF-8
[packages/cc65.git] / cc65.spec
1 Summary:        Crosscompiler/crossassembler for 6502 systems
2 Summary(pl.UTF-8):   Kompilator/asembler skrośny dla systemów 6502
3 Name:           cc65
4 Version:        2.11.0
5 Release:        1
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)
16
17 %description
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.
22
23 %description -l pl.UTF-8
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.
28
29 %package apple2
30 Summary:        Apple ][ specific libraries and headers for the cc65 compiler
31 Summary(pl.UTF-8):   Specyficzne dla Apple ][ biblioteki i pliki nagłówkowe
32 License:        Freeware
33 Group:          Development/Languages
34 Requires:       %{name} = %{version}-%{release}
35
36 %description apple2
37 This package contains the header files and libraries needed to write
38 programs for the Apple ][ using the cc65 crosscompiler.
39
40 %description apple2 -l pl.UTF-8
41 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
42 programów dla Apple ][ korzystając z kompilatora skrośnego cc65.
43
44 %package apple2enh
45 Summary:        Apple //e specific libraries and headers for the cc65 compiler
46 Summary(pl.UTF-8):   Specyficzne dla Apple //e biblioteki i pliki nagłówkowe
47 License:        Freeware
48 Group:          Development/Languages
49 Requires:       %{name} = %{version}-%{release}
50
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.
54
55 %description apple2enh -l pl.UTF-8
56 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
57 programów dla Apple //e korzystając z kompilatora skrośnego cc65.
58
59 %package atari
60 Summary:        Atari specific libraries and headers for the cc65 compiler
61 Summary(pl.UTF-8):   Specyficzne dla Atari biblioteki i pliki nagłówkowe
62 License:        Freeware
63 Group:          Development/Languages
64 Requires:       %{name} = %{version}-%{release}
65
66 %description atari
67 This package contains the header files and libraries needed to write
68 programs for the 8 bit Atari using the cc65 crosscompiler.
69
70 %description atari -l pl.UTF-8
71 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
72 programów dla 8 bitowego Atari korzystając z kompilatora skrośnego
73 cc65.
74
75 %package atmos
76 Summary:        Oric Atmos specific libraries and headers for the cc65 compiler
77 Summary(pl.UTF-8):   Specyficzne dla Oric Atmos biblioteki i pliki nagłówkowe
78 License:        Freeware
79 Group:          Development/Languages
80 Requires:       %{name} = %{version}-%{release}
81
82 %description atmos
83 This package contains the header files and libraries needed to write
84 programs for the Oric Atmos using the cc65 crosscompiler.
85
86 %description atmos -l pl.UTF-8
87 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
88 programów dla Oric Atmos korzystając z kompilatora skrośnego cc65.
89
90 %package c16
91 Summary:        C16/116 specific libraries and headers for the cc65 compiler
92 Summary(pl.UTF-8):   Specyficzne dla C16/116 biblioteki i pliki nagłówkowe
93 License:        Freeware
94 Group:          Development/Languages
95 Requires:       %{name} = %{version}-%{release}
96
97 %description c16
98 This package contains the header files and libraries needed to write
99 programs for the Commodore C16/116 using the cc65 crosscompiler.
100
101 %description c16 -l pl.UTF-8
102 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
103 programów dla Commodore C16/116 korzystając z kompilatora skrośnego
104 cc65.
105
106 %package c64
107 Summary:        C64 specific libraries and headers for the cc65 compiler
108 Summary(pl.UTF-8):   Specyficzne dla C64 biblioteki i pliki nagłówkowe
109 License:        Freeware
110 Group:          Development/Languages
111 Requires:       %{name} = %{version}-%{release}
112
113 %description c64
114 This package contains the header files and libraries needed to write
115 programs for the Commodore C64 using the cc65 crosscompiler.
116
117 %description c64 -l pl.UTF-8
118 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
119 programów dla Commodore C64 korzystając z kompilatora skrośnego cc65.
120
121 %package c128
122 Summary:        C128 specific libraries and headers for the cc65 compiler
123 Summary(pl.UTF-8):   Specyficzne dla C128 biblioteki i pliki nagłówkowe
124 License:        Freeware
125 Group:          Development/Languages
126 Requires:       %{name} = %{version}-%{release}
127
128 %description c128
129 This package contains the header files and libraries needed to write
130 programs for the Commodore C128 using the cc65 crosscompiler.
131
132 %description c128 -l pl.UTF-8
133 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
134 programów dla Commodore C128 korzystając z kompilatora skrośnego cc65.
135
136 %package cbm510
137 Summary:        CBM 510 specific libraries and headers for the cc65 compiler
138 Summary(pl.UTF-8):   Specyficzne dla CBM 510 biblioteki i pliki nagłówkowe
139 License:        Freeware
140 Group:          Development/Languages
141 Requires:       %{name} = %{version}-%{release}
142
143 %description cbm510
144 This package contains the header files and libraries needed to write
145 programs for the Commodore CBM 510 (aka P500) using the cc65
146 crosscompiler.
147
148 %description cbm510 -l pl.UTF-8
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.
152
153 %package cbm610
154 Summary:        CBM 610 specific libraries and headers for the cc65 compiler
155 Summary(pl.UTF-8):   Specyficzne dla CBM 610 biblioteki i pliki nagłówkowe
156 License:        Freeware
157 Group:          Development/Languages
158 Requires:       %{name} = %{version}-%{release}
159
160 %description cbm610
161 This package contains the header files and libraries needed to write
162 programs for the Commodore PET-II (CBM600/700) using the cc65
163 crosscompiler.
164
165 %description cbm610 -l pl.UTF-8
166 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
167 programów dla Commodore PET-II (CBM600/700) korzystając z kompilatora
168 skrośnego cc65.
169
170 %package geos
171 Summary:        GEOS specific libraries and headers for the cc65 compiler
172 Summary(pl.UTF-8):   Specyficzne dla GEOS biblioteki i pliki nagłówkowe
173 License:        Freeware
174 Group:          Development/Languages
175 Requires:       %{name} = %{version}-%{release}
176
177 %description geos
178 This package contains the header files and libraries needed to write
179 GEOS programs for the C64/C128 using the cc65 crosscompiler.
180
181 %description geos -l pl.UTF-8
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.
184
185 %package lynx
186 Summary:        Lynx specific libraries for the cc65 compiler
187 Summary(pl.UTF-8):   Specyficzne dla Lynksa biblioteki dla cc65
188 License:        Freeware
189 Group:          Development/Languages
190 Requires:       %{name} = %{version}-%{release}
191
192 %description lynx
193 This package contains the libraries needed to write programs for the
194 Lynx using the cc65 crosscompiler.
195
196 %description lynx -l pl.UTF-8
197 Pakiet zawiera biblioteki potrzebne do pisania programów dla Lynksa
198 korzystając z kompilatora skrośnego cc65.
199
200 %package nes
201 Summary:        NES (Nintendo Entertainment System) specific libraries for the cc65 compiler
202 Summary(pl.UTF-8):   Specyficzne dla NES (Nintendo Entertainment System) biblioteki dla cc65
203 License:        Freeware
204 Group:          Development/Languages
205 Requires:       %{name} = %{version}-%{release}
206
207 %description nes
208 This package contains the libraries needed to write programs for the
209 NES (Nintendo Entertainment System) using the cc65 crosscompiler.
210
211 %description nes -l pl.UTF-8
212 Pakiet zawiera biblioteki potrzebne do pisania programów dla NES
213 (Nintendo Entertainment System) korzystając z kompilatora skrośnego
214 cc65.
215
216 %package pet
217 Summary:        PET specific libraries and headers for the cc65 compiler
218 Summary(pl.UTF-8):   Specyficzne dla PET biblioteki i pliki nagłówkowe
219 License:        Freeware
220 Group:          Development/Languages
221 Requires:       %{name} = %{version}-%{release}
222
223 %description pet
224 This package contains the header files and libraries needed to write
225 programs for the Commodore PET using the cc65 crosscompiler.
226
227 %description pet -l pl.UTF-8
228 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
229 programów dla Commodore PET korzystając z kompilatora skrośnego cc65.
230
231 %package plus4
232 Summary:        Plus/4 specific libraries and headers for the cc65 compiler
233 Summary(pl.UTF-8):   Specyficzne dla Plus/4 biblioteki i pliki nagłówkowe
234 License:        Freeware
235 Group:          Development/Languages
236 Requires:       %{name} = %{version}-%{release}
237
238 %description plus4
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
241 crosscompiler.
242
243 %description plus4 -l pl.UTF-8
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
246 skrośnego cc65.
247
248 %package supervision
249 Summary:        Supervision specific libraries for the cc65 compiler
250 Summary(pl.UTF-8):   Specyficzne dla Supervision biblioteki dla kompilatora cc65
251 License:        Freeware
252 Group:          Development/Languages
253 Requires:       %{name} = %{version}-%{release}
254
255 %description supervision
256 This package contains the libraries needed to write programs for the
257 Supervision console using the cc65 crosscompiler.
258
259 %description supervision -l pl.UTF-8
260 Pakiet zawiera biblioteki potrzebne do pisania programów dla konsoli
261 Supervision korzystając z kompilatora skrośnego cc65.
262
263 %package vic20
264 Summary:        VIC20 specific libraries and headers for the cc65 compiler
265 Summary(pl.UTF-8):   Specyficzne dla VIC20 biblioteki i pliki nagłówkowe
266 License:        Freeware
267 Group:          Development/Languages
268 Requires:       %{name} = %{version}-%{release}
269
270 %description vic20
271 This package contains the header files and libraries needed to write
272 programs for the Commodore VIC20 using the cc65 crosscompiler.
273
274 %description vic20 -l pl.UTF-8
275 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do pisania
276 programów dla Commodore VIC20 korzystając z kompilatora skrośnego
277 cc65.
278
279 %prep
280 %setup -q
281
282 echo 'CDEFS=-D$(SPAWN)' >> src/cl65/make/gcc.mak
283
284 %build
285 %{__make} -C src -f make/gcc.mak \
286         CC="%{__cc}" \
287         CFLAGS="%{rpmcflags} -Wall -W -I../common \$(CDEFS)"
288
289 %{__make} -C libsrc zap all
290 %{__make} -C doc html
291
292 %install
293 rm -rf $RPM_BUILD_ROOT
294 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,emd,lib,tgi,include/{geos,tgi}}}
295
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
310
311 # TGI and EM drivers
312 install libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/%{name}/emd
313 install libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/%{name}/tgi
314
315 %clean
316 rm -rf $RPM_BUILD_ROOT
317
318 %files
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
332
333 %files apple2enh
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
339
340 %files apple2
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
347
348 %files atari
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
353
354 %files atmos
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
360
361 %files c16
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
367
368 %files c64
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
375
376 %files c128
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
383
384 %files cbm510
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
390
391 %files cbm610
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
397
398 %files geos
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
408
409 %files lynx
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
415
416 %files nes
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
421
422 %files pet
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
427
428 %files plus4
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
433
434 %files supervision
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
439
440 %files vic20
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
This page took 0.085893 seconds and 3 git commands to generate.