]> git.pld-linux.org Git - packages/cc65.git/blob - cc65.spec
6ab2d955ab204aa1e87fb8ee77231cdfdd75d4f2
[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.9.2
5 Release:        3
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/
13 BuildRequires:  perl
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 %prep
219 %setup -q
220
221 %build
222 %{__make} -C src -f make/gcc.mak
223 %{__make} -C libsrc zap all
224 %{__make} -C doc html
225
226 %install
227 rm -rf $RPM_BUILD_ROOT
228 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,emd,lib,tgi,include/{geos,tgi}}}
229
230 install -m 755 src/ar65/ar65 $RPM_BUILD_ROOT%{_bindir}
231 install -m 755 src/ca65/ca65 $RPM_BUILD_ROOT%{_bindir}
232 install -m 755 src/ca65html/ca65html $RPM_BUILD_ROOT%{_bindir}
233 install -m 755 src/cc65/cc65 $RPM_BUILD_ROOT%{_bindir}
234 install -m 755 src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir}
235 install -m 755 src/da65/da65 $RPM_BUILD_ROOT%{_bindir}
236 install -m 755 src/grc/grc $RPM_BUILD_ROOT%{_bindir}
237 install -m 755 src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir}
238 install -m 755 src/od65/od65 $RPM_BUILD_ROOT%{_bindir}
239 install libsrc/*.lib libsrc/*.o $RPM_BUILD_ROOT%{_libdir}/%{name}/lib
240 install include/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include
241 install include/geos/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/geos
242 install include/tgi/*.h $RPM_BUILD_ROOT%{_libdir}/%{name}/include/tgi
243 install asminc/*.inc $RPM_BUILD_ROOT%{_libdir}/%{name}/asminc
244
245 # TGI and EM drivers
246 install -m 644 libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/%{name}/emd
247 install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/%{name}/tgi
248
249 %clean
250 rm -rf $RPM_BUILD_ROOT
251
252 %files
253 %defattr(644,root,root,755)
254 %doc doc/{BUGS,CREDITS,compile.txt,grc.txt,internal.txt,newvers.txt,readme.1st} doc/*.html announce.txt samples
255 %attr(755,root,root) %{_bindir}/*
256 %dir %{_libdir}/%{name}
257 %dir %{_libdir}/%{name}/emd
258 %dir %{_libdir}/%{name}/lib
259 %dir %{_libdir}/%{name}/tgi
260 %dir %{_libdir}/%{name}/include
261 %dir %{_libdir}/%{name}/include/tgi/
262 %dir %{_libdir}/%{name}/asminc
263 %{_libdir}/%{name}/include/*.h
264 %{_libdir}/%{name}/asminc/*.inc
265 %{_libdir}/%{name}/include/tgi/*.h
266
267 %files vic20
268 %defattr(644,root,root,755)
269 %{_libdir}/%{name}/lib/vic20.lib
270 %{_libdir}/%{name}/lib/vic20.o
271 %doc src/ld65/cfg/vic20.cfg
272
273 %files c16
274 %defattr(644,root,root,755)
275 %{_libdir}/%{name}/lib/c16.lib
276 %{_libdir}/%{name}/lib/c16.o
277 %doc src/ld65/cfg/c16.cfg
278
279 %files c64
280 %defattr(644,root,root,755)
281 %{_libdir}/%{name}/lib/c64.lib
282 %{_libdir}/%{name}/lib/c64.o
283 %{_libdir}/%{name}/emd/c64-*.emd
284 %{_libdir}/%{name}/tgi/c64-*.tgi
285 %doc src/ld65/cfg/c64.cfg
286
287 %files c128
288 %defattr(644,root,root,755)
289 %{_libdir}/%{name}/lib/c128.lib
290 %{_libdir}/%{name}/lib/c128.o
291 %{_libdir}/%{name}/emd/c128-*.emd
292 %doc src/ld65/cfg/c128.cfg
293
294 %files atari
295 %defattr(644,root,root,755)
296 %{_libdir}/%{name}/lib/atari.lib
297 %{_libdir}/%{name}/lib/atari.o
298 %doc src/ld65/cfg/atari.cfg
299
300 %files plus4
301 %defattr(644,root,root,755)
302 %{_libdir}/%{name}/lib/plus4.lib
303 %{_libdir}/%{name}/lib/plus4.o
304 %doc src/ld65/cfg/plus4.cfg
305
306 %files pet
307 %defattr(644,root,root,755)
308 %{_libdir}/%{name}/lib/pet.lib
309 %{_libdir}/%{name}/lib/pet.o
310 %doc src/ld65/cfg/pet.cfg
311
312 %files cbm510
313 %defattr(644,root,root,755)
314 %{_libdir}/%{name}/lib/cbm510.lib
315 %{_libdir}/%{name}/lib/cbm510.o
316 %{_libdir}/%{name}/emd/cbm510-*.emd
317 %doc src/ld65/cfg/cbm510.cfg
318
319 %files cbm610
320 %defattr(644,root,root,755)
321 %{_libdir}/%{name}/lib/cbm610.lib
322 %{_libdir}/%{name}/lib/cbm610.o
323 %{_libdir}/%{name}/emd/cbm610-*.emd
324 %doc src/ld65/cfg/cbm610.cfg
325
326 %files apple2
327 %defattr(644,root,root,755)
328 %{_libdir}/%{name}/lib/apple2.lib
329 %{_libdir}/%{name}/lib/apple2.o
330 %doc src/ld65/cfg/apple2.cfg
331
332 %files atmos
333 %defattr(644,root,root,755)
334 %{_libdir}/%{name}/lib/atmos.lib
335 %{_libdir}/%{name}/lib/atmos.o
336 %doc src/ld65/cfg/atmos.cfg
337
338 %files geos
339 %defattr(644,root,root,755)
340 %attr(755,root,root)    %{_bindir}/grc
341 %{_libdir}/%{name}/lib/geos.lib
342 %{_libdir}/%{name}/lib/geos.o
343 %dir %{_libdir}/%{name}/include/geos
344 %{_libdir}/%{name}/include/geos/*.h
345 %doc src/ld65/cfg/geos.cfg
This page took 0.083368 seconds and 2 git commands to generate.