]> git.pld-linux.org Git - packages/cc65.git/blob - cc65.spec
- updated to 2.13.3
[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.13.3
5 Release:        1
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)
15
16 %description
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.
21
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.
27
28 %package apple2
29 Summary:        Apple ][ specific libraries and headers for the cc65 compiler
30 Summary(pl.UTF-8):      Specyficzne dla Apple ][ biblioteki i pliki nagłówkowe
31 License:        Freeware
32 Group:          Development/Languages
33 Requires:       %{name} = %{version}-%{release}
34
35 %description apple2
36 This package contains the header files and libraries needed to write
37 programs for the Apple ][ using the cc65 crosscompiler.
38
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.
42
43 %package apple2enh
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
46 License:        Freeware
47 Group:          Development/Languages
48 Requires:       %{name} = %{version}-%{release}
49
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.
53
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.
57
58 %package atari
59 Summary:        Atari specific libraries and headers for the cc65 compiler
60 Summary(pl.UTF-8):      Specyficzne dla Atari biblioteki i pliki nagłówkowe
61 License:        Freeware
62 Group:          Development/Languages
63 Requires:       %{name} = %{version}-%{release}
64
65 %description atari
66 This package contains the header files and libraries needed to write
67 programs for the 8 bit Atari using the cc65 crosscompiler.
68
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
72 cc65.
73
74 %package atmos
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
77 License:        Freeware
78 Group:          Development/Languages
79 Requires:       %{name} = %{version}-%{release}
80
81 %description atmos
82 This package contains the header files and libraries needed to write
83 programs for the Oric Atmos using the cc65 crosscompiler.
84
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.
88
89 %package c16
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
92 License:        Freeware
93 Group:          Development/Languages
94 Requires:       %{name} = %{version}-%{release}
95
96 %description c16
97 This package contains the header files and libraries needed to write
98 programs for the Commodore C16/116 using the cc65 crosscompiler.
99
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
103 cc65.
104
105 %package c64
106 Summary:        C64 specific libraries and headers for the cc65 compiler
107 Summary(pl.UTF-8):      Specyficzne dla C64 biblioteki i pliki nagłówkowe
108 License:        Freeware
109 Group:          Development/Languages
110 Requires:       %{name} = %{version}-%{release}
111
112 %description c64
113 This package contains the header files and libraries needed to write
114 programs for the Commodore C64 using the cc65 crosscompiler.
115
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.
119
120 %package c128
121 Summary:        C128 specific libraries and headers for the cc65 compiler
122 Summary(pl.UTF-8):      Specyficzne dla C128 biblioteki i pliki nagłówkowe
123 License:        Freeware
124 Group:          Development/Languages
125 Requires:       %{name} = %{version}-%{release}
126
127 %description c128
128 This package contains the header files and libraries needed to write
129 programs for the Commodore C128 using the cc65 crosscompiler.
130
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.
134
135 %package cbm510
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
138 License:        Freeware
139 Group:          Development/Languages
140 Requires:       %{name} = %{version}-%{release}
141
142 %description cbm510
143 This package contains the header files and libraries needed to write
144 programs for the Commodore CBM 510 (aka P500) using the cc65
145 crosscompiler.
146
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.
151
152 %package cbm610
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
155 License:        Freeware
156 Group:          Development/Languages
157 Requires:       %{name} = %{version}-%{release}
158
159 %description cbm610
160 This package contains the header files and libraries needed to write
161 programs for the Commodore PET-II (CBM600/700) using the cc65
162 crosscompiler.
163
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
167 skrośnego cc65.
168
169 %package geos
170 Summary:        GEOS specific libraries and headers for the cc65 compiler
171 Summary(pl.UTF-8):      Specyficzne dla GEOS biblioteki i pliki nagłówkowe
172 License:        Freeware
173 Group:          Development/Languages
174 Requires:       %{name} = %{version}-%{release}
175
176 %description geos
177 This package contains the header files and libraries needed to write
178 GEOS programs for the C64/C128 using the cc65 crosscompiler.
179
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.
183
184 %package lynx
185 Summary:        Lynx specific libraries for the cc65 compiler
186 Summary(pl.UTF-8):      Specyficzne dla Lynksa biblioteki dla cc65
187 License:        Freeware
188 Group:          Development/Languages
189 Requires:       %{name} = %{version}-%{release}
190
191 %description lynx
192 This package contains the libraries needed to write programs for the
193 Lynx using the cc65 crosscompiler.
194
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.
198
199 %package nes
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
202 License:        Freeware
203 Group:          Development/Languages
204 Requires:       %{name} = %{version}-%{release}
205
206 %description nes
207 This package contains the libraries needed to write programs for the
208 NES (Nintendo Entertainment System) using the cc65 crosscompiler.
209
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
213 cc65.
214
215 %package pet
216 Summary:        PET specific libraries and headers for the cc65 compiler
217 Summary(pl.UTF-8):      Specyficzne dla PET biblioteki i pliki nagłówkowe
218 License:        Freeware
219 Group:          Development/Languages
220 Requires:       %{name} = %{version}-%{release}
221
222 %description pet
223 This package contains the header files and libraries needed to write
224 programs for the Commodore PET using the cc65 crosscompiler.
225
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.
229
230 %package plus4
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
233 License:        Freeware
234 Group:          Development/Languages
235 Requires:       %{name} = %{version}-%{release}
236
237 %description plus4
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
240 crosscompiler.
241
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
245 skrośnego cc65.
246
247 %package supervision
248 Summary:        Supervision specific libraries for the cc65 compiler
249 Summary(pl.UTF-8):      Specyficzne dla Supervision biblioteki dla kompilatora cc65
250 License:        Freeware
251 Group:          Development/Languages
252 Requires:       %{name} = %{version}-%{release}
253
254 %description supervision
255 This package contains the libraries needed to write programs for the
256 Supervision console using the cc65 crosscompiler.
257
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.
261
262 %package vic20
263 Summary:        VIC20 specific libraries and headers for the cc65 compiler
264 Summary(pl.UTF-8):      Specyficzne dla VIC20 biblioteki i pliki nagłówkowe
265 License:        Freeware
266 Group:          Development/Languages
267 Requires:       %{name} = %{version}-%{release}
268
269 %description vic20
270 This package contains the header files and libraries needed to write
271 programs for the Commodore VIC20 using the cc65 crosscompiler.
272
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
276 cc65.
277
278 %prep
279 %setup -q
280
281 # use sgml-tools (no linuxdoc-tools in PLD)
282 sed -i -e 's/linuxdoc -B /sgml2/' doc/Makefile
283
284 %build
285 %{__make} -C src -f make/gcc.mak \
286         CC="%{__cc}" \
287         CFLAGS="%{rpmcflags} -ansi -Wall -W -I../common \$(CDEFS)"
288
289 %{__make} -j1 -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-iobuf-0800.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-iobuf-0800.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
353 %files atmos
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
358
359 %files c16
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
364
365 %files c64
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
372
373 %files c128
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
379
380 %files cbm510
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
385
386 %files cbm610
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
391
392 %files geos
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
401
402 %files lynx
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
407
408 %files nes
409 %defattr(644,root,root,755)
410 %doc src/ld65/cfg/nes.cfg
411 %{_libdir}/%{name}/lib/nes.lib
412
413 %files pet
414 %defattr(644,root,root,755)
415 %doc src/ld65/cfg/pet.cfg
416 %{_libdir}/%{name}/lib/pet.lib
417
418 %files plus4
419 %defattr(644,root,root,755)
420 %doc src/ld65/cfg/plus4.cfg
421 %{_libdir}/%{name}/lib/plus4.lib
422
423 %files supervision
424 %defattr(644,root,root,755)
425 %doc src/ld65/cfg/supervision*.cfg
426 %{_libdir}/%{name}/lib/supervision.lib
427
428 %files vic20
429 %defattr(644,root,root,755)
430 %doc src/ld65/cfg/vic20.cfg
431 %{_libdir}/%{name}/lib/vic20.lib
This page took 0.122705 seconds and 3 git commands to generate.