3 # - libgomp subpackage.
4 # - fix libtool(/usr/lib64/../lib64/libgcj.la)
7 %bcond_without ada # build without ADA support
8 %bcond_without cxx # build without C++ support
9 %bcond_without fortran # build without Fortran support
10 %bcond_without java # build without Java support
11 %bcond_without objc # build without Objective-C support
12 %bcond_without objcxx # build without Objective-C++ support
13 %bcond_with multilib # build with multilib support (it needs glibc[32&64]-devel)
14 %bcond_with profiling # build with profiling
15 %bcond_without bootstrap # omit 3-stage bootstrap
16 %bcond_with tests # torture gcc
27 %if !%{with bootstrap}
28 %undefine with_profiling
31 %ifnarch %{x8664} ppc64 s390x sparc64
32 %undefine with_multilib
35 Summary: GNU Compiler Collection: the C compiler and shared files
36 Summary(es): Colección de compiladores GNU: el compilador C y ficheros compartidos
37 Summary(pl): Kolekcja kompilatorów GNU: kompilator C i pliki wspó³dzielone
38 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
40 %define _major_ver 4.2
42 Version: %{_major_ver}.%{_minor_ver}
43 %define _snap 20061206r119598
48 Group: Development/Languages
49 #Source0: ftp://gcc.gnu.org/pub/gcc/prerelease-%{version}-%{_snap}/gcc-%{version}-%{_snap}.tar.bz2
50 #Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
51 #Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
52 Source0: gcc-4.2-%{_snap}.tar.bz2
53 # Source0-md5: c1e542f85868eab964cc56764f419a95
54 Source1: %{name}-optimize-la.pl
55 Patch0: %{name}-info.patch
56 Patch1: %{name}-nolocalefiles.patch
57 Patch2: %{name}-nodebug.patch
58 Patch3: %{name}-ada-link.patch
59 Patch4: %{name}-sparc64-ada_fix.patch
60 Patch5: %{name}-alpha-ada_fix.patch
61 Patch6: %{name}-ppc64-m32-m64-multilib-only.patch
62 Patch7: %{name}-libjava-multilib.patch
63 Patch8: %{name}-enable-java-awt-qt.patch
64 Patch9: %{name}-pr13676.patch
65 Patch10: %{name}-pr17390.patch
66 Patch11: %{name}-pr19505.patch
67 Patch12: %{name}-pr20218.patch
68 Patch13: %{name}-pr24669.patch
69 Patch14: %{name}-force_jar_wrapper.patch
70 Patch15: %{name}-pr29512.patch
71 URL: http://gcc.gnu.org/
72 BuildRequires: autoconf
73 %{?with_tests:BuildRequires: autogen}
74 BuildRequires: automake
75 # binutils 2.16.91 or newer are required for compiling medium model now
76 BuildRequires: binutils >= 2:2.16.91.0.1
78 BuildRequires: chrpath >= 0.13-2
79 %{?with_tests:BuildRequires: dejagnu}
80 BuildRequires: fileutils >= 4.0.41
83 BuildRequires: gcc(ada)
84 BuildRequires: gcc-ada
86 BuildRequires: gettext-devel
87 BuildRequires: glibc-devel >= 6:2.4-1
90 BuildRequires: glibc-devel(i686)
93 BuildRequires: glibc-devel(ppc)
96 BuildRequires: glibc-devel(s390)
99 BuildRequires: glibc-devel(sparc)
102 BuildRequires: perl-base
103 BuildRequires: rpmbuild(macros) >= 1.211
104 BuildRequires: texinfo >= 4.1
105 BuildRequires: zlib-devel
107 BuildRequires: gmp-devel
108 BuildRequires: mpfr-devel >= 2.2.1
111 BuildRequires: QtGui-devel >= 4.0.1
112 BuildRequires: alsa-lib-devel
113 BuildRequires: cairo-devel >= 0.5.0
115 BuildRequires: jack-audio-connection-kit-devel
116 BuildRequires: gtk+2-devel >= 2:2.4.0
117 BuildRequires: libart_lgpl-devel >= 2.1
118 BuildRequires: libxslt-devel
119 BuildRequires: pango-devel
120 BuildRequires: pkgconfig
121 BuildRequires: qt4-build
122 BuildRequires: xorg-lib-libXtst-devel
126 # AS_NEEDED directive for dynamic linker
127 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
128 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
129 Requires: binutils >= 2:2.16.90.0.1-0.3
130 Requires: libgcc = %{epoch}:%{version}-%{release}
131 Provides: cpp = %{epoch}:%{version}-%{release}
132 %{?with_ada:Provides: gcc(ada)}
133 %{?with_multilib:Provides: gcc(multilib)}
140 Conflicts: glibc-devel < 2.2.5-20
141 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
143 %define _slibdir /%{_lib}
145 # 32-bit environment on x86-64,ppc64,s390x,sparc64
146 %define _slibdir32 /lib
147 %define _libdir32 /usr/lib
150 %define filterout -fwrapv -fno-strict-aliasing -fsigned-char
153 A compiler aimed at integrating all the optimizations and features
154 necessary for a high-performance and stable development environment.
156 This package contains the C compiler and some files shared by various
157 parts of the GNU Compiler Collection. In order to use another GCC
158 compiler you will need to install the appropriate subpackage.
161 Un compilador que intenta integrar todas las optimalizaciones y
162 características necesarias para un entorno de desarrollo eficaz y
165 Este paquete contiene el compilador de C y unos ficheros compartidos
166 por varias partes de la colección de compiladores GNU (GCC). Para usar
167 otro compilador de GCC será necesario que instale el subpaquete
171 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
172 wyprodukowania szybkiego i stabilnego kodu wynikowego.
174 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
175 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
176 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
178 %description -l pt_BR
179 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
180 GNU Compiler Collection.
183 Summary: Shared gcc library
184 Summary(es): Biblioteca compartida de gcc
185 Summary(pl): Biblioteka gcc
186 Summary(pt_BR): Biblioteca runtime para o GCC
187 License: GPL with unlimited link permission
191 %description -n libgcc
194 %description -n libgcc -l es
195 Biblioteca compartida de gcc.
197 %description -n libgcc -l pl
198 Biblioteka dynamiczna gcc.
200 %description -n libgcc -l pt_BR
201 Biblioteca runtime para o GCC.
203 %package -n libmudflap
204 Summary: GCC mudflap shared support library
205 Summary(pl): Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
206 License: GPL v2+ with unlimited link permission
209 %description -n libmudflap
210 The libmudflap libraries are used by GCC for instrumenting pointer and
211 array dereferencing operations.
213 %description -n libmudflap -l pl
214 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
215 dereferencji wspa¼ników i tablic.
217 %package -n libmudflap-devel
218 Summary: Development files for GCC mudflap library
219 Summary(pl): Pliki programistyczne biblioteki GCC mudflap
220 License: GPL v2+ with unlimited link permission
221 Group: Development/Libraries
222 Requires: libmudflap = %{epoch}:%{version}-%{release}
224 %description -n libmudflap-devel
225 The libmudflap libraries are used by GCC for instrumenting pointer and
226 array dereferencing operations. This package contains development
229 %description -n libmudflap-devel -l pl
230 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
231 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
234 %package -n libmudflap-static
235 Summary: Static GCC mudflap library
236 Summary(pl): Statyczna biblioteka GCC mudflap
237 License: GPL v2+ with unlimited link permission
238 Group: Development/Libraries
239 Requires: libmudflap-devel = %{epoch}:%{version}-%{release}
241 %description -n libmudflap-static
242 The libmudflap libraries are used by GCC for instrumenting pointer and
243 array dereferencing operations. This package contains static
246 %description -n libmudflap-static -l pl
247 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
248 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
252 Summary: Ada support for gcc
253 Summary(es): Soporte de Ada para gcc
254 Summary(pl): Obs³uga Ady do gcc
255 Group: Development/Languages
256 Requires: %{name} = %{epoch}:%{version}-%{release}
257 Requires: libgnat = %{epoch}:%{version}-%{release}
259 Obsoletes: gnat-devel
262 This package adds experimental support for compiling Ada programs.
264 %description ada -l es
265 Este paquete añade soporte experimental para compilar programas en
268 %description ada -l pl
269 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
273 Summary: Ada standard libraries
274 Summary(es): Bibliotecas estándares de Ada
275 Summary(pl): Biblioteki standardowe dla Ady
276 License: GPL v2+ with linking exception
281 %description -n libgnat
282 This package contains shared libraries needed to run programs written
285 %description -n libgnat -l es
286 Este paquete contiene las bibliotecas compartidas necesarias para
287 ejecutar programas escritos en Ada.
289 %description -n libgnat -l pl
290 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
293 %package -n libgnat-static
294 Summary: Static Ada standard libraries
295 Summary(pl): Statyczne biblioteki standardowe dla Ady
296 License: GPL v2+ with linking exception
297 Group: Development/Libraries
298 Obsoletes: gnat-static
300 %description -n libgnat-static
301 This package contains static libraries for programs written in Ada.
303 %description -n libgnat-static -l pl
304 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
308 Summary: C++ support for gcc
309 Summary(es): Soporte de C++ para gcc
310 Summary(pl): Obs³uga C++ dla gcc
311 Summary(pt_BR): Suporte C++ para o gcc
312 Group: Development/Languages
313 Requires: %{name} = %{epoch}:%{version}-%{release}
318 This package adds C++ support to the GNU Compiler Collection. It
319 includes support for most of the current C++ specification, including
320 templates and exception handling. It does not include a standard C++
321 library, which is available separately.
323 %description c++ -l de
324 Dieses Paket enthält die C++-Unterstützung für den
325 GNU-Compiler-Collection. Es unterstützt die aktuelle
326 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
327 C++-Standard-Library ist nicht enthalten - sie ist getrennt
330 %description c++ -l es
331 Este paquete añade soporte de C++ al GCC (colección de compiladores
332 GNU). Ello incluye el soporte para la mayoría de la especificación
333 actual de C++, incluyendo plantillas y manejo de excepciones. No
334 incluye la biblioteca estándar de C++, la que es disponible separada.
336 %description c++ -l fr
337 Ce package ajoute un support C++ a la collection de compilateurs GNU.
338 Il comprend un support pour la plupart des spécifications actuelles de
339 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
340 une bibliothéque C++ standard, qui est disponible séparément.
342 %description c++ -l pl
343 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
344 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
345 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
347 %description c++ -l pt_BR
348 Este pacote adiciona suporte C++ para o gcc.
350 %description c++ -l tr
351 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
352 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
353 C++ kitaplýðý bu pakette yer almaz.
355 %package -n libstdc++
356 Summary: GNU C++ library
357 Summary(es): Biblioteca C++ de GNU
358 Summary(pl): Biblioteki GNU C++
359 Summary(pt_BR): Biblioteca C++ GNU
360 License: GPL v2+ with free software exception
363 Obsoletes: libstdc++3
365 %description -n libstdc++
366 This is the GNU implementation of the standard C++ libraries, along
367 with additional GNU tools. This package includes the shared libraries
368 necessary to run C++ applications.
370 %description -n libstdc++ -l de
371 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
372 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
373 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
375 %description -n libstdc++ -l es
376 Este es el soporte de las bibliotecas padrón del C++, junto con
377 herramientas GNU adicionales. El paquete incluye las bibliotecas
378 compartidas necesarias para ejecutar aplicaciones C++.
380 %description -n libstdc++ -l fr
381 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
382 des outils GNU supplémentaires. Ce package comprend les librairies
383 partagées nécessaires à l'exécution d'application C++.
385 %description -n libstdc++ -l pl
386 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
387 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
388 uruchomienia aplikacji napisanych w C++.
390 %description -n libstdc++ -l pt_BR
391 Este pacote é uma implementação da biblioteca padrão C++ v3, um
392 subconjunto do padrão ISO 14882.
394 %description -n libstdc++ -l tr
395 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
396 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
398 %package -n libstdc++-devel
399 Summary: Header files and documentation for C++ development
400 Summary(de): Header-Dateien zur Entwicklung mit C++
401 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
402 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
403 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
404 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
405 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
406 License: GPL v2+ with free software exception
407 Group: Development/Libraries
408 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
409 Requires: libstdc++ = %{epoch}:%{version}-%{release}
410 Requires: glibc-devel
411 Obsoletes: libg++-devel
412 Obsoletes: libstdc++3-devel
414 %description -n libstdc++-devel
415 This is the GNU implementation of the standard C++ libraries. This
416 package includes the header files needed for C++ development and
417 library documentation.
419 %description -n libstdc++-devel -l es
420 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
421 paquete incluye los archivos de inclusión y bibliotecas necesarios
422 para desarrollo de programas en lenguaje C++.
424 %description -n libstdc++-devel -l pl
425 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
426 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
427 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
429 %description -n libstdc++-devel -l pt_BR
430 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
431 para desenvolvimento de programas C++.
433 %package -n libstdc++-static
434 Summary: Static C++ standard library
435 Summary(es): Biblioteca estándar estática de C++
436 Summary(pl): Statyczna biblioteka standardowa C++
437 License: GPL v2+ with free software exception
438 Group: Development/Libraries
439 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
441 %description -n libstdc++-static
442 Static C++ standard library.
444 %description -n libstdc++-static -l es
445 Biblioteca estándar estática de C++.
447 %description -n libstdc++-static -l pl
448 Statyczna biblioteka standardowa C++.
451 Summary: Fortran 95 support for gcc
452 Summary(es): Soporte de Fortran 95 para gcc
453 Summary(pl): Obs³uga Fortranu 95 dla gcc
454 Summary(pt_BR): Suporte Fortran 95 para o GCC
455 Group: Development/Languages/Fortran
456 Requires: libgfortran = %{epoch}:%{version}-%{release}
457 Provides: gcc-g77 = %{epoch}:%{version}-%{release}
462 This package adds support for compiling Fortran 95 programs with the
465 %description fortran -l es
466 Este paquete añade soporte para compilar programas escritos en Fortran
467 95 con el compilador GNU.
469 %description fortran -l pl
470 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
471 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
473 %description fortran -l pt_BR
474 Suporte Fortran 95 para o GCC.
476 %package -n libgfortran
477 Summary: Fortran 95 Libraries
478 Summary(es): Bibliotecas de Fortran 95
479 Summary(pl): Biblioteki Fortranu 95
484 %description -n libgfortran
485 Fortran 95 Libraries.
487 %description -n libgfortran -l es
488 Bibliotecas de Fortran 95.
490 %description -n libgfortran -l pl
491 Biblioteki Fortranu 95.
493 %package -n libgfortran-static
494 Summary: Static Fortran 95 Libraries
495 Summary(es): Bibliotecas estáticas de Fortran 95
496 Summary(pl): Statyczne Biblioteki Fortranu 95
498 Group: Development/Libraries
499 Requires: libgfortran = %{epoch}:%{version}-%{release}
500 Obsoletes: libg2c-static
502 %description -n libgfortran-static
503 Static Fortran 95 Libraries.
505 %description -n libgfortran-static -l es
506 Bibliotecas estáticas de Fortran 95.
508 %description -n libgfortran-static -l pl
509 Statyczne biblioteki Fortranu 95.
512 Summary: Java support for gcc
513 Summary(es): Soporte de Java para gcc
514 Summary(pl): Obs³uga Javy dla gcc
515 Group: Development/Languages/Java
516 Requires: %{name} = %{epoch}:%{version}-%{release}
517 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
518 Provides: gcj = %{epoch}:%{version}-%{release}
519 Provides: gcc-java-tools
521 Obsoletes: gcc-java-tools
524 This package adds experimental support for compiling Java(TM) programs
525 and bytecode into native code. To use this you will also need the
528 %description java -l es
529 Este paquete añade soporte experimental para compilar programas
530 Java(tm) y su bytecode en código nativo. Para usarlo también va a
531 necesitar el paquete libgcj.
533 %description java -l pl
534 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
535 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
536 dodatkowo pakiet libgcj.
539 Summary: Java Class Libraries
540 Summary(es): Bibliotecas de clases de Java
541 Summary(pl): Biblioteki Klas Javy
542 License: GPL with limited linking exception
546 %description -n libgcj
547 Java Class Libraries.
549 %description -n libgcj -l es
550 Bibliotecas de clases de Java.
552 %description -n libgcj -l pl
553 Biblioteki Klas Javy.
555 %package -n libgcj-devel
556 Summary: Development files for Java Class Libraries
557 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
558 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
559 License: GPL with limited linking exception
560 Group: Development/Libraries
561 Requires: libgcj = %{epoch}:%{version}-%{release}
563 Obsoletes: libgcj3-devel
565 %description -n libgcj-devel
566 Development files for Java Class Libraries.
568 %description -n libgcj-devel -l es
569 Ficheros de desarrollo para las bibliotecas de clases de Java.
571 %description -n libgcj-devel -l pl
572 Pliki nag³ówkowe dla Bibliotek Klas Javy.
574 %package -n libgcj-static
575 Summary: Static Java Class Libraries
576 Summary(es): Bibliotecas estáticas de clases de Java
577 Summary(pl): Statyczne Biblioteki Klas Javy
578 License: GPL with limited linking exception
579 Group: Development/Libraries
580 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
581 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
583 %description -n libgcj-static
584 Static Java Class Libraries.
586 %description -n libgcj-static -l es
587 Bibliotecas estáticas de clases de Java.
589 %description -n libgcj-static -l pl
590 Statyczne Biblioteki Klas Javy.
593 Summary: Foreign Function Interface library
594 Summary(es): Biblioteca de interfaz de funciones ajenas
595 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
599 %description -n libffi
600 The libffi library provides a portable, high level programming
601 interface to various calling conventions. This allows a programmer to
602 call any function specified by a call interface description at run
605 %description -n libffi -l es
606 La biblioteca libffi provee una interfaz portable de programación de
607 alto nivel para varias convenciones de llamada. Ello permite que un
608 programador llame una función cualquiera especificada por una
609 descripción de interfaz de llamada en el tiempo de ejecución.
611 %description -n libffi -l pl
612 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
613 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
614 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
617 %package -n libffi-devel
618 Summary: Development files for Foreign Function Interface library
619 Summary(es): Ficheros de desarrollo para libffi
620 Summary(pl): Pliki nag³ówkowe dla libffi
622 Group: Development/Libraries
623 Requires: libffi = %{epoch}:%{version}-%{release}
625 %description -n libffi-devel
626 Development files for Foreign Function Interface library.
628 %description -n libffi-devel -l es
629 Ficheros de desarrollo para libffi.
631 %description -n libffi-devel -l pl
632 Pliki nag³ówkowe dla libffi.
634 %package -n libffi-static
635 Summary: Static Foreign Function Interface library
636 Summary(es): Biblioteca libffi estática
637 Summary(pl): Statyczna biblioteka libffi
639 Group: Development/Libraries
640 Requires: libffi-devel = %{epoch}:%{version}-%{release}
642 %description -n libffi-static
643 Static Foreign Function Interface library.
645 %description -n libffi-static -l es
646 Biblioteca libffi estática.
648 %description -n libffi-static -l pl
649 Statyczna biblioteka libffi.
652 Summary: Objective C support for gcc
653 Summary(de): Objektive C-Unterstützung für gcc
654 Summary(es): Soporte de Objective C para gcc
655 Summary(fr): Gestion d'Objective C pour gcc
656 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
657 Summary(tr): gcc için Objective C desteði
658 Group: Development/Languages
659 Requires: %{name} = %{epoch}:%{version}-%{release}
660 Requires: libobjc = %{epoch}:%{version}-%{release}
665 This package adds Objective C support to the GNU Compiler Collection.
666 Objective C is a object oriented derivative of the C language, mainly
667 used on systems running NeXTSTEP. This package does not include the
668 standard objective C object library.
670 %description objc -l de
671 Dieses Paket ergänzt den GNU-Compiler-Collection durch
672 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
673 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
674 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
676 %description objc -l es
677 Este paquete añade soporte de Objective C al GCC (colección de
678 compiladores GNU). Objective C es un lenguaje orientado a objetos
679 derivado de C, principalmente usado en sistemas que funcionan bajo
680 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
683 %description objc -l fr
684 Ce package ajoute un support Objective C a la collection de
685 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
686 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
687 package n'inclue pas la bibliothéque Objective C standard.
689 %description objc -l pl
690 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
691 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
692 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
693 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
695 %description objc -l tr
696 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
697 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
698 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
699 kitaplýðý bu pakette yer almaz.
702 Summary: Objective C++ support for gcc
703 Summary(pl): Obs³uga jêzyka Objective C++ dla gcc
704 Group: Development/Languages
705 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
706 Requires: %{name}-objc = %{epoch}:%{version}-%{release}
709 This package adds Objective C++ support to the GNU Compiler
712 %description objc++ -l pl
713 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
714 kompilatorów GNU Compiler Collection.
717 Summary: Objective C Libraries
718 Summary(es): Bibliotecas de Objective C
719 Summary(pl): Biblioteki Obiektowego C
720 License: GPL v2+ with linking exception
724 %description -n libobjc
725 Objective C Libraries.
727 %description -n libobjc -l es
728 Bibliotecas de Objective C.
730 %description -n libobjc -l pl
731 Biblioteki Obiektowego C.
733 %package -n libobjc-static
734 Summary: Static Objective C Libraries
735 Summary(es): Bibliotecas estáticas de Objective C
736 Summary(pl): Statyczne Biblioteki Obiektowego C
737 License: GPL v2+ with linking exception
738 Group: Development/Libraries
739 Requires: libobjc = %{epoch}:%{version}-%{release}
741 %description -n libobjc-static
742 Static Objective C Libraries.
744 %description -n libobjc-static -l es
745 Bibliotecas estáticas de Objective C.
747 %description -n libobjc-static -l pl
748 Statyczne biblioteki Obiektowego C.
751 #setup -q -n gcc-%{version}
752 %setup -q -n gcc-4_2-branch
763 #patch10 -p1 not quite correct / temp. disabled.
770 # because we distribute modified version of gcc...
771 sed -i 's:#define VERSUFFIX.*:#define VERSUFFIX " (PLD-Linux)":' gcc/version.c
772 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
774 mv ChangeLog ChangeLog.general
785 cp -f /usr/share/automake/config.sub .
787 rm -rf builddir && install -d builddir && cd builddir
789 CFLAGS="%{rpmcflags}" \
790 CXXFLAGS="%{rpmcxxflags}" \
793 --prefix=%{_prefix} \
794 --with-local-prefix=%{_prefix}/local \
795 --libdir=%{_libdir} \
796 --libexecdir=%{_libdir} \
797 --infodir=%{_infodir} \
798 --mandir=%{_mandir} \
799 --x-libraries=%{_libdir} \
801 --enable-threads=posix \
802 --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
805 --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
810 --with-demangler-in-ld \
812 --with-slibdir=%{_slibdir} \
814 --without-system-libunwind \
816 --with-system-libunwind \
818 %{!?with_java:--without-x} \
819 %{?with_fortran:--enable-cmath} \
820 --with-long-double-128 \
825 --with-gxx-include-dir=%{_includedir}/c++/%{version} \
826 --disable-libstdcxx-pch \
827 --enable-__cxa_atexit \
828 --enable-libstdcxx-allocator=new \
831 --disable-libjava-multilib \
833 --enable-libgcj-multifile \
834 --enable-libgcj-database \
836 --enable-java-awt=qt,gtk,xlib \
842 --%{?with_bootstrap:en}%{!?with_bootstrap:dis}able-bootstrap \
847 %{__make} -C builddir \
848 %{?with_bootstrap:%{?with_profiling:profiledbootstrap}} \
849 GCJFLAGS="%{rpmcflags}" \
850 BOOT_CFLAGS="%{rpmcflags}" \
851 STAGE1_CFLAGS="%{rpmcflags} -O0 -g0" \
852 GNATLIBCFLAGS="%{rpmcflags}" \
853 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
857 %{?with_tests:%{__make} -k -C builddir check 2>&1 ||:}
860 rm -rf $RPM_BUILD_ROOT
861 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
865 %{__make} -j1 install \
867 infodir=%{_infodir} \
868 DESTDIR=$RPM_BUILD_ROOT
870 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
873 ln -sf %{_bindir}/sparc64-pld-linux-gcc \
874 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
877 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
878 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
879 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
881 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
882 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
883 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
885 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
886 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
887 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
891 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
892 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
896 # move ada shared libraries to proper place...
897 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
898 $RPM_BUILD_ROOT%{_libdir}
899 # check if symlink to be made is valid
900 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.2.so.1
901 ln -sf libgnat-4.2.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.2.so
902 ln -sf libgnarl-4.2.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.2.so
903 ln -sf libgnat-4.2.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
904 ln -sf libgnarl-4.2.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
911 cp -f libjava/READ* java-doc
912 ln -sf %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
913 rm -f $RPM_BUILD_ROOT%{_libdir}/classpath/libgjs*.la
915 rm -rf $RPM_BUILD_ROOT%{_datadir}/classpath/tools/gnu
918 cp -f libobjc/README gcc/objc/README.libobjc
921 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
922 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
923 for f in libgomp.la libmudflap.la libmudflapth.la libssp.la libssp_nonshared.la \
924 %{?with_cxx:libstdc++.la libsupc++.la} \
925 %{?with_fortran:libgfortran.la} \
927 libgcj.la libgcj-tools.la libffi.la lib-gnu-awt-xlib.la \
928 gcj-%{version}/libgtkpeer.la gcj-%{version}/libjawt.la gcj-%{version}/libjvm.la gcj-%{version}/libqtpeer.la \
929 gcj-%{version}/libgjsmalsa.la gcj-%{version}/libgjsmdssi.la gcj-%{version}/libxmlj.la \
931 %{?with_objc:libobjc.la};
933 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
934 mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
937 for f in libgomp.la libmudflap.la libmudflapth.la libssp.la libssp_nonshared.la \
938 %{?with_cxx:libstdc++.la libsupc++.la} \
939 %{?with_fortran:libgfortran.la} \
940 %{?with_java:libffi.la} \
941 %{?with_objc:libobjc.la};
943 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
944 mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
948 # include/ contains install-tools/include/* and headers that were fixed up
949 # by fixincludes, we don't want former
950 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
953 # we have to save these however
954 %{?with_java:mv $gccdir/include/{gcj,ffi.h,ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
955 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
956 mv $gccdir/include/mf-runtime.h $gccdir/tmp
957 mv $gccdir/include/syslimits.h $gccdir/tmp
958 mv $gccdir/include/ssp $gccdir/tmp
959 rm -rf $gccdir/include
960 mv $gccdir/tmp $gccdir/include
961 cp $gccdir/install-tools/include/*.h $gccdir/include
962 # but we don't want anything more from install-tools
963 rm -rf $gccdir/install-tools
967 cat cpplib.lang >> gcc.lang
970 %find_lang libstdc\+\+
971 install libstdc++-v3/include/precompiled/* $RPM_BUILD_ROOT%{_includedir}
974 # cvs snap doesn't contain (release does) below files,
975 # so let's create dummy entries to satisfy %%files.
976 [ ! -f NEWS ] && touch NEWS
977 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
978 [ ! -f libgfortran/README ] && touch libgfortran/README
981 rm -rf $RPM_BUILD_ROOT
984 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
987 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
990 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
993 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
996 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
999 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1002 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1005 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1007 %post -p /sbin/ldconfig -n libgcc
1008 %postun -p /sbin/ldconfig -n libgcc
1009 %post -p /sbin/ldconfig -n libmudflap
1010 %postun -p /sbin/ldconfig -n libmudflap
1011 %post -p /sbin/ldconfig -n libgnat
1012 %postun -p /sbin/ldconfig -n libgnat
1013 %post -p /sbin/ldconfig -n libstdc++
1014 %postun -p /sbin/ldconfig -n libstdc++
1015 %post -p /sbin/ldconfig -n libgfortran
1016 %postun -p /sbin/ldconfig -n libgfortran
1017 %post -p /sbin/ldconfig -n libgcj
1018 %postun -p /sbin/ldconfig -n libgcj
1019 %post -p /sbin/ldconfig -n libffi
1020 %postun -p /sbin/ldconfig -n libffi
1021 %post -p /sbin/ldconfig -n libobjc
1022 %postun -p /sbin/ldconfig -n libobjc
1025 %defattr(644,root,root,755)
1026 %doc ChangeLog.general MAINTAINERS NEWS
1027 # bugs.html faq.html
1028 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1030 %dir %{_libdir}/gcc/*
1031 %dir %{_libdir}/gcc/*/*
1032 %attr(755,root,root) %{_bindir}/*-gcc*
1033 %attr(755,root,root) %{_bindir}/gcc
1034 %attr(755,root,root) %{_bindir}/gccbug
1035 %attr(755,root,root) %{_bindir}/gcov
1036 %attr(755,root,root) %{_bindir}/cc
1037 %attr(755,root,root) %{_bindir}/cpp
1038 %{_mandir}/man1/cc.1*
1039 %{_mandir}/man1/cpp.1*
1040 %{_mandir}/man1/gcc.1*
1041 %{_mandir}/man1/gcov.1*
1044 %attr(755,root,root) /lib/cpp
1045 %attr(755,root,root) %{_slibdir}/lib*.so
1047 %{_libdir}/libssp.la
1048 %attr(755,root,root) %{_libdir}/libssp.so
1049 %{_libdir}/libssp_nonshared.a
1050 %{_libdir}/libssp_nonshared.la
1051 %if %{with multilib}
1052 %attr(755,root,root) %{_slibdir32}/lib*.so
1053 %dir %{_libdir}/gcc/*/*/32
1054 %{_libdir}/gcc/*/*/32/libgcov.a
1055 %{_libdir}/gcc/*/*/32/libgcc.a
1056 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1057 %{_libdir32}/libssp.a
1058 %{_libdir32}/libssp.la
1059 %attr(755,root,root) %{_libdir32}/libssp.so
1060 %{_libdir32}/libssp_nonshared.a
1061 %{_libdir32}/libssp_nonshared.la
1063 %{_libdir}/gcc/*/*/libgcov.a
1064 %{_libdir}/gcc/*/*/libgcc.a
1065 %{_libdir}/gcc/*/*/libgcc_eh.a
1066 %{_libdir}/gcc/*/*/specs
1067 %if %{with multilib}
1068 %{_libdir}/gcc/*/*/32/crt*.o
1070 %{_libdir}/gcc/*/*/crt*.o
1071 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1072 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1073 %dir %{_libdir}/gcc/*/*/include
1074 %dir %{_libdir}/gcc/*/*/include/ssp
1075 %{_libdir}/gcc/*/*/include/ssp/*.h
1076 %{_libdir}/gcc/*/*/include/decfloat.h
1077 %{_libdir}/gcc/*/*/include/float.h
1078 %{_libdir}/gcc/*/*/include/iso646.h
1079 %{_libdir}/gcc/*/*/include/limits.h
1080 %{_libdir}/gcc/*/*/include/stdarg.h
1081 %{_libdir}/gcc/*/*/include/stdbool.h
1082 %{_libdir}/gcc/*/*/include/stddef.h
1083 %{_libdir}/gcc/*/*/include/syslimits.h
1084 %{_libdir}/gcc/*/*/include/unwind.h
1085 %{_libdir}/gcc/*/*/include/varargs.h
1086 %ifarch %{ix86} %{x8664}
1087 %{_libdir}/gcc/*/*/include/emmintrin.h
1088 %{_libdir}/gcc/*/*/include/mm3dnow.h
1089 %{_libdir}/gcc/*/*/include/mm_malloc.h
1090 %{_libdir}/gcc/*/*/include/mmintrin.h
1091 %{_libdir}/gcc/*/*/include/pmmintrin.h
1092 %{_libdir}/gcc/*/*/include/xmmintrin.h
1096 %defattr(644,root,root,755)
1097 %if %{with multilib}
1098 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1100 %attr(755,root,root) %{_slibdir}/lib*.so.*
1102 %files -n libmudflap
1103 %defattr(644,root,root,755)
1104 %if %{with multilib}
1105 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1107 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1109 %files -n libmudflap-devel
1110 %defattr(644,root,root,755)
1111 %{_libdir}/gcc/*/*/include/mf-runtime.h
1112 %if %{with multilib}
1113 %{_libdir32}/libmudflap*.la
1114 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1116 %{_libdir}/libmudflap*.la
1117 %attr(755,root,root) %{_libdir}/libmudflap*.so
1119 %files -n libmudflap-static
1120 %defattr(644,root,root,755)
1121 %if %{with multilib}
1122 %{_libdir32}/libmudflap*.a
1124 %{_libdir}/libmudflap*.a
1128 %defattr(644,root,root,755)
1129 %doc gcc/ada/ChangeLog
1130 %attr(755,root,root) %{_bindir}/gnat*
1131 %attr(755,root,root) %{_bindir}/gpr*
1132 %attr(755,root,root) %{_libdir}/libgnarl*.so
1133 %attr(755,root,root) %{_libdir}/libgnat*.so
1134 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1135 %{_libdir}/gcc/*/*/adainclude
1136 %dir %{_libdir}/gcc/*/*/adalib
1137 %{_libdir}/gcc/*/*/adalib/*.ali
1138 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1139 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1141 %{_libdir}/gcc/*/*/adalib/libgmem.a
1146 %defattr(644,root,root,755)
1147 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1148 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1150 %files -n libgnat-static
1151 %defattr(644,root,root,755)
1152 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1153 %{_libdir}/gcc/*/*/adalib/libgnat.a
1158 %defattr(644,root,root,755)
1159 %doc gcc/cp/{ChangeLog,NEWS}
1160 %attr(755,root,root) %{_bindir}/g++
1161 %attr(755,root,root) %{_bindir}/*-g++
1162 %attr(755,root,root) %{_bindir}/c++
1163 %attr(755,root,root) %{_bindir}/*-c++
1164 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1165 %if %{with multilib}
1166 %{_libdir32}/libsupc++.a
1167 %{_libdir32}/libsupc++.la
1169 %{_libdir}/libsupc++.a
1170 %{_libdir}/libsupc++.la
1171 %{_mandir}/man1/g++.1*
1173 %files -n libstdc++ -f libstdc++.lang
1174 %defattr(644,root,root,755)
1175 %doc libstdc++-v3/{ChangeLog,README}
1176 %if %{with multilib}
1177 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1179 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1181 %files -n libstdc++-devel
1182 %defattr(644,root,root,755)
1183 %doc libstdc++-v3/docs/html
1184 %dir %{_includedir}/c++
1185 %{_includedir}/c++/%{version}
1186 %{_includedir}/extc++.h
1187 %{_includedir}/stdc++.h
1188 %{_includedir}/stdtr1c++.h
1190 %exclude %{_includedir}/c++/%{version}/java
1191 %exclude %{_includedir}/c++/%{version}/javax
1192 %exclude %{_includedir}/c++/%{version}/gcj
1193 %exclude %{_includedir}/c++/%{version}/gnu
1195 %if %{with multilib}
1196 %{_libdir32}/libstdc++.la
1197 %attr(755,root,root) %{_libdir32}/libstdc++.so
1199 %{_libdir}/libstdc++.la
1200 %attr(755,root,root) %{_libdir}/libstdc++.so
1202 %files -n libstdc++-static
1203 %defattr(644,root,root,755)
1204 %if %{with multilib}
1205 %{_libdir32}/libstdc++.a
1207 %{_libdir}/libstdc++.a
1212 %defattr(644,root,root,755)
1213 %doc gcc/fortran/ChangeLog
1214 %attr(755,root,root) %{_bindir}/g95
1215 %attr(755,root,root) %{_bindir}/gfortran
1216 %attr(755,root,root) %{_bindir}/*-gfortran
1217 %{_infodir}/gfortran*
1218 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1219 %{_libdir}/gcc/*/*/libgfortranbegin.a
1220 %if %{with multilib}
1221 %{_libdir}/gcc/*/*/32/libgfortranbegin.a
1222 %{_libdir32}/libgfortran.la
1223 %attr(755,root,root) %{_libdir32}/libgfortran.so
1225 %{_libdir}/libgfortran.la
1226 %attr(755,root,root) %{_libdir}/libgfortran.so
1227 %{_mandir}/man1/g95.1*
1228 %{_mandir}/man1/gfortran.1*
1230 %files -n libgfortran
1231 %defattr(644,root,root,755)
1232 %doc libgfortran/{AUTHORS,README,ChangeLog}
1233 %if %{with multilib}
1234 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1236 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1238 %files -n libgfortran-static
1239 %defattr(644,root,root,755)
1240 %if %{with multilib}
1241 %{_libdir32}/libgfortran.a
1243 %{_libdir}/libgfortran.a
1248 %defattr(644,root,root,755)
1249 %doc gcc/java/ChangeLog java-doc/*
1250 %attr(755,root,root) %{_bindir}/gappletviewer
1251 %attr(755,root,root) %{_bindir}/gcj*
1252 %attr(755,root,root) %{_bindir}/gjarsigner
1253 %attr(755,root,root) %{_bindir}/gjnih
1254 %attr(755,root,root) %{_bindir}/gkeytool
1255 %attr(755,root,root) %{_bindir}/grmi*
1256 %attr(755,root,root) %{_bindir}/jar
1257 %attr(755,root,root) %{_bindir}/jcf-dump
1258 %attr(755,root,root) %{_bindir}/jv-*
1259 %attr(755,root,root) %{_bindir}/*-gcj*
1260 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1261 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1263 %{_mandir}/man1/gcj*
1264 %{_mandir}/man1/gjnih*
1265 %{_mandir}/man1/grmi*
1266 %{_mandir}/man1/jcf-*
1267 %{_mandir}/man1/jv-*
1270 %defattr(644,root,root,755)
1271 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1272 %attr(755,root,root) %{_bindir}/addr2name.awk
1273 %attr(755,root,root) %{_bindir}/gij
1274 %attr(755,root,root) %{_libdir}/libgcj-tools.so.*.*.*
1275 %attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
1276 %attr(755,root,root) %{_libdir}/libgcj_bc.so
1277 %attr(755,root,root) %{_libdir}/libgcj_bc.so.*.*.*
1278 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1279 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*
1280 %dir %{_libdir}/gcj-%{version}
1281 %{_libdir}/gcj-%{version}/classmap.db
1282 %attr(755,root,root) %{_libdir}/gcj-%{version}/libgjsmalsa.so*
1283 %attr(755,root,root) %{_libdir}/gcj-%{version}/libgjsmdssi.so*
1284 %attr(755,root,root) %{_libdir}/gcj-%{version}/libgtkpeer.so
1285 %attr(755,root,root) %{_libdir}/gcj-%{version}/libjawt.so
1286 %attr(755,root,root) %{_libdir}/gcj-%{version}/libjvm.so
1287 %attr(755,root,root) %{_libdir}/gcj-%{version}/libqtpeer.so
1288 %attr(755,root,root) %{_libdir}/gcj-%{version}/libxmlj.so*
1289 %{_libdir}/logging.properties
1290 %{_javadir}/libgcj*.jar
1291 %{_mandir}/man1/gij*
1293 %files -n libgcj-devel
1294 %defattr(644,root,root,755)
1295 %{_includedir}/c++/%{version}/java
1296 %{_includedir}/c++/%{version}/javax
1297 %{_includedir}/c++/%{version}/gcj
1298 %{_includedir}/c++/%{version}/gnu
1299 %{_libdir}/gcc/*/*/include/gcj
1300 %{_libdir}/gcc/*/*/include/jawt.h
1301 %{_libdir}/gcc/*/*/include/jawt_md.h
1302 %{_libdir}/gcc/*/*/include/jni.h
1303 %{_libdir}/gcc/*/*/include/jni_md.h
1304 %{_libdir}/gcc/*/*/include/jvmpi.h
1305 %{_libdir}/gcj-%{version}/libgjsmalsa.la
1306 %{_libdir}/gcj-%{version}/libgjsmdssi.la
1307 %{_libdir}/gcj-%{version}/libgtkpeer.la
1308 %{_libdir}/gcj-%{version}/libjawt.la
1309 %{_libdir}/gcj-%{version}/libjvm.la
1310 %{_libdir}/gcj-%{version}/libqtpeer.la
1311 %{_libdir}/gcj-%{version}/libxmlj.la
1312 %dir %{_libdir}/security
1313 %{_libdir}/security/*
1314 %{_libdir}/libgcj.spec
1315 %{_libdir}/libgcj-tools.la
1316 %attr(755,root,root) %{_libdir}/libgcj-tools.so
1317 %{_libdir}/libgcj.la
1318 %attr(755,root,root) %{_libdir}/libgcj.so
1319 %{_libdir}/libgij.la
1320 %attr(755,root,root) %{_libdir}/libgij.so
1321 %{_libdir}/lib-gnu-awt-xlib.la
1322 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
1323 %{_pkgconfigdir}/libgcj-%{_major_ver}.pc
1325 %files -n libgcj-static
1326 %defattr(644,root,root,755)
1327 %{_libdir}/gcj-%{version}/libjvm.a
1328 %{_libdir}/libgcj-tools.a
1330 %{_libdir}/libgcj_bc.a
1334 %defattr(644,root,root,755)
1335 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1336 %if %{with multilib}
1337 %attr(755,root,root) %{_libdir32}/libffi.so.*.*.*
1339 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1341 %files -n libffi-devel
1342 %defattr(644,root,root,755)
1343 %{_libdir}/gcc/*/*/include/ffi.h
1344 %{_libdir}/gcc/*/*/include/ffitarget.h
1345 %if %{with multilib}
1346 %attr(755,root,root) %{_libdir32}/libffi.so
1347 %{_libdir32}/libffi.la
1349 %attr(755,root,root) %{_libdir}/libffi.so
1350 %{_libdir}/libffi.la
1352 %files -n libffi-static
1353 %defattr(644,root,root,755)
1354 %if %{with multilib}
1355 %{_libdir32}/libffi.a
1362 %defattr(644,root,root,755)
1363 %doc gcc/objc/README
1364 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1365 %if %{with multilib}
1366 %attr(755,root,root) %{_libdir32}/libobjc.so
1367 %{_libdir32}/libobjc.la
1369 %attr(755,root,root) %{_libdir}/libobjc.so
1370 %{_libdir}/libobjc.la
1371 %{_libdir}/gcc/*/*/include/objc
1374 %defattr(644,root,root,755)
1375 %doc libobjc/{ChangeLog,README*}
1376 %if %{with multilib}
1377 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1379 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1381 %files -n libobjc-static
1382 %defattr(644,root,root,755)
1383 %if %{with multilib}
1384 %{_libdir32}/libobjc.a
1386 %{_libdir}/libobjc.a
1391 %defattr(644,root,root,755)
1392 %doc gcc/objcp/ChangeLog
1393 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus