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
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
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)
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
30 This is metapackage including pnet-compiler, pnet-interpreter and
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
40 Jest to metapakiet zawierający pnet-compiler, pnet-interpreter i
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.
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
54 %description interpreter
55 The Converted Virtual Machine supports executing multiple kinds of
56 portable executables, including IL (".NET") and JavaTM classes.
58 Install it if you want to execute IL executables. You should also
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
66 Zainstaluj jeżeli chcesz uruchamiać programy IL. Powinieneś także
69 %description interpreter -l pt_BR.UTF-8
70 A enfine runtime executa os binários .NET. É uma máquina virtual para
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}
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)
92 Other common compiling tools are included, such as csant, a
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>'.
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)).
105 Są także załączone inne narzędzia do kompilacji takie jak csant -
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>
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
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}
122 Obsoletes: pnet-libgc
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).
131 Other common compiling tools are included, such as csant, a
132 replacement for make.
134 You should install at least one of the specific language packages;
135 otherwise, this package is pretty useless.
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)).
143 Są także załączone inne narzędzia do kompilacji takie jak csant -
146 Powinieneś zainstalować co najmniej jeden z pakietów językowych pnet,
147 inaczej ten pakiet będzie bezużyteczny.
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
154 Obsoletes: mono-ilasm
156 %description compiler-ilasm
157 IL Assembler from Portable.NET package.
159 %description compiler-ilasm -l pl.UTF-8
160 Assembler IL z pakietu Portable.NET.
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}
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,
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.
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}
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.
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.
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}
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,
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.
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}
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.
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...
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}
230 %description compiler-c
231 C language backend for cscc. Install this if you want to compile C
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.
238 %description compiler-c -l pl.UTF-8
239 Nakładka języka C dla cscc. Zainstaluj ją jeżeli chcesz kompilować
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}
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.
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.
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
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
271 The Portable .NET devel headers.
273 %description devel -l pl.UTF-8
274 Pliki nagłówkowe Portable.NET.
276 %description devel -l pt_BR.UTF-8
277 Header de desenvolviemnto da Portable .NET.
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"
295 --enable-threads=pthreads
300 rm -rf $RPM_BUILD_ROOT
302 DESTDIR=$RPM_BUILD_ROOT
305 rm -f $RPM_BUILD_ROOT%{_bindir}/al # just a link
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
313 rm -rf $RPM_BUILD_ROOT
315 %post tools -p /sbin/postshell
316 -/usr/sbin/fix-info-dir -c %{_infodir}
318 %postun tools -p /sbin/postshell
319 -/usr/sbin/fix-info-dir -c %{_infodir}
322 %defattr(644,root,root,755)
325 %defattr(644,root,root,755)
326 %attr(755,root,root) %{_bindir}/ilrun
327 %attr(755,root,root) %{_bindir}/clrwrap
329 %{_mandir}/man1/ilrun.1*
330 %{_mandir}/man1/clrwrap.1*
333 %defattr(644,root,root,755)
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*
352 %files compiler-ilasm
353 %defattr(644,root,root,755)
354 %attr(755,root,root) %{_bindir}/ilasm
355 %{_mandir}/man1/ilasm.1*
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
363 %defattr(644,root,root,755)
364 %attr(755,root,root) %{_libdir}/cscc/plugins/cscc-java
367 %defattr(644,root,root,755)
368 %attr(755,root,root) %{_libdir}/cscc/plugins/cscc-bf
370 %files compiler-visualbasic
371 %defattr(644,root,root,755)
372 %attr(755,root,root) %{_libdir}/cscc/plugins/cscc-vb
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*
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*
408 %defattr(644,root,root,755)