]> git.pld-linux.org Git - packages/pnet.git/blob - pnet.spec
8ad294b770a4895dd6ecf2ed4183303e803f2fae
[packages/pnet.git] / pnet.spec
1 Summary:        The DotGNU Portable .NET tools
2 Summary(pl.UTF-8):      Narzędzia Portable .NET z projektu DotGNU
3 Summary(pt_BR.UTF-8):   Ferramentas Portable .NET DotGNU
4 Name:           pnet
5 Version:        0.7.4
6 Release:        5
7 License:        GPL
8 Group:          Development/Languages
9 Source0:        http://www.southern-storm.com.au/download/%{name}-%{version}.tar.gz
10 # Source0-md5:  064baa390e6b1ae9463f68c929e36f74
11 Patch0:         %{name}-systemffi.patch
12 URL:            http://www.southern-storm.com.au/portable_net.html
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  bison
16 BuildRequires:  flex
17 BuildRequires:  libffi-devel
18 BuildRequires:  treecc >= 0.3.6
19 Requires:       %{name}-compiler = %{version}
20 Requires:       %{name}-tools = %{version}
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The goal of this project is to build a suite of Free Software tools to
25 build and execute portable executable (.NET, JavaTM, Parrot)
26 applications, including compilers, an assembler, a disassembler, and
27 runtime engine capable of executing multiple stack-based bytecode
28 formats.
29
30 This is metapackage including pnet-compiler, pnet-interpreter and
31 pnet-tools packages.
32
33 %description -l pl.UTF-8
34 Celem tego projektu jest stworzenie zestawu Wolnych narzędzi to
35 budowania i uruchamiania przenośnych plików wykonywalnych (.NET,
36 JavaTM, Parrot); aplikacji (włączając kompilatory, asembler,
37 disasembler; oraz silnika zdolnego wykonywać różne formaty dla maszyn
38 stosowych.
39
40 Jest to metapakiet zawierający pnet-compiler, pnet-interpreter i
41 pnet-tools.
42
43 %description -l pt_BR.UTF-8
44 A meta do projeto é construir um conjunto de ferramentas de software
45 livre para construit e executar aplicações .NET, incluindo um
46 compilador C#, assembler, disassembler, e runtime engine.
47
48 %package interpreter
49 Summary:        The DotGNU Portable .NET runtime engine
50 Summary(pl.UTF-8):      Silnik wykonawczy Portable .NET z projektu DotGNU
51 Summary(pt_BR.UTF-8):   A engine runtime da Portable .NET
52 Group:          Applications/Emulators
53
54 %description interpreter
55 The Converted Virtual Machine supports executing multiple kinds of
56 portable executables, including IL (".NET") and JavaTM classes.
57
58 Install it if you want to execute IL executables. You should also
59 install pnetlib.
60
61 %description interpreter -l pl.UTF-8
62 Konwertowana Maszyna Wirtualna wspiera uruchamiania wielu rodzaji
63 przenośnych plików wykonywalnych włączając IL (".NET") oraz klasy
64 JavaTM.
65
66 Zainstaluj jeżeli chcesz uruchamiać programy IL. Powinieneś także
67 zainstalować pnetlib
68
69 %description interpreter -l pt_BR.UTF-8
70 A enfine runtime executa os binários .NET. É uma máquina virtual para
71 o bytecode .NET
72
73 %package compiler
74 Summary:        The Portable .NET compiler collection
75 Summary(pl.UTF-8):      Zestaw kompilatorów Portable .NET
76 Summary(pt_BR.UTF-8):   A coleção de compiladores do Portable .NET
77 Group:          Development/Languages
78 Requires:       %{name}-compiler-bf = %{version}
79 Requires:       %{name}-compiler-c = %{version}
80 Requires:       %{name}-compiler-common = %{version}
81 Requires:       %{name}-compiler-csharp = %{version}
82 Requires:       %{name}-compiler-java = %{version}
83 Requires:       %{name}-compiler-visualbasic = %{version}
84
85 %description compiler
86 The cscc compiler collection allows multiple input languages and
87 multiple output bytecodes, much like GCC. Current languages include
88 C#, JavaTM, Brainf**k, VB, and C; current output formats include IL
89 assembly (".NET"), JavaTM assembly, and imcc (Parrot (Perl6)
90 high-level assembly).
91
92 Other common compiling tools are included, such as csant, a
93 replacement for make.
94
95 This is a virtual package that installs all compilers included with
96 the pnet distribution. If you only want some of them, get
97 `pnet-compiler-common' and `pnet-compiler-<insert language here>'.
98
99 %description compiler -l pl.UTF-8
100 Zestaw kompilatorów cscc tłumaczy wiele języków źródłowych na wiele
101 języków wynikowych, podobnie jak GCC. W chwili obecnej obsługuje C#,
102 JavaTM, Brainf**k, VB i C jako wejście oraz asembler IL (".NET"),
103 asembler JavaTM, oraz imcc (wysokopoziomowy asembler Parrot (Perl6)).
104
105 Są także załączone inne narzędzia do kompilacji takie jak csant -
106 zastępca make.
107
108 Jest to wirtualny pakiet który instaluje wszystkie kompilatory
109 załączone z dystrybucją pnet. Jeżeli chcesz tylko niektóre z nich weź
110 pnet-compiler-common i pnet-compiler-<język>
111
112 %description compiler -l pt_BR.UTF-8
113 Os compiladores para C# e C são incluídos neste pacote. O wrapper cscc
114 provê uma interface padrão de compilação
115
116 %package compiler-common
117 Summary:        Common files for Portable .NET compilers
118 Summary(pl.UTF-8):      Pliki wspólne dla kompilatorów Portable .NET
119 Group:          Development/Languages
120 Requires:       %{name}-interpreter = %{version}
121 Requires:       ilasm
122 Obsoletes:      pnet-libgc
123
124 %description compiler-common
125 The cscc compiler collection allows multiple input languages and
126 multiple output bytecodes, much like GCC. Current languages include
127 C#, JavaTM, Brainf**k, VB, and C; current output formats include IL
128 assembly (".NET"), JavaTM assembly, and imcc (Parrot (Perl6)
129 high-level assembly).
130
131 Other common compiling tools are included, such as csant, a
132 replacement for make.
133
134 You should install at least one of the specific language packages;
135 otherwise, this package is pretty useless.
136
137 %description compiler-common -l pl.UTF-8
138 Zestaw kompilatorów cscc tłumaczy wiele języków źródłowych na wiele
139 języków wynikowych, podobnie jak GCC. W chwili obecnej obsługuje C#,
140 JavaTM, Brainf**k, VB i C jako wejście oraz asembler IL (".NET"),
141 asembler JavaTM, oraz imcc (wysokopoziomowy asembler Parrot (Perl6)).
142
143 Są także załączone inne narzędzia do kompilacji takie jak csant -
144 zastępca make.
145
146 Powinieneś zainstalować co najmniej jeden z pakietów językowych pnet,
147 inaczej ten pakiet będzie bezużyteczny.
148
149 %package compiler-ilasm
150 Summary:        IL Assembler for Portable.NET
151 Summary(pl.UTF-8):      Assembler IL dla Portable.NET
152 Group:          Development/Languages
153 Provides:       ilasm
154 Obsoletes:      mono-ilasm
155
156 %description compiler-ilasm
157 IL Assembler from Portable.NET package.
158
159 %description compiler-ilasm -l pl.UTF-8
160 Assembler IL z pakietu Portable.NET.
161
162 %package compiler-csharp
163 Summary:        C# backend for cscc
164 Summary(pl.UTF-8):      Nakładka do C# na cscc
165 Group:          Development/Languages
166 Requires:       %{name}-compiler-common = %{version}
167
168 %description compiler-csharp
169 C# language backend for cscc. Install this if you want to compile C#
170 programs with cscc. It's pretty useless without package pnetlib,
171 however.
172
173 %description compiler-csharp -l pl.UTF-8
174 Nakładka języka C# dla cscc. Zainstaluj ją jeżeli chcesz kompilować
175 programy w cscc. Zazwyczaj jest bezużyteczna bez pnetlib.
176
177 %package compiler-java
178 Summary:        Java backend for cscc
179 Summary(pl.UTF-8):      Nakładka do Javy na cscc
180 Group:          Development/Languages
181 Requires:       %{name}-compiler-common = %{version}
182
183 %description compiler-java
184 Java language backend for cscc. Install this if you want to compile
185 Java programs with cscc. It's pretty useless until you manually
186 install something like classpath, however.
187
188 %description compiler-java -l pl.UTF-8
189 Nakładka języka Java dla cscc. Zainstaluj ją jeżeli chcesz kompilować
190 programy Java w cscc. Zazwyczaj jest bezużyteczna dopóki nie
191 zainstalujesz czegoś jak classpath.
192
193 %package compiler-bf
194 Summary:        Brainf**k backend for cscc
195 Summary(pl.UTF-8):      Nakładka do Brainf**k na cscc
196 Group:          Development/Languages
197 Requires:       %{name}-compiler-common = %{version}
198
199 %description compiler-bf
200 Brainf**k language backend for cscc. Install this if you want to
201 compile Brainf**k programs with cscc. Brainf**k is pretty useless,
202 however.
203
204 %description compiler-bf -l pl.UTF-8
205 Nakładka języka Brainf**k dla cscc. Zainstaluj ją jeżeli chcesz
206 kompilować programy Brainf**k w cscc. Zazwyczaj jest bezużyteczna.
207
208 %package compiler-visualbasic
209 Summary:        Visual Basic backend for cscc
210 Summary(pl.UTF-8):      Nakładka do Visual Basica na cscc
211 Group:          Development/Languages
212 Requires:       %{name}-compiler-common = %{version}
213
214 %description compiler-visualbasic
215 Visual Basic language backend for cscc. Install this if you want to
216 compile Visual Basic programs with cscc. Not as useless as
217 Brainf**k...probably.
218
219 %description compiler-visualbasic -l pl.UTF-8
220 Nakładka języka Brainf**k dla cscc. Zainstaluj ją jeżeli chcesz
221 kompilować programy Visual Basica w cscc. Nie aż tak bardzo
222 bezużyteczna jak Brainf**k, ale...
223
224 %package compiler-c
225 Summary:        C backend for cscc
226 Summary(pl.UTF-8):      Nakładka do C na cscc
227 Group:          Development/Languages
228 Requires:       %{name}-compiler-common = %{version}
229
230 %description compiler-c
231 C language backend for cscc. Install this if you want to compile C
232 programs with cscc.
233
234 C programs require a support library packaged in pnetlib called
235 `OpenSystem.C.dll'. It's like libgcc. Also, a minimal libc that
236 compiles with cscc-c-s is in pnetC.
237
238 %description compiler-c -l pl.UTF-8
239 Nakładka języka C dla cscc. Zainstaluj ją jeżeli chcesz kompilować
240 programy C w cscc.
241
242 %package tools
243 Summary:        Miscellaneous tools for DotGNU Portable .NET
244 Summary(pl.UTF-8):      Różne narzędzia Portable .NET z projektu DotGNU
245 Summary(pt_BR.UTF-8):   As ferramentas da Portable .NET
246 Group:          Development/Tools
247 Requires:       %{name}-interpreter = %{version}
248
249 %description tools
250 The general toolkit provided along with the pnet compiler and runtime
251 engines. This includes csant, a replacement for make, and various
252 tools to deal with IL binaries.
253
254 %description tools -l pl.UTF-8
255 Zestaw ogólnych narzędzi dostarczanych razem z kompilatorem i
256 środowiskiem wykonawczym. M. in. csant (zamiennik make) oraz różne
257 narzędzia do obsługi binarii IL.
258
259 %description tools -l pt_BR.UTF-8
260 O kit de ferramentas provido junto com o compilador e o runtime. Ele
261 include o csant, um substituto para make, e várias ferramentas para
262 lidar com binários IL
263
264 %package devel
265 Summary:        The Portable.Net devel headers
266 Summary(pl.UTF-8):      Pliki nagłówkowe Portable.Net
267 Summary(pt_BR.UTF-8):   Header de desenvolviemnto da Portable.Net
268 Group:          Development/Libraries
269
270 %description devel
271 The Portable .NET devel headers.
272
273 %description devel -l pl.UTF-8
274 Pliki nagłówkowe Portable.NET.
275
276 %description devel -l pt_BR.UTF-8
277 Header de desenvolviemnto da Portable .NET.
278
279 %prep
280 %setup -q
281 %patch0 -p0
282
283 %build
284 rm -f missing
285 %{__aclocal}
286 %{__autoconf}
287 %{__automake}
288 # "-O2 -march={i686|athlon} -fno-gcse" with gcc 3.x causes "no register to spill"
289 # (GNATS#10017 - qualified as "invalid user input", not a bug)
290 # -fomit-frame-pointer is needed on i686/athlon to recover one more register
291 # (which x86 have too less...)
292 CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/ncurses"
293 CPPFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/ncurses"
294 %configure \
295         --enable-threads=pthreads
296
297 %{__make} -j1
298
299 %install
300 rm -rf $RPM_BUILD_ROOT
301 %{__make} install \
302         DESTDIR=$RPM_BUILD_ROOT
303
304 # shutup check-files
305 rm -f $RPM_BUILD_ROOT%{_bindir}/al # just a link
306
307 # links in mandir
308 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{al.1*,cli-unknown-*}
309 mv $RPM_BUILD_ROOT%{_bindir}/{,pnet-}resgen
310 mv $RPM_BUILD_ROOT%{_mandir}/man1/{,pnet-}resgen.1
311
312 %clean
313 rm -rf $RPM_BUILD_ROOT
314
315 %post tools     -p      /sbin/postshell
316 -/usr/sbin/fix-info-dir -c %{_infodir}
317
318 %postun tools   -p      /sbin/postshell
319 -/usr/sbin/fix-info-dir -c %{_infodir}
320
321 %files
322 %defattr(644,root,root,755)
323
324 %files interpreter
325 %defattr(644,root,root,755)
326 %attr(755,root,root) %{_bindir}/ilrun
327 %attr(755,root,root) %{_bindir}/clrwrap
328 %dir %{_libdir}/cscc
329 %{_mandir}/man1/ilrun.1*
330 %{_mandir}/man1/clrwrap.1*
331
332 %files compiler
333 %defattr(644,root,root,755)
334
335 %files compiler-common
336 %defattr(644,root,root,755)
337 %doc AUTHORS ChangeLog HACKING NEWS README doc/*.html
338 %attr(755,root,root) %{_bindir}/cscc
339 %attr(755,root,root) %{_bindir}/csant
340 %attr(755,root,root) %{_bindir}/ilalink
341 %attr(755,root,root) %{_bindir}/ilheader
342 %attr(755,root,root) %{_bindir}/ilgac
343 %attr(755,root,root) %{_bindir}/pnet-resgen
344 %dir %{_libdir}/cscc/plugins
345 %{_mandir}/man1/csant.1*
346 %{_mandir}/man1/cscc.1*
347 %{_mandir}/man1/ilalink.1*
348 %{_mandir}/man1/ilheader.1*
349 %{_mandir}/man1/ilgac.1*
350 %{_mandir}/man1/pnet-resgen.1*
351
352 %files compiler-ilasm
353 %defattr(644,root,root,755)
354 %attr(755,root,root) %{_bindir}/ilasm
355 %{_mandir}/man1/ilasm.1*
356
357 %files compiler-csharp
358 %defattr(644,root,root,755)
359 %attr(755,root,root) %{_libdir}/cscc/plugins/cscc-cs
360 %attr(755,root,root) %{_libdir}/cscc/plugins/cscc-csharp
361
362 %files compiler-java
363 %defattr(644,root,root,755)
364 %attr(755,root,root) %{_libdir}/cscc/plugins/cscc-java
365
366 %files compiler-bf
367 %defattr(644,root,root,755)
368 %attr(755,root,root) %{_libdir}/cscc/plugins/cscc-bf
369
370 %files compiler-visualbasic
371 %defattr(644,root,root,755)
372 %attr(755,root,root) %{_libdir}/cscc/plugins/cscc-vb
373
374 %files compiler-c
375 %defattr(644,root,root,755)
376 %attr(755,root,root) %{_libdir}/cscc/plugins/cscc-c-s
377 %attr(755,root,root) %{_bindir}/cscc-cpp
378 %{_mandir}/man1/cscc-cpp.1*
379
380 %files tools
381 %defattr(644,root,root,755)
382 %attr(755,root,root) %{_bindir}/ildasm
383 %attr(755,root,root) %{_bindir}/ildd
384 %attr(755,root,root) %{_bindir}/ilfind
385 %attr(755,root,root) %{_bindir}/ilsize
386 %attr(755,root,root) %{_bindir}/ilnative
387 %attr(755,root,root) %{_bindir}/ilverify
388 %attr(755,root,root) %{_bindir}/ilranlib
389 %attr(755,root,root) %{_bindir}/ilstrip
390 %attr(755,root,root) %{_bindir}/csdoc
391 %attr(755,root,root) %{_bindir}/csdoc2html
392 %attr(755,root,root) %{_bindir}/csdoc2hier
393 %attr(755,root,root) %{_bindir}/csdoc2texi
394 %attr(755,root,root) %{_bindir}/cssrc2html
395 %{_mandir}/man1/csdoc*
396 %{_mandir}/man1/cssrc2*
397 %{_mandir}/man1/ildd.1*
398 %{_mandir}/man1/ildasm.1*
399 %{_mandir}/man1/ilfind.1*
400 %{_mandir}/man1/ilnative.1*
401 %{_mandir}/man1/ilsize.1*
402 %{_mandir}/man1/ilranlib.1*
403 %{_mandir}/man1/ilstrip.1*
404 %{_mandir}/man1/ilverify.1*
405 %{_infodir}/pnettools.info*
406
407 %files devel
408 %defattr(644,root,root,755)
409 %{_includedir}/pnet
410 %{_libdir}/*.a
This page took 0.141513 seconds and 2 git commands to generate.