3 %bcond_without ada # build without ADA support
4 %bcond_without cxx # build without C++ support
5 %bcond_without fortran # build without Fortran support
6 %bcond_without java # build without Java support
7 %bcond_without objc # build without Objective-C support
8 %bcond_without objcxx # build without Objective-C++ support
9 %bcond_without multilib # build without multilib support (it needs glibc[32&64]-devel)
10 %bcond_with profiling # build with profiling
11 %bcond_without bootstrap # omit 3-stage bootstrap
12 %bcond_with tests # torture gcc
23 %if %{without bootstrap}
24 %undefine with_profiling
27 %ifnarch %{x8664} ppc64 s390x sparc64
28 %undefine with_multilib
31 Summary: GNU Compiler Collection: the C compiler and shared files
32 Summary(es): Colección de compiladores GNU: el compilador C y ficheros compartidos
33 Summary(pl): Kolekcja kompilatorów GNU: kompilator C i pliki wspó³dzielone
34 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
37 #define _snap 20060218r111233
38 #define _snap 20060223
39 #Release: 0.%{_snap}.5
43 Group: Development/Languages
44 #Source0: ftp://gcc.gnu.org/pub/gcc/prerelease-%{version}-%{_snap}/gcc-%{version}-%{_snap}.tar.bz2
45 Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
46 # Source0-md5: 88785071f29ed0e0b6b61057a1079442
47 #Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
48 #Source0: gcc-4.1-%{_snap}.tar.bz2
49 Source1: %{name}-optimize-la.pl
50 Patch0: %{name}-info.patch
51 Patch1: %{name}-nolocalefiles.patch
52 Patch2: %{name}-nodebug.patch
53 Patch3: %{name}-ada-link.patch
54 Patch4: %{name}-sparc64-ada_fix.patch
55 Patch5: %{name}-alpha-ada_fix.patch
56 # -fvisibility fixes...
57 Patch6: %{name}-pr19664_gnu_internal.patch
58 Patch7: %{name}-pr19664_libstdc++.patch
59 Patch8: %{name}-pr20218.patch
62 Patch10: %{name}-pr7776.patch
63 Patch11: %{name}-pr20297.patch
64 Patch12: %{name}-pr19606.patch
65 Patch13: %{name}-pr24879.patch
66 #Patch14: %{name}-x87-mmx-switch.patch NEEDS UPDATE
67 #Patch15: %{name}-x87-mmx-eh.patch NEEDS UPDATE
69 Patch17: %{name}-pr19505.patch
70 Patch18: %{name}-pr24419.patch
71 Patch19: %{name}-pr24669.patch
72 Patch20: %{name}-pr17390.patch
73 Patch21: %{name}-pr13676.patch
74 Patch22: %{name}-pr25626.patch
75 Patch23: %{name}-libstdcxx-bitset.patch
76 Patch24: %{name}-unexpected_eof.patch
77 Patch25: %{name}-libjava-multilib.patch
78 Patch26: %{name}-ppc64-m32-m64-multilib-only.patch
79 Patch27: %{name}-enable-java-awt-qt.patch
81 # 128-bit long double support for glibc 2.4
82 Patch30: %{name}-ldbl-default-libstdc++.patch
83 Patch31: %{name}-ldbl-default.patch
85 URL: http://gcc.gnu.org/
86 BuildRequires: autoconf
87 %{?with_tests:BuildRequires: autogen}
88 BuildRequires: automake
89 # binutils 2.16.91 or newer are required for compiling medium model now
90 BuildRequires: binutils >= 2:2.16.91.0.1
92 BuildRequires: chrpath >= 0.13-2
93 %{?with_tests:BuildRequires: dejagnu}
94 BuildRequires: fileutils >= 4.0.41
97 BuildRequires: gcc(ada)
98 BuildRequires: gcc-ada
100 BuildRequires: gettext-devel
102 BuildRequires: glibc-devel >= 6:2.3.4-1.5
104 BuildRequires: glibc-devel(i686)
107 BuildRequires: glibc-devel(ppc)
110 BuildRequires: glibc-devel(s390)
113 BuildRequires: glibc-devel(sparc)
116 BuildRequires: glibc-devel >= 2.2.5-20
118 BuildRequires: perl-devel
119 BuildRequires: rpmbuild(macros) >= 1.211
120 BuildRequires: texinfo >= 4.1
121 BuildRequires: zlib-devel
123 BuildRequires: gmp-devel
124 BuildRequires: libmpfr-devel
127 BuildRequires: QtGui-devel >= 4.0.1
128 BuildRequires: alsa-lib-devel
129 BuildRequires: cairo-devel >= 0.5.0
131 BuildRequires: jack-audio-connection-kit-devel
132 BuildRequires: gtk+2-devel >= 2:2.4.0
133 BuildRequires: libart_lgpl-devel >= 2.1
134 BuildRequires: libxslt-devel
135 BuildRequires: pango-devel
136 BuildRequires: pkgconfig
137 BuildRequires: qt4-build
138 BuildRequires: xorg-lib-libXtst-devel
140 # AS_NEEDED directive for dynamic linker
141 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
142 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
143 Requires: binutils >= 2:2.16.90.0.1-0.3
144 Requires: libgcc = %{epoch}:%{version}-%{release}
145 Provides: cpp = %{epoch}:%{version}-%{release}
146 %{?with_ada:Provides: gcc(ada)}
147 %{?with_multilib:Provides: gcc(multilib)}
154 Conflicts: glibc-devel < 2.2.5-20
155 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
157 %define _slibdir /%{_lib}
159 # 32-bit environment on x86-64,ppc64,s390x,sparc64
160 %define _slibdir32 /lib
161 %define _libdir32 /usr/lib
165 A compiler aimed at integrating all the optimizations and features
166 necessary for a high-performance and stable development environment.
168 This package contains the C compiler and some files shared by various
169 parts of the GNU Compiler Collection. In order to use another GCC
170 compiler you will need to install the appropriate subpackage.
173 Un compilador que intenta integrar todas las optimalizaciones y
174 características necesarias para un entorno de desarrollo eficaz y
177 Este paquete contiene el compilador de C y unos ficheros compartidos
178 por varias partes de la colección de compiladores GNU (GCC). Para usar
179 otro compilador de GCC será necesario que instale el subpaquete
183 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
184 wyprodukowania szybkiego i stabilnego kodu wynikowego.
186 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
187 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
188 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
190 %description -l pt_BR
191 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
192 GNU Compiler Collection.
195 Summary: Shared gcc library
196 Summary(es): Biblioteca compartida de gcc
197 Summary(pl): Biblioteka gcc
198 Summary(pt_BR): Biblioteca runtime para o GCC
199 License: GPL with unlimited link permission
203 %description -n libgcc
206 %description -n libgcc -l es
207 Biblioteca compartida de gcc.
209 %description -n libgcc -l pl
210 Biblioteka dynamiczna gcc.
212 %description -n libgcc -l pt_BR
213 Biblioteca runtime para o GCC.
215 %package -n libmudflap
216 Summary: GCC mudflap shared support library
217 Summary(pl): Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
218 License: GPL v2+ with unlimited link permission
221 %description -n libmudflap
222 The libmudflap libraries are used by GCC for instrumenting pointer and
223 array dereferencing operations.
225 %description -n libmudflap -l pl
226 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
227 dereferencji wspa¼ników i tablic.
229 %package -n libmudflap-devel
230 Summary: Development files for GCC mudflap library
231 Summary(pl): Pliki programistyczne biblioteki GCC mudflap
232 License: GPL v2+ with unlimited link permission
233 Group: Development/Libraries
234 Requires: libmudflap = %{epoch}:%{version}-%{release}
236 %description -n libmudflap-devel
237 The libmudflap libraries are used by GCC for instrumenting pointer and
238 array dereferencing operations. This package contains development
241 %description -n libmudflap-devel -l pl
242 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
243 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
246 %package -n libmudflap-static
247 Summary: Static GCC mudflap library
248 Summary(pl): Statyczna biblioteka GCC mudflap
249 License: GPL v2+ with unlimited link permission
250 Group: Development/Libraries
251 Requires: libmudflap-devel = %{epoch}:%{version}-%{release}
253 %description -n libmudflap-static
254 The libmudflap libraries are used by GCC for instrumenting pointer and
255 array dereferencing operations. This package contains static
258 %description -n libmudflap-static -l pl
259 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
260 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
264 Summary: Ada support for gcc
265 Summary(es): Soporte de Ada para gcc
266 Summary(pl): Obs³uga Ady do gcc
267 Group: Development/Languages
268 Requires: %{name} = %{epoch}:%{version}-%{release}
269 Requires: libgnat = %{epoch}:%{version}-%{release}
271 Obsoletes: gnat-devel
274 This package adds experimental support for compiling Ada programs.
276 %description ada -l es
277 Este paquete añade soporte experimental para compilar programas en
280 %description ada -l pl
281 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
285 Summary: Ada standard libraries
286 Summary(es): Bibliotecas estándares de Ada
287 Summary(pl): Biblioteki standardowe dla Ady
288 License: GPL v2+ with linking exception
293 %description -n libgnat
294 This package contains shared libraries needed to run programs written
297 %description -n libgnat -l es
298 Este paquete contiene las bibliotecas compartidas necesarias para
299 ejecutar programas escritos en Ada.
301 %description -n libgnat -l pl
302 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
305 %package -n libgnat-static
306 Summary: Static Ada standard libraries
307 Summary(pl): Statyczne biblioteki standardowe dla Ady
308 License: GPL v2+ with linking exception
309 Group: Development/Libraries
310 Obsoletes: gnat-static
312 %description -n libgnat-static
313 This package contains static libraries for programs written in Ada.
315 %description -n libgnat-static -l pl
316 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
320 Summary: C++ support for gcc
321 Summary(es): Soporte de C++ para gcc
322 Summary(pl): Obs³uga C++ dla gcc
323 Summary(pt_BR): Suporte C++ para o gcc
324 Group: Development/Languages
325 Requires: %{name} = %{epoch}:%{version}-%{release}
330 This package adds C++ support to the GNU Compiler Collection. It
331 includes support for most of the current C++ specification, including
332 templates and exception handling. It does not include a standard C++
333 library, which is available separately.
335 %description c++ -l de
336 Dieses Paket enthält die C++-Unterstützung für den
337 GNU-Compiler-Collection. Es unterstützt die aktuelle
338 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
339 C++-Standard-Library ist nicht enthalten - sie ist getrennt
342 %description c++ -l es
343 Este paquete añade soporte de C++ al GCC (colección de compiladores
344 GNU). Ello incluye el soporte para la mayoría de la especificación
345 actual de C++, incluyendo plantillas y manejo de excepciones. No
346 incluye la biblioteca estándar de C++, la que es disponible separada.
348 %description c++ -l fr
349 Ce package ajoute un support C++ a la collection de compilateurs GNU.
350 Il comprend un support pour la plupart des spécifications actuelles de
351 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
352 une bibliothéque C++ standard, qui est disponible séparément.
354 %description c++ -l pl
355 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
356 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
357 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
359 %description c++ -l pt_BR
360 Este pacote adiciona suporte C++ para o gcc.
362 %description c++ -l tr
363 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
364 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
365 C++ kitaplýðý bu pakette yer almaz.
367 %package -n libstdc++
368 Summary: GNU C++ library
369 Summary(es): Biblioteca C++ de GNU
370 Summary(pl): Biblioteki GNU C++
371 Summary(pt_BR): Biblioteca C++ GNU
372 License: GPL v2+ with free software exception
375 Obsoletes: libstdc++3
377 %description -n libstdc++
378 This is the GNU implementation of the standard C++ libraries, along
379 with additional GNU tools. This package includes the shared libraries
380 necessary to run C++ applications.
382 %description -n libstdc++ -l de
383 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
384 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
385 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
387 %description -n libstdc++ -l es
388 Este es el soporte de las bibliotecas padrón del C++, junto con
389 herramientas GNU adicionales. El paquete incluye las bibliotecas
390 compartidas necesarias para ejecutar aplicaciones C++.
392 %description -n libstdc++ -l fr
393 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
394 des outils GNU supplémentaires. Ce package comprend les librairies
395 partagées nécessaires à l'exécution d'application C++.
397 %description -n libstdc++ -l pl
398 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
399 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
400 uruchomienia aplikacji napisanych w C++.
402 %description -n libstdc++ -l pt_BR
403 Este pacote é uma implementação da biblioteca padrão C++ v3, um
404 subconjunto do padrão ISO 14882.
406 %description -n libstdc++ -l tr
407 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
408 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
410 %package -n libstdc++-devel
411 Summary: Header files and documentation for C++ development
412 Summary(de): Header-Dateien zur Entwicklung mit C++
413 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
414 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
415 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
416 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
417 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
418 License: GPL v2+ with free software exception
419 Group: Development/Libraries
420 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
421 Requires: libstdc++ = %{epoch}:%{version}-%{release}
422 Requires: glibc-devel
423 Obsoletes: libg++-devel
424 Obsoletes: libstdc++3-devel
426 %description -n libstdc++-devel
427 This is the GNU implementation of the standard C++ libraries. This
428 package includes the header files needed for C++ development and
429 library documentation.
431 %description -n libstdc++-devel -l es
432 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
433 paquete incluye los archivos de inclusión y bibliotecas necesarios
434 para desarrollo de programas en lenguaje C++.
436 %description -n libstdc++-devel -l pl
437 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
438 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
439 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
441 %description -n libstdc++-devel -l pt_BR
442 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
443 para desenvolvimento de programas C++.
445 %package -n libstdc++-static
446 Summary: Static C++ standard library
447 Summary(es): Biblioteca estándar estática de C++
448 Summary(pl): Statyczna biblioteka standardowa C++
449 License: GPL v2+ with free software exception
450 Group: Development/Libraries
451 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
453 %description -n libstdc++-static
454 Static C++ standard library.
456 %description -n libstdc++-static -l es
457 Biblioteca estándar estática de C++.
459 %description -n libstdc++-static -l pl
460 Statyczna biblioteka standardowa C++.
463 Summary: Fortran 95 support for gcc
464 Summary(es): Soporte de Fortran 95 para gcc
465 Summary(pl): Obs³uga Fortranu 95 dla gcc
466 Summary(pt_BR): Suporte Fortran 95 para o GCC
467 Group: Development/Languages/Fortran
468 Requires: libgfortran = %{epoch}:%{version}-%{release}
469 Provides: gcc-g77 = %{epoch}:%{version}-%{release}
474 This package adds support for compiling Fortran 95 programs with the
477 %description fortran -l es
478 Este paquete añade soporte para compilar programas escritos en Fortran
479 95 con el compilador GNU.
481 %description fortran -l pl
482 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
483 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
485 %description fortran -l pt_BR
486 Suporte Fortran 95 para o GCC.
488 %package -n libgfortran
489 Summary: Fortran 95 Libraries
490 Summary(es): Bibliotecas de Fortran 95
491 Summary(pl): Biblioteki Fortranu 95
496 %description -n libgfortran
497 Fortran 95 Libraries.
499 %description -n libgfortran -l es
500 Bibliotecas de Fortran 95.
502 %description -n libgfortran -l pl
503 Biblioteki Fortranu 95.
505 %package -n libgfortran-static
506 Summary: Static Fortran 95 Libraries
507 Summary(es): Bibliotecas estáticas de Fortran 95
508 Summary(pl): Statyczne Biblioteki Fortranu 95
510 Group: Development/Libraries
511 Requires: libgfortran = %{epoch}:%{version}-%{release}
512 Obsoletes: libg2c-static
514 %description -n libgfortran-static
515 Static Fortran 95 Libraries.
517 %description -n libgfortran-static -l es
518 Bibliotecas estáticas de Fortran 95.
520 %description -n libgfortran-static -l pl
521 Statyczne biblioteki Fortranu 95.
524 Summary: Java support for gcc
525 Summary(es): Soporte de Java para gcc
526 Summary(pl): Obs³uga Javy dla gcc
527 Group: Development/Languages/Java
528 Requires: %{name} = %{epoch}:%{version}-%{release}
529 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
530 Provides: gcj = %{epoch}:%{version}-%{release}
531 Provides: gcc-java-tools
533 Obsoletes: gcc-java-tools
536 This package adds experimental support for compiling Java(TM) programs
537 and bytecode into native code. To use this you will also need the
540 %description java -l es
541 Este paquete añade soporte experimental para compilar programas
542 Java(tm) y su bytecode en código nativo. Para usarlo también va a
543 necesitar el paquete libgcj.
545 %description java -l pl
546 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
547 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
548 dodatkowo pakiet libgcj.
551 Summary: Java Class Libraries
552 Summary(es): Bibliotecas de clases de Java
553 Summary(pl): Biblioteki Klas Javy
554 License: GPL with limited linking exception
558 %description -n libgcj
559 Java Class Libraries.
561 %description -n libgcj -l es
562 Bibliotecas de clases de Java.
564 %description -n libgcj -l pl
565 Biblioteki Klas Javy.
567 %package -n libgcj-devel
568 Summary: Development files for Java Class Libraries
569 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
570 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
571 License: GPL with limited linking exception
572 Group: Development/Libraries
573 Requires: libgcj = %{epoch}:%{version}-%{release}
575 Obsoletes: libgcj3-devel
577 %description -n libgcj-devel
578 Development files for Java Class Libraries.
580 %description -n libgcj-devel -l es
581 Ficheros de desarrollo para las bibliotecas de clases de Java.
583 %description -n libgcj-devel -l pl
584 Pliki nag³ówkowe dla Bibliotek Klas Javy.
586 %package -n libgcj-static
587 Summary: Static Java Class Libraries
588 Summary(es): Bibliotecas estáticas de clases de Java
589 Summary(pl): Statyczne Biblioteki Klas Javy
590 License: GPL with limited linking exception
591 Group: Development/Libraries
592 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
593 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
595 %description -n libgcj-static
596 Static Java Class Libraries.
598 %description -n libgcj-static -l es
599 Bibliotecas estáticas de clases de Java.
601 %description -n libgcj-static -l pl
602 Statyczne Biblioteki Klas Javy.
605 Summary: Foreign Function Interface library
606 Summary(es): Biblioteca de interfaz de funciones ajenas
607 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
611 %description -n libffi
612 The libffi library provides a portable, high level programming
613 interface to various calling conventions. This allows a programmer to
614 call any function specified by a call interface description at run
617 %description -n libffi -l es
618 La biblioteca libffi provee una interfaz portable de programación de
619 alto nivel para varias convenciones de llamada. Ello permite que un
620 programador llame una función cualquiera especificada por una
621 descripción de interfaz de llamada en el tiempo de ejecución.
623 %description -n libffi -l pl
624 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
625 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
626 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
629 %package -n libffi-devel
630 Summary: Development files for Foreign Function Interface library
631 Summary(es): Ficheros de desarrollo para libffi
632 Summary(pl): Pliki nag³ówkowe dla libffi
634 Group: Development/Libraries
635 Requires: libffi = %{epoch}:%{version}-%{release}
637 %description -n libffi-devel
638 Development files for Foreign Function Interface library.
640 %description -n libffi-devel -l es
641 Ficheros de desarrollo para libffi.
643 %description -n libffi-devel -l pl
644 Pliki nag³ówkowe dla libffi.
646 %package -n libffi-static
647 Summary: Static Foreign Function Interface library
648 Summary(es): Biblioteca libffi estática
649 Summary(pl): Statyczna biblioteka libffi
651 Group: Development/Libraries
652 Requires: libffi-devel = %{epoch}:%{version}-%{release}
654 %description -n libffi-static
655 Static Foreign Function Interface library.
657 %description -n libffi-static -l es
658 Biblioteca libffi estática.
660 %description -n libffi-static -l pl
661 Statyczna biblioteka libffi.
664 Summary: Objective C support for gcc
665 Summary(de): Objektive C-Unterstützung für gcc
666 Summary(es): Soporte de Objective C para gcc
667 Summary(fr): Gestion d'Objective C pour gcc
668 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
669 Summary(tr): gcc için Objective C desteði
670 Group: Development/Languages
671 Requires: %{name} = %{epoch}:%{version}-%{release}
672 Requires: libobjc = %{epoch}:%{version}-%{release}
677 This package adds Objective C support to the GNU Compiler Collection.
678 Objective C is a object oriented derivative of the C language, mainly
679 used on systems running NeXTSTEP. This package does not include the
680 standard objective C object library.
682 %description objc -l de
683 Dieses Paket ergänzt den GNU-Compiler-Collection durch
684 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
685 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
686 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
688 %description objc -l es
689 Este paquete añade soporte de Objective C al GCC (colección de
690 compiladores GNU). Objective C es un lenguaje orientado a objetos
691 derivado de C, principalmente usado en sistemas que funcionan bajo
692 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
695 %description objc -l fr
696 Ce package ajoute un support Objective C a la collection de
697 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
698 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
699 package n'inclue pas la bibliothéque Objective C standard.
701 %description objc -l pl
702 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
703 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
704 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
705 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
707 %description objc -l tr
708 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
709 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
710 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
711 kitaplýðý bu pakette yer almaz.
714 Summary: Objective C++ support for gcc
715 Summary(pl): Obs³uga jêzyka Objective C++ dla gcc
716 Group: Development/Languages
717 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
718 Requires: %{name}-objc = %{epoch}:%{version}-%{release}
721 This package adds Objective C++ support to the GNU Compiler
724 %description objc++ -l pl
725 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
726 kompilatorów GNU Compiler Collection.
729 Summary: Objective C Libraries
730 Summary(es): Bibliotecas de Objective C
731 Summary(pl): Biblioteki Obiektowego C
732 License: GPL v2+ with linking exception
736 %description -n libobjc
737 Objective C Libraries.
739 %description -n libobjc -l es
740 Bibliotecas de Objective C.
742 %description -n libobjc -l pl
743 Biblioteki Obiektowego C.
745 %package -n libobjc-static
746 Summary: Static Objective C Libraries
747 Summary(es): Bibliotecas estáticas de Objective C
748 Summary(pl): Statyczne Biblioteki Obiektowego C
749 License: GPL v2+ with linking exception
750 Group: Development/Libraries
751 Requires: libobjc = %{epoch}:%{version}-%{release}
753 %description -n libobjc-static
754 Static Objective C Libraries.
756 %description -n libobjc-static -l es
757 Bibliotecas estáticas de Objective C.
759 %description -n libobjc-static -l pl
760 Statyczne biblioteki Obiektowego C.
763 %setup -q -n gcc-%{version}
764 #setup -q -n gcc-%{version}-%{_snap}
765 #setup -q -n gcc-4_1-branch
774 # -fvisbility fixes...
785 %ifarch %{ix86} %{x8664}
805 # because we distribute modified version of gcc...
806 sed -i 's:#define VERSUFFIX.*:#define VERSUFFIX " (PLD-Linux)":' gcc/version.c
807 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
809 mv ChangeLog ChangeLog.general
820 cp -f /usr/share/automake/config.sub .
822 rm -rf builddir && install -d builddir && cd builddir
824 CFLAGS="%{rpmcflags}" \
825 CXXFLAGS="%{rpmcxxflags}" \
828 --prefix=%{_prefix} \
829 --with-local-prefix=%{_prefix}/local \
830 --libdir=%{_libdir} \
831 --libexecdir=%{_libdir} \
832 --infodir=%{_infodir} \
833 --mandir=%{_mandir} \
834 --x-libraries=%{_libdir} \
836 --enable-threads=posix \
837 --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
840 --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
845 --with-demangler-in-ld \
847 --with-slibdir=%{_slibdir} \
849 --without-system-libunwind \
851 --with-system-libunwind \
853 %{!?with_java:--without-x} \
854 %{?with_fortran:--enable-cmath} \
855 --with-long-double-128 \
860 --with-gxx-include-dir=%{_includedir}/c++/%{version} \
861 --disable-libstdcxx-pch \
862 --enable-__cxa_atexit \
863 --enable-libstdcxx-allocator=mt \
866 --with-qt4dir=%{_libdir}/qt4 \
867 --disable-libjava-multilib \
869 --enable-libgcj-multifile \
870 --enable-libgcj-database \
872 --enable-java-awt=qt,gtk,xlib \
882 %{__make} -C builddir \
883 %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
884 GCJFLAGS="%{rpmcflags}" \
885 BOOT_CFLAGS="%{rpmcflags}" \
886 STAGE1_CFLAGS="%{rpmcflags} -O0" \
887 GNATLIBCFLAGS="%{rpmcflags}" \
888 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
892 %{?with_tests:%{__make} -k -C builddir check 2>&1 ||:}
895 rm -rf $RPM_BUILD_ROOT
896 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
900 %{__make} -j1 install \
902 infodir=%{_infodir} \
903 DESTDIR=$RPM_BUILD_ROOT
905 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
908 ln -sf %{_bindir}/sparc64-pld-linux-gcc \
909 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
912 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
913 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
914 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
916 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
917 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
918 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
920 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
921 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
922 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
926 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
927 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
931 # move ada shared libraries to proper place...
932 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
933 $RPM_BUILD_ROOT%{_libdir}
934 # check if symlink to be made is valid
935 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so.1
936 ln -sf libgnat-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so
937 ln -sf libgnarl-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.1.so
938 ln -sf libgnat-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
939 ln -sf libgnarl-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
946 cp -f libjava/READ* java-doc
947 cp -f fastjar/README java-doc/README.fastjar
948 cp -f libffi/README java-doc/README.libffi
949 cp -f libffi/LICENSE java-doc/LICENSE.libffi
950 ln -sf %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
951 rm -f $RPM_BUILD_ROOT%{_libdir}/classpath/libgjs*.la
954 cp -f libobjc/README gcc/objc/README.libobjc
957 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
958 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
959 for f in libmudflap.la libmudflapth.la libssp.la \
960 %{?with_cxx:libstdc++.la libsupc++.la} \
961 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
962 %{?with_java:libgcj.la libffi.la} \
963 %{?with_objc:libobjc.la};
965 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
966 mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
969 for f in libmudflap.la libmudflapth.la libssp.la \
970 %{?with_cxx:libstdc++.la libsupc++.la} \
971 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
972 %{?with_objc:libobjc.la};
974 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
975 mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
979 # include/ contains install-tools/include/* and headers that were fixed up
980 # by fixincludes, we don't want former
981 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
984 # we have to save these however
985 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
986 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
987 mv $gccdir/include/syslimits.h $gccdir/tmp
988 mv $gccdir/include/ssp $gccdir/tmp
989 rm -rf $gccdir/include
990 mv $gccdir/tmp $gccdir/include
991 cp $gccdir/install-tools/include/*.h $gccdir/include
992 # but we don't want anything more from install-tools
993 rm -rf $gccdir/install-tools
997 cat cpplib.lang >> gcc.lang
1000 %find_lang libstdc\+\+
1001 install libstdc++-v3/include/stdc++.h $RPM_BUILD_ROOT%{_includedir}
1004 # cvs snap doesn't contain (release does) below files,
1005 # so let's create dummy entries to satisfy %%files.
1006 [ ! -f NEWS ] && touch NEWS
1007 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
1008 [ ! -f libgfortran/README ] && touch libgfortran/README
1011 rm -rf $RPM_BUILD_ROOT
1014 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1017 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1020 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1023 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1026 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1029 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1032 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1035 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1037 %post -p /sbin/ldconfig -n libgcc
1038 %postun -p /sbin/ldconfig -n libgcc
1039 %post -p /sbin/ldconfig -n libmudflap
1040 %postun -p /sbin/ldconfig -n libmudflap
1041 %post -p /sbin/ldconfig -n libgnat
1042 %postun -p /sbin/ldconfig -n libgnat
1043 %post -p /sbin/ldconfig -n libstdc++
1044 %postun -p /sbin/ldconfig -n libstdc++
1045 %post -p /sbin/ldconfig -n libgfortran
1046 %postun -p /sbin/ldconfig -n libgfortran
1047 %post -p /sbin/ldconfig -n libgcj
1048 %postun -p /sbin/ldconfig -n libgcj
1049 %post -p /sbin/ldconfig -n libffi
1050 %postun -p /sbin/ldconfig -n libffi
1051 %post -p /sbin/ldconfig -n libobjc
1052 %postun -p /sbin/ldconfig -n libobjc
1055 %defattr(644,root,root,755)
1056 %doc ChangeLog.general MAINTAINERS NEWS
1057 %doc gcc/{ChangeLog,ONEWS,README.Portability} bugs.html faq.html
1059 %dir %{_libdir}/gcc/*
1060 %dir %{_libdir}/gcc/*/*
1061 %dir %{_libdir}/gcc/*/*/include
1063 %attr(755,root,root) %{_bindir}/*-gcc*
1064 %attr(755,root,root) %{_bindir}/gcc
1065 %attr(755,root,root) %{_bindir}/gccbug
1066 %attr(755,root,root) %{_bindir}/gcov
1067 %attr(755,root,root) %{_bindir}/cc
1068 %attr(755,root,root) %{_bindir}/cpp
1070 %{_mandir}/man1/cc.1*
1071 %{_mandir}/man1/cpp.1*
1072 %{_mandir}/man1/gcc.1*
1073 %{_mandir}/man1/gcov.1*
1078 %attr(755,root,root) /lib/cpp
1080 %attr(755,root,root) %{_slibdir}/lib*.so
1082 %{_libdir}/libssp.la
1083 %attr(755,root,root) %{_libdir}/libssp.so
1084 %{_libdir}/libssp_nonshared.a
1085 %{_libdir}/libssp_nonshared.la
1086 %if %{with multilib}
1087 %attr(755,root,root) %{_slibdir32}/lib*.so
1088 %dir %{_libdir}/gcc/*/*/32
1089 %{_libdir}/gcc/*/*/32/libgcov.a
1090 %{_libdir}/gcc/*/*/32/libgcc.a
1091 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1092 %{_libdir32}/libssp.a
1093 %{_libdir32}/libssp.la
1094 %attr(755,root,root) %{_libdir32}/libssp.so
1095 %{_libdir32}/libssp_nonshared.a
1096 %{_libdir32}/libssp_nonshared.la
1098 %{_libdir}/gcc/*/*/libgcov.a
1099 %{_libdir}/gcc/*/*/libgcc.a
1100 %{_libdir}/gcc/*/*/libgcc_eh.a
1101 %{_libdir}/gcc/*/*/specs
1102 %if %{with multilib}
1103 %{_libdir}/gcc/*/*/32/crt*.o
1105 %{_libdir}/gcc/*/*/crt*.o
1106 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1107 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1109 %{_libdir}/gcc/*/*/include/*.h
1112 %defattr(644,root,root,755)
1113 %if %{with multilib}
1114 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1116 %attr(755,root,root) %{_slibdir}/lib*.so.*
1118 %files -n libmudflap
1119 %defattr(644,root,root,755)
1120 %if %{with multilib}
1121 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1123 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1125 %files -n libmudflap-devel
1126 %defattr(644,root,root,755)
1127 %{_includedir}/mf-runtime.h
1128 %if %{with multilib}
1129 %{_libdir32}/libmudflap*.la
1130 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1132 %{_libdir}/libmudflap*.la
1133 %attr(755,root,root) %{_libdir}/libmudflap*.so
1135 %files -n libmudflap-static
1136 %defattr(644,root,root,755)
1137 %if %{with multilib}
1138 %{_libdir32}/libmudflap*.a
1140 %{_libdir}/libmudflap*.a
1144 %defattr(644,root,root,755)
1145 %doc gcc/ada/ChangeLog
1146 %attr(755,root,root) %{_bindir}/gnat*
1147 %attr(755,root,root) %{_bindir}/gpr*
1148 %attr(755,root,root) %{_libdir}/libgnarl*.so
1149 %attr(755,root,root) %{_libdir}/libgnat*.so
1150 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1151 %{_libdir}/gcc/*/*/adainclude
1152 %dir %{_libdir}/gcc/*/*/adalib
1153 %{_libdir}/gcc/*/*/adalib/*.ali
1154 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1155 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1157 %{_libdir}/gcc/*/*/adalib/libgmem.a
1162 %defattr(644,root,root,755)
1163 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1164 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1166 %files -n libgnat-static
1167 %defattr(644,root,root,755)
1168 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1169 %{_libdir}/gcc/*/*/adalib/libgnat.a
1174 %defattr(644,root,root,755)
1175 %doc gcc/cp/{ChangeLog,NEWS}
1176 %attr(755,root,root) %{_bindir}/g++
1177 %attr(755,root,root) %{_bindir}/*-g++
1178 %attr(755,root,root) %{_bindir}/c++
1179 %attr(755,root,root) %{_bindir}/*-c++
1180 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1181 %if %{with multilib}
1182 %{_libdir32}/libsupc++.a
1183 %{_libdir32}/libsupc++.la
1185 %{_libdir}/libsupc++.a
1186 %{_libdir}/libsupc++.la
1187 %{_mandir}/man1/g++.1*
1189 %files -n libstdc++ -f libstdc++.lang
1190 %defattr(644,root,root,755)
1191 %doc libstdc++-v3/{ChangeLog,README}
1192 %if %{with multilib}
1193 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1195 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1197 %files -n libstdc++-devel
1198 %defattr(644,root,root,755)
1199 %doc libstdc++-v3/docs/html
1200 %dir %{_includedir}/c++
1201 %{_includedir}/stdc++.h
1202 %{_includedir}/c++/%{version}
1204 %exclude %{_includedir}/c++/%{version}/java
1205 %exclude %{_includedir}/c++/%{version}/javax
1206 %exclude %{_includedir}/c++/%{version}/gcj
1207 %exclude %{_includedir}/c++/%{version}/gnu
1209 %if %{with multilib}
1210 %{_libdir32}/libstdc++.la
1211 %attr(755,root,root) %{_libdir32}/libstdc++.so
1213 %{_libdir}/libstdc++.la
1214 %attr(755,root,root) %{_libdir}/libstdc++.so
1216 %files -n libstdc++-static
1217 %defattr(644,root,root,755)
1218 %if %{with multilib}
1219 %{_libdir32}/libstdc++.a
1221 %{_libdir}/libstdc++.a
1226 %defattr(644,root,root,755)
1227 %doc gcc/fortran/ChangeLog
1228 %attr(755,root,root) %{_bindir}/g95
1229 %attr(755,root,root) %{_bindir}/gfortran
1230 %attr(755,root,root) %{_bindir}/*-gfortran
1231 %{_infodir}/gfortran*
1232 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1233 %if %{with multilib}
1234 %{_libdir32}/libgfortranbegin.a
1235 %{_libdir32}/libgfortranbegin.la
1236 %{_libdir32}/libgfortran.la
1237 %attr(755,root,root) %{_libdir32}/libgfortran.so
1239 %{_libdir}/libgfortranbegin.a
1240 %{_libdir}/libgfortranbegin.la
1241 %{_libdir}/libgfortran.la
1242 %attr(755,root,root) %{_libdir}/libgfortran.so
1243 %{_mandir}/man1/g95.1*
1244 %{_mandir}/man1/gfortran.1*
1246 %files -n libgfortran
1247 %defattr(644,root,root,755)
1248 %doc libgfortran/{AUTHORS,README,ChangeLog}
1249 %if %{with multilib}
1250 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1252 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1254 %files -n libgfortran-static
1255 %defattr(644,root,root,755)
1256 %if %{with multilib}
1257 %{_libdir32}/libgfortran.a
1259 %{_libdir}/libgfortran.a
1264 %defattr(644,root,root,755)
1265 %doc gcc/java/ChangeLog java-doc/*
1266 %attr(755,root,root) %{_bindir}/fastjar
1267 %attr(755,root,root) %{_bindir}/gcj*
1268 %attr(755,root,root) %{_bindir}/gjnih
1269 %attr(755,root,root) %{_bindir}/grepjar
1270 %attr(755,root,root) %{_bindir}/grmi*
1271 %attr(755,root,root) %{_bindir}/jcf-dump
1272 %attr(755,root,root) %{_bindir}/jv-*
1273 %attr(755,root,root) %{_bindir}/*-gcj*
1274 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1275 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1276 %{_infodir}/fastjar*
1278 %{_mandir}/man1/fastjar*
1279 %{_mandir}/man1/gcj*
1280 %{_mandir}/man1/gjnih*
1281 %{_mandir}/man1/grepjar*
1282 %{_mandir}/man1/grmi*
1283 %{_mandir}/man1/jcf-*
1284 %{_mandir}/man1/jv-*
1287 %defattr(644,root,root,755)
1288 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1289 %attr(755,root,root) %{_bindir}/addr2name.awk
1290 %attr(755,root,root) %{_bindir}/gij
1291 %attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
1292 # R: lib-gnu-java-awt-peer-gtk/qt (see below)
1293 %attr(755,root,root) %{_libdir}/libgcjawt.so.*.*.*
1294 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1296 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*
1298 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so.*.*.*
1300 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-qt.so.7.0.0
1301 %dir %{_libdir}/classpath
1303 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so*
1305 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so*
1306 %dir %{_libdir}/gcj-%{version}
1307 %{_libdir}/gcj-%{version}/classmap.db
1308 %{_libdir}/logging.properties
1309 %{_javadir}/libgcj*.jar
1310 %{_mandir}/man1/gij*
1312 %files -n libgcj-devel
1313 %defattr(644,root,root,755)
1314 %{_includedir}/c++/%{version}/java
1315 %{_includedir}/c++/%{version}/javax
1316 %{_includedir}/c++/%{version}/gcj
1317 %{_includedir}/c++/%{version}/gnu
1318 %{_libdir}/gcc/*/*/include/gcj
1319 %{_libdir}/gcc/*/*/include/jawt.h
1320 %{_libdir}/gcc/*/*/include/jawt_md.h
1321 %{_libdir}/gcc/*/*/include/jni.h
1322 %{_libdir}/gcc/*/*/include/jvmpi.h
1323 %dir %{_libdir}/security
1324 %{_libdir}/security/*
1325 %{_libdir}/libgcj.spec
1326 %attr(755,root,root) %{_libdir}/libgcj.so
1327 %{_libdir}/libgcj.la
1328 %attr(755,root,root) %{_libdir}/libgcjawt.so
1329 %{_libdir}/libgcjawt.la
1330 %attr(755,root,root) %{_libdir}/libgij.so
1331 %{_libdir}/libgij.la
1332 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
1333 %{_libdir}/lib-gnu-awt-xlib.la
1334 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so
1335 %{_libdir}/lib-gnu-java-awt-peer-gtk.la
1336 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-qt.so
1337 %{_libdir}/lib-gnu-java-awt-peer-qt.la
1338 %{_pkgconfigdir}/libgcj.pc
1340 %files -n libgcj-static
1341 %defattr(644,root,root,755)
1343 %{_libdir}/libgcjawt.a
1345 %{_libdir}/lib-gnu-awt-xlib.a
1346 %{_libdir}/lib-gnu-java-awt-peer-gtk.a
1347 %{_libdir}/lib-gnu-java-awt-peer-qt.a
1350 %defattr(644,root,root,755)
1351 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1352 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1354 %files -n libffi-devel
1355 %defattr(644,root,root,755)
1356 %{_libdir}/gcc/*/*/include/ffitarget.h
1357 %attr(755,root,root) %{_libdir}/libffi.so
1358 %{_libdir}/libffi.la
1359 %{_includedir}/ffi.h
1361 %files -n libffi-static
1362 %defattr(644,root,root,755)
1368 %defattr(644,root,root,755)
1369 %doc gcc/objc/README
1370 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1371 %if %{with multilib}
1372 %attr(755,root,root) %{_libdir32}/libobjc.so
1373 %{_libdir32}/libobjc.la
1375 %attr(755,root,root) %{_libdir}/libobjc.so
1376 %{_libdir}/libobjc.la
1377 %{_libdir}/gcc/*/*/include/objc
1380 %defattr(644,root,root,755)
1381 %doc libobjc/{ChangeLog,README*}
1382 %if %{with multilib}
1383 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1385 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1387 %files -n libobjc-static
1388 %defattr(644,root,root,755)
1389 %if %{with multilib}
1390 %{_libdir32}/libobjc.a
1392 %{_libdir}/libobjc.a
1397 %defattr(644,root,root,755)
1398 %doc gcc/objcp/ChangeLog
1399 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus