3 # _without_ada - build without ADA support
4 # _without_java - build without Java support
5 # _without_objc - build without objc support
6 # _with_bootstrap - don't BR gcc(ada) (temporary for Ac upgrade bootstrap)
7 # _with_pp - build with ProPolice
9 %define DASHED_SNAP %{nil}
10 %define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g")
11 %define GCC_VERSION 3.3.2
12 %define KSI_VERSION 1.1.0.1567
14 Summary: GNU Compiler Collection: the C compiler and shared files
15 Summary(es): Colección de compiladores GNU: el compilador C y ficheros compartidos
16 Summary(pl): Kolekcja Kompilatorów GNU: kompilator C i pliki wspó³dzielone
17 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
19 Version: %{GCC_VERSION}
23 Group: Development/Languages
24 Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2
25 # Source0-md5: 65999f654102f5438ac8562d13a6eced
26 Source1: ftp://ftp.pld-linux.org/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
27 # Source1-md5: 66f07491b44f06928fd95b0e65bb8cd3
28 Source2: http://ep09.pld-linux.org/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
29 # Source2-md5: 4736f3422ddfb808423b745629acc321
30 Patch0: %{name}-info.patch
31 Patch1: %{name}-paths.patch
32 Patch2: %{name}-nolocalefiles.patch
33 Patch3: %{name}-ada-link-new-libgnat.patch
34 Patch4: %{name}-pr12965.patch
35 # -- stolen patches from RH --
36 Patch10: gcc32-ada-link.patch
37 Patch11: gcc32-boehm-gc-libs.patch
38 Patch12: gcc32-bogus-inline.patch
39 Patch13: gcc32-c++-nrv-test.patch
40 Patch14: gcc32-c++-tsubst-asm.patch
41 Patch15: gcc32-debug-pr7241.patch
42 Patch16: gcc32-duplicate-decl.patch
43 Patch17: gcc32-dwarf2-pr6381.patch
44 Patch18: gcc32-dwarf2-pr6436-test.patch
45 Patch19: gcc32-fde-merge-compat.patch
46 Patch20: gcc32-i386-memtest-test.patch
47 Patch21: gcc32-inline-label.patch
48 Patch22: gcc32-java-no-rpath.patch
49 Patch23: gcc32-test-rh65771.patch
50 Patch24: gcc32-test-rotate.patch
51 Patch25: %{name}-3.3.1-propolice.patch
52 BuildRequires: autoconf
53 BuildRequires: automake
54 BuildRequires: binutils >= 2.14
56 BuildRequires: fileutils >= 4.0.41
57 %{!?_without_ada:%{!?_with_bootstrap:BuildRequires: gcc(ada)}}
58 %{!?_without_ada:BuildRequires: gcc-ada}
59 BuildRequires: gettext-devel
60 BuildRequires: glibc-devel >= 2.2.5-20
61 BuildRequires: perl-devel
62 BuildRequires: texinfo >= 4.1
63 BuildRequires: zlib-devel
64 Requires: binutils >= 2.14
65 Requires: cpp = %{epoch}:%{GCC_VERSION}
66 Requires: libgcc = %{epoch}:%{GCC_VERSION}
67 %{!?_without_ada:Provides: gcc(ada)}
68 Conflicts: glibc-devel < 2.2.5-20
69 URL: http://gcc.gnu.org/
70 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
72 %define _slibdir /%{_lib}
74 %define _slibdir64 /lib64
75 %define _libdir /usr/lib
76 %define rpmcflags -O2 -mtune=ultrasparc
80 A compiler aimed at integrating all the optimizations and features
81 necessary for a high-performance and stable development environment.
83 This package contains the C compiler and some files shared by various
84 parts of the GNU Compiler Collection. In order to use another GCC
85 compiler you will need to install the appropriate subpackage.
88 Un compilador destinado a la integración de todas las optimalizaciones
89 y características necesarias para un entorno de desarrollo eficaz y
92 Este paquete contiene el compilador de C y unos ficheros compartidos
93 por varias parted de la colección de compiladores GNU (GCC). Para usar
94 otro compilador de GCC será necesario que instale el subpaquete
98 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
99 wyprodukowania szybkiego i stablinego kodu wynikowego.
101 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
102 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
103 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
105 %description -l pt_BR
106 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
107 GNU Compiler Collection.
110 Summary: Shared gcc library
111 Summary(es): Biblioteca compartida de gcc
112 Summary(pl): Biblioteka gcc
113 Summary(pt_BR): Biblioteca runtime para o GCC
115 Version: %{GCC_VERSION}
118 %description -n libgcc
121 %description -n libgcc -l es
122 Biblioteca compartida de gcc.
124 %description -n libgcc -l pl
125 Biblioteka dynamiczna gcc.
127 %description -n libgcc -l pt_BR
128 Biblioteca runtime para o GCC.
131 Summary: C++ support for gcc
132 Summary(es): Soporte de C++ para gcc
133 Summary(pl): Obs³uga C++ dla gcc
134 Summary(pt_BR): Suporte C++ para o gcc
135 Group: Development/Languages
138 Requires: gcc = %{epoch}:%{GCC_VERSION}
141 This package adds C++ support to the GNU Compiler Collection. It
142 includes support for most of the current C++ specification, including
143 templates and exception handling. It does not include a standard C++
144 library, which is available separately.
146 %description c++ -l de
147 Dieses Paket enthält die C++-Unterstützung für den
148 GNU-Compiler-Collection. Es unterstützt die aktuelle
149 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
150 C++-Standard-Library ist nicht enthalten - sie ist getrennt
153 %description c++ -l es
154 Este paquete añade soporte de C++ al GCC (colección de compiladores
155 GNU). Ello incluye el soporte para la mayoría de la especificación
156 actual de C++, incluyendo plantillas y manejo de excepciones. No
157 incluye la biblioteca estándar de C++, la que es disponible separada.
159 %description c++ -l fr
160 Ce package ajoute un support C++ a la collection de compilateurs GNU.
161 Il comprend un support pour la plupart des spécifications actuelles de
162 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
163 une bibliothéque C++ standard, qui est disponible séparément.
165 %description c++ -l pl
166 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
167 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
168 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
170 %description c++ -l pt_BR
171 Este pacote adiciona suporte C++ para o gcc.
173 %description c++ -l tr
174 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
175 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
176 C++ kitaplýðý bu pakette yer almaz.
179 Summary: Objective C support for gcc
180 Summary(de): Objektive C-Unterstützung für gcc
181 Summary(es): Soporte de Objective C para gcc
182 Summary(fr): Gestion d'Objective C pour gcc
183 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
184 Summary(tr): gcc için Objective C desteði
185 Group: Development/Languages
188 Requires: libobjc = %{epoch}:%{GCC_VERSION}
189 Requires: gcc = %{epoch}:%{GCC_VERSION}
192 This package adds Objective C support to the GNU Compiler Collection.
193 Objective C is a object oriented derivative of the C language, mainly
194 used on systems running NeXTSTEP. This package does not include the
195 standard objective C object library.
197 %description objc -l de
198 Dieses Paket ergänzt den GNU-Compiler-Collection durch
199 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
200 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
201 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
203 %description objc -l es
204 Este paquete añade soporte de Objective C al GCC (colección de
205 compiladores GNU). Objective C es un lenguaje orientado a objetos
206 derivado de C, principalmente usado en sistemas que funcionan bajo
207 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
210 %description objc -l fr
211 Ce package ajoute un support Objective C a la collection de
212 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
213 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
214 package n'inclue pas la bibliothéque Objective C standard.
216 %description objc -l pl
217 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
218 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
219 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
220 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
222 %description objc -l tr
223 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
224 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
225 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
226 kitaplýðý bu pakette yer almaz.
229 Summary: Objective C Libraries
230 Summary(es): Bibliotecas de Objective C
231 Summary(pl): Biblioteki Obiektowego C
233 Version: %{GCC_VERSION}
236 %description -n libobjc
237 Objective C Libraries.
239 %description -n libobjc -l es
240 Bibliotecas de Objective C.
242 %description -n libobjc -l pl
243 Biblioteki Obiektowego C.
245 %package -n libobjc-static
246 Summary: Static Objective C Libraries
247 Summary(es): Bibliotecas estáticas de Objective C
248 Summary(pl): Statyczne Biblioteki Obiektowego C
249 Group: Development/Libraries
250 Version: %{GCC_VERSION}
251 Requires: libobjc = %{epoch}:%{GCC_VERSION}
253 %description -n libobjc-static
254 Static Objective C Libraries.
256 %description -n libobjc-static -l es
257 Bibliotecas estáticas de Objective C.
259 %description -n libobjc-static -l pl
260 Statyczne biblioteki Obiektowego C.
263 Summary: Fortran 77 support for gcc
264 Summary(es): Soporte de Fortran 77 para gcc
265 Summary(pl): Obs³uga Fortranu 77 dla gcc
266 Summary(pt_BR): Suporte Fortran 77 para o GCC
267 Group: Development/Languages/Fortran
268 Version: %{GCC_VERSION}
270 Requires: libg2c = %{epoch}:%{GCC_VERSION}
273 This package adds support for compiling Fortran 77 programs with the
276 %description g77 -l es
277 Este paquete añade soporte para compilar programas escritos en Fortran
278 77 con el compilador GNU.
280 %description g77 -l pl
281 Ten pakiet dodaje obs³ugê Fortranu 77 do kompilatora gcc. Jest
282 potrzebny do kompilowania programów pisanych w jêzyku Fortran 77.
284 %description g77 -l pt_BR
285 Suporte Fortran 77 para o GCC.
288 Summary: Fortran 77 Libraries
289 Summary(es): Bibliotecas de Fortran 77
290 Summary(pl): Biblioteki Fortranu 77
292 Version: %{GCC_VERSION}
294 %description -n libg2c
295 Fortran 77 Libraries.
297 %description -n libg2c -l es
298 Bibliotecas de Fortran 77.
300 %description -n libg2c -l pl
301 Biblioteki Fortranu 77.
303 %package -n libg2c-static
304 Summary: Static Fortran 77 Libraries
305 Summary(es): Bibliotecas estáticas de Fortran 77
306 Summary(pl): Statyczne Biblioteki Fortranu 77
307 Group: Development/Libraries
308 Version: %{GCC_VERSION}
309 Requires: libg2c = %{epoch}:%{GCC_VERSION}
311 %description -n libg2c-static
312 Static Fortran 77 Libraries.
314 %description -n libg2c -l es
315 Bibliotecas estáticas de Fortran 77.
317 %description -n libg2c-static -l pl
318 Statyczne biblioteki Fortranu 77.
321 Summary: Java support for gcc
322 Summary(es): Soporte de Java para gcc
323 Summary(pl): Obs³uga Javy dla gcc
324 Group: Development/Languages/Java
325 Version: %{GCC_VERSION}
326 Requires: %{name} = %{epoch}:%{version}
327 Requires: libgcj >= 3.0.0
328 Requires: libgcj-devel >= 3.0.0
329 Requires: java-shared
330 Provides: gcj = %{epoch}:%{GCC_VERSION}-%{release}
333 This package adds experimental support for compiling Java(tm) programs
334 and bytecode into native code. To use this you will also need the
337 %description java -l es
338 Este paquete añade soporte experimental para compilar programas
339 Java(tm) y su bytecode en código nativo. Para usarlo también va a
340 necesitar el paquete libgcj.
342 %description java -l pl
343 Wsparcie dla kompilowania programów Java(tm) zrówno do bajt-kodu jak i
344 do natywnego kodu. Dodatkowo wymagany jest pakiet libgcj, aby mo¿na
345 by³o przeprowadziæ kompilacjê.
348 Summary: Shared java tools
349 Summary(es): Herramientas compartidas de Java
350 Summary(pl): Wspó³dzielone narzêdzia javy
351 Group: Development/Languages/Java
352 Version: %{GCC_VERSION}
353 Provides: jar = %{epoch}:%{GCC_VERSION}-%{release}
354 Provides: java-shared
356 Obsoletes: java-shared
359 %description java-tools
360 This package contains tools that are common for every Java(tm)
361 implementation, such as rmic or jar.
363 %description java-tools -l es
364 Este paquete contiene herramientas que son comunes para cada
365 implementación de Java(tm), como rmic o jar.
367 %description java-tools -l pl
368 Pakiet ten zawiera narzêdzia wspólne dla ka¿dej implementacji
369 Javy(tm), takie jak rmic czy jar.
372 Summary: Java Class Libraries
373 Summary(es): Bibliotecas de clases de Java
374 Summary(pl): Biblioteki Klas Javy
376 Version: %{GCC_VERSION}
380 %description -n libgcj
381 Java Class Libraries.
383 %description -n libgcj -l es
384 Bibliotecas de clases de Java.
386 %description -n libgcj -l pl
387 Biblioteki Klas Javy.
389 %package -n libgcj-devel
390 Summary: Development files for Java Class Libraries
391 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
392 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
393 Group: Development/Libraries
394 Version: %{GCC_VERSION}
395 Requires: libgcj = %{epoch}:%{GCC_VERSION}
396 Requires: %{name}-java
397 Obsoletes: libgcj3-devel
399 %description -n libgcj-devel
400 Development files for Java Class Libraries.
402 %description -n libgcj-devel -l es
403 Ficheros de desarrollo para las bibliotecas de clases de Java.
405 %description -n libgcj-devel -l pl
406 Pliki nag³ówkowe dla Bibliotek Klas Javy.
408 %package -n libgcj-static
409 Summary: Static Java Class Libraries
410 Summary(es): Bibliotecas estáticas de clases de Java
411 Summary(pl): Statyczne Biblioteki Klas Javy
412 Group: Development/Libraries
413 Version: %{GCC_VERSION}
414 Requires: libstdc++-devel = %{epoch}:%{GCC_VERSION}
415 Requires: libgcj-devel = %{epoch}:%{GCC_VERSION}
417 %description -n libgcj-static
418 Static Java Class Libraries.
420 %description -n libgcj-static -l es
421 Bibliotecas estáticas de clases de Java.
423 %description -n libgcj-static -l pl
424 Statyczne Biblioteki Klas Javy.
426 %package -n libstdc++
427 Summary: GNU c++ library
428 Summary(es): Biblioteca C++ de GNU
429 Summary(pl): Biblioteki GNU C++
430 Summary(pt_BR): Biblioteca C++ GNU
432 Version: %{GCC_VERSION}
434 Obsoletes: libstdc++3
436 %description -n libstdc++
437 This is the GNU implementation of the standard C++ libraries, along
438 with additional GNU tools. This package includes the shared libraries
439 necessary to run C++ applications.
441 %description -n libstdc++ -l de
442 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
443 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
444 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
446 %description -n libstdc++ -l es
447 Este es el soporte de las bibliotecas padrón del C++, junto con
448 herramientas GNU adicionales. El paquete incluye las bibliotecas
449 compartidas necesarias para ejecutar aplicaciones C++.
451 %description -n libstdc++ -l fr
452 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
453 des outils GNU supplémentaires. Ce package comprend les librairies
454 partagées nécessaires à l'exécution d'application C++.
456 %description -n libstdc++ -l pl
457 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
458 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
459 uruchomienia aplikacji napisanych w C++.
461 %description -n libstdc++ -l pt_BR
462 Este pacote é uma implementação da biblioteca padrão C++ v3, um
463 subconjunto do padrão ISO 14882.
465 %description -n libstdc++ -l tr
466 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
467 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
469 %package -n libstdc++-devel
470 Summary: Header files and documentation for C++ development
471 Summary(de): Header-Dateien zur Entwicklung mit C++
472 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
473 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
474 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
475 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
476 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
477 Group: Development/Libraries
478 Version: %{GCC_VERSION}
479 Requires: libstdc++ = %{epoch}:%{GCC_VERSION}
480 Requires: %{name}-c++ = %{epoch}:%{GCC_VERSION}
481 Obsoletes: libg++-devel
482 Obsoletes: libstdc++3-devel
484 %description -n libstdc++-devel
485 This is the GNU implementation of the standard C++ libraries. This
486 package includes the header files needed for C++ development and
487 library documentation.
489 %description -n libstdc++-devel -l es
490 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
491 paquete incluye los archivos de inclusión y bibliotecas necesarios
492 para desarrollo de programas en lenguaje C++.
494 %description -n libstdc++-devel -l pl
495 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
496 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
497 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
499 %description -n libstdc++-devel -l pt_BR
500 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
501 para desenvolvimento de programas C++.
503 %package -n libstdc++-static
504 Summary: Static C++ standard library
505 Summary(es): Biblioteca estándar estática de C++
506 Summary(pl): Statyczna biblioteka standardowa C++
507 Group: Development/Libraries
508 Version: %{GCC_VERSION}
509 Requires: libstdc++-devel = %{epoch}:%{GCC_VERSION}
511 %description -n libstdc++-static
512 Static C++ standard library.
514 %description -n libstdc++-static -l es
515 Biblioteca estándar estática de C++.
517 %description -n libstdc++-static -l pl
518 Statycza biblioteka standardowa C++.
521 Summary: Foreign Function Interface library
522 Summary(es): Biblioteca de interfaz de funciones ajenas
523 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
525 Version: %{GCC_VERSION}
527 %description -n libffi
528 The libffi library provides a portable, high level programming
529 interface to various calling conventions. This allows a programmer to
530 call any function specified by a call interface description at run
533 %description -n libffi -l es
534 La biblioteca libffi provee una interfaz portable de programación de
535 alto nivel para varias convenciones de llamada. Ello permite que un
536 programador llame una función cualquiera especificada por una
537 descripción de interfaz de llamada en el tiempo de ejecución.
539 %description -n libffi -l pl
540 Biblioteka libffi dostarcza przno¶nego, wysokopoziomowego
541 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
542 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
545 %package -n libffi-devel
546 Summary: Development files for Foreign Function Interface library
547 Summary(es): Ficheros de desarrollo para libffi
548 Summary(pl): Pliki nag³ówkowe dla libffi
549 Group: Development/Libraries
550 Version: %{GCC_VERSION}
551 Requires: libffi = %{epoch}:%{GCC_VERSION}
553 %description -n libffi-devel
554 Development files for Foreign Function Interface library.
556 %description -n libffi-devel -l es
557 Ficheros de desarrollo para libffi.
559 %description -n libffi-devel -l pl
560 Pliki nag³ówkowe dla libffi.
562 %package -n libffi-static
563 Summary: Static Foreign Function Interface library
564 Summary(es): Biblioteca libffi estática
565 Summary(pl): Statyczna biblioteka libffi
566 Group: Development/Libraries
567 Version: %{GCC_VERSION}
568 Requires: libffi-devel = %{epoch}:%{GCC_VERSION}
570 %description -n libffi-static
571 Static Foreign Function Interface library.
573 %description -n libffi-static -l es
574 Biblioteca libffi estática.
576 %description -n libffi-static -l pl
577 Statyczna biblioteka libffi.
580 Summary: Ada support for gcc
581 Summary(es): Soporte de Ada para gcc
582 Summary(pl): Obs³uga Ady do gcc
583 Group: Development/Languages
584 Version: %{GCC_VERSION}
585 Requires: libgnat = %{epoch}:%{GCC_VERSION}
586 Requires: gcc = %{epoch}:%{GCC_VERSION}
588 Obsoletes: gnat-devel
591 This package adds experimental support for compiling Ada programs.
593 %description ada -l es
594 Este paquete añade soporte experimental para compilar programas en
597 %description ada -l pl
598 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
602 Summary: Ada standard libraries
603 Summary(es): Bibliotecas estándares de Ada
604 Summary(pl): Biblioteki standardowe dla Ady
606 Version: %{GCC_VERSION}
610 %description -n libgnat
611 This package contains shared libraries needed to run programs written
614 %description -n libgnat -l es
615 Este paquete contiene las bibliotecas compartidas necesarias para
616 ejecutar programas escritos en Ada.
618 %description -n libgnat -l pl
619 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
622 %package -n libgnat-static
623 Summary: Static Ada standard libraries
624 Summary(pl): Statyczne biblioteki standardowe dla Ady
626 Version: %{GCC_VERSION}
627 Obsoletes: gnat-static
629 %description -n libgnat-static
630 This package contains static libraries for programs written in Ada.
632 %description -n libgnat-static -l pl
633 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
637 Summary: Ksi support for gcc
638 Summary(es): Soporte de Ksi para gcc
639 Summary(pl): Obs³uga Ksi dla gcc
640 Version: %{GCC_VERSION}.%{KSI_VERSION}
641 Group: Development/Languages
642 Requires: gcc = %{epoch}:%{GCC_VERSION}
645 This package adds experimental support for compiling Ksi programs into
646 native code. You proabably don't need it, unless your are going to
647 develop a compiler using Ksi as intermediate representation or you are
648 using such compiler (like Gont).
650 %description ksi -l es
651 Este paquete añade soporte experimental para compilar programas de Ksi
652 en código nativo. Probablemento no lo necesitará, a menos que vaya a
653 desarrollar un compilador que use Ksi como representación intermedia o
654 use tal compilador (como Gont).
656 %description ksi -l pl
657 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
658 Ksi do kodu maszynowego. Prawdopodobnie nie potrzebujesz go, chyba ¿e
659 zamierzasz pisaæ kompilator u¿ywaj±cy Ksi jako reprezentacji
660 po¶rednicz±cej, lub u¿ywasz takiego kompilatora (jak Gont).
663 Summary: The C Pre Processor
664 Summary(es): El preprocesador de C
665 Summary(pl): Preprocesor C
666 Summary(pt_BR): Preprocessador para a linguagem C
667 Group: Development/Languages
668 Version: %{GCC_VERSION}
673 The C preprocessor is a "macro processor" that is used automatically
674 by the C compiler to transform your program before actual compilation.
675 It is called a macro processor because it allows you to define
676 "macros", which are brief abbreviations for longer constructs.
678 The C preprocessor provides four separate facilities that you can use
681 - Inclusion of header files. These are files of declarations that can
682 be substituted into your program.
683 - Macro expansion. You can define "macros", which are abbreviations
684 for arbitrary fragments of C code, and then the C preprocessor will
685 replace the macros with their definitions throughout the program.
686 - Conditional compilation. Using special preprocessing directives, you
687 can include or exclude parts of the program according to various
689 - Line control. If you use a program to combine or rearrange source
690 files into an intermediate file which is then compiled, you can use
691 line control to inform the compiler of where each source line
692 originally came from.
694 %description -n cpp -l es
695 El preprocesador de C es un "procesador de macros" que es usado
696 automáticamente por el compilador C para transformar su programa antes
697 de que éste se actualmente compile. Se llama procesador de macros
698 porque permite definir "macros", los que son abreviaciones concisas
699 para construcciones más largas.
701 El preprocesador C provee cuatro cualidadedes distintas que puede usar
704 - Inclusión de ficheros de cabecera. Éstos son ficheros de
705 declaraciones que pueden incorporarse a su programa.
706 - Expansión de macros. Puede definir "macros", los que son
707 abreviaciones para fragmentos arbitrarios de código C, y a lo largo
708 del programa el preprocesador sustituirá los macros con sus
710 - Compilación condicional. Usando especiales directivas del preproceso
711 puede incluir o excluir partes del programa según varias condiciones.
712 - Control de líneas. Si usa un programa para combinar o reorganizar el
713 código fuente en un fichero intermedio que luego es compilado, puede
714 usar control de líneas para informar el compilador de dónde origina
717 %description -n cpp -l pl
718 Przeprocesor C jest "makro procesorem" który jest automatycznie
719 u¿ywany przez kompilator C do obróbki kompilowanego programu przed
720 w³a¶ciw± kompilacj±. Jest on nazywany makroprocesorem, poniewa¿
721 umo¿liwia definiowanie i rozwijanie makr umo¿liwiaj±cych skracanie
722 d³ugich konstrukcji w jêzyku C.
724 Preprocesor C umo¿liwia wykonywanie czterech ró¿nych typów operacji:
726 - Do³±czanie plików (np. nag³ówkowych). Wstawia pliki w miejscu
727 deklaracji polecenia do³±czenia innego pliku.
728 - Rozwijanie makr. Mo¿na definiowaæ "makra" nadaj±c im identyfikatory,
729 których pó¼niejsze u¿ycie powoduje podczas rozwijania podmienienie
730 indentyfikatora deklarowan± wcze¶niej warto¶ci±.
731 - Kompilacja warunkowa. W zale¿no¶ci od obecno¶ci symboli i dyrektyw w
732 ¶rodowisku preprocesora s± w³±czane warunkowo, b±d¼ nie, pewne
733 fragmenty obrabianego strumienia tekstów.
734 - Kontrola linii ¼ród³a. Niezale¿nie od tego jakim przeobra¿eniom
735 podlega wynikowy strumieñ danych w wyniku rozwijania makr i do³±czania
736 s± zapamiêtywane informacje o tym, której linii pliku ¼ród³owego
737 odpowiada fragment pliku wynikowego.
739 %description -n cpp -l pt_BR
740 O preprocessador C é um "processador de macros", que é utilizado pelo
741 compilador C para fazer algumas modificações no seu programa, antes da
742 compilação em si. Ele é chamado de "processador de macros" porque
743 permite a você definir "macros", que são abreviações para construções
746 O preprocessador C fornece quatro funcionalidades básicas: inclusão de
747 arquivos de cabeçalho; expansão de macros; compilação condicional; e
748 controle da numeração das linhas do programa.
751 %setup -q -a1 -n %{name}-%{GCC_VERSION}
752 mv ksi-%{KSI_VERSION} gcc/ksi
776 %{?_with_pp:%patch25 -p1}
778 # because we distribute modified version of gcc...
779 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
780 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
783 # cd gcc && autoconf; cd ..
784 # autoconf is not needed!
785 cp /usr/share/automake/config.sub .
787 rm -rf obj-%{_target_platform} && install -d obj-%{_target_platform} && cd obj-%{_target_platform}
789 CFLAGS="%{rpmcflags}" \
790 CXXFLAGS="%{rpmcflags}" \
791 TEXCONFIG=false ../configure \
792 --prefix=%{_prefix} \
793 --libdir=%{_libdir} \
794 --libexecdir=%{_libexecdir} \
795 --infodir=%{_infodir} \
796 --mandir=%{_mandir} \
798 --enable-threads=posix \
799 --enable-__cxa_atexit \
800 --enable-languages="c,c++,f77%{!?_without_objc:,objc}%{!?_without_ada:,ada}%{!?_without_java:,java},ksi" \
812 --with-slibdir=%{_slibdir} \
816 PATH=$PATH:/sbin:%{_sbindir}
819 %{__make} -C obj-%{_target_platform} bootstrap-lean \
820 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
824 %if 0%{!?_without_ada:1}
825 %{__make} -C obj-%{_target_platform}/gcc gnatlib gnattools gnatlib-shared \
826 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
832 rm -rf $RPM_BUILD_ROOT
833 install -d $RPM_BUILD_ROOT{/lib,%{_datadir},%{_infodir}}
835 cd obj-%{_target_platform}
836 PATH=$PATH:/sbin:%{_sbindir}
840 infodir=%{_infodir} \
841 DESTDIR=$RPM_BUILD_ROOT
844 ln -f $RPM_BUILD_ROOT%{_bindir}/sparc64-pld-linux-gcc \
845 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
848 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
849 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
851 ln -sf g77 $RPM_BUILD_ROOT%{_bindir}/f77
852 echo ".so g77.1" > $RPM_BUILD_ROOT%{_mandir}/man1/f77.1
854 %if 0%{!?_without_ada:1}
855 # move ada shared libraries to proper place...
856 mv $RPM_BUILD_ROOT%{_libdir}/gcc-lib/*/*/adalib/*.so.1 \
857 $RPM_BUILD_ROOT%{_libdir}/
858 # check if symlink to be made is valid
859 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-3.15.so.1
860 ln -sf libgnat-3.15.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-3.15.so
861 ln -sf libgnarl-3.15.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-3.15.so
862 ln -sf libgnat-3.15.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
863 ln -sf libgnarl-3.15.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
866 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
870 %if %{!?_without_java:1}%{?_without_java:0}
872 cp -f libjava/doc/cni.sgml libjava/READ* java-doc
873 cp -f fastjar/README java-doc/README.fastjar
874 cp -f libffi/README java-doc/README.libffi
875 cp -f libffi/LICENSE java-doc/LICENSE.libffi
878 %if %{!?_without_objc:1}0
879 cp -f libobjc/README gcc/objc/README.libobjc
882 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc-lib/*/%{version}
883 for f in libstdc++.la libsupc++.la %{!?_without_java:libgcj.la} ; do
884 perl -pi -e 's@-L[^ ]*[acs.] @@g' $RPM_BUILD_ROOT%{_libdir}/$f
886 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
887 for f in libstdc++.la libsupc++.la libg2c.la \
888 %{!?_without_java:libgcj.la lib-org-w3c-dom.la lib-org-xml-sax.la libffi.la} \
889 %{!?_without_objc:libobjc.la}; do
890 perl -pi -e "s@^libdir='.*@libdir='/usr/%{_lib}'@" $RPM_BUILD_ROOT%{_libdir}/$f
893 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
894 mv -f $RPM_BUILD_ROOT%{_mandir}/ja/man1/{cccp,cpp}.1
896 # include/ contains install-tools/include/* and headers that were fixed up
897 # by fixincludes, we don't want former
898 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc-lib/*/*/)
900 # we have to save these however
901 mv -f $gccdir/include/{%{!?_without_objc:objc,}g2c.h,syslimits.h%{!?_without_java:,gcj}} $gccdir/tmp
902 rm -rf $gccdir/include
903 mv -f $gccdir/tmp $gccdir/include
904 cp $gccdir/install-tools/include/*.h $gccdir/include
905 # but we don't want anything more from install-tools
906 rm -rf $gccdir/install-tools/
909 %find_lang libstdc\+\+
912 rm -rf $RPM_BUILD_ROOT
915 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
918 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
921 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
924 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
927 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
930 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
933 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
936 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
939 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
942 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
944 %post -p /sbin/ldconfig -n libgcc
945 %postun -p /sbin/ldconfig -n libgcc
946 %post -p /sbin/ldconfig -n libstdc++
947 %postun -p /sbin/ldconfig -n libstdc++
948 %post -p /sbin/ldconfig -n libobjc
949 %postun -p /sbin/ldconfig -n libobjc
950 %post -p /sbin/ldconfig -n libg2c
951 %postun -p /sbin/ldconfig -n libg2c
952 %post -p /sbin/ldconfig -n libgcj
953 %postun -p /sbin/ldconfig -n libgcj
954 %post -p /sbin/ldconfig -n libgnat
955 %postun -p /sbin/ldconfig -n libgnat
956 %post -p /sbin/ldconfig -n libffi
957 %postun -p /sbin/ldconfig -n libffi
959 %files -f %{name}.lang
960 %defattr(644,root,root,755)
962 %dir %{_libdir}/gcc-lib
963 %dir %{_libdir}/gcc-lib/*
964 %dir %{_libdir}/gcc-lib/*/*
965 %dir %{_libdir}/gcc-lib/*/*/include
966 %attr(755,root,root) %{_bindir}/*-gcc*
967 %attr(755,root,root) %{_bindir}/gcc
968 %attr(755,root,root) %{_bindir}/gccbug
969 %attr(755,root,root) %{_bindir}/gcov
970 %attr(755,root,root) %{_bindir}/cc
972 %{_mandir}/man1/gcc.1*
973 %{_mandir}/man1/cc.1*
974 %{_mandir}/man1/gcov.1*
975 %lang(fr) %{_mandir}/fr/man1/gcc.1*
976 %lang(ja) %{_mandir}/ja/man1/gcc.1*
979 %attr(755,root,root) %{_slibdir}*/lib*.so
980 %{_libdir}/gcc-lib/*/*/libgcc.a
981 %{_libdir}/gcc-lib/*/*/libgcc_eh.a
982 %{_libdir}/gcc-lib/*/*/specs
983 %attr(644,root,root) %{_libdir}*/gcc-lib/*/*/crt*.o
985 %{_libdir}/gcc-lib/*/*/*/libgcc.a
986 %{_libdir}/gcc-lib/*/*/*/libgcc_eh.a
987 %attr(644,root,root) %{_libdir}*/gcc-lib/*/*/*/crt*.o
990 %attr(644,root,root) %{_libdir}/gcc-lib/*/*/ecrt*.o
991 %attr(644,root,root) %{_libdir}/gcc-lib/*/*/ncrt*.o
992 %{_libdir}/gcc-lib/*/*/nof
995 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1
996 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/collect2
998 %{_libdir}/gcc-lib/*/*/include/*.h
999 %exclude %{_libdir}/gcc-lib/*/*/include/g2c.h
1002 %defattr(644,root,root,755)
1003 %attr(755,root,root) %{_slibdir}*/lib*.so.*
1006 %defattr(644,root,root,755)
1007 %attr(755,root,root) %{_bindir}/g++
1008 %attr(755,root,root) %{_bindir}/*-g++
1009 %attr(755,root,root) %{_bindir}/c++
1010 %attr(755,root,root) %{_bindir}/*-c++
1011 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1plus
1012 %{_libdir}*/libsupc++.la
1014 %{_libdir}/nof/libsupc++.la
1015 %{_libdir}/nof/libsupc++.a
1017 %{_libdir}*/libsupc++.a
1018 %{_mandir}/man1/g++.1*
1019 %lang(ja) %{_mandir}/ja/man1/g++.1*
1021 %files -n libstdc++ -f libstdc++.lang
1022 %defattr(644,root,root,755)
1023 %attr(755,root,root) %{_libdir}*/libstdc++.so.*.*.*
1025 %attr(755,root,root) %{_libdir}/nof/libstdc++.so.*.*.*
1028 %files -n libstdc++-devel
1029 %defattr(644,root,root,755)
1030 %doc libstdc++-v3/docs/html
1031 %dir %{_includedir}/c++
1032 %{_includedir}/c++/%{GCC_VERSION}
1033 %attr(755,root,root) %{_libdir}*/libstdc++.so
1034 %{_libdir}*/libstdc++.la
1036 %attr(755,root,root) %{_libdir}/nof/libstdc++.so
1037 %{_libdir}/nof/libstdc++.la
1040 %files -n libstdc++-static
1041 %defattr(644,root,root,755)
1042 %{_libdir}*/libstdc++.a
1044 %{_libdir}/nof/libstdc++.a
1047 %if %{!?_without_objc:1}0
1049 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1obj
1052 %attr(755,root,root) %{_libdir}*/libobjc.so
1053 %{_libdir}*/libobjc.la
1055 %attr(755,root,root) %{_libdir}/nof/libobjc.so
1056 %{_libdir}/nof/libobjc.la
1058 %{_libdir}/gcc-lib/*/*/include/objc
1061 %defattr(644,root,root,755)
1062 %attr(755,root,root) %{_libdir}*/libobjc.so.*.*.*
1064 %attr(755,root,root) %{_libdir}/nof/libobjc.so.*.*.*
1067 %files -n libobjc-static
1068 %defattr(644,root,root,755)
1069 %{_libdir}*/libobjc.a
1071 %{_libdir}/nof/libobjc.a
1076 %defattr(644,root,root,755)
1077 %attr(755,root,root) %{_bindir}/g77
1078 %attr(755,root,root) %{_bindir}/f77
1080 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/f771
1081 %{_libdir}*/libfrtbegin.a
1082 %{_libdir}*/libg2c.la
1083 %attr(755,root,root) %{_libdir}*/libg2c.so
1085 %{_libdir}/nof/libfrtbegin.a
1086 %{_libdir}/nof/libg2c.la
1087 %attr(755,root,root) %{_libdir}/nof/libg2c.so
1089 %{_libdir}/gcc-lib/*/*/include/g2c.h
1090 %{_mandir}/man1/g77.1*
1091 %{_mandir}/man1/f77.1*
1092 %lang(ja) %{_mandir}/ja/man1/g77.1*
1093 %lang(ja) %{_mandir}/ja/man1/f77.1*
1096 %defattr(644,root,root,755)
1097 %attr(755,root,root) %{_libdir}*/libg2c.so.*.*.*
1099 %attr(755,root,root) %{_libdir}/nof/libg2c.so.*.*.*
1102 %files -n libg2c-static
1103 %defattr(644,root,root,755)
1104 %{_libdir}*/libg2c.a
1106 %{_libdir}/nof/libg2c.a
1109 %if %{!?_without_java:1}%{?_without_java:0}
1111 %defattr(644,root,root,755)
1113 %attr(755,root,root) %{_bindir}/gcj*
1114 %attr(755,root,root) %{_bindir}/gij
1115 %attr(755,root,root) %{_bindir}/jcf-dump
1116 %attr(755,root,root) %{_bindir}/jv-*
1117 %attr(755,root,root) %{_bindir}/grepjar
1118 %attr(755,root,root) %{_bindir}/*-gcj
1119 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/jc1
1120 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/jvgenmain
1122 %{_mandir}/man1/jcf-*
1123 %{_mandir}/man1/jv-*
1124 %{_mandir}/man1/gij*
1125 %{_mandir}/man1/gcj*
1126 %{_mandir}/man1/grepjar*
1129 %defattr(644,root,root,755)
1130 %attr(755,root,root) %{_bindir}/rmi*
1131 %attr(755,root,root) %{_bindir}/jar
1132 %{_mandir}/man1/rmi*
1133 %{_mandir}/man1/jar*
1134 %{_infodir}/fastjar*
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) %{_bindir}/addr2name.awk
1139 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1140 %attr(755,root,root) %{_libdir}/lib-org*.so.*.*.*
1142 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so.*
1145 %files -n libgcj-devel
1146 %defattr(644,root,root,755)
1148 %{_includedir}/javax
1149 #%%{_includedir}/org
1152 %{_includedir}/gnu/*
1153 %{_libdir}/gcc-lib/*/*/include/gcj
1154 %dir %{_libdir}/security
1155 %{_libdir}/security/*
1156 %dir %{_datadir}/java
1157 %{_datadir}/java/libgcj*.jar
1158 %{_libdir}/lib*cj.spec
1159 %{_libdir}/lib*cj*.la
1160 %attr(755,root,root) %{_libdir}/lib*cj*.so
1161 %attr(755,root,root) %{_libdir}/lib-org-*.so
1162 %{_libdir}/lib-org-*.la
1164 %{_libdir}/nof/lib*cj*.la
1165 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so
1168 %files -n libgcj-static
1169 %defattr(644,root,root,755)
1170 %{_libdir}/lib*cj*.a
1171 %{_libdir}/lib-org-*.a
1173 %{_libdir}/nof/lib*cj*.a
1177 %defattr(644,root,root,755)
1178 %attr(755,root,root) %{_libdir}/libffi-*.so
1180 %files -n libffi-devel
1181 %defattr(644,root,root,755)
1182 %attr(755,root,root) %{_libdir}/libffi.so
1183 %{_libdir}/libffi.la
1186 %files -n libffi-static
1187 %defattr(644,root,root,755)
1191 %if 0%{!?_without_ada:1}
1193 %defattr(644,root,root,755)
1194 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/gnat1
1195 %{_libdir}/gcc-lib/*/*/adainclude
1196 %dir %{_libdir}/gcc-lib/*/*/adalib
1197 %{_libdir}/gcc-lib/*/*/adalib/*.ali
1199 %{_libdir}/gcc-lib/*/*/adalib/libgmem.a
1201 %{_libdir}/gcc-lib/*/*/adalib/Makefile.adalib
1202 %attr(755,root,root) %{_bindir}/gnat*
1204 %attr(755,root,root) %{_libdir}/libgnat*.so
1205 %attr(755,root,root) %{_libdir}/libgnarl*.so
1208 %defattr(644,root,root,755)
1209 %attr(755,root,root) %{_libdir}/libgna*.so.1
1211 %files -n libgnat-static
1212 %defattr(644,root,root,755)
1213 %{_libdir}/gcc-lib/*/*/adalib/libgna*.a
1217 %defattr(644,root,root,755)
1218 %doc gcc/ksi/README gcc/ksi/NEWS gcc/ksi/t/*.{ksi,c,foo}
1220 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/ksi1
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) /lib/cpp
1225 %attr(755,root,root) %{_bindir}/cpp
1226 %{_mandir}/man1/cpp.1*
1227 %lang(ja) %{_mandir}/ja/man1/cpp.1*