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 20051130r107724
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: 38ca117c2cf381cc15a217710a3a7d11
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 # PR20218 patch needs powerpc port.
62 Patch8: %{name}-pr20218.patch
65 Patch10: %{name}-pr7776.patch
66 Patch11: %{name}-pr20297.patch
67 Patch12: %{name}-pr22533.patch
68 Patch13: %{name}-pr25180.patch
69 #Patch14: %{name}-x87-mmx-switch.patch NEEDS UPDATE
70 #Patch15: %{name}-x87-mmx-eh.patch NEEDS UPDATE
71 Patch16: %{name}-pr23948.patch
72 Patch17: %{name}-pr19505.patch
73 Patch18: %{name}-pr24419.patch
74 Patch19: %{name}-pr24669.patch
75 Patch20: %{name}-pr17390.patch
76 URL: http://gcc.gnu.org/
77 %{?with_java:BuildRequires: alsa-lib-devel}
78 BuildRequires: autoconf
79 %{?with_tests:BuildRequires: autogen}
80 BuildRequires: automake
81 BuildRequires: binutils >= 2:2.15.94.0.1
83 %{?with_java:BuildRequires: cairo-devel >= 0.5.0}
84 %{?with_java:BuildRequires: dssi}
85 %{?with_tests:BuildRequires: dejagnu}
86 BuildRequires: fileutils >= 4.0.41
89 BuildRequires: gcc(ada)
90 BuildRequires: gcc-ada
92 BuildRequires: gettext-devel
94 BuildRequires: glibc-devel >= 6:2.3.4-1.5
96 BuildRequires: glibc-devel(i686)
99 BuildRequires: glibc-devel(ppc)
102 BuildRequires: glibc-devel(s390)
105 BuildRequires: glibc-devel(sparc)
108 BuildRequires: glibc-devel >= 2.2.5-20
111 BuildRequires: gmp-devel
112 BuildRequires: libmpfr-devel
114 %{?with_java:BuildRequires: libxslt-devel}
115 %{?with_java:BuildRequires: pango-devel}
116 BuildRequires: perl-devel
117 %{?with_java:BuildRequires: pkgconfig}
118 BuildRequires: rpmbuild(macros) >= 1.211
119 BuildRequires: texinfo >= 4.1
120 BuildRequires: zlib-devel
121 # AS_NEEDED directive for dynamic linker
122 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
123 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
124 Requires: binutils >= 2:2.16.90.0.1-0.3
125 Requires: libgcc = %{epoch}:%{version}-%{release}
126 Provides: cpp = %{epoch}:%{version}-%{release}
127 %{?with_ada:Provides: gcc(ada)}
128 %{?with_multilib:Provides: gcc(multilib)}
135 Conflicts: glibc-devel < 2.2.5-20
136 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
138 %define _slibdir /%{_lib}
140 # 32-bit environment on x86-64,ppc64,s390x,sparc64
141 %define _slibdir32 /lib
142 %define _libdir32 /usr/lib
146 A compiler aimed at integrating all the optimizations and features
147 necessary for a high-performance and stable development environment.
149 This package contains the C compiler and some files shared by various
150 parts of the GNU Compiler Collection. In order to use another GCC
151 compiler you will need to install the appropriate subpackage.
154 Un compilador que intenta integrar todas las optimalizaciones y
155 características necesarias para un entorno de desarrollo eficaz y
158 Este paquete contiene el compilador de C y unos ficheros compartidos
159 por varias partes de la colección de compiladores GNU (GCC). Para usar
160 otro compilador de GCC será necesario que instale el subpaquete
164 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
165 wyprodukowania szybkiego i stabilnego kodu wynikowego.
167 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
168 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
169 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
171 %description -l pt_BR
172 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
173 GNU Compiler Collection.
176 Summary: Shared gcc library
177 Summary(es): Biblioteca compartida de gcc
178 Summary(pl): Biblioteka gcc
179 Summary(pt_BR): Biblioteca runtime para o GCC
180 License: GPL with unlimited link permission
184 %description -n libgcc
187 %description -n libgcc -l es
188 Biblioteca compartida de gcc.
190 %description -n libgcc -l pl
191 Biblioteka dynamiczna gcc.
193 %description -n libgcc -l pt_BR
194 Biblioteca runtime para o GCC.
196 %package -n libmudflap
197 Summary: GCC mudflap shared support library
198 Summary(pl): Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
199 License: GPL v2+ with unlimited link permission
202 %description -n libmudflap
203 The libmudflap libraries are used by GCC for instrumenting pointer and
204 array dereferencing operations.
206 %description -n libmudflap -l pl
207 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
208 dereferencji wspa¼ników i tablic.
210 %package -n libmudflap-devel
211 Summary: Development files for GCC mudflap library
212 Summary(pl): Pliki programistyczne biblioteki GCC mudflap
213 License: GPL v2+ with unlimited link permission
214 Group: Development/Libraries
215 Requires: libmudflap = %{epoch}:%{version}-%{release}
217 %description -n libmudflap-devel
218 The libmudflap libraries are used by GCC for instrumenting pointer and
219 array dereferencing operations. This package contains development
222 %description -n libmudflap-devel -l pl
223 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
224 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
227 %package -n libmudflap-static
228 Summary: Static GCC mudflap library
229 Summary(pl): Statyczna biblioteka GCC mudflap
230 License: GPL v2+ with unlimited link permission
231 Group: Development/Libraries
232 Requires: libmudflap-devel = %{epoch}:%{version}-%{release}
234 %description -n libmudflap-static
235 The libmudflap libraries are used by GCC for instrumenting pointer and
236 array dereferencing operations. This package contains static
239 %description -n libmudflap-static -l pl
240 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
241 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
245 Summary: Ada support for gcc
246 Summary(es): Soporte de Ada para gcc
247 Summary(pl): Obs³uga Ady do gcc
248 Group: Development/Languages
249 Requires: %{name} = %{epoch}:%{version}-%{release}
250 Requires: libgnat = %{epoch}:%{version}-%{release}
252 Obsoletes: gnat-devel
255 This package adds experimental support for compiling Ada programs.
257 %description ada -l es
258 Este paquete añade soporte experimental para compilar programas en
261 %description ada -l pl
262 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
266 Summary: Ada standard libraries
267 Summary(es): Bibliotecas estándares de Ada
268 Summary(pl): Biblioteki standardowe dla Ady
269 License: GPL v2+ with linking exception
274 %description -n libgnat
275 This package contains shared libraries needed to run programs written
278 %description -n libgnat -l es
279 Este paquete contiene las bibliotecas compartidas necesarias para
280 ejecutar programas escritos en Ada.
282 %description -n libgnat -l pl
283 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
286 %package -n libgnat-static
287 Summary: Static Ada standard libraries
288 Summary(pl): Statyczne biblioteki standardowe dla Ady
289 License: GPL v2+ with linking exception
290 Group: Development/Libraries
291 Obsoletes: gnat-static
293 %description -n libgnat-static
294 This package contains static libraries for programs written in Ada.
296 %description -n libgnat-static -l pl
297 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
301 Summary: C++ support for gcc
302 Summary(es): Soporte de C++ para gcc
303 Summary(pl): Obs³uga C++ dla gcc
304 Summary(pt_BR): Suporte C++ para o gcc
305 Group: Development/Languages
306 Requires: %{name} = %{epoch}:%{version}-%{release}
311 This package adds C++ support to the GNU Compiler Collection. It
312 includes support for most of the current C++ specification, including
313 templates and exception handling. It does not include a standard C++
314 library, which is available separately.
316 %description c++ -l de
317 Dieses Paket enthält die C++-Unterstützung für den
318 GNU-Compiler-Collection. Es unterstützt die aktuelle
319 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
320 C++-Standard-Library ist nicht enthalten - sie ist getrennt
323 %description c++ -l es
324 Este paquete añade soporte de C++ al GCC (colección de compiladores
325 GNU). Ello incluye el soporte para la mayoría de la especificación
326 actual de C++, incluyendo plantillas y manejo de excepciones. No
327 incluye la biblioteca estándar de C++, la que es disponible separada.
329 %description c++ -l fr
330 Ce package ajoute un support C++ a la collection de compilateurs GNU.
331 Il comprend un support pour la plupart des spécifications actuelles de
332 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
333 une bibliothéque C++ standard, qui est disponible séparément.
335 %description c++ -l pl
336 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
337 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
338 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
340 %description c++ -l pt_BR
341 Este pacote adiciona suporte C++ para o gcc.
343 %description c++ -l tr
344 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
345 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
346 C++ kitaplýðý bu pakette yer almaz.
348 %package -n libstdc++
349 Summary: GNU C++ library
350 Summary(es): Biblioteca C++ de GNU
351 Summary(pl): Biblioteki GNU C++
352 Summary(pt_BR): Biblioteca C++ GNU
353 License: GPL v2+ with free software exception
356 Obsoletes: libstdc++3
358 %description -n libstdc++
359 This is the GNU implementation of the standard C++ libraries, along
360 with additional GNU tools. This package includes the shared libraries
361 necessary to run C++ applications.
363 %description -n libstdc++ -l de
364 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
365 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
366 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
368 %description -n libstdc++ -l es
369 Este es el soporte de las bibliotecas padrón del C++, junto con
370 herramientas GNU adicionales. El paquete incluye las bibliotecas
371 compartidas necesarias para ejecutar aplicaciones C++.
373 %description -n libstdc++ -l fr
374 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
375 des outils GNU supplémentaires. Ce package comprend les librairies
376 partagées nécessaires à l'exécution d'application C++.
378 %description -n libstdc++ -l pl
379 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
380 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
381 uruchomienia aplikacji napisanych w C++.
383 %description -n libstdc++ -l pt_BR
384 Este pacote é uma implementação da biblioteca padrão C++ v3, um
385 subconjunto do padrão ISO 14882.
387 %description -n libstdc++ -l tr
388 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
389 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
391 %package -n libstdc++-devel
392 Summary: Header files and documentation for C++ development
393 Summary(de): Header-Dateien zur Entwicklung mit C++
394 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
395 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
396 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
397 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
398 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
399 License: GPL v2+ with free software exception
400 Group: Development/Libraries
401 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
402 Requires: libstdc++ = %{epoch}:%{version}-%{release}
403 Requires: glibc-devel
404 Obsoletes: libg++-devel
405 Obsoletes: libstdc++3-devel
407 %description -n libstdc++-devel
408 This is the GNU implementation of the standard C++ libraries. This
409 package includes the header files needed for C++ development and
410 library documentation.
412 %description -n libstdc++-devel -l es
413 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
414 paquete incluye los archivos de inclusión y bibliotecas necesarios
415 para desarrollo de programas en lenguaje C++.
417 %description -n libstdc++-devel -l pl
418 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
419 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
420 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
422 %description -n libstdc++-devel -l pt_BR
423 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
424 para desenvolvimento de programas C++.
426 %package -n libstdc++-static
427 Summary: Static C++ standard library
428 Summary(es): Biblioteca estándar estática de C++
429 Summary(pl): Statyczna biblioteka standardowa C++
430 License: GPL v2+ with free software exception
431 Group: Development/Libraries
432 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
434 %description -n libstdc++-static
435 Static C++ standard library.
437 %description -n libstdc++-static -l es
438 Biblioteca estándar estática de C++.
440 %description -n libstdc++-static -l pl
441 Statyczna biblioteka standardowa C++.
444 Summary: Fortran 95 support for gcc
445 Summary(es): Soporte de Fortran 95 para gcc
446 Summary(pl): Obs³uga Fortranu 95 dla gcc
447 Summary(pt_BR): Suporte Fortran 95 para o GCC
448 Group: Development/Languages/Fortran
449 Requires: libgfortran = %{epoch}:%{version}-%{release}
450 Provides: gcc-g77 = %{epoch}:%{version}-%{release}
455 This package adds support for compiling Fortran 95 programs with the
458 %description fortran -l es
459 Este paquete añade soporte para compilar programas escritos en Fortran
460 95 con el compilador GNU.
462 %description fortran -l pl
463 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
464 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
466 %description fortran -l pt_BR
467 Suporte Fortran 95 para o GCC.
469 %package -n libgfortran
470 Summary: Fortran 95 Libraries
471 Summary(es): Bibliotecas de Fortran 95
472 Summary(pl): Biblioteki Fortranu 95
477 %description -n libgfortran
478 Fortran 95 Libraries.
480 %description -n libgfortran -l es
481 Bibliotecas de Fortran 95.
483 %description -n libgfortran -l pl
484 Biblioteki Fortranu 95.
486 %package -n libgfortran-static
487 Summary: Static Fortran 95 Libraries
488 Summary(es): Bibliotecas estáticas de Fortran 95
489 Summary(pl): Statyczne Biblioteki Fortranu 95
491 Group: Development/Libraries
492 Requires: libgfortran = %{epoch}:%{version}-%{release}
493 Obsoletes: libg2c-static
495 %description -n libgfortran-static
496 Static Fortran 95 Libraries.
498 %description -n libgfortran-static -l es
499 Bibliotecas estáticas de Fortran 95.
501 %description -n libgfortran-static -l pl
502 Statyczne biblioteki Fortranu 95.
505 Summary: Java support for gcc
506 Summary(es): Soporte de Java para gcc
507 Summary(pl): Obs³uga Javy dla gcc
508 Group: Development/Languages/Java
509 Requires: %{name} = %{epoch}:%{version}-%{release}
510 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
511 Provides: gcj = %{epoch}:%{version}-%{release}
512 Provides: gcc-java-tools
514 Obsoletes: gcc-java-tools
517 This package adds experimental support for compiling Java(TM) programs
518 and bytecode into native code. To use this you will also need the
521 %description java -l es
522 Este paquete añade soporte experimental para compilar programas
523 Java(tm) y su bytecode en código nativo. Para usarlo también va a
524 necesitar el paquete libgcj.
526 %description java -l pl
527 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
528 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
529 dodatkowo pakiet libgcj.
532 Summary: Java Class Libraries
533 Summary(es): Bibliotecas de clases de Java
534 Summary(pl): Biblioteki Klas Javy
535 License: GPL with limited linking exception
539 %description -n libgcj
540 Java Class Libraries.
542 %description -n libgcj -l es
543 Bibliotecas de clases de Java.
545 %description -n libgcj -l pl
546 Biblioteki Klas Javy.
548 %package -n libgcj-devel
549 Summary: Development files for Java Class Libraries
550 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
551 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
552 License: GPL with limited linking exception
553 Group: Development/Libraries
554 Requires: libgcj = %{epoch}:%{version}-%{release}
556 Obsoletes: libgcj3-devel
558 %description -n libgcj-devel
559 Development files for Java Class Libraries.
561 %description -n libgcj-devel -l es
562 Ficheros de desarrollo para las bibliotecas de clases de Java.
564 %description -n libgcj-devel -l pl
565 Pliki nag³ówkowe dla Bibliotek Klas Javy.
567 %package -n libgcj-static
568 Summary: Static Java Class Libraries
569 Summary(es): Bibliotecas estáticas de clases de Java
570 Summary(pl): Statyczne Biblioteki Klas Javy
571 License: GPL with limited linking exception
572 Group: Development/Libraries
573 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
574 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
576 %description -n libgcj-static
577 Static Java Class Libraries.
579 %description -n libgcj-static -l es
580 Bibliotecas estáticas de clases de Java.
582 %description -n libgcj-static -l pl
583 Statyczne Biblioteki Klas Javy.
586 Summary: Foreign Function Interface library
587 Summary(es): Biblioteca de interfaz de funciones ajenas
588 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
592 %description -n libffi
593 The libffi library provides a portable, high level programming
594 interface to various calling conventions. This allows a programmer to
595 call any function specified by a call interface description at run
598 %description -n libffi -l es
599 La biblioteca libffi provee una interfaz portable de programación de
600 alto nivel para varias convenciones de llamada. Ello permite que un
601 programador llame una función cualquiera especificada por una
602 descripción de interfaz de llamada en el tiempo de ejecución.
604 %description -n libffi -l pl
605 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
606 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
607 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
610 %package -n libffi-devel
611 Summary: Development files for Foreign Function Interface library
612 Summary(es): Ficheros de desarrollo para libffi
613 Summary(pl): Pliki nag³ówkowe dla libffi
615 Group: Development/Libraries
616 Requires: libffi = %{epoch}:%{version}-%{release}
618 %description -n libffi-devel
619 Development files for Foreign Function Interface library.
621 %description -n libffi-devel -l es
622 Ficheros de desarrollo para libffi.
624 %description -n libffi-devel -l pl
625 Pliki nag³ówkowe dla libffi.
627 %package -n libffi-static
628 Summary: Static Foreign Function Interface library
629 Summary(es): Biblioteca libffi estática
630 Summary(pl): Statyczna biblioteka libffi
632 Group: Development/Libraries
633 Requires: libffi-devel = %{epoch}:%{version}-%{release}
635 %description -n libffi-static
636 Static Foreign Function Interface library.
638 %description -n libffi-static -l es
639 Biblioteca libffi estática.
641 %description -n libffi-static -l pl
642 Statyczna biblioteka libffi.
645 Summary: Objective C support for gcc
646 Summary(de): Objektive C-Unterstützung für gcc
647 Summary(es): Soporte de Objective C para gcc
648 Summary(fr): Gestion d'Objective C pour gcc
649 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
650 Summary(tr): gcc için Objective C desteði
651 Group: Development/Languages
652 Requires: %{name} = %{epoch}:%{version}-%{release}
653 Requires: libobjc = %{epoch}:%{version}-%{release}
658 This package adds Objective C support to the GNU Compiler Collection.
659 Objective C is a object oriented derivative of the C language, mainly
660 used on systems running NeXTSTEP. This package does not include the
661 standard objective C object library.
663 %description objc -l de
664 Dieses Paket ergänzt den GNU-Compiler-Collection durch
665 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
666 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
667 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
669 %description objc -l es
670 Este paquete añade soporte de Objective C al GCC (colección de
671 compiladores GNU). Objective C es un lenguaje orientado a objetos
672 derivado de C, principalmente usado en sistemas que funcionan bajo
673 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
676 %description objc -l fr
677 Ce package ajoute un support Objective C a la collection de
678 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
679 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
680 package n'inclue pas la bibliothéque Objective C standard.
682 %description objc -l pl
683 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
684 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
685 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
686 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
688 %description objc -l tr
689 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
690 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
691 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
692 kitaplýðý bu pakette yer almaz.
695 Summary: Objective C++ support for gcc
696 Summary(pl): Obs³uga jêzyka Objective C++ dla gcc
697 Group: Development/Languages
698 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
699 Requires: %{name}-objc = %{epoch}:%{version}-%{release}
702 This package adds Objective C++ support to the GNU Compiler
705 %description objc++ -l pl
706 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
707 kompilatorów GNU Compiler Collection.
710 Summary: Objective C Libraries
711 Summary(es): Bibliotecas de Objective C
712 Summary(pl): Biblioteki Obiektowego C
713 License: GPL v2+ with linking exception
717 %description -n libobjc
718 Objective C Libraries.
720 %description -n libobjc -l es
721 Bibliotecas de Objective C.
723 %description -n libobjc -l pl
724 Biblioteki Obiektowego C.
726 %package -n libobjc-static
727 Summary: Static Objective C Libraries
728 Summary(es): Bibliotecas estáticas de Objective C
729 Summary(pl): Statyczne Biblioteki Obiektowego C
730 License: GPL v2+ with linking exception
731 Group: Development/Libraries
732 Requires: libobjc = %{epoch}:%{version}-%{release}
734 %description -n libobjc-static
735 Static Objective C Libraries.
737 %description -n libobjc-static -l es
738 Bibliotecas estáticas de Objective C.
740 %description -n libobjc-static -l pl
741 Statyczne biblioteki Obiektowego C.
744 #setup -q -n gcc-%{version}
745 %setup -q -n gcc-4_1-branch
754 # -fvisbility fixes...
759 #patch9 -p1 NEEDS UPDATE
765 %ifarch %{ix86} %{x8664}
775 # because we distribute modified version of gcc...
776 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
777 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
779 mv ChangeLog ChangeLog.general
788 cp -f /usr/share/automake/config.sub .
790 rm -rf obj-%{_target_platform}
791 install -d obj-%{_target_platform}
792 cd obj-%{_target_platform}
794 CFLAGS="%{rpmcflags}" \
795 CXXFLAGS="%{rpmcxxflags}" \
798 --prefix=%{_prefix} \
799 --libdir=%{_libdir} \
800 --libexecdir=%{_libdir} \
801 --infodir=%{_infodir} \
802 --mandir=%{_mandir} \
803 --x-libraries=/usr/X11R6/%{_lib} \
805 --enable-threads=posix \
806 --enable-__cxa_atexit \
807 --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,f95}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
810 --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
815 --with-demangler-in-ld \
817 --with-slibdir=%{_slibdir} \
819 %{?with_fortran:--enable-cmath} \
822 --enable-libgcj-multifile \
823 --enable-libgcj-database \
835 %{__make} -C obj-%{_target_platform} \
836 %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
837 GCJFLAGS="%{rpmcflags}" \
838 BOOT_CFLAGS="%{rpmcflags}" \
839 STAGE1_CFLAGS="%{rpmcflags} -O0" \
840 GNATLIBCFLAGS="%{rpmcflags}" \
841 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
845 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
848 rm -rf $RPM_BUILD_ROOT
849 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
851 cd obj-%{_target_platform}
853 %{__make} -j1 install \
855 infodir=%{_infodir} \
856 DESTDIR=$RPM_BUILD_ROOT
858 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
861 ln -sf %{_bindir}/sparc64-pld-linux-gcc \
862 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
865 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
866 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
867 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
869 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
870 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
871 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
873 libssp=$($RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*`)
874 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
875 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
879 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
880 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
884 # move ada shared libraries to proper place...
885 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
886 $RPM_BUILD_ROOT%{_libdir}
887 # check if symlink to be made is valid
888 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so.1
889 ln -sf libgnat-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so
890 ln -sf libgnarl-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.1.so
891 ln -sf libgnat-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
892 ln -sf libgnarl-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
899 cp -f libjava/READ* java-doc
900 cp -f fastjar/README java-doc/README.fastjar
901 cp -f libffi/README java-doc/README.libffi
902 cp -f libffi/LICENSE java-doc/LICENSE.libffi
903 ln -sf %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
906 cp -f libobjc/README gcc/objc/README.libobjc
909 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
910 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
911 for f in libmudflap.la libmudflapth.la libssp.la \
912 %{?with_cxx:libstdc++.la libsupc++.la} \
913 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
914 %{?with_java:libgcj.la libffi.la} \
915 %{?with_objc:libobjc.la};
917 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
918 mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
920 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
921 mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
925 # include/ contains install-tools/include/* and headers that were fixed up
926 # by fixincludes, we don't want former
927 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
930 # we have to save these however
931 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
932 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
933 mv $gccdir/include/syslimits.h $gccdir/tmp
934 rm -rf $gccdir/include
935 mv $gccdir/tmp $gccdir/include
936 cp $gccdir/install-tools/include/*.h $gccdir/include
937 # but we don't want anything more from install-tools
938 rm -rf $gccdir/install-tools
941 ln -sf %{_slibdir32}/libgcc_s.so.1 $gccdir/32/libgcc_s.so
943 ln -sf %{_slibdir}/libgcc_s.so.1 $gccdir/libgcc_s.so
946 %{?with_cxx:%find_lang libstdc\+\+}
948 # cvs snap doesn't contain (release does) below files,
949 # so let's create dummy entries to satisfy %%files.
950 [ ! -f NEWS ] && touch NEWS
951 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
952 [ ! -f libgfortran/README ] && touch libgfortran/README
955 rm -rf $RPM_BUILD_ROOT
958 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
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
981 %post -p /sbin/ldconfig -n libgcc
982 %postun -p /sbin/ldconfig -n libgcc
983 %post -p /sbin/ldconfig -n libmudflap
984 %postun -p /sbin/ldconfig -n libmudflap
985 %post -p /sbin/ldconfig -n libgnat
986 %postun -p /sbin/ldconfig -n libgnat
987 %post -p /sbin/ldconfig -n libstdc++
988 %postun -p /sbin/ldconfig -n libstdc++
989 %post -p /sbin/ldconfig -n libgfortran
990 %postun -p /sbin/ldconfig -n libgfortran
991 %post -p /sbin/ldconfig -n libgcj
992 %postun -p /sbin/ldconfig -n libgcj
993 %post -p /sbin/ldconfig -n libffi
994 %postun -p /sbin/ldconfig -n libffi
995 %post -p /sbin/ldconfig -n libobjc
996 %postun -p /sbin/ldconfig -n libobjc
999 %defattr(644,root,root,755)
1000 %doc ChangeLog.general MAINTAINERS NEWS
1001 # bugs.html faq.html
1002 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1004 %dir %{_libdir}/gcc/*
1005 %dir %{_libdir}/gcc/*/*
1006 %dir %{_libdir}/gcc/*/*/include
1008 %attr(755,root,root) %{_bindir}/*-gcc*
1009 %attr(755,root,root) %{_bindir}/gcc
1010 %attr(755,root,root) %{_bindir}/gccbug
1011 %attr(755,root,root) %{_bindir}/gcov
1012 %attr(755,root,root) %{_bindir}/cc
1013 %attr(755,root,root) %{_bindir}/cpp
1017 %{_mandir}/man1/cc.1*
1018 %{_mandir}/man1/cpp.1*
1019 %{_mandir}/man1/gcc.1*
1020 %{_mandir}/man1/gcov.1*
1025 %attr(755,root,root) /lib/cpp
1027 %attr(755,root,root) %{_slibdir}/lib*.so
1028 %{_libdir}/libssp.la
1029 %attr(755,root,root) %{_libdir}/libssp.a
1030 %attr(755,root,root) %{_libdir}/libssp.so
1031 %{_libdir}/libssp_nonshared.a
1032 %{_libdir}/libssp_nonshared.la
1033 %if %{with multilib}
1034 %dir %{_libdir}/gcc/*/*/32
1035 %{_libdir}/gcc/*/*/32/libgcov.a
1036 %{_libdir}/gcc/*/*/32/libgcc.a
1037 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1038 %{_libdir}/gcc/*/*/32/libgcc_s.so
1039 %{_libdir32}/libssp.la
1040 %attr(755,root,root) %{_libdir32}/libssp.a
1041 %attr(755,root,root) %{_libdir32}/libssp.so
1042 %{_libdir32}/libssp_nonshared.a
1043 %{_libdir32}/libssp_nonshared.la
1045 %{_libdir}/gcc/*/*/libgcov.a
1046 %{_libdir}/gcc/*/*/libgcc.a
1047 %{_libdir}/gcc/*/*/libgcc_eh.a
1048 %{_libdir}/gcc/*/*/libgcc_s.so
1049 %{_libdir}/gcc/*/*/specs
1050 %if %{with multilib}
1051 %{_libdir}/gcc/*/*/32/crt*.o
1053 %{_libdir}/gcc/*/*/crt*.o
1054 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1055 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1057 %{_libdir}/gcc/*/*/include/*.h
1060 %defattr(644,root,root,755)
1061 %if %{with multilib}
1062 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1064 %attr(755,root,root) %{_slibdir}/lib*.so.*
1066 %files -n libmudflap
1067 %defattr(644,root,root,755)
1068 %if %{with multilib}
1069 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1071 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1073 %files -n libmudflap-devel
1074 %defattr(644,root,root,755)
1075 %{_includedir}/mf-runtime.h
1076 %if %{with multilib}
1077 %{_libdir32}/libmudflap*.la
1078 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1080 %{_libdir}/libmudflap*.la
1081 %attr(755,root,root) %{_libdir}/libmudflap*.so
1083 %files -n libmudflap-static
1084 %defattr(644,root,root,755)
1085 %if %{with multilib}
1086 %{_libdir32}/libmudflap*.a
1088 %{_libdir}/libmudflap*.a
1092 %defattr(644,root,root,755)
1093 %doc gcc/ada/ChangeLog
1094 %attr(755,root,root) %{_bindir}/gnat*
1095 %attr(755,root,root) %{_bindir}/gpr*
1096 %attr(755,root,root) %{_libdir}/libgnarl*.so
1097 %attr(755,root,root) %{_libdir}/libgnat*.so
1098 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1099 %{_libdir}/gcc/*/*/adainclude
1100 %dir %{_libdir}/gcc/*/*/adalib
1101 %{_libdir}/gcc/*/*/adalib/*.ali
1102 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1103 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1105 %{_libdir}/gcc/*/*/adalib/libgmem.a
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1112 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1114 %files -n libgnat-static
1115 %defattr(644,root,root,755)
1116 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1117 %{_libdir}/gcc/*/*/adalib/libgnat.a
1122 %defattr(644,root,root,755)
1123 %doc gcc/cp/{ChangeLog,NEWS}
1124 %attr(755,root,root) %{_bindir}/g++
1125 %attr(755,root,root) %{_bindir}/*-g++
1126 %attr(755,root,root) %{_bindir}/c++
1127 %attr(755,root,root) %{_bindir}/*-c++
1128 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1129 %if %{with multilib}
1130 %{_libdir32}/libsupc++.a
1131 %{_libdir32}/libsupc++.la
1133 %{_libdir}/libsupc++.a
1134 %{_libdir}/libsupc++.la
1135 %{_mandir}/man1/g++.1*
1137 %files -n libstdc++ -f libstdc++.lang
1138 %defattr(644,root,root,755)
1139 %doc libstdc++-v3/{ChangeLog,README}
1140 %if %{with multilib}
1141 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1143 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1145 %files -n libstdc++-devel
1146 %defattr(644,root,root,755)
1147 %doc libstdc++-v3/docs/html
1148 %dir %{_includedir}/c++
1149 %{_includedir}/c++/%{version}
1151 %exclude %{_includedir}/c++/%{version}/java
1152 %exclude %{_includedir}/c++/%{version}/javax
1153 %exclude %{_includedir}/c++/%{version}/gcj
1154 %exclude %{_includedir}/c++/%{version}/gnu
1157 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
1159 %if %{with multilib}
1160 %{_libdir32}/libstdc++.la
1161 %attr(755,root,root) %{_libdir32}/libstdc++.so
1163 %{_libdir}/libstdc++.la
1164 %attr(755,root,root) %{_libdir}/libstdc++.so
1166 %files -n libstdc++-static
1167 %defattr(644,root,root,755)
1168 %if %{with multilib}
1169 %{_libdir32}/libstdc++.a
1171 %{_libdir}/libstdc++.a
1176 %defattr(644,root,root,755)
1177 %doc gcc/fortran/ChangeLog
1178 %attr(755,root,root) %{_bindir}/g95
1179 %attr(755,root,root) %{_bindir}/gfortran
1180 %attr(755,root,root) %{_bindir}/*-gfortran
1181 %{_infodir}/gfortran*
1182 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1183 %if %{with multilib}
1184 %{_libdir32}/libgfortranbegin.a
1185 %{_libdir32}/libgfortranbegin.la
1186 %{_libdir32}/libgfortran.la
1187 %attr(755,root,root) %{_libdir32}/libgfortran.so
1189 %{_libdir}/libgfortranbegin.a
1190 %{_libdir}/libgfortranbegin.la
1191 %{_libdir}/libgfortran.la
1192 %attr(755,root,root) %{_libdir}/libgfortran.so
1193 %{_mandir}/man1/g95.1*
1194 %{_mandir}/man1/gfortran.1*
1196 %files -n libgfortran
1197 %defattr(644,root,root,755)
1198 %doc libgfortran/{AUTHORS,README,ChangeLog}
1199 %if %{with multilib}
1200 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1202 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1204 %files -n libgfortran-static
1205 %defattr(644,root,root,755)
1206 %if %{with multilib}
1207 %{_libdir32}/libgfortran.a
1209 %{_libdir}/libgfortran.a
1214 %defattr(644,root,root,755)
1215 %doc gcc/java/ChangeLog java-doc/*
1216 %attr(755,root,root) %{_bindir}/fastjar
1217 %attr(755,root,root) %{_bindir}/gcj*
1218 %attr(755,root,root) %{_bindir}/gjnih
1219 %attr(755,root,root) %{_bindir}/grepjar
1220 %attr(755,root,root) %{_bindir}/grmi*
1221 %attr(755,root,root) %{_bindir}/jcf-dump
1222 %attr(755,root,root) %{_bindir}/jv-*
1223 %attr(755,root,root) %{_bindir}/*-gcj*
1224 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1225 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1226 %{_infodir}/fastjar*
1228 %{_mandir}/man1/fastjar*
1229 %{_mandir}/man1/gcj*
1230 %{_mandir}/man1/gjnih*
1231 %{_mandir}/man1/grepjar*
1232 %{_mandir}/man1/grmi*
1233 %{_mandir}/man1/jcf-*
1234 %{_mandir}/man1/jv-*
1237 %defattr(644,root,root,755)
1238 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1239 %attr(755,root,root) %{_bindir}/addr2name.awk
1240 %attr(755,root,root) %{_bindir}/gij
1241 %dir %{_libdir}/classpath
1242 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so.*.*.*
1243 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so.*.*.*
1244 %dir %{_libdir}/gcj-%{version}
1245 %{_libdir}/gcj-%{version}/classmap.db
1246 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1247 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1248 %{_libdir}/logging.properties
1249 %{_javadir}/libgcj*.jar
1250 %{_mandir}/man1/gij*
1252 %files -n libgcj-devel
1253 %defattr(644,root,root,755)
1254 %{_includedir}/c++/%{version}/java
1255 %{_includedir}/c++/%{version}/javax
1256 %{_includedir}/c++/%{version}/gcj
1257 %{_includedir}/c++/%{version}/gnu
1258 %{_libdir}/classpath/libgjsmalsa.la
1259 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so
1260 %{_libdir}/classpath/libgjsmdssi.la
1261 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so
1262 %{_libdir}/gcc/*/*/include/gcj
1263 %{_libdir}/gcc/*/*/include/jawt.h
1264 %{_libdir}/gcc/*/*/include/jawt_md.h
1265 %{_libdir}/gcc/*/*/include/jni.h
1266 %{_libdir}/gcc/*/*/include/jvmpi.h
1267 %dir %{_libdir}/security
1268 %{_libdir}/security/*
1269 %{_libdir}/lib*cj.spec
1270 %{_libdir}/lib*cj*.la
1271 %attr(755,root,root) %{_libdir}/lib*cj*.so
1272 %{_libdir}/libgij.la
1273 %attr(755,root,root) %{_libdir}/libgij.so
1274 %{_pkgconfigdir}/libgcj.pc
1276 %files -n libgcj-static
1277 %defattr(644,root,root,755)
1278 %{_libdir}/lib*cj*.a
1282 %defattr(644,root,root,755)
1283 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1284 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1286 %files -n libffi-devel
1287 %defattr(644,root,root,755)
1288 %{_libdir}/gcc/*/*/include/ffitarget.h
1289 %attr(755,root,root) %{_libdir}/libffi.so
1290 %{_libdir}/libffi.la
1291 %{_includedir}/ffi.h
1293 %files -n libffi-static
1294 %defattr(644,root,root,755)
1300 %defattr(644,root,root,755)
1301 %doc gcc/objc/README
1302 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1303 %if %{with multilib}
1304 %attr(755,root,root) %{_libdir32}/libobjc.so
1305 %{_libdir32}/libobjc.la
1307 %attr(755,root,root) %{_libdir}/libobjc.so
1308 %{_libdir}/libobjc.la
1309 %{_libdir}/gcc/*/*/include/objc
1312 %defattr(644,root,root,755)
1313 %doc libobjc/{ChangeLog,README*}
1314 %if %{with multilib}
1315 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1317 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1319 %files -n libobjc-static
1320 %defattr(644,root,root,755)
1321 %if %{with multilib}
1322 %{_libdir32}/libobjc.a
1324 %{_libdir}/libobjc.a
1329 %defattr(644,root,root,755)
1330 %doc gcc/objcp/ChangeLog
1331 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus