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 20060501r113407
42 Group: Development/Languages
43 #Source0: ftp://gcc.gnu.org/pub/gcc/prerelease-%{version}-%{_snap}/gcc-%{version}-%{_snap}.tar.bz2
44 #Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
45 #Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
46 Source0: gcc-4.1-%{_snap}.tar.bz2
47 # Source0-md5: d123391fc5f1ab1c37ee8bd1a714b322
48 Source1: %{name}-optimize-la.pl
49 Patch0: %{name}-info.patch
50 Patch1: %{name}-nolocalefiles.patch
51 Patch2: %{name}-nodebug.patch
52 Patch3: %{name}-ada-link.patch
53 Patch4: %{name}-sparc64-ada_fix.patch
54 Patch5: %{name}-alpha-ada_fix.patch
55 # -fvisibility fixes...
56 Patch6: %{name}-pr19664_gnu_internal.patch
57 Patch7: %{name}-pr19664_libstdc++.patch
58 Patch8: %{name}-pr20218.patch
61 Patch10: %{name}-pr7776.patch
62 Patch11: %{name}-pr26565.patch
63 Patch12: %{name}-pr19606.patch
64 Patch13: %{name}-pr24879.patch
65 Patch14: %{name}-pr26912.patch
67 Patch17: %{name}-pr19505.patch
68 Patch18: %{name}-pr24419.patch
69 Patch19: %{name}-pr24669.patch
70 Patch20: %{name}-pr17390.patch
71 Patch21: %{name}-pr13676.patch
72 Patch22: %{name}-pr25626.patch
73 Patch23: %{name}-libstdcxx-bitset.patch
75 Patch25: %{name}-libjava-multilib.patch
76 Patch26: %{name}-ppc64-m32-m64-multilib-only.patch
77 Patch27: %{name}-enable-java-awt-qt.patch
79 # 128-bit long double support for glibc 2.4
80 Patch30: %{name}-ldbl-default-libstdc++.patch
81 Patch31: %{name}-ldbl-default.patch
83 URL: http://gcc.gnu.org/
84 BuildRequires: autoconf
85 %{?with_tests:BuildRequires: autogen}
86 BuildRequires: automake
87 # binutils 2.16.91 or newer are required for compiling medium model now
88 BuildRequires: binutils >= 2:2.16.91.0.1
90 BuildRequires: chrpath >= 0.13-2
91 %{?with_tests:BuildRequires: dejagnu}
92 BuildRequires: fileutils >= 4.0.41
95 BuildRequires: gcc(ada)
96 BuildRequires: gcc-ada
98 BuildRequires: gettext-devel
99 BuildRequires: glibc-devel >= 6:2.4-1
102 BuildRequires: glibc-devel(i686)
105 BuildRequires: glibc-devel(ppc)
108 BuildRequires: glibc-devel(s390)
111 BuildRequires: glibc-devel(sparc)
114 BuildRequires: perl-devel
115 BuildRequires: rpmbuild(macros) >= 1.211
116 BuildRequires: texinfo >= 4.1
117 BuildRequires: zlib-devel
119 BuildRequires: gmp-devel
120 BuildRequires: mpfr-devel
123 BuildRequires: QtGui-devel >= 4.0.1
124 BuildRequires: alsa-lib-devel
125 BuildRequires: cairo-devel >= 0.5.0
127 BuildRequires: jack-audio-connection-kit-devel
128 BuildRequires: gtk+2-devel >= 2:2.4.0
129 BuildRequires: libart_lgpl-devel >= 2.1
130 BuildRequires: libxslt-devel
131 BuildRequires: pango-devel
132 BuildRequires: pkgconfig
133 BuildRequires: qt4-build
134 BuildRequires: xorg-lib-libXtst-devel
136 # AS_NEEDED directive for dynamic linker
137 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
138 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
139 Requires: binutils >= 2:2.16.90.0.1-0.3
140 Requires: libgcc = %{epoch}:%{version}-%{release}
141 Provides: cpp = %{epoch}:%{version}-%{release}
142 %{?with_ada:Provides: gcc(ada)}
143 %{?with_multilib:Provides: gcc(multilib)}
150 Conflicts: glibc-devel < 2.2.5-20
151 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
153 %define _slibdir /%{_lib}
155 # 32-bit environment on x86-64,ppc64,s390x,sparc64
156 %define _slibdir32 /lib
157 %define _libdir32 /usr/lib
161 A compiler aimed at integrating all the optimizations and features
162 necessary for a high-performance and stable development environment.
164 This package contains the C compiler and some files shared by various
165 parts of the GNU Compiler Collection. In order to use another GCC
166 compiler you will need to install the appropriate subpackage.
169 Un compilador que intenta integrar todas las optimalizaciones y
170 características necesarias para un entorno de desarrollo eficaz y
173 Este paquete contiene el compilador de C y unos ficheros compartidos
174 por varias partes de la colección de compiladores GNU (GCC). Para usar
175 otro compilador de GCC será necesario que instale el subpaquete
179 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
180 wyprodukowania szybkiego i stabilnego kodu wynikowego.
182 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
183 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
184 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
186 %description -l pt_BR
187 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
188 GNU Compiler Collection.
191 Summary: Shared gcc library
192 Summary(es): Biblioteca compartida de gcc
193 Summary(pl): Biblioteka gcc
194 Summary(pt_BR): Biblioteca runtime para o GCC
195 License: GPL with unlimited link permission
199 %description -n libgcc
202 %description -n libgcc -l es
203 Biblioteca compartida de gcc.
205 %description -n libgcc -l pl
206 Biblioteka dynamiczna gcc.
208 %description -n libgcc -l pt_BR
209 Biblioteca runtime para o GCC.
211 %package -n libmudflap
212 Summary: GCC mudflap shared support library
213 Summary(pl): Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
214 License: GPL v2+ with unlimited link permission
217 %description -n libmudflap
218 The libmudflap libraries are used by GCC for instrumenting pointer and
219 array dereferencing operations.
221 %description -n libmudflap -l pl
222 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
223 dereferencji wspa¼ników i tablic.
225 %package -n libmudflap-devel
226 Summary: Development files for GCC mudflap library
227 Summary(pl): Pliki programistyczne biblioteki GCC mudflap
228 License: GPL v2+ with unlimited link permission
229 Group: Development/Libraries
230 Requires: libmudflap = %{epoch}:%{version}-%{release}
232 %description -n libmudflap-devel
233 The libmudflap libraries are used by GCC for instrumenting pointer and
234 array dereferencing operations. This package contains development
237 %description -n libmudflap-devel -l pl
238 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
239 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
242 %package -n libmudflap-static
243 Summary: Static GCC mudflap library
244 Summary(pl): Statyczna biblioteka GCC mudflap
245 License: GPL v2+ with unlimited link permission
246 Group: Development/Libraries
247 Requires: libmudflap-devel = %{epoch}:%{version}-%{release}
249 %description -n libmudflap-static
250 The libmudflap libraries are used by GCC for instrumenting pointer and
251 array dereferencing operations. This package contains static
254 %description -n libmudflap-static -l pl
255 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
256 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
260 Summary: Ada support for gcc
261 Summary(es): Soporte de Ada para gcc
262 Summary(pl): Obs³uga Ady do gcc
263 Group: Development/Languages
264 Requires: %{name} = %{epoch}:%{version}-%{release}
265 Requires: libgnat = %{epoch}:%{version}-%{release}
267 Obsoletes: gnat-devel
270 This package adds experimental support for compiling Ada programs.
272 %description ada -l es
273 Este paquete añade soporte experimental para compilar programas en
276 %description ada -l pl
277 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
281 Summary: Ada standard libraries
282 Summary(es): Bibliotecas estándares de Ada
283 Summary(pl): Biblioteki standardowe dla Ady
284 License: GPL v2+ with linking exception
289 %description -n libgnat
290 This package contains shared libraries needed to run programs written
293 %description -n libgnat -l es
294 Este paquete contiene las bibliotecas compartidas necesarias para
295 ejecutar programas escritos en Ada.
297 %description -n libgnat -l pl
298 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
301 %package -n libgnat-static
302 Summary: Static Ada standard libraries
303 Summary(pl): Statyczne biblioteki standardowe dla Ady
304 License: GPL v2+ with linking exception
305 Group: Development/Libraries
306 Obsoletes: gnat-static
308 %description -n libgnat-static
309 This package contains static libraries for programs written in Ada.
311 %description -n libgnat-static -l pl
312 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
316 Summary: C++ support for gcc
317 Summary(es): Soporte de C++ para gcc
318 Summary(pl): Obs³uga C++ dla gcc
319 Summary(pt_BR): Suporte C++ para o gcc
320 Group: Development/Languages
321 Requires: %{name} = %{epoch}:%{version}-%{release}
326 This package adds C++ support to the GNU Compiler Collection. It
327 includes support for most of the current C++ specification, including
328 templates and exception handling. It does not include a standard C++
329 library, which is available separately.
331 %description c++ -l de
332 Dieses Paket enthält die C++-Unterstützung für den
333 GNU-Compiler-Collection. Es unterstützt die aktuelle
334 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
335 C++-Standard-Library ist nicht enthalten - sie ist getrennt
338 %description c++ -l es
339 Este paquete añade soporte de C++ al GCC (colección de compiladores
340 GNU). Ello incluye el soporte para la mayoría de la especificación
341 actual de C++, incluyendo plantillas y manejo de excepciones. No
342 incluye la biblioteca estándar de C++, la que es disponible separada.
344 %description c++ -l fr
345 Ce package ajoute un support C++ a la collection de compilateurs GNU.
346 Il comprend un support pour la plupart des spécifications actuelles de
347 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
348 une bibliothéque C++ standard, qui est disponible séparément.
350 %description c++ -l pl
351 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
352 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
353 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
355 %description c++ -l pt_BR
356 Este pacote adiciona suporte C++ para o gcc.
358 %description c++ -l tr
359 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
360 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
361 C++ kitaplýðý bu pakette yer almaz.
363 %package -n libstdc++
364 Summary: GNU C++ library
365 Summary(es): Biblioteca C++ de GNU
366 Summary(pl): Biblioteki GNU C++
367 Summary(pt_BR): Biblioteca C++ GNU
368 License: GPL v2+ with free software exception
371 Obsoletes: libstdc++3
373 %description -n libstdc++
374 This is the GNU implementation of the standard C++ libraries, along
375 with additional GNU tools. This package includes the shared libraries
376 necessary to run C++ applications.
378 %description -n libstdc++ -l de
379 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
380 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
381 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
383 %description -n libstdc++ -l es
384 Este es el soporte de las bibliotecas padrón del C++, junto con
385 herramientas GNU adicionales. El paquete incluye las bibliotecas
386 compartidas necesarias para ejecutar aplicaciones C++.
388 %description -n libstdc++ -l fr
389 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
390 des outils GNU supplémentaires. Ce package comprend les librairies
391 partagées nécessaires à l'exécution d'application C++.
393 %description -n libstdc++ -l pl
394 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
395 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
396 uruchomienia aplikacji napisanych w C++.
398 %description -n libstdc++ -l pt_BR
399 Este pacote é uma implementação da biblioteca padrão C++ v3, um
400 subconjunto do padrão ISO 14882.
402 %description -n libstdc++ -l tr
403 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
404 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
406 %package -n libstdc++-devel
407 Summary: Header files and documentation for C++ development
408 Summary(de): Header-Dateien zur Entwicklung mit C++
409 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
410 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
411 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
412 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
413 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
414 License: GPL v2+ with free software exception
415 Group: Development/Libraries
416 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
417 Requires: libstdc++ = %{epoch}:%{version}-%{release}
418 Requires: glibc-devel
419 Obsoletes: libg++-devel
420 Obsoletes: libstdc++3-devel
422 %description -n libstdc++-devel
423 This is the GNU implementation of the standard C++ libraries. This
424 package includes the header files needed for C++ development and
425 library documentation.
427 %description -n libstdc++-devel -l es
428 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
429 paquete incluye los archivos de inclusión y bibliotecas necesarios
430 para desarrollo de programas en lenguaje C++.
432 %description -n libstdc++-devel -l pl
433 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
434 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
435 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
437 %description -n libstdc++-devel -l pt_BR
438 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
439 para desenvolvimento de programas C++.
441 %package -n libstdc++-static
442 Summary: Static C++ standard library
443 Summary(es): Biblioteca estándar estática de C++
444 Summary(pl): Statyczna biblioteka standardowa C++
445 License: GPL v2+ with free software exception
446 Group: Development/Libraries
447 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
449 %description -n libstdc++-static
450 Static C++ standard library.
452 %description -n libstdc++-static -l es
453 Biblioteca estándar estática de C++.
455 %description -n libstdc++-static -l pl
456 Statyczna biblioteka standardowa C++.
459 Summary: Fortran 95 support for gcc
460 Summary(es): Soporte de Fortran 95 para gcc
461 Summary(pl): Obs³uga Fortranu 95 dla gcc
462 Summary(pt_BR): Suporte Fortran 95 para o GCC
463 Group: Development/Languages/Fortran
464 Requires: libgfortran = %{epoch}:%{version}-%{release}
465 Provides: gcc-g77 = %{epoch}:%{version}-%{release}
470 This package adds support for compiling Fortran 95 programs with the
473 %description fortran -l es
474 Este paquete añade soporte para compilar programas escritos en Fortran
475 95 con el compilador GNU.
477 %description fortran -l pl
478 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
479 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
481 %description fortran -l pt_BR
482 Suporte Fortran 95 para o GCC.
484 %package -n libgfortran
485 Summary: Fortran 95 Libraries
486 Summary(es): Bibliotecas de Fortran 95
487 Summary(pl): Biblioteki Fortranu 95
492 %description -n libgfortran
493 Fortran 95 Libraries.
495 %description -n libgfortran -l es
496 Bibliotecas de Fortran 95.
498 %description -n libgfortran -l pl
499 Biblioteki Fortranu 95.
501 %package -n libgfortran-static
502 Summary: Static Fortran 95 Libraries
503 Summary(es): Bibliotecas estáticas de Fortran 95
504 Summary(pl): Statyczne Biblioteki Fortranu 95
506 Group: Development/Libraries
507 Requires: libgfortran = %{epoch}:%{version}-%{release}
508 Obsoletes: libg2c-static
510 %description -n libgfortran-static
511 Static Fortran 95 Libraries.
513 %description -n libgfortran-static -l es
514 Bibliotecas estáticas de Fortran 95.
516 %description -n libgfortran-static -l pl
517 Statyczne biblioteki Fortranu 95.
520 Summary: Java support for gcc
521 Summary(es): Soporte de Java para gcc
522 Summary(pl): Obs³uga Javy dla gcc
523 Group: Development/Languages/Java
524 Requires: %{name} = %{epoch}:%{version}-%{release}
525 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
526 Provides: gcj = %{epoch}:%{version}-%{release}
527 Provides: gcc-java-tools
529 Obsoletes: gcc-java-tools
532 This package adds experimental support for compiling Java(TM) programs
533 and bytecode into native code. To use this you will also need the
536 %description java -l es
537 Este paquete añade soporte experimental para compilar programas
538 Java(tm) y su bytecode en código nativo. Para usarlo también va a
539 necesitar el paquete libgcj.
541 %description java -l pl
542 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
543 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
544 dodatkowo pakiet libgcj.
547 Summary: Java Class Libraries
548 Summary(es): Bibliotecas de clases de Java
549 Summary(pl): Biblioteki Klas Javy
550 License: GPL with limited linking exception
554 %description -n libgcj
555 Java Class Libraries.
557 %description -n libgcj -l es
558 Bibliotecas de clases de Java.
560 %description -n libgcj -l pl
561 Biblioteki Klas Javy.
563 %package -n libgcj-devel
564 Summary: Development files for Java Class Libraries
565 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
566 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
567 License: GPL with limited linking exception
568 Group: Development/Libraries
569 Requires: libgcj = %{epoch}:%{version}-%{release}
571 Obsoletes: libgcj3-devel
573 %description -n libgcj-devel
574 Development files for Java Class Libraries.
576 %description -n libgcj-devel -l es
577 Ficheros de desarrollo para las bibliotecas de clases de Java.
579 %description -n libgcj-devel -l pl
580 Pliki nag³ówkowe dla Bibliotek Klas Javy.
582 %package -n libgcj-static
583 Summary: Static Java Class Libraries
584 Summary(es): Bibliotecas estáticas de clases de Java
585 Summary(pl): Statyczne Biblioteki Klas Javy
586 License: GPL with limited linking exception
587 Group: Development/Libraries
588 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
589 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
591 %description -n libgcj-static
592 Static Java Class Libraries.
594 %description -n libgcj-static -l es
595 Bibliotecas estáticas de clases de Java.
597 %description -n libgcj-static -l pl
598 Statyczne Biblioteki Klas Javy.
601 Summary: Foreign Function Interface library
602 Summary(es): Biblioteca de interfaz de funciones ajenas
603 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
607 %description -n libffi
608 The libffi library provides a portable, high level programming
609 interface to various calling conventions. This allows a programmer to
610 call any function specified by a call interface description at run
613 %description -n libffi -l es
614 La biblioteca libffi provee una interfaz portable de programación de
615 alto nivel para varias convenciones de llamada. Ello permite que un
616 programador llame una función cualquiera especificada por una
617 descripción de interfaz de llamada en el tiempo de ejecución.
619 %description -n libffi -l pl
620 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
621 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
622 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
625 %package -n libffi-devel
626 Summary: Development files for Foreign Function Interface library
627 Summary(es): Ficheros de desarrollo para libffi
628 Summary(pl): Pliki nag³ówkowe dla libffi
630 Group: Development/Libraries
631 Requires: libffi = %{epoch}:%{version}-%{release}
633 %description -n libffi-devel
634 Development files for Foreign Function Interface library.
636 %description -n libffi-devel -l es
637 Ficheros de desarrollo para libffi.
639 %description -n libffi-devel -l pl
640 Pliki nag³ówkowe dla libffi.
642 %package -n libffi-static
643 Summary: Static Foreign Function Interface library
644 Summary(es): Biblioteca libffi estática
645 Summary(pl): Statyczna biblioteka libffi
647 Group: Development/Libraries
648 Requires: libffi-devel = %{epoch}:%{version}-%{release}
650 %description -n libffi-static
651 Static Foreign Function Interface library.
653 %description -n libffi-static -l es
654 Biblioteca libffi estática.
656 %description -n libffi-static -l pl
657 Statyczna biblioteka libffi.
660 Summary: Objective C support for gcc
661 Summary(de): Objektive C-Unterstützung für gcc
662 Summary(es): Soporte de Objective C para gcc
663 Summary(fr): Gestion d'Objective C pour gcc
664 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
665 Summary(tr): gcc için Objective C desteði
666 Group: Development/Languages
667 Requires: %{name} = %{epoch}:%{version}-%{release}
668 Requires: libobjc = %{epoch}:%{version}-%{release}
673 This package adds Objective C support to the GNU Compiler Collection.
674 Objective C is a object oriented derivative of the C language, mainly
675 used on systems running NeXTSTEP. This package does not include the
676 standard objective C object library.
678 %description objc -l de
679 Dieses Paket ergänzt den GNU-Compiler-Collection durch
680 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
681 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
682 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
684 %description objc -l es
685 Este paquete añade soporte de Objective C al GCC (colección de
686 compiladores GNU). Objective C es un lenguaje orientado a objetos
687 derivado de C, principalmente usado en sistemas que funcionan bajo
688 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
691 %description objc -l fr
692 Ce package ajoute un support Objective C a la collection de
693 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
694 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
695 package n'inclue pas la bibliothéque Objective C standard.
697 %description objc -l pl
698 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
699 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
700 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
701 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
703 %description objc -l tr
704 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
705 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
706 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
707 kitaplýðý bu pakette yer almaz.
710 Summary: Objective C++ support for gcc
711 Summary(pl): Obs³uga jêzyka Objective C++ dla gcc
712 Group: Development/Languages
713 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
714 Requires: %{name}-objc = %{epoch}:%{version}-%{release}
717 This package adds Objective C++ support to the GNU Compiler
720 %description objc++ -l pl
721 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
722 kompilatorów GNU Compiler Collection.
725 Summary: Objective C Libraries
726 Summary(es): Bibliotecas de Objective C
727 Summary(pl): Biblioteki Obiektowego C
728 License: GPL v2+ with linking exception
732 %description -n libobjc
733 Objective C Libraries.
735 %description -n libobjc -l es
736 Bibliotecas de Objective C.
738 %description -n libobjc -l pl
739 Biblioteki Obiektowego C.
741 %package -n libobjc-static
742 Summary: Static Objective C Libraries
743 Summary(es): Bibliotecas estáticas de Objective C
744 Summary(pl): Statyczne Biblioteki Obiektowego C
745 License: GPL v2+ with linking exception
746 Group: Development/Libraries
747 Requires: libobjc = %{epoch}:%{version}-%{release}
749 %description -n libobjc-static
750 Static Objective C Libraries.
752 %description -n libobjc-static -l es
753 Bibliotecas estáticas de Objective C.
755 %description -n libobjc-static -l pl
756 Statyczne biblioteki Obiektowego C.
759 #setup -q -n gcc-%{version}
760 #setup -q -n gcc-%{version}-%{_snap}
761 %setup -q -n gcc-4_1-branch
770 # -fvisbility fixes...
797 # because we distribute modified version of gcc...
798 sed -i 's:#define VERSUFFIX.*:#define VERSUFFIX " (PLD-Linux)":' gcc/version.c
799 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
801 mv ChangeLog ChangeLog.general
812 cp -f /usr/share/automake/config.sub .
814 rm -rf builddir && install -d builddir && cd builddir
816 CFLAGS="%{rpmcflags}" \
817 CXXFLAGS="%{rpmcxxflags}" \
820 --prefix=%{_prefix} \
821 --with-local-prefix=%{_prefix}/local \
822 --libdir=%{_libdir} \
823 --libexecdir=%{_libdir} \
824 --infodir=%{_infodir} \
825 --mandir=%{_mandir} \
826 --x-libraries=%{_libdir} \
828 --enable-threads=posix \
829 --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
832 --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
837 --with-demangler-in-ld \
839 --with-slibdir=%{_slibdir} \
841 --without-system-libunwind \
843 --with-system-libunwind \
845 %{!?with_java:--without-x} \
846 %{?with_fortran:--enable-cmath} \
847 --with-long-double-128 \
852 --with-gxx-include-dir=%{_includedir}/c++/%{version} \
853 --disable-libstdcxx-pch \
854 --enable-__cxa_atexit \
855 --enable-libstdcxx-allocator=new \
858 --with-qt4dir=%{_libdir}/qt4 \
859 --disable-libjava-multilib \
861 --enable-libgcj-multifile \
862 --enable-libgcj-database \
864 --enable-java-awt=qt,gtk,xlib \
874 %{__make} -C builddir \
875 %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
876 GCJFLAGS="%{rpmcflags}" \
877 BOOT_CFLAGS="%{rpmcflags}" \
878 STAGE1_CFLAGS="%{rpmcflags} -O0" \
879 GNATLIBCFLAGS="%{rpmcflags}" \
880 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
884 %{?with_tests:%{__make} -k -C builddir check 2>&1 ||:}
887 rm -rf $RPM_BUILD_ROOT
888 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
892 %{__make} -j1 install \
894 infodir=%{_infodir} \
895 DESTDIR=$RPM_BUILD_ROOT
897 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
900 ln -sf %{_bindir}/sparc64-pld-linux-gcc \
901 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
904 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
905 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
906 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
908 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
909 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
910 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
912 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
913 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
914 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
918 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
919 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
923 # move ada shared libraries to proper place...
924 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
925 $RPM_BUILD_ROOT%{_libdir}
926 # check if symlink to be made is valid
927 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so.1
928 ln -sf libgnat-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so
929 ln -sf libgnarl-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.1.so
930 ln -sf libgnat-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
931 ln -sf libgnarl-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
938 cp -f libjava/READ* java-doc
939 cp -f fastjar/README java-doc/README.fastjar
940 cp -f libffi/README java-doc/README.libffi
941 cp -f libffi/LICENSE java-doc/LICENSE.libffi
942 ln -sf %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
943 rm -f $RPM_BUILD_ROOT%{_libdir}/classpath/libgjs*.la
946 cp -f libobjc/README gcc/objc/README.libobjc
949 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
950 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
951 for f in libmudflap.la libmudflapth.la libssp.la \
952 %{?with_cxx:libstdc++.la libsupc++.la} \
953 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
954 %{?with_java:libgcj.la libffi.la} \
955 %{?with_objc:libobjc.la};
957 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
958 mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
961 for f in libmudflap.la libmudflapth.la libssp.la \
962 %{?with_cxx:libstdc++.la libsupc++.la} \
963 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
964 %{?with_objc:libobjc.la};
966 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
967 mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
971 # include/ contains install-tools/include/* and headers that were fixed up
972 # by fixincludes, we don't want former
973 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
976 # we have to save these however
977 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
978 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
979 mv $gccdir/include/syslimits.h $gccdir/tmp
980 mv $gccdir/include/ssp $gccdir/tmp
981 rm -rf $gccdir/include
982 mv $gccdir/tmp $gccdir/include
983 cp $gccdir/install-tools/include/*.h $gccdir/include
984 # but we don't want anything more from install-tools
985 rm -rf $gccdir/install-tools
989 cat cpplib.lang >> gcc.lang
992 %find_lang libstdc\+\+
993 install libstdc++-v3/include/stdc++.h $RPM_BUILD_ROOT%{_includedir}
996 # cvs snap doesn't contain (release does) below files,
997 # so let's create dummy entries to satisfy %%files.
998 [ ! -f NEWS ] && touch NEWS
999 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
1000 [ ! -f libgfortran/README ] && touch libgfortran/README
1003 rm -rf $RPM_BUILD_ROOT
1006 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1009 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1012 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1015 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1018 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1021 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1024 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1027 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1029 %post -p /sbin/ldconfig -n libgcc
1030 %postun -p /sbin/ldconfig -n libgcc
1031 %post -p /sbin/ldconfig -n libmudflap
1032 %postun -p /sbin/ldconfig -n libmudflap
1033 %post -p /sbin/ldconfig -n libgnat
1034 %postun -p /sbin/ldconfig -n libgnat
1035 %post -p /sbin/ldconfig -n libstdc++
1036 %postun -p /sbin/ldconfig -n libstdc++
1037 %post -p /sbin/ldconfig -n libgfortran
1038 %postun -p /sbin/ldconfig -n libgfortran
1039 %post -p /sbin/ldconfig -n libgcj
1040 %postun -p /sbin/ldconfig -n libgcj
1041 %post -p /sbin/ldconfig -n libffi
1042 %postun -p /sbin/ldconfig -n libffi
1043 %post -p /sbin/ldconfig -n libobjc
1044 %postun -p /sbin/ldconfig -n libobjc
1047 %defattr(644,root,root,755)
1048 %doc ChangeLog.general MAINTAINERS NEWS
1049 # bugs.html faq.html
1050 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1052 %dir %{_libdir}/gcc/*
1053 %dir %{_libdir}/gcc/*/*
1054 %dir %{_libdir}/gcc/*/*/include
1055 %dir %{_libdir}/gcc/*/*/include/ssp
1057 %attr(755,root,root) %{_bindir}/*-gcc*
1058 %attr(755,root,root) %{_bindir}/gcc
1059 %attr(755,root,root) %{_bindir}/gccbug
1060 %attr(755,root,root) %{_bindir}/gcov
1061 %attr(755,root,root) %{_bindir}/cc
1062 %attr(755,root,root) %{_bindir}/cpp
1064 %{_mandir}/man1/cc.1*
1065 %{_mandir}/man1/cpp.1*
1066 %{_mandir}/man1/gcc.1*
1067 %{_mandir}/man1/gcov.1*
1072 %attr(755,root,root) /lib/cpp
1074 %attr(755,root,root) %{_slibdir}/lib*.so
1076 %{_libdir}/libssp.la
1077 %attr(755,root,root) %{_libdir}/libssp.so
1078 %{_libdir}/libssp_nonshared.a
1079 %{_libdir}/libssp_nonshared.la
1080 %if %{with multilib}
1081 %attr(755,root,root) %{_slibdir32}/lib*.so
1082 %dir %{_libdir}/gcc/*/*/32
1083 %{_libdir}/gcc/*/*/32/libgcov.a
1084 %{_libdir}/gcc/*/*/32/libgcc.a
1085 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1086 %{_libdir32}/libssp.a
1087 %{_libdir32}/libssp.la
1088 %attr(755,root,root) %{_libdir32}/libssp.so
1089 %{_libdir32}/libssp_nonshared.a
1090 %{_libdir32}/libssp_nonshared.la
1092 %{_libdir}/gcc/*/*/libgcov.a
1093 %{_libdir}/gcc/*/*/libgcc.a
1094 %{_libdir}/gcc/*/*/libgcc_eh.a
1095 %{_libdir}/gcc/*/*/specs
1096 %if %{with multilib}
1097 %{_libdir}/gcc/*/*/32/crt*.o
1099 %{_libdir}/gcc/*/*/crt*.o
1100 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1101 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1103 %{_libdir}/gcc/*/*/include/*.h
1104 %{_libdir}/gcc/*/*/include/ssp/*.h
1107 %defattr(644,root,root,755)
1108 %if %{with multilib}
1109 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1111 %attr(755,root,root) %{_slibdir}/lib*.so.*
1113 %files -n libmudflap
1114 %defattr(644,root,root,755)
1115 %if %{with multilib}
1116 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1118 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1120 %files -n libmudflap-devel
1121 %defattr(644,root,root,755)
1122 %{_includedir}/mf-runtime.h
1123 %if %{with multilib}
1124 %{_libdir32}/libmudflap*.la
1125 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1127 %{_libdir}/libmudflap*.la
1128 %attr(755,root,root) %{_libdir}/libmudflap*.so
1130 %files -n libmudflap-static
1131 %defattr(644,root,root,755)
1132 %if %{with multilib}
1133 %{_libdir32}/libmudflap*.a
1135 %{_libdir}/libmudflap*.a
1139 %defattr(644,root,root,755)
1140 %doc gcc/ada/ChangeLog
1141 %attr(755,root,root) %{_bindir}/gnat*
1142 %attr(755,root,root) %{_bindir}/gpr*
1143 %attr(755,root,root) %{_libdir}/libgnarl*.so
1144 %attr(755,root,root) %{_libdir}/libgnat*.so
1145 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1146 %{_libdir}/gcc/*/*/adainclude
1147 %dir %{_libdir}/gcc/*/*/adalib
1148 %{_libdir}/gcc/*/*/adalib/*.ali
1149 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1150 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1152 %{_libdir}/gcc/*/*/adalib/libgmem.a
1157 %defattr(644,root,root,755)
1158 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1159 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1161 %files -n libgnat-static
1162 %defattr(644,root,root,755)
1163 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1164 %{_libdir}/gcc/*/*/adalib/libgnat.a
1169 %defattr(644,root,root,755)
1170 %doc gcc/cp/{ChangeLog,NEWS}
1171 %attr(755,root,root) %{_bindir}/g++
1172 %attr(755,root,root) %{_bindir}/*-g++
1173 %attr(755,root,root) %{_bindir}/c++
1174 %attr(755,root,root) %{_bindir}/*-c++
1175 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1176 %if %{with multilib}
1177 %{_libdir32}/libsupc++.a
1178 %{_libdir32}/libsupc++.la
1180 %{_libdir}/libsupc++.a
1181 %{_libdir}/libsupc++.la
1182 %{_mandir}/man1/g++.1*
1184 %files -n libstdc++ -f libstdc++.lang
1185 %defattr(644,root,root,755)
1186 %doc libstdc++-v3/{ChangeLog,README}
1187 %if %{with multilib}
1188 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1190 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1192 %files -n libstdc++-devel
1193 %defattr(644,root,root,755)
1194 %doc libstdc++-v3/docs/html
1195 %dir %{_includedir}/c++
1196 %{_includedir}/stdc++.h
1197 %{_includedir}/c++/%{version}
1199 %exclude %{_includedir}/c++/%{version}/java
1200 %exclude %{_includedir}/c++/%{version}/javax
1201 %exclude %{_includedir}/c++/%{version}/gcj
1202 %exclude %{_includedir}/c++/%{version}/gnu
1204 %if %{with multilib}
1205 %{_libdir32}/libstdc++.la
1206 %attr(755,root,root) %{_libdir32}/libstdc++.so
1208 %{_libdir}/libstdc++.la
1209 %attr(755,root,root) %{_libdir}/libstdc++.so
1211 %files -n libstdc++-static
1212 %defattr(644,root,root,755)
1213 %if %{with multilib}
1214 %{_libdir32}/libstdc++.a
1216 %{_libdir}/libstdc++.a
1221 %defattr(644,root,root,755)
1222 %doc gcc/fortran/ChangeLog
1223 %attr(755,root,root) %{_bindir}/g95
1224 %attr(755,root,root) %{_bindir}/gfortran
1225 %attr(755,root,root) %{_bindir}/*-gfortran
1226 %{_infodir}/gfortran*
1227 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1228 %if %{with multilib}
1229 %{_libdir32}/libgfortranbegin.a
1230 %{_libdir32}/libgfortranbegin.la
1231 %{_libdir32}/libgfortran.la
1232 %attr(755,root,root) %{_libdir32}/libgfortran.so
1234 %{_libdir}/libgfortranbegin.a
1235 %{_libdir}/libgfortranbegin.la
1236 %{_libdir}/libgfortran.la
1237 %attr(755,root,root) %{_libdir}/libgfortran.so
1238 %{_mandir}/man1/g95.1*
1239 %{_mandir}/man1/gfortran.1*
1241 %files -n libgfortran
1242 %defattr(644,root,root,755)
1243 %doc libgfortran/{AUTHORS,README,ChangeLog}
1244 %if %{with multilib}
1245 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1247 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1249 %files -n libgfortran-static
1250 %defattr(644,root,root,755)
1251 %if %{with multilib}
1252 %{_libdir32}/libgfortran.a
1254 %{_libdir}/libgfortran.a
1259 %defattr(644,root,root,755)
1260 %doc gcc/java/ChangeLog java-doc/*
1261 %attr(755,root,root) %{_bindir}/fastjar
1262 %attr(755,root,root) %{_bindir}/gcj*
1263 %attr(755,root,root) %{_bindir}/gjnih
1264 %attr(755,root,root) %{_bindir}/grepjar
1265 %attr(755,root,root) %{_bindir}/grmi*
1266 %attr(755,root,root) %{_bindir}/jcf-dump
1267 %attr(755,root,root) %{_bindir}/jv-*
1268 %attr(755,root,root) %{_bindir}/*-gcj*
1269 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1270 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1271 %{_infodir}/fastjar*
1273 %{_mandir}/man1/fastjar*
1274 %{_mandir}/man1/gcj*
1275 %{_mandir}/man1/gjnih*
1276 %{_mandir}/man1/grepjar*
1277 %{_mandir}/man1/grmi*
1278 %{_mandir}/man1/jcf-*
1279 %{_mandir}/man1/jv-*
1282 %defattr(644,root,root,755)
1283 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1284 %attr(755,root,root) %{_bindir}/addr2name.awk
1285 %attr(755,root,root) %{_bindir}/gij
1286 %attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
1287 # R: lib-gnu-java-awt-peer-gtk/qt (see below)
1288 %attr(755,root,root) %{_libdir}/libgcjawt.so.*.*.*
1289 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1291 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*
1293 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so.*.*.*
1295 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-qt.so.7.0.0
1296 %dir %{_libdir}/classpath
1298 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so*
1300 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so*
1301 %dir %{_libdir}/gcj-%{version}
1302 %{_libdir}/gcj-%{version}/classmap.db
1303 %{_libdir}/logging.properties
1304 %{_javadir}/libgcj*.jar
1305 %{_mandir}/man1/gij*
1307 %files -n libgcj-devel
1308 %defattr(644,root,root,755)
1309 %{_includedir}/c++/%{version}/java
1310 %{_includedir}/c++/%{version}/javax
1311 %{_includedir}/c++/%{version}/gcj
1312 %{_includedir}/c++/%{version}/gnu
1313 %{_libdir}/gcc/*/*/include/gcj
1314 %{_libdir}/gcc/*/*/include/jawt.h
1315 %{_libdir}/gcc/*/*/include/jawt_md.h
1316 %{_libdir}/gcc/*/*/include/jni.h
1317 %{_libdir}/gcc/*/*/include/jvmpi.h
1318 %dir %{_libdir}/security
1319 %{_libdir}/security/*
1320 %{_libdir}/libgcj.spec
1321 %attr(755,root,root) %{_libdir}/libgcj.so
1322 %{_libdir}/libgcj.la
1323 %attr(755,root,root) %{_libdir}/libgcjawt.so
1324 %{_libdir}/libgcjawt.la
1325 %attr(755,root,root) %{_libdir}/libgij.so
1326 %{_libdir}/libgij.la
1327 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
1328 %{_libdir}/lib-gnu-awt-xlib.la
1329 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so
1330 %{_libdir}/lib-gnu-java-awt-peer-gtk.la
1331 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-qt.so
1332 %{_libdir}/lib-gnu-java-awt-peer-qt.la
1333 %{_pkgconfigdir}/libgcj.pc
1335 %files -n libgcj-static
1336 %defattr(644,root,root,755)
1338 %{_libdir}/libgcjawt.a
1340 %{_libdir}/lib-gnu-awt-xlib.a
1341 %{_libdir}/lib-gnu-java-awt-peer-gtk.a
1342 %{_libdir}/lib-gnu-java-awt-peer-qt.a
1345 %defattr(644,root,root,755)
1346 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1347 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1349 %files -n libffi-devel
1350 %defattr(644,root,root,755)
1351 %{_libdir}/gcc/*/*/include/ffitarget.h
1352 %attr(755,root,root) %{_libdir}/libffi.so
1353 %{_libdir}/libffi.la
1354 %{_includedir}/ffi.h
1356 %files -n libffi-static
1357 %defattr(644,root,root,755)
1363 %defattr(644,root,root,755)
1364 %doc gcc/objc/README
1365 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1366 %if %{with multilib}
1367 %attr(755,root,root) %{_libdir32}/libobjc.so
1368 %{_libdir32}/libobjc.la
1370 %attr(755,root,root) %{_libdir}/libobjc.so
1371 %{_libdir}/libobjc.la
1372 %{_libdir}/gcc/*/*/include/objc
1375 %defattr(644,root,root,755)
1376 %doc libobjc/{ChangeLog,README*}
1377 %if %{with multilib}
1378 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1380 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1382 %files -n libobjc-static
1383 %defattr(644,root,root,755)
1384 %if %{with multilib}
1385 %{_libdir32}/libobjc.a
1387 %{_libdir}/libobjc.a
1392 %defattr(644,root,root,755)
1393 %doc gcc/objcp/ChangeLog
1394 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus