]> git.pld-linux.org Git - packages/cc65.git/blob - cc65.spec
- added more files, nes and supervision packages
[packages/cc65.git] / cc65.spec
1 Summary:        Crosscompiler/crossassembler for 6502 systems
2 Summary(pl):    Kompilator/asembler skro¶ny dla systemów 6502
3 Name:           cc65
4 Version:        2.10.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:  4ca1a2e720a50ac727674543e71e8150
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
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³ zainstalowac jeden z
27 pakietów bibliotecznych.
28
29 %package vic20
30 Summary:        VIC20 specific libraries and headers for the cc65 compiler
31 Summary(pl):    Specyficzne dla VIC20 biblioteki i pliki nag³ówkowe
32 License:        Freeware
33 Group:          Development/Languages
34 Requires:       %{name} = %{version}
35
36 %description vic20
37 This package contains the header files and libraries needed to write
38 programs for the Commodore VIC20 using the cc65 crosscompiler.
39
40 %description vic20 -l pl
41 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
42 programów dla Commodore VIC20 korzystaj±c z kompilatora skro¶nego
43 cc65.
44
45 %package c16
46 Summary:        C16/116 specific libraries and headers for the cc65 compiler
47 Summary(pl):    Specyficzne dla C16/116 biblioteki i pliki nag³ówkowe
48 License:        Freeware
49 Group:          Development/Languages
50 Requires:       %{name} = %{version}
51
52 %description c16
53 This package contains the header files and libraries needed to write
54 programs for the Commodore C16/116 using the cc65 crosscompiler.
55
56 %description c16 -l pl
57 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
58 programów dla Commodore C16/116 korzystaj±c z kompilatora skro¶nego
59 cc65.
60
61 %package c64
62 Summary:        C64 specific libraries and headers for the cc65 compiler
63 Summary(pl):    Specyficzne dla C64 biblioteki i pliki nag³ówkowe
64 License:        Freeware
65 Group:          Development/Languages
66 Requires:       %{name} = %{version}
67
68 %description c64
69 This package contains the header files and libraries needed to write
70 programs for the Commodore C64 using the cc65 crosscompiler.
71
72 %description c64 -l pl
73 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
74 programów dla Commodore C64 korzystaj±c z kompilatora skro¶nego cc65.
75
76 %package c128
77 Summary:        C128 specific libraries and headers for the cc65 compiler
78 Summary(pl):    Specyficzne dla C128 biblioteki i pliki nag³ówkowe
79 License:        Freeware
80 Group:          Development/Languages
81 Requires:       %{name} = %{version}
82
83 %description c128
84 This package contains the header files and libraries needed to write
85 programs for the Commodore C128 using the cc65 crosscompiler.
86
87 %description c128 -l pl
88 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
89 programów dla Commodore C128 korzystaj±c z kompilatora skro¶nego cc65.
90
91 %package atari
92 Summary:        Atari specific libraries and headers for the cc65 compiler
93 Summary(pl):    Specyficzne dla Atari biblioteki i pliki nag³ówkowe
94 License:        Freeware
95 Group:          Development/Languages
96 Requires:       %{name} = %{version}
97
98 %description atari
99 This package contains the header files and libraries needed to write
100 programs for the 8 bit Atari using the cc65 crosscompiler.
101
102 %description atari -l pl
103 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
104 programów dla 8 bitowego Atari korzystaj±c z kompilatora skro¶nego
105 cc65.
106
107 %package plus4
108 Summary:        Plus/4 specific libraries and headers for the cc65 compiler
109 Summary(pl):    Specyficzne dla Plus/4 biblioteki i pliki nag³ówkowe
110 License:        Freeware
111 Group:          Development/Languages
112 Requires:       %{name} = %{version}
113
114 %description plus4
115 This package contains the header files and libraries needed to write
116 programs for the Commodore Plus/4 and C16/116 using the cc65
117 crosscompiler.
118
119 %description plus4 -l pl
120 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
121 programów dla Commodore Plus/4 i C16/116 korzystaj±c z kompilatora
122 skro¶nego cc65.
123
124 %package pet
125 Summary:        PET specific libraries and headers for the cc65 compiler
126 Summary(pl):    Specyficzne dla PET biblioteki i pliki nag³ówkowe
127 License:        Freeware
128 Group:          Development/Languages
129 Requires:       %{name} = %{version}
130
131 %description pet
132 This package contains the header files and libraries needed to write
133 programs for the Commodore PET using the cc65 crosscompiler.
134
135 %description pet -l pl
136 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
137 programów dla Commodore PET korzystaj±c z kompilatora skro¶nego cc65.
138
139 %package cbm510
140 Summary:        CBM 510 specific libraries and headers for the cc65 compiler
141 Summary(pl):    Specyficzne dla CBM 510 biblioteki i pliki nag³ówkowe
142 License:        Freeware
143 Group:          Development/Languages
144 Requires:       %{name} = %{version}
145
146 %description cbm510
147 This package contains the header files and libraries needed to write
148 programs for the Commodore CBM 510 (aka P500) using the cc65
149 crosscompiler.
150
151 %description cbm510 -l pl
152 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
153 programów dla Commodore CBM 510 (zwany te¿ P500) korzystaj±c z
154 kompilatora skro¶nego cc65.
155
156 %package cbm610
157 Summary:        CBM 610 specific libraries and headers for the cc65 compiler
158 Summary(pl):    Specyficzne dla CBM 610 biblioteki i pliki nag³ówkowe
159 License:        Freeware
160 Group:          Development/Languages
161 Requires:       %{name} = %{version}
162
163 %description cbm610
164 This package contains the header files and libraries needed to write
165 programs for the Commodore PET-II (CBM600/700) using the cc65
166 crosscompiler.
167
168 %description cbm610 -l pl
169 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
170 programów dla Commodore PET-II (CBM600/700) korzystaj±c z kompilatora
171 skro¶nego cc65.
172
173 %package apple2
174 Summary:        Apple ][ specific libraries and headers for the cc65 compiler
175 Summary(pl):    Specyficzne dla Apple ][ biblioteki i pliki nag³ówkowe
176 License:        Freeware
177 Group:          Development/Languages
178 Requires:       %{name} = %{version}
179
180 %description apple2
181 This package contains the header files and libraries needed to write
182 programs for the Apple ][ using the cc65 crosscompiler.
183
184 %description apple2 -l pl
185 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
186 programów dla Apple ][ korzystaj±c z kompilatora skro¶nego cc65.
187
188 %package atmos
189 Summary:        Oric Atmos specific libraries and headers for the cc65 compiler
190 Summary(pl):    Specyficzne dla Oric Atmos biblioteki i pliki nag³ówkowe
191 License:        Freeware
192 Group:          Development/Languages
193 Requires:       %{name} = %{version}
194
195 %description atmos
196 This package contains the header files and libraries needed to write
197 programs for the Oric Atmos using the cc65 crosscompiler.
198
199 %description atmos -l pl
200 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
201 programów dla Oric Atmos korzystaj±c z kompilatora skro¶nego cc65.
202
203 %package geos
204 Summary:        GEOS specific libraries and headers for the cc65 compiler
205 Summary(pl):    Specyficzne dla GEOS biblioteki i pliki nag³ówkowe
206 License:        Freeware
207 Group:          Development/Languages
208 Requires:       %{name} = %{version}
209
210 %description geos
211 This package contains the header files and libraries needed to write
212 GEOS programs for the C64/C128 using the cc65 crosscompiler.
213
214 %description geos -l pl
215 Pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do pisania
216 programów GEOS dla C64/C128 korzystaj±c z kompilatora skro¶nego cc65.
217
218 %package nes
219 Summary:        NES (Nintendo Entertainment System) specific libraries for the cc65 compiler
220 Summary(pl):    Specyficzne dla NES (Nintendo Entertainment System) biblioteki dla cc65
221 License:        Freeware
222 Group:          Development/Languages
223 Requires:       %{name} = %{version}
224
225 %description nes
226 This package contains the libraries needed to write programs for the
227 NES (Nintendo Entertainment System) using the cc65 crosscompiler.
228
229 %description nes -l pl
230 Pakiet zawiera biblioteki potrzebne do pisania programów dla NES
231 (Nintendo Entertainment System) korzystaj±c z kompilatora skro¶nego
232 cc65.
233
234 %package supervision
235 Summary:        Supervision specific libraries for the cc65 compiler
236 Summary(pl):    Specyficzne dla Supervision biblioteki dla kompilatora cc65
237 License:        Freeware
238 Group:          Development/Languages
239 Requires:       %{name} = %{version}
240
241 %description supervision
242 This package contains the libraries needed to write programs for the
243 Supervision console using the cc65 crosscompiler.
244
245 %description supervision -l pl
246 Pakiet zawiera biblioteki potrzebne do pisania programów dla konsoli
247 Supervision korzystaj±c z kompilatora skro¶nego cc65.
248
249 %prep
250 %setup -q
251
252 echo 'CDEFS=-D$(SPAWN)' >> src/cl65/make/gcc.mak
253
254 %build
255 %{__make} -C src -f make/gcc.mak \
256         CC="%{__cc}" \
257         CFLAGS="%{rpmcflags} -Wall -W -I../common \$(CDEFS)"
258
259 %{__make} -C libsrc zap all
260 %{__make} -C doc html
261
262 %install
263 rm -rf $RPM_BUILD_ROOT
264 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,emd,lib,tgi,include/{geos,tgi}}}
265
266 install -m 755 src/ar65/ar65 $RPM_BUILD_ROOT%{_bindir}
267 install -m 755 src/ca65/ca65 $RPM_BUILD_ROOT%{_bindir}
268 install -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT%{_bindir}
269 install -m 755 src/cc65/cc65 $RPM_BUILD_ROOT%{_bindir}
270 install -m 755 src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir}
271 install -m 755 src/da65/da65 $RPM_BUILD_ROOT%{_bindir}
272 install -m 755 src/grc/grc $RPM_BUILD_ROOT%{_bindir}
273 install -m 755 src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir}
274 install -m 755 src/od65/od65 $RPM_BUILD_ROOT%{_bindir}
275 install libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT%{_libdir}/%{name}/lib
276 install include/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include
277 install include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/geos
278 install include/tgi/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/tgi
279 install asminc/*.inc $RPM_BUILD_ROOT%{_libdir}/%{name}/asminc
280
281 # TGI and EM drivers
282 install -m 644 libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/%{name}/emd
283 install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/%{name}/tgi
284
285 %clean
286 rm -rf $RPM_BUILD_ROOT
287
288 %files
289 %defattr(644,root,root,755)
290 %doc doc/{BUGS,CREDITS,compile.txt,grc.txt,internal.txt,newvers.txt,readme.1st} doc/*.html announce.txt samples
291 %attr(755,root,root) %{_bindir}/*
292 %dir %{_libdir}/%{name}
293 %dir %{_libdir}/%{name}/emd
294 %dir %{_libdir}/%{name}/lib
295 %dir %{_libdir}/%{name}/tgi
296 %dir %{_libdir}/%{name}/include
297 %dir %{_libdir}/%{name}/include/tgi
298 %dir %{_libdir}/%{name}/asminc
299 %{_libdir}/%{name}/include/*.h
300 %{_libdir}/%{name}/asminc/*.inc
301 %{_libdir}/%{name}/include/tgi/*.h
302
303 %files vic20
304 %defattr(644,root,root,755)
305 %doc src/ld65/cfg/vic20.cfg
306 %{_libdir}/%{name}/lib/vic20.lib
307 %{_libdir}/%{name}/lib/vic20.o
308
309 %files c16
310 %defattr(644,root,root,755)
311 %doc src/ld65/cfg/c16.cfg
312 %{_libdir}/%{name}/lib/c16.lib
313 %{_libdir}/%{name}/lib/c16.o
314 %{_libdir}/%{name}/emd/c16-*.emd
315
316 %files c64
317 %defattr(644,root,root,755)
318 %doc src/ld65/cfg/c64.cfg
319 %{_libdir}/%{name}/lib/c64.lib
320 %{_libdir}/%{name}/lib/c64.o
321 %{_libdir}/%{name}/emd/c64-*.emd
322 %{_libdir}/%{name}/tgi/c64-*.tgi
323
324 %files c128
325 %defattr(644,root,root,755)
326 %doc src/ld65/cfg/c128.cfg
327 %{_libdir}/%{name}/lib/c128.lib
328 %{_libdir}/%{name}/lib/c128.o
329 %{_libdir}/%{name}/emd/c128-*.emd
330 %{_libdir}/%{name}/tgi/c128-*.tgi
331
332 %files atari
333 %defattr(644,root,root,755)
334 %doc src/ld65/cfg/atari.cfg
335 %{_libdir}/%{name}/lib/atari.lib
336 %{_libdir}/%{name}/lib/atari.o
337
338 %files plus4
339 %defattr(644,root,root,755)
340 %doc src/ld65/cfg/plus4.cfg
341 %{_libdir}/%{name}/lib/plus4.lib
342 %{_libdir}/%{name}/lib/plus4.o
343
344 %files pet
345 %defattr(644,root,root,755)
346 %doc src/ld65/cfg/pet.cfg
347 %{_libdir}/%{name}/lib/pet.lib
348 %{_libdir}/%{name}/lib/pet.o
349
350 %files cbm510
351 %defattr(644,root,root,755)
352 %doc src/ld65/cfg/cbm510.cfg
353 %{_libdir}/%{name}/lib/cbm510.lib
354 %{_libdir}/%{name}/lib/cbm510.o
355 %{_libdir}/%{name}/emd/cbm510-*.emd
356
357 %files cbm610
358 %defattr(644,root,root,755)
359 %doc src/ld65/cfg/cbm610.cfg
360 %{_libdir}/%{name}/lib/cbm610.lib
361 %{_libdir}/%{name}/lib/cbm610.o
362 %{_libdir}/%{name}/emd/cbm610-*.emd
363
364 %files apple2
365 %defattr(644,root,root,755)
366 %doc src/ld65/cfg/apple2.cfg
367 %{_libdir}/%{name}/lib/apple2.lib
368 %{_libdir}/%{name}/lib/apple2.o
369 %{_libdir}/%{name}/emd/a2.*.emd
370 %{_libdir}/%{name}/tgi/a2.*.tgi
371
372 %files atmos
373 %defattr(644,root,root,755)
374 %doc src/ld65/cfg/atmos.cfg
375 %{_libdir}/%{name}/lib/atmos.lib
376 %{_libdir}/%{name}/lib/atmos.o
377
378 %files geos
379 %defattr(644,root,root,755)
380 %doc src/ld65/cfg/geos.cfg
381 %attr(755,root,root) %{_bindir}/grc
382 %{_libdir}/%{name}/lib/geos.lib
383 %{_libdir}/%{name}/lib/geos.o
384 %dir %{_libdir}/%{name}/include/geos
385 %{_libdir}/%{name}/include/geos/*.h
386 %{_libdir}/%{name}/emd/geos-*.emd
387 %{_libdir}/%{name}/tgi/geos-*.tgi
388
389 %files nes
390 %defattr(644,root,root,755)
391 %doc src/ld65/cfg/nes.cfg
392 %{_libdir}/%{name}/lib/nes.lib
393 %{_libdir}/%{name}/lib/nes.o
394
395 %files supervision
396 %defattr(644,root,root,755)
397 %doc src/ld65/cfg/supervision*.cfg
398 %{_libdir}/%{name}/lib/supervision.lib
399 %{_libdir}/%{name}/lib/supervision.o
This page took 0.135939 seconds and 3 git commands to generate.