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
63 Patch10: %{name}-pr7776.patch
64 Patch11: %{name}-pr20297.patch
65 Patch12: %{name}-pr22533.patch
66 Patch13: %{name}-pr25180.patch
67 #Patch14: %{name}-x87-mmx-switch.patch NEEDS UPDATE
68 #Patch15: %{name}-x87-mmx-eh.patch NEEDS UPDATE
69 Patch16: %{name}-pr23948.patch
70 Patch17: %{name}-pr19505.patch
71 Patch18: %{name}-pr24419.patch
72 Patch19: %{name}-pr24669.patch
73 Patch20: %{name}-pr17390.patch
74 URL: http://gcc.gnu.org/
75 %{?with_java:BuildRequires: alsa-lib-devel}
76 BuildRequires: autoconf
77 %{?with_tests:BuildRequires: autogen}
78 BuildRequires: automake
79 BuildRequires: binutils >= 2:2.15.94.0.1
81 %{?with_java:BuildRequires: cairo-devel >= 0.5.0}
82 %{?with_java:BuildRequires: dssi}
83 %{?with_tests:BuildRequires: dejagnu}
84 BuildRequires: fileutils >= 4.0.41
87 BuildRequires: gcc(ada)
88 BuildRequires: gcc-ada
90 BuildRequires: gettext-devel
92 BuildRequires: glibc-devel >= 6:2.3.4-1.5
94 BuildRequires: glibc-devel(i686)
97 BuildRequires: glibc-devel(ppc)
100 BuildRequires: glibc-devel(s390)
103 BuildRequires: glibc-devel(sparc)
106 BuildRequires: glibc-devel >= 2.2.5-20
109 BuildRequires: gmp-devel
110 BuildRequires: libmpfr-devel
112 %{?with_java:BuildRequires: libxslt-devel}
113 %{?with_java:BuildRequires: pango-devel}
114 BuildRequires: perl-devel
115 %{?with_java:BuildRequires: pkgconfig}
116 BuildRequires: rpmbuild(macros) >= 1.211
117 BuildRequires: texinfo >= 4.1
118 BuildRequires: zlib-devel
119 # AS_NEEDED directive for dynamic linker
120 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
121 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
122 Requires: binutils >= 2:2.16.90.0.1-0.3
123 Requires: libgcc = %{epoch}:%{version}-%{release}
124 Provides: cpp = %{epoch}:%{version}-%{release}
125 %{?with_ada:Provides: gcc(ada)}
126 %{?with_multilib:Provides: gcc(multilib)}
133 Conflicts: glibc-devel < 2.2.5-20
134 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
136 %define _slibdir /%{_lib}
138 # 32-bit environment on x86-64,ppc64,s390x,sparc64
139 %define _slibdir32 /lib
140 %define _libdir32 /usr/lib
144 A compiler aimed at integrating all the optimizations and features
145 necessary for a high-performance and stable development environment.
147 This package contains the C compiler and some files shared by various
148 parts of the GNU Compiler Collection. In order to use another GCC
149 compiler you will need to install the appropriate subpackage.
152 Un compilador que intenta integrar todas las optimalizaciones y
153 características necesarias para un entorno de desarrollo eficaz y
156 Este paquete contiene el compilador de C y unos ficheros compartidos
157 por varias partes de la colección de compiladores GNU (GCC). Para usar
158 otro compilador de GCC será necesario que instale el subpaquete
162 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
163 wyprodukowania szybkiego i stabilnego kodu wynikowego.
165 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
166 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
167 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
169 %description -l pt_BR
170 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
171 GNU Compiler Collection.
174 Summary: Shared gcc library
175 Summary(es): Biblioteca compartida de gcc
176 Summary(pl): Biblioteka gcc
177 Summary(pt_BR): Biblioteca runtime para o GCC
178 License: GPL with unlimited link permission
182 %description -n libgcc
185 %description -n libgcc -l es
186 Biblioteca compartida de gcc.
188 %description -n libgcc -l pl
189 Biblioteka dynamiczna gcc.
191 %description -n libgcc -l pt_BR
192 Biblioteca runtime para o GCC.
194 %package -n libmudflap
195 Summary: GCC mudflap shared support library
196 Summary(pl): Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
197 License: GPL v2+ with unlimited link permission
200 %description -n libmudflap
201 The libmudflap libraries are used by GCC for instrumenting pointer and
202 array dereferencing operations.
204 %description -n libmudflap -l pl
205 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
206 dereferencji wspa¼ników i tablic.
208 %package -n libmudflap-devel
209 Summary: Development files for GCC mudflap library
210 Summary(pl): Pliki programistyczne biblioteki GCC mudflap
211 License: GPL v2+ with unlimited link permission
212 Group: Development/Libraries
213 Requires: libmudflap = %{epoch}:%{version}-%{release}
215 %description -n libmudflap-devel
216 The libmudflap libraries are used by GCC for instrumenting pointer and
217 array dereferencing operations. This package contains development
220 %description -n libmudflap-devel -l pl
221 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
222 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
225 %package -n libmudflap-static
226 Summary: Static GCC mudflap library
227 Summary(pl): Statyczna biblioteka GCC mudflap
228 License: GPL v2+ with unlimited link permission
229 Group: Development/Libraries
230 Requires: libmudflap-devel = %{epoch}:%{version}-%{release}
232 %description -n libmudflap-static
233 The libmudflap libraries are used by GCC for instrumenting pointer and
234 array dereferencing operations. This package contains static
237 %description -n libmudflap-static -l pl
238 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
239 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
243 Summary: Ada support for gcc
244 Summary(es): Soporte de Ada para gcc
245 Summary(pl): Obs³uga Ady do gcc
246 Group: Development/Languages
247 Requires: %{name} = %{epoch}:%{version}-%{release}
248 Requires: libgnat = %{epoch}:%{version}-%{release}
250 Obsoletes: gnat-devel
253 This package adds experimental support for compiling Ada programs.
255 %description ada -l es
256 Este paquete añade soporte experimental para compilar programas en
259 %description ada -l pl
260 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
264 Summary: Ada standard libraries
265 Summary(es): Bibliotecas estándares de Ada
266 Summary(pl): Biblioteki standardowe dla Ady
267 License: GPL v2+ with linking exception
272 %description -n libgnat
273 This package contains shared libraries needed to run programs written
276 %description -n libgnat -l es
277 Este paquete contiene las bibliotecas compartidas necesarias para
278 ejecutar programas escritos en Ada.
280 %description -n libgnat -l pl
281 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
284 %package -n libgnat-static
285 Summary: Static Ada standard libraries
286 Summary(pl): Statyczne biblioteki standardowe dla Ady
287 License: GPL v2+ with linking exception
288 Group: Development/Libraries
289 Obsoletes: gnat-static
291 %description -n libgnat-static
292 This package contains static libraries for programs written in Ada.
294 %description -n libgnat-static -l pl
295 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
299 Summary: C++ support for gcc
300 Summary(es): Soporte de C++ para gcc
301 Summary(pl): Obs³uga C++ dla gcc
302 Summary(pt_BR): Suporte C++ para o gcc
303 Group: Development/Languages
304 Requires: %{name} = %{epoch}:%{version}-%{release}
309 This package adds C++ support to the GNU Compiler Collection. It
310 includes support for most of the current C++ specification, including
311 templates and exception handling. It does not include a standard C++
312 library, which is available separately.
314 %description c++ -l de
315 Dieses Paket enthält die C++-Unterstützung für den
316 GNU-Compiler-Collection. Es unterstützt die aktuelle
317 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
318 C++-Standard-Library ist nicht enthalten - sie ist getrennt
321 %description c++ -l es
322 Este paquete añade soporte de C++ al GCC (colección de compiladores
323 GNU). Ello incluye el soporte para la mayoría de la especificación
324 actual de C++, incluyendo plantillas y manejo de excepciones. No
325 incluye la biblioteca estándar de C++, la que es disponible separada.
327 %description c++ -l fr
328 Ce package ajoute un support C++ a la collection de compilateurs GNU.
329 Il comprend un support pour la plupart des spécifications actuelles de
330 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
331 une bibliothéque C++ standard, qui est disponible séparément.
333 %description c++ -l pl
334 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
335 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
336 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
338 %description c++ -l pt_BR
339 Este pacote adiciona suporte C++ para o gcc.
341 %description c++ -l tr
342 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
343 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
344 C++ kitaplýðý bu pakette yer almaz.
346 %package -n libstdc++
347 Summary: GNU C++ library
348 Summary(es): Biblioteca C++ de GNU
349 Summary(pl): Biblioteki GNU C++
350 Summary(pt_BR): Biblioteca C++ GNU
351 License: GPL v2+ with free software exception
354 Obsoletes: libstdc++3
356 %description -n libstdc++
357 This is the GNU implementation of the standard C++ libraries, along
358 with additional GNU tools. This package includes the shared libraries
359 necessary to run C++ applications.
361 %description -n libstdc++ -l de
362 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
363 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
364 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
366 %description -n libstdc++ -l es
367 Este es el soporte de las bibliotecas padrón del C++, junto con
368 herramientas GNU adicionales. El paquete incluye las bibliotecas
369 compartidas necesarias para ejecutar aplicaciones C++.
371 %description -n libstdc++ -l fr
372 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
373 des outils GNU supplémentaires. Ce package comprend les librairies
374 partagées nécessaires à l'exécution d'application C++.
376 %description -n libstdc++ -l pl
377 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
378 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
379 uruchomienia aplikacji napisanych w C++.
381 %description -n libstdc++ -l pt_BR
382 Este pacote é uma implementação da biblioteca padrão C++ v3, um
383 subconjunto do padrão ISO 14882.
385 %description -n libstdc++ -l tr
386 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
387 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
389 %package -n libstdc++-devel
390 Summary: Header files and documentation for C++ development
391 Summary(de): Header-Dateien zur Entwicklung mit C++
392 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
393 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
394 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
395 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
396 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
397 License: GPL v2+ with free software exception
398 Group: Development/Libraries
399 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
400 Requires: libstdc++ = %{epoch}:%{version}-%{release}
401 Requires: glibc-devel
402 Obsoletes: libg++-devel
403 Obsoletes: libstdc++3-devel
405 %description -n libstdc++-devel
406 This is the GNU implementation of the standard C++ libraries. This
407 package includes the header files needed for C++ development and
408 library documentation.
410 %description -n libstdc++-devel -l es
411 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
412 paquete incluye los archivos de inclusión y bibliotecas necesarios
413 para desarrollo de programas en lenguaje C++.
415 %description -n libstdc++-devel -l pl
416 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
417 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
418 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
420 %description -n libstdc++-devel -l pt_BR
421 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
422 para desenvolvimento de programas C++.
424 %package -n libstdc++-static
425 Summary: Static C++ standard library
426 Summary(es): Biblioteca estándar estática de C++
427 Summary(pl): Statyczna biblioteka standardowa C++
428 License: GPL v2+ with free software exception
429 Group: Development/Libraries
430 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
432 %description -n libstdc++-static
433 Static C++ standard library.
435 %description -n libstdc++-static -l es
436 Biblioteca estándar estática de C++.
438 %description -n libstdc++-static -l pl
439 Statyczna biblioteka standardowa C++.
442 Summary: Fortran 95 support for gcc
443 Summary(es): Soporte de Fortran 95 para gcc
444 Summary(pl): Obs³uga Fortranu 95 dla gcc
445 Summary(pt_BR): Suporte Fortran 95 para o GCC
446 Group: Development/Languages/Fortran
447 Requires: libgfortran = %{epoch}:%{version}-%{release}
448 Provides: gcc-g77 = %{epoch}:%{version}-%{release}
453 This package adds support for compiling Fortran 95 programs with the
456 %description fortran -l es
457 Este paquete añade soporte para compilar programas escritos en Fortran
458 95 con el compilador GNU.
460 %description fortran -l pl
461 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
462 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
464 %description fortran -l pt_BR
465 Suporte Fortran 95 para o GCC.
467 %package -n libgfortran
468 Summary: Fortran 95 Libraries
469 Summary(es): Bibliotecas de Fortran 95
470 Summary(pl): Biblioteki Fortranu 95
475 %description -n libgfortran
476 Fortran 95 Libraries.
478 %description -n libgfortran -l es
479 Bibliotecas de Fortran 95.
481 %description -n libgfortran -l pl
482 Biblioteki Fortranu 95.
484 %package -n libgfortran-static
485 Summary: Static Fortran 95 Libraries
486 Summary(es): Bibliotecas estáticas de Fortran 95
487 Summary(pl): Statyczne Biblioteki Fortranu 95
489 Group: Development/Libraries
490 Requires: libgfortran = %{epoch}:%{version}-%{release}
491 Obsoletes: libg2c-static
493 %description -n libgfortran-static
494 Static Fortran 95 Libraries.
496 %description -n libgfortran-static -l es
497 Bibliotecas estáticas de Fortran 95.
499 %description -n libgfortran-static -l pl
500 Statyczne biblioteki Fortranu 95.
503 Summary: Java support for gcc
504 Summary(es): Soporte de Java para gcc
505 Summary(pl): Obs³uga Javy dla gcc
506 Group: Development/Languages/Java
507 Requires: %{name} = %{epoch}:%{version}-%{release}
508 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
509 Provides: gcj = %{epoch}:%{version}-%{release}
510 Provides: gcc-java-tools
512 Obsoletes: gcc-java-tools
515 This package adds experimental support for compiling Java(TM) programs
516 and bytecode into native code. To use this you will also need the
519 %description java -l es
520 Este paquete añade soporte experimental para compilar programas
521 Java(tm) y su bytecode en código nativo. Para usarlo también va a
522 necesitar el paquete libgcj.
524 %description java -l pl
525 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
526 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
527 dodatkowo pakiet libgcj.
530 Summary: Java Class Libraries
531 Summary(es): Bibliotecas de clases de Java
532 Summary(pl): Biblioteki Klas Javy
533 License: GPL with limited linking exception
537 %description -n libgcj
538 Java Class Libraries.
540 %description -n libgcj -l es
541 Bibliotecas de clases de Java.
543 %description -n libgcj -l pl
544 Biblioteki Klas Javy.
546 %package -n libgcj-devel
547 Summary: Development files for Java Class Libraries
548 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
549 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
550 License: GPL with limited linking exception
551 Group: Development/Libraries
552 Requires: libgcj = %{epoch}:%{version}-%{release}
554 Obsoletes: libgcj3-devel
556 %description -n libgcj-devel
557 Development files for Java Class Libraries.
559 %description -n libgcj-devel -l es
560 Ficheros de desarrollo para las bibliotecas de clases de Java.
562 %description -n libgcj-devel -l pl
563 Pliki nag³ówkowe dla Bibliotek Klas Javy.
565 %package -n libgcj-static
566 Summary: Static Java Class Libraries
567 Summary(es): Bibliotecas estáticas de clases de Java
568 Summary(pl): Statyczne Biblioteki Klas Javy
569 License: GPL with limited linking exception
570 Group: Development/Libraries
571 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
572 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
574 %description -n libgcj-static
575 Static Java Class Libraries.
577 %description -n libgcj-static -l es
578 Bibliotecas estáticas de clases de Java.
580 %description -n libgcj-static -l pl
581 Statyczne Biblioteki Klas Javy.
584 Summary: Foreign Function Interface library
585 Summary(es): Biblioteca de interfaz de funciones ajenas
586 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
590 %description -n libffi
591 The libffi library provides a portable, high level programming
592 interface to various calling conventions. This allows a programmer to
593 call any function specified by a call interface description at run
596 %description -n libffi -l es
597 La biblioteca libffi provee una interfaz portable de programación de
598 alto nivel para varias convenciones de llamada. Ello permite que un
599 programador llame una función cualquiera especificada por una
600 descripción de interfaz de llamada en el tiempo de ejecución.
602 %description -n libffi -l pl
603 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
604 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
605 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
608 %package -n libffi-devel
609 Summary: Development files for Foreign Function Interface library
610 Summary(es): Ficheros de desarrollo para libffi
611 Summary(pl): Pliki nag³ówkowe dla libffi
613 Group: Development/Libraries
614 Requires: libffi = %{epoch}:%{version}-%{release}
616 %description -n libffi-devel
617 Development files for Foreign Function Interface library.
619 %description -n libffi-devel -l es
620 Ficheros de desarrollo para libffi.
622 %description -n libffi-devel -l pl
623 Pliki nag³ówkowe dla libffi.
625 %package -n libffi-static
626 Summary: Static Foreign Function Interface library
627 Summary(es): Biblioteca libffi estática
628 Summary(pl): Statyczna biblioteka libffi
630 Group: Development/Libraries
631 Requires: libffi-devel = %{epoch}:%{version}-%{release}
633 %description -n libffi-static
634 Static Foreign Function Interface library.
636 %description -n libffi-static -l es
637 Biblioteca libffi estática.
639 %description -n libffi-static -l pl
640 Statyczna biblioteka libffi.
643 Summary: Objective C support for gcc
644 Summary(de): Objektive C-Unterstützung für gcc
645 Summary(es): Soporte de Objective C para gcc
646 Summary(fr): Gestion d'Objective C pour gcc
647 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
648 Summary(tr): gcc için Objective C desteði
649 Group: Development/Languages
650 Requires: %{name} = %{epoch}:%{version}-%{release}
651 Requires: libobjc = %{epoch}:%{version}-%{release}
656 This package adds Objective C support to the GNU Compiler Collection.
657 Objective C is a object oriented derivative of the C language, mainly
658 used on systems running NeXTSTEP. This package does not include the
659 standard objective C object library.
661 %description objc -l de
662 Dieses Paket ergänzt den GNU-Compiler-Collection durch
663 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
664 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
665 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
667 %description objc -l es
668 Este paquete añade soporte de Objective C al GCC (colección de
669 compiladores GNU). Objective C es un lenguaje orientado a objetos
670 derivado de C, principalmente usado en sistemas que funcionan bajo
671 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
674 %description objc -l fr
675 Ce package ajoute un support Objective C a la collection de
676 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
677 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
678 package n'inclue pas la bibliothéque Objective C standard.
680 %description objc -l pl
681 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
682 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
683 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
684 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
686 %description objc -l tr
687 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
688 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
689 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
690 kitaplýðý bu pakette yer almaz.
693 Summary: Objective C++ support for gcc
694 Summary(pl): Obs³uga jêzyka Objective C++ dla gcc
695 Group: Development/Languages
696 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
697 Requires: %{name}-objc = %{epoch}:%{version}-%{release}
700 This package adds Objective C++ support to the GNU Compiler
703 %description objc++ -l pl
704 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
705 kompilatorów GNU Compiler Collection.
708 Summary: Objective C Libraries
709 Summary(es): Bibliotecas de Objective C
710 Summary(pl): Biblioteki Obiektowego C
711 License: GPL v2+ with linking exception
715 %description -n libobjc
716 Objective C Libraries.
718 %description -n libobjc -l es
719 Bibliotecas de Objective C.
721 %description -n libobjc -l pl
722 Biblioteki Obiektowego C.
724 %package -n libobjc-static
725 Summary: Static Objective C Libraries
726 Summary(es): Bibliotecas estáticas de Objective C
727 Summary(pl): Statyczne Biblioteki Obiektowego C
728 License: GPL v2+ with linking exception
729 Group: Development/Libraries
730 Requires: libobjc = %{epoch}:%{version}-%{release}
732 %description -n libobjc-static
733 Static Objective C Libraries.
735 %description -n libobjc-static -l es
736 Bibliotecas estáticas de Objective C.
738 %description -n libobjc-static -l pl
739 Statyczne biblioteki Obiektowego C.
742 #setup -q -n gcc-%{version}
743 %setup -q -n gcc-4_1-branch
752 # -fvisbility fixes...
756 #patch9 -p1 NEEDS UPDATE
762 %ifarch %{ix86} %{x8664}
772 # because we distribute modified version of gcc...
773 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
774 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
776 mv ChangeLog ChangeLog.general
785 cp -f /usr/share/automake/config.sub .
787 rm -rf obj-%{_target_platform}
788 install -d obj-%{_target_platform}
789 cd obj-%{_target_platform}
791 CFLAGS="%{rpmcflags}" \
792 CXXFLAGS="%{rpmcxxflags}" \
795 --prefix=%{_prefix} \
796 --libdir=%{_libdir} \
797 --libexecdir=%{_libdir} \
798 --infodir=%{_infodir} \
799 --mandir=%{_mandir} \
800 --x-libraries=/usr/X11R6/%{_lib} \
802 --enable-threads=posix \
803 --enable-__cxa_atexit \
804 --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,f95}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
807 --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
812 --with-demangler-in-ld \
814 --with-slibdir=%{_slibdir} \
816 %{?with_fortran:--enable-cmath} \
819 --enable-libgcj-multifile \
820 --enable-libgcj-database \
832 %{__make} -C obj-%{_target_platform} \
833 %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
834 GCJFLAGS="%{rpmcflags}" \
835 BOOT_CFLAGS="%{rpmcflags}" \
836 STAGE1_CFLAGS="%{rpmcflags} -O0" \
837 GNATLIBCFLAGS="%{rpmcflags}" \
838 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
842 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
845 rm -rf $RPM_BUILD_ROOT
846 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
848 cd obj-%{_target_platform}
850 %{__make} -j1 install \
852 infodir=%{_infodir} \
853 DESTDIR=$RPM_BUILD_ROOT
855 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
858 ln -sf %{_bindir}/sparc64-pld-linux-gcc \
859 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
862 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
863 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
864 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
866 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
867 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
868 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
870 libssp=$($RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*`)
871 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
872 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
876 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
877 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
881 # move ada shared libraries to proper place...
882 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
883 $RPM_BUILD_ROOT%{_libdir}
884 # check if symlink to be made is valid
885 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so.1
886 ln -sf libgnat-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so
887 ln -sf libgnarl-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.1.so
888 ln -sf libgnat-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
889 ln -sf libgnarl-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
896 cp -f libjava/READ* java-doc
897 cp -f fastjar/README java-doc/README.fastjar
898 cp -f libffi/README java-doc/README.libffi
899 cp -f libffi/LICENSE java-doc/LICENSE.libffi
900 ln -sf %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
903 cp -f libobjc/README gcc/objc/README.libobjc
906 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
907 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
908 for f in libmudflap.la libmudflapth.la libssp.la \
909 %{?with_cxx:libstdc++.la libsupc++.la} \
910 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
911 %{?with_java:libgcj.la libffi.la} \
912 %{?with_objc:libobjc.la};
914 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
915 mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
917 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
918 mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
922 # include/ contains install-tools/include/* and headers that were fixed up
923 # by fixincludes, we don't want former
924 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
927 # we have to save these however
928 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
929 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
930 mv $gccdir/include/syslimits.h $gccdir/tmp
931 rm -rf $gccdir/include
932 mv $gccdir/tmp $gccdir/include
933 cp $gccdir/install-tools/include/*.h $gccdir/include
934 # but we don't want anything more from install-tools
935 rm -rf $gccdir/install-tools
938 ln -sf %{_slibdir32}/libgcc_s.so.1 $gccdir/32/libgcc_s.so
940 ln -sf %{_slibdir}/libgcc_s.so.1 $gccdir/libgcc_s.so
943 %{?with_cxx:%find_lang libstdc\+\+}
945 # cvs snap doesn't contain (release does) below files,
946 # so let's create dummy entries to satisfy %%files.
947 [ ! -f NEWS ] && touch NEWS
948 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
949 [ ! -f libgfortran/README ] && touch libgfortran/README
952 rm -rf $RPM_BUILD_ROOT
955 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
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
978 %post -p /sbin/ldconfig -n libgcc
979 %postun -p /sbin/ldconfig -n libgcc
980 %post -p /sbin/ldconfig -n libmudflap
981 %postun -p /sbin/ldconfig -n libmudflap
982 %post -p /sbin/ldconfig -n libgnat
983 %postun -p /sbin/ldconfig -n libgnat
984 %post -p /sbin/ldconfig -n libstdc++
985 %postun -p /sbin/ldconfig -n libstdc++
986 %post -p /sbin/ldconfig -n libgfortran
987 %postun -p /sbin/ldconfig -n libgfortran
988 %post -p /sbin/ldconfig -n libgcj
989 %postun -p /sbin/ldconfig -n libgcj
990 %post -p /sbin/ldconfig -n libffi
991 %postun -p /sbin/ldconfig -n libffi
992 %post -p /sbin/ldconfig -n libobjc
993 %postun -p /sbin/ldconfig -n libobjc
996 %defattr(644,root,root,755)
997 %doc ChangeLog.general MAINTAINERS NEWS
999 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1001 %dir %{_libdir}/gcc/*
1002 %dir %{_libdir}/gcc/*/*
1003 %dir %{_libdir}/gcc/*/*/include
1005 %attr(755,root,root) %{_bindir}/*-gcc*
1006 %attr(755,root,root) %{_bindir}/gcc
1007 %attr(755,root,root) %{_bindir}/gccbug
1008 %attr(755,root,root) %{_bindir}/gcov
1009 %attr(755,root,root) %{_bindir}/cc
1010 %attr(755,root,root) %{_bindir}/cpp
1014 %{_mandir}/man1/cc.1*
1015 %{_mandir}/man1/cpp.1*
1016 %{_mandir}/man1/gcc.1*
1017 %{_mandir}/man1/gcov.1*
1022 %attr(755,root,root) /lib/cpp
1024 %attr(755,root,root) %{_slibdir}/lib*.so
1025 %{_libdir}/libssp.la
1026 %attr(755,root,root) %{_libdir}/libssp.a
1027 %attr(755,root,root) %{_libdir}/libssp.so
1028 %{_libdir}/libssp_nonshared.a
1029 %{_libdir}/libssp_nonshared.la
1030 %if %{with multilib}
1031 %dir %{_libdir}/gcc/*/*/32
1032 %{_libdir}/gcc/*/*/32/libgcov.a
1033 %{_libdir}/gcc/*/*/32/libgcc.a
1034 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1035 %{_libdir}/gcc/*/*/32/libgcc_s.so
1036 %{_libdir32}/libssp.la
1037 %attr(755,root,root) %{_libdir32}/libssp.a
1038 %attr(755,root,root) %{_libdir32}/libssp.so
1039 %{_libdir32}/libssp_nonshared.a
1040 %{_libdir32}/libssp_nonshared.la
1042 %{_libdir}/gcc/*/*/libgcov.a
1043 %{_libdir}/gcc/*/*/libgcc.a
1044 %{_libdir}/gcc/*/*/libgcc_eh.a
1045 %{_libdir}/gcc/*/*/libgcc_s.so
1046 %{_libdir}/gcc/*/*/specs
1047 %if %{with multilib}
1048 %{_libdir}/gcc/*/*/32/crt*.o
1050 %{_libdir}/gcc/*/*/crt*.o
1051 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1052 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1054 %{_libdir}/gcc/*/*/include/*.h
1057 %defattr(644,root,root,755)
1058 %if %{with multilib}
1059 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1061 %attr(755,root,root) %{_slibdir}/lib*.so.*
1063 %files -n libmudflap
1064 %defattr(644,root,root,755)
1065 %if %{with multilib}
1066 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1068 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1070 %files -n libmudflap-devel
1071 %defattr(644,root,root,755)
1072 %{_includedir}/mf-runtime.h
1073 %if %{with multilib}
1074 %{_libdir32}/libmudflap*.la
1075 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1077 %{_libdir}/libmudflap*.la
1078 %attr(755,root,root) %{_libdir}/libmudflap*.so
1080 %files -n libmudflap-static
1081 %defattr(644,root,root,755)
1082 %if %{with multilib}
1083 %{_libdir32}/libmudflap*.a
1085 %{_libdir}/libmudflap*.a
1089 %defattr(644,root,root,755)
1090 %doc gcc/ada/ChangeLog
1091 %attr(755,root,root) %{_bindir}/gnat*
1092 %attr(755,root,root) %{_bindir}/gpr*
1093 %attr(755,root,root) %{_libdir}/libgnarl*.so
1094 %attr(755,root,root) %{_libdir}/libgnat*.so
1095 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1096 %{_libdir}/gcc/*/*/adainclude
1097 %dir %{_libdir}/gcc/*/*/adalib
1098 %{_libdir}/gcc/*/*/adalib/*.ali
1099 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1100 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1102 %{_libdir}/gcc/*/*/adalib/libgmem.a
1107 %defattr(644,root,root,755)
1108 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1109 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1111 %files -n libgnat-static
1112 %defattr(644,root,root,755)
1113 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1114 %{_libdir}/gcc/*/*/adalib/libgnat.a
1119 %defattr(644,root,root,755)
1120 %doc gcc/cp/{ChangeLog,NEWS}
1121 %attr(755,root,root) %{_bindir}/g++
1122 %attr(755,root,root) %{_bindir}/*-g++
1123 %attr(755,root,root) %{_bindir}/c++
1124 %attr(755,root,root) %{_bindir}/*-c++
1125 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1126 %if %{with multilib}
1127 %{_libdir32}/libsupc++.a
1128 %{_libdir32}/libsupc++.la
1130 %{_libdir}/libsupc++.a
1131 %{_libdir}/libsupc++.la
1132 %{_mandir}/man1/g++.1*
1134 %files -n libstdc++ -f libstdc++.lang
1135 %defattr(644,root,root,755)
1136 %doc libstdc++-v3/{ChangeLog,README}
1137 %if %{with multilib}
1138 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1140 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1142 %files -n libstdc++-devel
1143 %defattr(644,root,root,755)
1144 %doc libstdc++-v3/docs/html
1145 %dir %{_includedir}/c++
1146 %{_includedir}/c++/%{version}
1148 %exclude %{_includedir}/c++/%{version}/java
1149 %exclude %{_includedir}/c++/%{version}/javax
1150 %exclude %{_includedir}/c++/%{version}/gcj
1151 %exclude %{_includedir}/c++/%{version}/gnu
1154 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
1156 %if %{with multilib}
1157 %{_libdir32}/libstdc++.la
1158 %attr(755,root,root) %{_libdir32}/libstdc++.so
1160 %{_libdir}/libstdc++.la
1161 %attr(755,root,root) %{_libdir}/libstdc++.so
1163 %files -n libstdc++-static
1164 %defattr(644,root,root,755)
1165 %if %{with multilib}
1166 %{_libdir32}/libstdc++.a
1168 %{_libdir}/libstdc++.a
1173 %defattr(644,root,root,755)
1174 %doc gcc/fortran/ChangeLog
1175 %attr(755,root,root) %{_bindir}/g95
1176 %attr(755,root,root) %{_bindir}/gfortran
1177 %attr(755,root,root) %{_bindir}/*-gfortran
1178 %{_infodir}/gfortran*
1179 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1180 %if %{with multilib}
1181 %{_libdir32}/libgfortranbegin.a
1182 %{_libdir32}/libgfortranbegin.la
1183 %{_libdir32}/libgfortran.la
1184 %attr(755,root,root) %{_libdir32}/libgfortran.so
1186 %{_libdir}/libgfortranbegin.a
1187 %{_libdir}/libgfortranbegin.la
1188 %{_libdir}/libgfortran.la
1189 %attr(755,root,root) %{_libdir}/libgfortran.so
1190 %{_mandir}/man1/g95.1*
1191 %{_mandir}/man1/gfortran.1*
1193 %files -n libgfortran
1194 %defattr(644,root,root,755)
1195 %doc libgfortran/{AUTHORS,README,ChangeLog}
1196 %if %{with multilib}
1197 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1199 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1201 %files -n libgfortran-static
1202 %defattr(644,root,root,755)
1203 %if %{with multilib}
1204 %{_libdir32}/libgfortran.a
1206 %{_libdir}/libgfortran.a
1211 %defattr(644,root,root,755)
1212 %doc gcc/java/ChangeLog java-doc/*
1213 %attr(755,root,root) %{_bindir}/fastjar
1214 %attr(755,root,root) %{_bindir}/gcj*
1215 %attr(755,root,root) %{_bindir}/gjnih
1216 %attr(755,root,root) %{_bindir}/grepjar
1217 %attr(755,root,root) %{_bindir}/grmi*
1218 %attr(755,root,root) %{_bindir}/jcf-dump
1219 %attr(755,root,root) %{_bindir}/jv-*
1220 %attr(755,root,root) %{_bindir}/*-gcj*
1221 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1222 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1223 %{_infodir}/fastjar*
1225 %{_mandir}/man1/fastjar*
1226 %{_mandir}/man1/gcj*
1227 %{_mandir}/man1/gjnih*
1228 %{_mandir}/man1/grepjar*
1229 %{_mandir}/man1/grmi*
1230 %{_mandir}/man1/jcf-*
1231 %{_mandir}/man1/jv-*
1234 %defattr(644,root,root,755)
1235 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1236 %attr(755,root,root) %{_bindir}/addr2name.awk
1237 %attr(755,root,root) %{_bindir}/gij
1238 %dir %{_libdir}/classpath
1239 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so.*.*.*
1240 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so.*.*.*
1241 %dir %{_libdir}/gcj-%{version}
1242 %{_libdir}/gcj-%{version}/classmap.db
1243 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1244 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1245 %{_libdir}/logging.properties
1246 %{_javadir}/libgcj*.jar
1247 %{_mandir}/man1/gij*
1249 %files -n libgcj-devel
1250 %defattr(644,root,root,755)
1251 %{_includedir}/c++/%{version}/java
1252 %{_includedir}/c++/%{version}/javax
1253 %{_includedir}/c++/%{version}/gcj
1254 %{_includedir}/c++/%{version}/gnu
1255 %{_libdir}/classpath/libgjsmalsa.la
1256 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so
1257 %{_libdir}/classpath/libgjsmdssi.la
1258 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so
1259 %{_libdir}/gcc/*/*/include/gcj
1260 %{_libdir}/gcc/*/*/include/jawt.h
1261 %{_libdir}/gcc/*/*/include/jawt_md.h
1262 %{_libdir}/gcc/*/*/include/jni.h
1263 %{_libdir}/gcc/*/*/include/jvmpi.h
1264 %dir %{_libdir}/security
1265 %{_libdir}/security/*
1266 %{_libdir}/lib*cj.spec
1267 %{_libdir}/lib*cj*.la
1268 %attr(755,root,root) %{_libdir}/lib*cj*.so
1269 %{_libdir}/libgij.la
1270 %attr(755,root,root) %{_libdir}/libgij.so
1271 %{_pkgconfigdir}/libgcj.pc
1273 %files -n libgcj-static
1274 %defattr(644,root,root,755)
1275 %{_libdir}/lib*cj*.a
1279 %defattr(644,root,root,755)
1280 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1281 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1283 %files -n libffi-devel
1284 %defattr(644,root,root,755)
1285 %{_libdir}/gcc/*/*/include/ffitarget.h
1286 %attr(755,root,root) %{_libdir}/libffi.so
1287 %{_libdir}/libffi.la
1288 %{_includedir}/ffi.h
1290 %files -n libffi-static
1291 %defattr(644,root,root,755)
1297 %defattr(644,root,root,755)
1298 %doc gcc/objc/README
1299 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1300 %if %{with multilib}
1301 %attr(755,root,root) %{_libdir32}/libobjc.so
1302 %{_libdir32}/libobjc.la
1304 %attr(755,root,root) %{_libdir}/libobjc.so
1305 %{_libdir}/libobjc.la
1306 %{_libdir}/gcc/*/*/include/objc
1309 %defattr(644,root,root,755)
1310 %doc libobjc/{ChangeLog,README*}
1311 %if %{with multilib}
1312 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1314 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1316 %files -n libobjc-static
1317 %defattr(644,root,root,755)
1318 %if %{with multilib}
1319 %{_libdir32}/libobjc.a
1321 %{_libdir}/libobjc.a
1326 %defattr(644,root,root,755)
1327 %doc gcc/objcp/ChangeLog
1328 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus