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_with multilib # build with 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
15 # the latest chrpath(64) can't handle 32-bit binaries :/
16 %define _noautochrpath .*/lib/.*\\.so.*
28 %if %{without bootstrap}
29 %undefine with_profiling
32 %ifnarch %{x8664} ppc64 s390x sparc64
33 %undefine with_multilib
36 Summary: GNU Compiler Collection: the C compiler and shared files
37 Summary(es): Colección de compiladores GNU: el compilador C y ficheros compartidos
38 Summary(pl): Kolekcja kompilatorów GNU: kompilator C i pliki wspó³dzielone
39 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
42 %define _snap 20051206r108118
46 Group: Development/Languages
47 #Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
48 #Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
49 Source0: gcc-4.1-%{_snap}.tar.bz2
50 # Source0-md5: 7ea00be8faff603a89a3aeed4d817464
51 Source1: %{name}-optimize-la.pl
52 Patch0: %{name}-info.patch
53 Patch1: %{name}-nolocalefiles.patch
54 Patch2: %{name}-nodebug.patch
55 Patch3: %{name}-ada-link-new-libgnat.patch
56 Patch4: %{name}-ada-link.patch
57 Patch5: %{name}-alpha-ada_fix.patch
58 # -fvisibility fixes...
59 Patch6: %{name}-pr19664_gnu_internal.patch
60 Patch7: %{name}-pr19664_libstdc++.patch
61 Patch8: %{name}-pr20218.patch
64 Patch10: %{name}-pr7776.patch
65 Patch11: %{name}-pr20297.patch
66 Patch12: %{name}-pr22533.patch
67 Patch13: %{name}-pr25180.patch
68 #Patch14: %{name}-x87-mmx-switch.patch NEEDS UPDATE
69 #Patch15: %{name}-x87-mmx-eh.patch NEEDS UPDATE
70 Patch16: %{name}-pr23948.patch
71 Patch17: %{name}-pr19505.patch
72 Patch18: %{name}-pr24419.patch
73 Patch19: %{name}-pr24669.patch
74 Patch20: %{name}-pr17390.patch
75 Patch21: %{name}-pr25248.patch
76 Patch22: %{name}-pr13676.patch
77 URL: http://gcc.gnu.org/
78 %{?with_java:BuildRequires: alsa-lib-devel}
79 BuildRequires: autoconf
80 %{?with_tests:BuildRequires: autogen}
81 BuildRequires: automake
82 BuildRequires: binutils >= 2:2.15.94.0.1
84 %{?with_java:BuildRequires: cairo-devel >= 0.5.0}
85 %{?with_java:BuildRequires: dssi}
86 %{?with_tests:BuildRequires: dejagnu}
87 BuildRequires: fileutils >= 4.0.41
90 BuildRequires: gcc(ada)
91 BuildRequires: gcc-ada
93 BuildRequires: gettext-devel
95 BuildRequires: glibc-devel >= 6:2.3.4-1.5
97 BuildRequires: glibc-devel(i686)
100 BuildRequires: glibc-devel(ppc)
103 BuildRequires: glibc-devel(s390)
106 BuildRequires: glibc-devel(sparc)
109 BuildRequires: glibc-devel >= 2.2.5-20
112 BuildRequires: gmp-devel
113 BuildRequires: libmpfr-devel
115 %{?with_java:BuildRequires: libxslt-devel}
116 %{?with_java:BuildRequires: pango-devel}
117 BuildRequires: perl-devel
118 %{?with_java:BuildRequires: pkgconfig}
119 BuildRequires: rpmbuild(macros) >= 1.211
120 BuildRequires: texinfo >= 4.1
121 BuildRequires: zlib-devel
122 # AS_NEEDED directive for dynamic linker
123 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
124 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
125 Requires: binutils >= 2:2.16.90.0.1-0.3
126 Requires: libgcc = %{epoch}:%{version}-%{release}
127 Provides: cpp = %{epoch}:%{version}-%{release}
128 %{?with_ada:Provides: gcc(ada)}
129 %{?with_multilib:Provides: gcc(multilib)}
136 Conflicts: glibc-devel < 2.2.5-20
137 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
139 %define _slibdir /%{_lib}
141 # 32-bit environment on x86-64,ppc64,s390x,sparc64
142 %define _slibdir32 /lib
143 %define _libdir32 /usr/lib
147 A compiler aimed at integrating all the optimizations and features
148 necessary for a high-performance and stable development environment.
150 This package contains the C compiler and some files shared by various
151 parts of the GNU Compiler Collection. In order to use another GCC
152 compiler you will need to install the appropriate subpackage.
155 Un compilador que intenta integrar todas las optimalizaciones y
156 características necesarias para un entorno de desarrollo eficaz y
159 Este paquete contiene el compilador de C y unos ficheros compartidos
160 por varias partes de la colección de compiladores GNU (GCC). Para usar
161 otro compilador de GCC será necesario que instale el subpaquete
165 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
166 wyprodukowania szybkiego i stabilnego kodu wynikowego.
168 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
169 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
170 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
172 %description -l pt_BR
173 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
174 GNU Compiler Collection.
177 Summary: Shared gcc library
178 Summary(es): Biblioteca compartida de gcc
179 Summary(pl): Biblioteka gcc
180 Summary(pt_BR): Biblioteca runtime para o GCC
181 License: GPL with unlimited link permission
185 %description -n libgcc
188 %description -n libgcc -l es
189 Biblioteca compartida de gcc.
191 %description -n libgcc -l pl
192 Biblioteka dynamiczna gcc.
194 %description -n libgcc -l pt_BR
195 Biblioteca runtime para o GCC.
197 %package -n libmudflap
198 Summary: GCC mudflap shared support library
199 Summary(pl): Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
200 License: GPL v2+ with unlimited link permission
203 %description -n libmudflap
204 The libmudflap libraries are used by GCC for instrumenting pointer and
205 array dereferencing operations.
207 %description -n libmudflap -l pl
208 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
209 dereferencji wspa¼ników i tablic.
211 %package -n libmudflap-devel
212 Summary: Development files for GCC mudflap library
213 Summary(pl): Pliki programistyczne biblioteki GCC mudflap
214 License: GPL v2+ with unlimited link permission
215 Group: Development/Libraries
216 Requires: libmudflap = %{epoch}:%{version}-%{release}
218 %description -n libmudflap-devel
219 The libmudflap libraries are used by GCC for instrumenting pointer and
220 array dereferencing operations. This package contains development
223 %description -n libmudflap-devel -l pl
224 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
225 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
228 %package -n libmudflap-static
229 Summary: Static GCC mudflap library
230 Summary(pl): Statyczna biblioteka GCC mudflap
231 License: GPL v2+ with unlimited link permission
232 Group: Development/Libraries
233 Requires: libmudflap-devel = %{epoch}:%{version}-%{release}
235 %description -n libmudflap-static
236 The libmudflap libraries are used by GCC for instrumenting pointer and
237 array dereferencing operations. This package contains static
240 %description -n libmudflap-static -l pl
241 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
242 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
246 Summary: Ada support for gcc
247 Summary(es): Soporte de Ada para gcc
248 Summary(pl): Obs³uga Ady do gcc
249 Group: Development/Languages
250 Requires: %{name} = %{epoch}:%{version}-%{release}
251 Requires: libgnat = %{epoch}:%{version}-%{release}
253 Obsoletes: gnat-devel
256 This package adds experimental support for compiling Ada programs.
258 %description ada -l es
259 Este paquete añade soporte experimental para compilar programas en
262 %description ada -l pl
263 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
267 Summary: Ada standard libraries
268 Summary(es): Bibliotecas estándares de Ada
269 Summary(pl): Biblioteki standardowe dla Ady
270 License: GPL v2+ with linking exception
275 %description -n libgnat
276 This package contains shared libraries needed to run programs written
279 %description -n libgnat -l es
280 Este paquete contiene las bibliotecas compartidas necesarias para
281 ejecutar programas escritos en Ada.
283 %description -n libgnat -l pl
284 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
287 %package -n libgnat-static
288 Summary: Static Ada standard libraries
289 Summary(pl): Statyczne biblioteki standardowe dla Ady
290 License: GPL v2+ with linking exception
291 Group: Development/Libraries
292 Obsoletes: gnat-static
294 %description -n libgnat-static
295 This package contains static libraries for programs written in Ada.
297 %description -n libgnat-static -l pl
298 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
302 Summary: C++ support for gcc
303 Summary(es): Soporte de C++ para gcc
304 Summary(pl): Obs³uga C++ dla gcc
305 Summary(pt_BR): Suporte C++ para o gcc
306 Group: Development/Languages
307 Requires: %{name} = %{epoch}:%{version}-%{release}
312 This package adds C++ support to the GNU Compiler Collection. It
313 includes support for most of the current C++ specification, including
314 templates and exception handling. It does not include a standard C++
315 library, which is available separately.
317 %description c++ -l de
318 Dieses Paket enthält die C++-Unterstützung für den
319 GNU-Compiler-Collection. Es unterstützt die aktuelle
320 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
321 C++-Standard-Library ist nicht enthalten - sie ist getrennt
324 %description c++ -l es
325 Este paquete añade soporte de C++ al GCC (colección de compiladores
326 GNU). Ello incluye el soporte para la mayoría de la especificación
327 actual de C++, incluyendo plantillas y manejo de excepciones. No
328 incluye la biblioteca estándar de C++, la que es disponible separada.
330 %description c++ -l fr
331 Ce package ajoute un support C++ a la collection de compilateurs GNU.
332 Il comprend un support pour la plupart des spécifications actuelles de
333 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
334 une bibliothéque C++ standard, qui est disponible séparément.
336 %description c++ -l pl
337 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
338 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
339 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
341 %description c++ -l pt_BR
342 Este pacote adiciona suporte C++ para o gcc.
344 %description c++ -l tr
345 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
346 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
347 C++ kitaplýðý bu pakette yer almaz.
349 %package -n libstdc++
350 Summary: GNU C++ library
351 Summary(es): Biblioteca C++ de GNU
352 Summary(pl): Biblioteki GNU C++
353 Summary(pt_BR): Biblioteca C++ GNU
354 License: GPL v2+ with free software exception
357 Obsoletes: libstdc++3
359 %description -n libstdc++
360 This is the GNU implementation of the standard C++ libraries, along
361 with additional GNU tools. This package includes the shared libraries
362 necessary to run C++ applications.
364 %description -n libstdc++ -l de
365 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
366 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
367 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
369 %description -n libstdc++ -l es
370 Este es el soporte de las bibliotecas padrón del C++, junto con
371 herramientas GNU adicionales. El paquete incluye las bibliotecas
372 compartidas necesarias para ejecutar aplicaciones C++.
374 %description -n libstdc++ -l fr
375 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
376 des outils GNU supplémentaires. Ce package comprend les librairies
377 partagées nécessaires à l'exécution d'application C++.
379 %description -n libstdc++ -l pl
380 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
381 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
382 uruchomienia aplikacji napisanych w C++.
384 %description -n libstdc++ -l pt_BR
385 Este pacote é uma implementação da biblioteca padrão C++ v3, um
386 subconjunto do padrão ISO 14882.
388 %description -n libstdc++ -l tr
389 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
390 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
392 %package -n libstdc++-devel
393 Summary: Header files and documentation for C++ development
394 Summary(de): Header-Dateien zur Entwicklung mit C++
395 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
396 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
397 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
398 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
399 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
400 License: GPL v2+ with free software exception
401 Group: Development/Libraries
402 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
403 Requires: libstdc++ = %{epoch}:%{version}-%{release}
404 Requires: glibc-devel
405 Obsoletes: libg++-devel
406 Obsoletes: libstdc++3-devel
408 %description -n libstdc++-devel
409 This is the GNU implementation of the standard C++ libraries. This
410 package includes the header files needed for C++ development and
411 library documentation.
413 %description -n libstdc++-devel -l es
414 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
415 paquete incluye los archivos de inclusión y bibliotecas necesarios
416 para desarrollo de programas en lenguaje C++.
418 %description -n libstdc++-devel -l pl
419 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
420 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
421 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
423 %description -n libstdc++-devel -l pt_BR
424 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
425 para desenvolvimento de programas C++.
427 %package -n libstdc++-static
428 Summary: Static C++ standard library
429 Summary(es): Biblioteca estándar estática de C++
430 Summary(pl): Statyczna biblioteka standardowa C++
431 License: GPL v2+ with free software exception
432 Group: Development/Libraries
433 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
435 %description -n libstdc++-static
436 Static C++ standard library.
438 %description -n libstdc++-static -l es
439 Biblioteca estándar estática de C++.
441 %description -n libstdc++-static -l pl
442 Statyczna biblioteka standardowa C++.
445 Summary: Fortran 95 support for gcc
446 Summary(es): Soporte de Fortran 95 para gcc
447 Summary(pl): Obs³uga Fortranu 95 dla gcc
448 Summary(pt_BR): Suporte Fortran 95 para o GCC
449 Group: Development/Languages/Fortran
450 Requires: libgfortran = %{epoch}:%{version}-%{release}
451 Provides: gcc-g77 = %{epoch}:%{version}-%{release}
456 This package adds support for compiling Fortran 95 programs with the
459 %description fortran -l es
460 Este paquete añade soporte para compilar programas escritos en Fortran
461 95 con el compilador GNU.
463 %description fortran -l pl
464 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
465 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
467 %description fortran -l pt_BR
468 Suporte Fortran 95 para o GCC.
470 %package -n libgfortran
471 Summary: Fortran 95 Libraries
472 Summary(es): Bibliotecas de Fortran 95
473 Summary(pl): Biblioteki Fortranu 95
478 %description -n libgfortran
479 Fortran 95 Libraries.
481 %description -n libgfortran -l es
482 Bibliotecas de Fortran 95.
484 %description -n libgfortran -l pl
485 Biblioteki Fortranu 95.
487 %package -n libgfortran-static
488 Summary: Static Fortran 95 Libraries
489 Summary(es): Bibliotecas estáticas de Fortran 95
490 Summary(pl): Statyczne Biblioteki Fortranu 95
492 Group: Development/Libraries
493 Requires: libgfortran = %{epoch}:%{version}-%{release}
494 Obsoletes: libg2c-static
496 %description -n libgfortran-static
497 Static Fortran 95 Libraries.
499 %description -n libgfortran-static -l es
500 Bibliotecas estáticas de Fortran 95.
502 %description -n libgfortran-static -l pl
503 Statyczne biblioteki Fortranu 95.
506 Summary: Java support for gcc
507 Summary(es): Soporte de Java para gcc
508 Summary(pl): Obs³uga Javy dla gcc
509 Group: Development/Languages/Java
510 Requires: %{name} = %{epoch}:%{version}-%{release}
511 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
512 Provides: gcj = %{epoch}:%{version}-%{release}
513 Provides: gcc-java-tools
515 Obsoletes: gcc-java-tools
518 This package adds experimental support for compiling Java(TM) programs
519 and bytecode into native code. To use this you will also need the
522 %description java -l es
523 Este paquete añade soporte experimental para compilar programas
524 Java(tm) y su bytecode en código nativo. Para usarlo también va a
525 necesitar el paquete libgcj.
527 %description java -l pl
528 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
529 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
530 dodatkowo pakiet libgcj.
533 Summary: Java Class Libraries
534 Summary(es): Bibliotecas de clases de Java
535 Summary(pl): Biblioteki Klas Javy
536 License: GPL with limited linking exception
540 %description -n libgcj
541 Java Class Libraries.
543 %description -n libgcj -l es
544 Bibliotecas de clases de Java.
546 %description -n libgcj -l pl
547 Biblioteki Klas Javy.
549 %package -n libgcj-devel
550 Summary: Development files for Java Class Libraries
551 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
552 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
553 License: GPL with limited linking exception
554 Group: Development/Libraries
555 Requires: libgcj = %{epoch}:%{version}-%{release}
557 Obsoletes: libgcj3-devel
559 %description -n libgcj-devel
560 Development files for Java Class Libraries.
562 %description -n libgcj-devel -l es
563 Ficheros de desarrollo para las bibliotecas de clases de Java.
565 %description -n libgcj-devel -l pl
566 Pliki nag³ówkowe dla Bibliotek Klas Javy.
568 %package -n libgcj-static
569 Summary: Static Java Class Libraries
570 Summary(es): Bibliotecas estáticas de clases de Java
571 Summary(pl): Statyczne Biblioteki Klas Javy
572 License: GPL with limited linking exception
573 Group: Development/Libraries
574 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
575 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
577 %description -n libgcj-static
578 Static Java Class Libraries.
580 %description -n libgcj-static -l es
581 Bibliotecas estáticas de clases de Java.
583 %description -n libgcj-static -l pl
584 Statyczne Biblioteki Klas Javy.
587 Summary: Foreign Function Interface library
588 Summary(es): Biblioteca de interfaz de funciones ajenas
589 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
593 %description -n libffi
594 The libffi library provides a portable, high level programming
595 interface to various calling conventions. This allows a programmer to
596 call any function specified by a call interface description at run
599 %description -n libffi -l es
600 La biblioteca libffi provee una interfaz portable de programación de
601 alto nivel para varias convenciones de llamada. Ello permite que un
602 programador llame una función cualquiera especificada por una
603 descripción de interfaz de llamada en el tiempo de ejecución.
605 %description -n libffi -l pl
606 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
607 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
608 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
611 %package -n libffi-devel
612 Summary: Development files for Foreign Function Interface library
613 Summary(es): Ficheros de desarrollo para libffi
614 Summary(pl): Pliki nag³ówkowe dla libffi
616 Group: Development/Libraries
617 Requires: libffi = %{epoch}:%{version}-%{release}
619 %description -n libffi-devel
620 Development files for Foreign Function Interface library.
622 %description -n libffi-devel -l es
623 Ficheros de desarrollo para libffi.
625 %description -n libffi-devel -l pl
626 Pliki nag³ówkowe dla libffi.
628 %package -n libffi-static
629 Summary: Static Foreign Function Interface library
630 Summary(es): Biblioteca libffi estática
631 Summary(pl): Statyczna biblioteka libffi
633 Group: Development/Libraries
634 Requires: libffi-devel = %{epoch}:%{version}-%{release}
636 %description -n libffi-static
637 Static Foreign Function Interface library.
639 %description -n libffi-static -l es
640 Biblioteca libffi estática.
642 %description -n libffi-static -l pl
643 Statyczna biblioteka libffi.
646 Summary: Objective C support for gcc
647 Summary(de): Objektive C-Unterstützung für gcc
648 Summary(es): Soporte de Objective C para gcc
649 Summary(fr): Gestion d'Objective C pour gcc
650 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
651 Summary(tr): gcc için Objective C desteði
652 Group: Development/Languages
653 Requires: %{name} = %{epoch}:%{version}-%{release}
654 Requires: libobjc = %{epoch}:%{version}-%{release}
659 This package adds Objective C support to the GNU Compiler Collection.
660 Objective C is a object oriented derivative of the C language, mainly
661 used on systems running NeXTSTEP. This package does not include the
662 standard objective C object library.
664 %description objc -l de
665 Dieses Paket ergänzt den GNU-Compiler-Collection durch
666 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
667 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
668 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
670 %description objc -l es
671 Este paquete añade soporte de Objective C al GCC (colección de
672 compiladores GNU). Objective C es un lenguaje orientado a objetos
673 derivado de C, principalmente usado en sistemas que funcionan bajo
674 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
677 %description objc -l fr
678 Ce package ajoute un support Objective C a la collection de
679 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
680 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
681 package n'inclue pas la bibliothéque Objective C standard.
683 %description objc -l pl
684 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
685 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
686 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
687 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
689 %description objc -l tr
690 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
691 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
692 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
693 kitaplýðý bu pakette yer almaz.
696 Summary: Objective C++ support for gcc
697 Summary(pl): Obs³uga jêzyka Objective C++ dla gcc
698 Group: Development/Languages
699 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
700 Requires: %{name}-objc = %{epoch}:%{version}-%{release}
703 This package adds Objective C++ support to the GNU Compiler
706 %description objc++ -l pl
707 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
708 kompilatorów GNU Compiler Collection.
711 Summary: Objective C Libraries
712 Summary(es): Bibliotecas de Objective C
713 Summary(pl): Biblioteki Obiektowego C
714 License: GPL v2+ with linking exception
718 %description -n libobjc
719 Objective C Libraries.
721 %description -n libobjc -l es
722 Bibliotecas de Objective C.
724 %description -n libobjc -l pl
725 Biblioteki Obiektowego C.
727 %package -n libobjc-static
728 Summary: Static Objective C Libraries
729 Summary(es): Bibliotecas estáticas de Objective C
730 Summary(pl): Statyczne Biblioteki Obiektowego C
731 License: GPL v2+ with linking exception
732 Group: Development/Libraries
733 Requires: libobjc = %{epoch}:%{version}-%{release}
735 %description -n libobjc-static
736 Static Objective C Libraries.
738 %description -n libobjc-static -l es
739 Bibliotecas estáticas de Objective C.
741 %description -n libobjc-static -l pl
742 Statyczne biblioteki Obiektowego C.
745 #setup -q -n gcc-%{version}
746 %setup -q -n gcc-4_1-branch
755 # -fvisbility fixes...
765 %ifarch %{ix86} %{x8664}
777 # because we distribute modified version of gcc...
778 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
779 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
781 mv ChangeLog ChangeLog.general
790 cp -f /usr/share/automake/config.sub .
792 rm -rf obj-%{_target_platform}
793 install -d obj-%{_target_platform}
794 cd obj-%{_target_platform}
796 CFLAGS="%{rpmcflags}" \
797 CXXFLAGS="%{rpmcxxflags}" \
800 --prefix=%{_prefix} \
801 --libdir=%{_libdir} \
802 --libexecdir=%{_libdir} \
803 --infodir=%{_infodir} \
804 --mandir=%{_mandir} \
806 --enable-threads=posix \
807 --enable-__cxa_atexit \
808 --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,f95}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
811 --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
816 --with-demangler-in-ld \
818 --with-slibdir=%{_slibdir} \
820 %{?with_fortran:--enable-cmath} \
823 --enable-libgcj-multifile \
824 --enable-libgcj-database \
836 %{__make} -C obj-%{_target_platform} \
837 %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
838 GCJFLAGS="%{rpmcflags}" \
839 BOOT_CFLAGS="%{rpmcflags}" \
840 STAGE1_CFLAGS="%{rpmcflags} -O0" \
841 GNATLIBCFLAGS="%{rpmcflags}" \
842 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
846 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
849 rm -rf $RPM_BUILD_ROOT
850 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
852 cd obj-%{_target_platform}
854 %{__make} -j1 install \
856 infodir=%{_infodir} \
857 DESTDIR=$RPM_BUILD_ROOT
859 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
862 ln -sf %{_bindir}/sparc64-pld-linux-gcc \
863 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
866 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
867 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
868 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
870 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
871 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
872 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
874 libssp=$($RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*`)
875 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
876 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
880 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
881 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
885 # move ada shared libraries to proper place...
886 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
887 $RPM_BUILD_ROOT%{_libdir}
888 # check if symlink to be made is valid
889 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so.1
890 ln -sf libgnat-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so
891 ln -sf libgnarl-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.1.so
892 ln -sf libgnat-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
893 ln -sf libgnarl-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
900 cp -f libjava/READ* java-doc
901 cp -f fastjar/README java-doc/README.fastjar
902 cp -f libffi/README java-doc/README.libffi
903 cp -f libffi/LICENSE java-doc/LICENSE.libffi
904 ln -sf %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
907 cp -f libobjc/README gcc/objc/README.libobjc
910 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
911 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
912 for f in libmudflap.la libmudflapth.la libssp.la \
913 %{?with_cxx:libstdc++.la libsupc++.la} \
914 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
915 %{?with_java:libgcj.la libffi.la} \
916 %{?with_objc:libobjc.la};
918 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
919 mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
921 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
922 mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
926 # include/ contains install-tools/include/* and headers that were fixed up
927 # by fixincludes, we don't want former
928 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
931 # we have to save these however
932 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
933 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
934 mv $gccdir/include/syslimits.h $gccdir/tmp
935 rm -rf $gccdir/include
936 mv $gccdir/tmp $gccdir/include
937 cp $gccdir/install-tools/include/*.h $gccdir/include
938 # but we don't want anything more from install-tools
939 rm -rf $gccdir/install-tools
942 ln -sf %{_slibdir32}/libgcc_s.so.1 $gccdir/32/libgcc_s.so
944 ln -sf %{_slibdir}/libgcc_s.so.1 $gccdir/libgcc_s.so
948 cat cpplib.lang >> gcc.lang
949 %{?with_cxx:%find_lang libstdc\+\+}
951 # cvs snap doesn't contain (release does) below files,
952 # so let's create dummy entries to satisfy %%files.
953 [ ! -f NEWS ] && touch NEWS
954 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
955 [ ! -f libgfortran/README ] && touch libgfortran/README
958 rm -rf $RPM_BUILD_ROOT
961 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
964 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
967 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
970 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
973 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
976 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
979 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
982 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
984 %post -p /sbin/ldconfig -n libgcc
985 %postun -p /sbin/ldconfig -n libgcc
986 %post -p /sbin/ldconfig -n libmudflap
987 %postun -p /sbin/ldconfig -n libmudflap
988 %post -p /sbin/ldconfig -n libgnat
989 %postun -p /sbin/ldconfig -n libgnat
990 %post -p /sbin/ldconfig -n libstdc++
991 %postun -p /sbin/ldconfig -n libstdc++
992 %post -p /sbin/ldconfig -n libgfortran
993 %postun -p /sbin/ldconfig -n libgfortran
994 %post -p /sbin/ldconfig -n libgcj
995 %postun -p /sbin/ldconfig -n libgcj
996 %post -p /sbin/ldconfig -n libffi
997 %postun -p /sbin/ldconfig -n libffi
998 %post -p /sbin/ldconfig -n libobjc
999 %postun -p /sbin/ldconfig -n libobjc
1002 %defattr(644,root,root,755)
1003 %doc ChangeLog.general MAINTAINERS NEWS
1004 # bugs.html faq.html
1005 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1007 %dir %{_libdir}/gcc/*
1008 %dir %{_libdir}/gcc/*/*
1009 %dir %{_libdir}/gcc/*/*/include
1011 %attr(755,root,root) %{_bindir}/*-gcc*
1012 %attr(755,root,root) %{_bindir}/gcc
1013 %attr(755,root,root) %{_bindir}/gccbug
1014 %attr(755,root,root) %{_bindir}/gcov
1015 %attr(755,root,root) %{_bindir}/cc
1016 %attr(755,root,root) %{_bindir}/cpp
1020 %{_mandir}/man1/cc.1*
1021 %{_mandir}/man1/cpp.1*
1022 %{_mandir}/man1/gcc.1*
1023 %{_mandir}/man1/gcov.1*
1028 %attr(755,root,root) /lib/cpp
1030 %attr(755,root,root) %{_slibdir}/lib*.so
1031 %{_libdir}/libssp.la
1032 %attr(755,root,root) %{_libdir}/libssp.a
1033 %attr(755,root,root) %{_libdir}/libssp.so
1034 %{_libdir}/libssp_nonshared.a
1035 %{_libdir}/libssp_nonshared.la
1036 %if %{with multilib}
1037 %dir %{_libdir}/gcc/*/*/32
1038 %{_libdir}/gcc/*/*/32/libgcov.a
1039 %{_libdir}/gcc/*/*/32/libgcc.a
1040 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1041 %{_libdir}/gcc/*/*/32/libgcc_s.so
1042 %{_libdir32}/libssp.la
1043 %attr(755,root,root) %{_libdir32}/libssp.a
1044 %attr(755,root,root) %{_libdir32}/libssp.so
1045 %{_libdir32}/libssp_nonshared.a
1046 %{_libdir32}/libssp_nonshared.la
1048 %{_libdir}/gcc/*/*/libgcov.a
1049 %{_libdir}/gcc/*/*/libgcc.a
1050 %{_libdir}/gcc/*/*/libgcc_eh.a
1051 %{_libdir}/gcc/*/*/libgcc_s.so
1052 %{_libdir}/gcc/*/*/specs
1053 %if %{with multilib}
1054 %{_libdir}/gcc/*/*/32/crt*.o
1056 %{_libdir}/gcc/*/*/crt*.o
1057 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1058 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1060 %{_libdir}/gcc/*/*/include/*.h
1063 %defattr(644,root,root,755)
1064 %if %{with multilib}
1065 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1067 %attr(755,root,root) %{_slibdir}/lib*.so.*
1069 %files -n libmudflap
1070 %defattr(644,root,root,755)
1071 %if %{with multilib}
1072 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1074 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1076 %files -n libmudflap-devel
1077 %defattr(644,root,root,755)
1078 %{_includedir}/mf-runtime.h
1079 %if %{with multilib}
1080 %{_libdir32}/libmudflap*.la
1081 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1083 %{_libdir}/libmudflap*.la
1084 %attr(755,root,root) %{_libdir}/libmudflap*.so
1086 %files -n libmudflap-static
1087 %defattr(644,root,root,755)
1088 %if %{with multilib}
1089 %{_libdir32}/libmudflap*.a
1091 %{_libdir}/libmudflap*.a
1095 %defattr(644,root,root,755)
1096 %doc gcc/ada/ChangeLog
1097 %attr(755,root,root) %{_bindir}/gnat*
1098 %attr(755,root,root) %{_bindir}/gpr*
1099 %attr(755,root,root) %{_libdir}/libgnarl*.so
1100 %attr(755,root,root) %{_libdir}/libgnat*.so
1101 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1102 %{_libdir}/gcc/*/*/adainclude
1103 %dir %{_libdir}/gcc/*/*/adalib
1104 %{_libdir}/gcc/*/*/adalib/*.ali
1105 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1106 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1108 %{_libdir}/gcc/*/*/adalib/libgmem.a
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1115 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1117 %files -n libgnat-static
1118 %defattr(644,root,root,755)
1119 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1120 %{_libdir}/gcc/*/*/adalib/libgnat.a
1125 %defattr(644,root,root,755)
1126 %doc gcc/cp/{ChangeLog,NEWS}
1127 %attr(755,root,root) %{_bindir}/g++
1128 %attr(755,root,root) %{_bindir}/*-g++
1129 %attr(755,root,root) %{_bindir}/c++
1130 %attr(755,root,root) %{_bindir}/*-c++
1131 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1132 %if %{with multilib}
1133 %{_libdir32}/libsupc++.a
1134 %{_libdir32}/libsupc++.la
1136 %{_libdir}/libsupc++.a
1137 %{_libdir}/libsupc++.la
1138 %{_mandir}/man1/g++.1*
1140 %files -n libstdc++ -f libstdc++.lang
1141 %defattr(644,root,root,755)
1142 %doc libstdc++-v3/{ChangeLog,README}
1143 %if %{with multilib}
1144 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1146 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1148 %files -n libstdc++-devel
1149 %defattr(644,root,root,755)
1150 %doc libstdc++-v3/docs/html
1151 %dir %{_includedir}/c++
1152 %{_includedir}/c++/%{version}
1154 %exclude %{_includedir}/c++/%{version}/java
1155 %exclude %{_includedir}/c++/%{version}/javax
1156 %exclude %{_includedir}/c++/%{version}/gcj
1157 %exclude %{_includedir}/c++/%{version}/gnu
1160 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
1162 %if %{with multilib}
1163 %{_libdir32}/libstdc++.la
1164 %attr(755,root,root) %{_libdir32}/libstdc++.so
1166 %{_libdir}/libstdc++.la
1167 %attr(755,root,root) %{_libdir}/libstdc++.so
1169 %files -n libstdc++-static
1170 %defattr(644,root,root,755)
1171 %if %{with multilib}
1172 %{_libdir32}/libstdc++.a
1174 %{_libdir}/libstdc++.a
1179 %defattr(644,root,root,755)
1180 %doc gcc/fortran/ChangeLog
1181 %attr(755,root,root) %{_bindir}/g95
1182 %attr(755,root,root) %{_bindir}/gfortran
1183 %attr(755,root,root) %{_bindir}/*-gfortran
1184 %{_infodir}/gfortran*
1185 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1186 %if %{with multilib}
1187 %{_libdir32}/libgfortranbegin.a
1188 %{_libdir32}/libgfortranbegin.la
1189 %{_libdir32}/libgfortran.la
1190 %attr(755,root,root) %{_libdir32}/libgfortran.so
1192 %{_libdir}/libgfortranbegin.a
1193 %{_libdir}/libgfortranbegin.la
1194 %{_libdir}/libgfortran.la
1195 %attr(755,root,root) %{_libdir}/libgfortran.so
1196 %{_mandir}/man1/g95.1*
1197 %{_mandir}/man1/gfortran.1*
1199 %files -n libgfortran
1200 %defattr(644,root,root,755)
1201 %doc libgfortran/{AUTHORS,README,ChangeLog}
1202 %if %{with multilib}
1203 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1205 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1207 %files -n libgfortran-static
1208 %defattr(644,root,root,755)
1209 %if %{with multilib}
1210 %{_libdir32}/libgfortran.a
1212 %{_libdir}/libgfortran.a
1217 %defattr(644,root,root,755)
1218 %doc gcc/java/ChangeLog java-doc/*
1219 %attr(755,root,root) %{_bindir}/fastjar
1220 %attr(755,root,root) %{_bindir}/gcj*
1221 %attr(755,root,root) %{_bindir}/gjnih
1222 %attr(755,root,root) %{_bindir}/grepjar
1223 %attr(755,root,root) %{_bindir}/grmi*
1224 %attr(755,root,root) %{_bindir}/jcf-dump
1225 %attr(755,root,root) %{_bindir}/jv-*
1226 %attr(755,root,root) %{_bindir}/*-gcj*
1227 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1228 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1229 %{_infodir}/fastjar*
1231 %{_mandir}/man1/fastjar*
1232 %{_mandir}/man1/gcj*
1233 %{_mandir}/man1/gjnih*
1234 %{_mandir}/man1/grepjar*
1235 %{_mandir}/man1/grmi*
1236 %{_mandir}/man1/jcf-*
1237 %{_mandir}/man1/jv-*
1240 %defattr(644,root,root,755)
1241 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1242 %attr(755,root,root) %{_bindir}/addr2name.awk
1243 %attr(755,root,root) %{_bindir}/gij
1244 %dir %{_libdir}/classpath
1245 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so.*.*.*
1246 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so.*.*.*
1247 %dir %{_libdir}/gcj-%{version}
1248 %{_libdir}/gcj-%{version}/classmap.db
1249 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1250 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1251 %{_libdir}/logging.properties
1252 %{_javadir}/libgcj*.jar
1253 %{_mandir}/man1/gij*
1255 %files -n libgcj-devel
1256 %defattr(644,root,root,755)
1257 %{_includedir}/c++/%{version}/java
1258 %{_includedir}/c++/%{version}/javax
1259 %{_includedir}/c++/%{version}/gcj
1260 %{_includedir}/c++/%{version}/gnu
1261 %{_libdir}/classpath/libgjsmalsa.la
1262 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so
1263 %{_libdir}/classpath/libgjsmdssi.la
1264 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so
1265 %{_libdir}/gcc/*/*/include/gcj
1266 %{_libdir}/gcc/*/*/include/jawt.h
1267 %{_libdir}/gcc/*/*/include/jawt_md.h
1268 %{_libdir}/gcc/*/*/include/jni.h
1269 %{_libdir}/gcc/*/*/include/jvmpi.h
1270 %dir %{_libdir}/security
1271 %{_libdir}/security/*
1272 %{_libdir}/lib*cj.spec
1273 %{_libdir}/lib*cj*.la
1274 %attr(755,root,root) %{_libdir}/lib*cj*.so
1275 %{_libdir}/libgij.la
1276 %attr(755,root,root) %{_libdir}/libgij.so
1277 %{_pkgconfigdir}/libgcj.pc
1279 %files -n libgcj-static
1280 %defattr(644,root,root,755)
1281 %{_libdir}/lib*cj*.a
1285 %defattr(644,root,root,755)
1286 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1287 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1289 %files -n libffi-devel
1290 %defattr(644,root,root,755)
1291 %{_libdir}/gcc/*/*/include/ffitarget.h
1292 %attr(755,root,root) %{_libdir}/libffi.so
1293 %{_libdir}/libffi.la
1294 %{_includedir}/ffi.h
1296 %files -n libffi-static
1297 %defattr(644,root,root,755)
1303 %defattr(644,root,root,755)
1304 %doc gcc/objc/README
1305 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1306 %if %{with multilib}
1307 %attr(755,root,root) %{_libdir32}/libobjc.so
1308 %{_libdir32}/libobjc.la
1310 %attr(755,root,root) %{_libdir}/libobjc.so
1311 %{_libdir}/libobjc.la
1312 %{_libdir}/gcc/*/*/include/objc
1315 %defattr(644,root,root,755)
1316 %doc libobjc/{ChangeLog,README*}
1317 %if %{with multilib}
1318 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1320 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1322 %files -n libobjc-static
1323 %defattr(644,root,root,755)
1324 %if %{with multilib}
1325 %{_libdir32}/libobjc.a
1327 %{_libdir}/libobjc.a
1332 %defattr(644,root,root,755)
1333 %doc gcc/objcp/ChangeLog
1334 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus