]> git.pld-linux.org Git - packages/cc65.git/blob - cc65.spec
- changes inspired by included spec file:
[packages/cc65.git] / cc65.spec
1 Summary:        Crosscompiler/Crossassembler for 6502 systems
2 Summary(pl):    Crosskompilator/Crossassembler dla systemów 6502
3 Name:           cc65
4 Version:        2.9.2
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:  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 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.
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 programów dla
42 Commodore VIC20 korzystaj±c z crosskompilatora cc65.
43
44 %package c16
45 Summary:        C16/116 specific libraries and headers for the cc65 compiler
46 Summary(pl):    Specyficzne dla C16/116 biblioteki i pliki nag³ówkowe
47 License:        Freeware
48 Group:          Development/Languages
49 Requires:       %{name} = %{version}
50
51 %description c16
52 This package contains the header files and libraries needed to write
53 programs for the Commodore C16/116 using the cc65 crosscompiler.
54
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.
58
59 %package c64
60 Summary:        C64 specific libraries and headers for the cc65 compiler
61 Summary(pl):    Specyficzne dla C64 biblioteki i pliki nag³ówkowe
62 License:        Freeware
63 Group:          Development/Languages
64 Requires:       %{name} = %{version}
65
66 %description c64
67 This package contains the header files and libraries needed to write
68 programs for the Commodore C64 using the cc65 crosscompiler.
69
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.
73
74 %package c128
75 Summary:        C128 specific libraries and headers for the cc65 compiler
76 Summary(pl):    Specyficzne dla C128 biblioteki i pliki nag³ówkowe
77 License:        Freeware
78 Group:          Development/Languages
79 Requires:       %{name} = %{version}
80
81 %description c128
82 This package contains the header files and libraries needed to write
83 programs for the Commodore C128 using the cc65 crosscompiler.
84
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.
88
89 %package atari
90 Summary:        Atari specific libraries and headers for the cc65 compiler
91 Summary(pl):    Specyficzne dla Atari biblioteki i pliki nag³ówkowe
92 License:        Freeware
93 Group:          Development/Languages
94 Requires:       %{name} = %{version}
95
96 %description atari
97 This package contains the header files and libraries needed to write
98 programs for the 8 bit Atari using the cc65 crosscompiler.
99
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.
103
104 %package plus4
105 Summary:        Plus/4 specific libraries and headers for the cc65 compiler
106 Summary(pl):    Specyficzne dla Plus/4 biblioteki i pliki nag³ówkowe
107 License:        Freeware
108 Group:          Development/Languages
109 Requires:       %{name} = %{version}
110
111 %description plus4
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.
114
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.
118
119 %package pet
120 Summary:        PET specific libraries and headers for the cc65 compiler
121 Summary(pl):    Specyficzne dla PET biblioteki i pliki nag³ówkowe
122 License:        Freeware
123 Group:          Development/Languages
124 Requires:       %{name} = %{version}
125
126 %description pet
127 This package contains the header files and libraries needed to write
128 programs for the Commodore PET using the cc65 crosscompiler.
129
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.
133
134 %package cbm510
135 Summary:        CBM 510 specific libraries and headers for the cc65 compiler
136 Summary(pl):    Specyficzne dla CBM 510 biblioteki i pliki nag³ówkowe
137 License:        Freeware
138 Group:          Development/Languages
139 Requires:       %{name} = %{version}
140
141 %description cbm510
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.
144
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.
148
149 %package cbm610
150 Summary:        CBM 610 specific libraries and headers for the cc65 compiler
151 Summary(pl):    Specyficzne dla CBM 610 biblioteki i pliki nag³ówkowe
152 License:        Freeware
153 Group:          Development/Languages
154 Requires:       %{name} = %{version}
155
156 %description cbm610
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.
159
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.
163
164 %package apple2
165 Summary:        Apple ][ specific libraries and headers for the cc65 compiler
166 Summary(pl):    Specyficzne dla Apple ][ biblioteki i pliki nag³ówkowe
167 License:        Freeware
168 Group:          Development/Languages
169 Requires:       %{name} = %{version}
170
171 %description apple2
172 This package contains the header files and libraries needed to write
173 programs for the Apple ][ using the cc65 crosscompiler.
174
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.
178
179 %package atmos
180 Summary:        Oric Atmos specific libraries and headers for the cc65 compiler
181 Summary(pl):    Specyficzne dla Oric Atmos biblioteki i pliki nag³ówkowe
182 License:        Freeware
183 Group:          Development/Languages
184 Requires:       %{name} = %{version}
185
186 %description atmos
187 This package contains the header files and libraries needed to write
188 programs for the Oric Atmos using the cc65 crosscompiler.
189
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.
193
194 %package geos
195 Summary:        GEOS specific libraries and headers for the cc65 compiler
196 Summary(pl):    Specyficzne dla GEOS biblioteki i pliki nag³ówkowe
197 License:        Freeware
198 Group:          Development/Languages
199 Requires:       %{name} = %{version}
200
201 %description geos
202 This package contains the header files and libraries needed to write
203 GEOS programs for the C64/C128 using the cc65 crosscompiler.
204
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.
208
209 %prep
210 %setup -q
211
212 %build
213 %{__make} -C src -f make/gcc.mak
214 %{__make} -C libsrc zap all
215 %{__make} -C doc html
216
217 %install
218 rm -rf $RPM_BUILD_ROOT
219 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cc65/{asminc,emd,lib,tgi,include/{geos,tgi}}}
220
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
235
236 # TGI and EM drivers
237 install -m 644 libsrc/*.emd $RPM_BUILD_ROOT%{_libdir}/%{name}/emd
238 install -m 644 libsrc/*.tgi $RPM_BUILD_ROOT%{_libdir}/%{name}/tgi
239
240 %clean
241 rm -rf $RPM_BUILD_ROOT
242
243 %files
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
257
258 %files vic20
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
263
264 %files c16
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
269
270 %files c64
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
277
278 %files c128
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
284
285 %files atari
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
290
291 %files plus4
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
296
297 %files pet
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
302
303 %files cbm510
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
309
310 %files cbm610
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
316
317 %files apple2
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
322
323 %files atmos
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
328
329 %files geos
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
This page took 0.095915 seconds and 3 git commands to generate.