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 20060218r111233
43 %define _snap 20060223
47 Group: Development/Languages
48 Source0: ftp://gcc.gnu.org/pub/gcc/prerelease-%{version}-%{_snap}/gcc-%{version}-%{_snap}.tar.bz2
49 # Source0-md5: b6f748cec2eb6765a21b1863d8bc5f5b
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.1-%{_snap}.tar.bz2
53 Source1: %{name}-optimize-la.pl
54 Patch0: %{name}-info.patch
55 Patch1: %{name}-nolocalefiles.patch
56 Patch2: %{name}-nodebug.patch
57 Patch3: %{name}-ada-link.patch
58 Patch4: %{name}-sparc64-ada_fix.patch
59 Patch5: %{name}-alpha-ada_fix.patch
60 # -fvisibility fixes...
61 Patch6: %{name}-pr19664_gnu_internal.patch
62 Patch7: %{name}-pr19664_libstdc++.patch
63 Patch8: %{name}-pr20218.patch
66 Patch10: %{name}-pr7776.patch
67 Patch11: %{name}-pr20297.patch
68 Patch12: %{name}-pr19606.patch
69 Patch13: %{name}-pr24879.patch
70 #Patch14: %{name}-x87-mmx-switch.patch NEEDS UPDATE
71 #Patch15: %{name}-x87-mmx-eh.patch NEEDS UPDATE
73 Patch17: %{name}-pr19505.patch
74 Patch18: %{name}-pr24419.patch
75 Patch19: %{name}-pr24669.patch
76 Patch20: %{name}-pr17390.patch
77 Patch21: %{name}-pr13676.patch
78 Patch22: %{name}-pr25626.patch
79 Patch23: %{name}-libstdcxx-bitset.patch
80 Patch24: %{name}-unexpected_eof.patch
81 Patch25: %{name}-libjava-multilib.patch
82 Patch26: %{name}-ppc64-m32-m64-multilib-only.patch
83 Patch27: %{name}-enable-java-awt-qt.patch
85 # 128-bit long double support for glibc 2.4
86 Patch30: %{name}-ldbl-default-libstdc++.patch
87 Patch31: %{name}-ldbl-default.patch
89 URL: http://gcc.gnu.org/
90 BuildRequires: autoconf
91 %{?with_tests:BuildRequires: autogen}
92 BuildRequires: automake
93 BuildRequires: binutils >= 2:2.15.94.0.1
95 %{?with_tests:BuildRequires: dejagnu}
96 BuildRequires: fileutils >= 4.0.41
99 BuildRequires: gcc(ada)
100 BuildRequires: gcc-ada
102 BuildRequires: gettext-devel
104 BuildRequires: glibc-devel >= 6:2.3.4-1.5
106 BuildRequires: glibc-devel(i686)
109 BuildRequires: glibc-devel(ppc)
112 BuildRequires: glibc-devel(s390)
115 BuildRequires: glibc-devel(sparc)
118 BuildRequires: glibc-devel >= 2.2.5-20
120 BuildRequires: perl-devel
121 BuildRequires: rpmbuild(macros) >= 1.211
122 BuildRequires: texinfo >= 4.1
123 BuildRequires: zlib-devel
125 BuildRequires: gmp-devel
126 BuildRequires: libmpfr-devel
129 BuildRequires: QtGui-devel >= 4.0.1
130 BuildRequires: alsa-lib-devel
131 BuildRequires: cairo-devel >= 0.5.0
133 BuildRequires: jack-audio-connection-kit-devel
134 BuildRequires: gtk+2-devel >= 2:2.4.0
135 BuildRequires: libart_lgpl-devel >= 2.1
136 BuildRequires: libxslt-devel
137 BuildRequires: pango-devel
138 BuildRequires: pkgconfig
139 BuildRequires: qt4-build
140 BuildRequires: xorg-lib-libXtst-devel
142 # AS_NEEDED directive for dynamic linker
143 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
144 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
145 Requires: binutils >= 2:2.16.90.0.1-0.3
146 Requires: libgcc = %{epoch}:%{version}-%{release}
147 Provides: cpp = %{epoch}:%{version}-%{release}
148 %{?with_ada:Provides: gcc(ada)}
149 %{?with_multilib:Provides: gcc(multilib)}
156 Conflicts: glibc-devel < 2.2.5-20
157 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
159 %define _slibdir /%{_lib}
161 # 32-bit environment on x86-64,ppc64,s390x,sparc64
162 %define _slibdir32 /lib
163 %define _libdir32 /usr/lib
167 A compiler aimed at integrating all the optimizations and features
168 necessary for a high-performance and stable development environment.
170 This package contains the C compiler and some files shared by various
171 parts of the GNU Compiler Collection. In order to use another GCC
172 compiler you will need to install the appropriate subpackage.
175 Un compilador que intenta integrar todas las optimalizaciones y
176 características necesarias para un entorno de desarrollo eficaz y
179 Este paquete contiene el compilador de C y unos ficheros compartidos
180 por varias partes de la colección de compiladores GNU (GCC). Para usar
181 otro compilador de GCC será necesario que instale el subpaquete
185 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
186 wyprodukowania szybkiego i stabilnego kodu wynikowego.
188 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
189 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
190 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
192 %description -l pt_BR
193 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
194 GNU Compiler Collection.
197 Summary: Shared gcc library
198 Summary(es): Biblioteca compartida de gcc
199 Summary(pl): Biblioteka gcc
200 Summary(pt_BR): Biblioteca runtime para o GCC
201 License: GPL with unlimited link permission
205 %description -n libgcc
208 %description -n libgcc -l es
209 Biblioteca compartida de gcc.
211 %description -n libgcc -l pl
212 Biblioteka dynamiczna gcc.
214 %description -n libgcc -l pt_BR
215 Biblioteca runtime para o GCC.
217 %package -n libmudflap
218 Summary: GCC mudflap shared support library
219 Summary(pl): Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
220 License: GPL v2+ with unlimited link permission
223 %description -n libmudflap
224 The libmudflap libraries are used by GCC for instrumenting pointer and
225 array dereferencing operations.
227 %description -n libmudflap -l pl
228 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
229 dereferencji wspa¼ników i tablic.
231 %package -n libmudflap-devel
232 Summary: Development files for GCC mudflap library
233 Summary(pl): Pliki programistyczne biblioteki GCC mudflap
234 License: GPL v2+ with unlimited link permission
235 Group: Development/Libraries
236 Requires: libmudflap = %{epoch}:%{version}-%{release}
238 %description -n libmudflap-devel
239 The libmudflap libraries are used by GCC for instrumenting pointer and
240 array dereferencing operations. This package contains development
243 %description -n libmudflap-devel -l pl
244 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
245 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
248 %package -n libmudflap-static
249 Summary: Static GCC mudflap library
250 Summary(pl): Statyczna biblioteka GCC mudflap
251 License: GPL v2+ with unlimited link permission
252 Group: Development/Libraries
253 Requires: libmudflap-devel = %{epoch}:%{version}-%{release}
255 %description -n libmudflap-static
256 The libmudflap libraries are used by GCC for instrumenting pointer and
257 array dereferencing operations. This package contains static
260 %description -n libmudflap-static -l pl
261 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
262 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
266 Summary: Ada support for gcc
267 Summary(es): Soporte de Ada para gcc
268 Summary(pl): Obs³uga Ady do gcc
269 Group: Development/Languages
270 Requires: %{name} = %{epoch}:%{version}-%{release}
271 Requires: libgnat = %{epoch}:%{version}-%{release}
273 Obsoletes: gnat-devel
276 This package adds experimental support for compiling Ada programs.
278 %description ada -l es
279 Este paquete añade soporte experimental para compilar programas en
282 %description ada -l pl
283 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
287 Summary: Ada standard libraries
288 Summary(es): Bibliotecas estándares de Ada
289 Summary(pl): Biblioteki standardowe dla Ady
290 License: GPL v2+ with linking exception
295 %description -n libgnat
296 This package contains shared libraries needed to run programs written
299 %description -n libgnat -l es
300 Este paquete contiene las bibliotecas compartidas necesarias para
301 ejecutar programas escritos en Ada.
303 %description -n libgnat -l pl
304 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
307 %package -n libgnat-static
308 Summary: Static Ada standard libraries
309 Summary(pl): Statyczne biblioteki standardowe dla Ady
310 License: GPL v2+ with linking exception
311 Group: Development/Libraries
312 Obsoletes: gnat-static
314 %description -n libgnat-static
315 This package contains static libraries for programs written in Ada.
317 %description -n libgnat-static -l pl
318 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
322 Summary: C++ support for gcc
323 Summary(es): Soporte de C++ para gcc
324 Summary(pl): Obs³uga C++ dla gcc
325 Summary(pt_BR): Suporte C++ para o gcc
326 Group: Development/Languages
327 Requires: %{name} = %{epoch}:%{version}-%{release}
332 This package adds C++ support to the GNU Compiler Collection. It
333 includes support for most of the current C++ specification, including
334 templates and exception handling. It does not include a standard C++
335 library, which is available separately.
337 %description c++ -l de
338 Dieses Paket enthält die C++-Unterstützung für den
339 GNU-Compiler-Collection. Es unterstützt die aktuelle
340 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
341 C++-Standard-Library ist nicht enthalten - sie ist getrennt
344 %description c++ -l es
345 Este paquete añade soporte de C++ al GCC (colección de compiladores
346 GNU). Ello incluye el soporte para la mayoría de la especificación
347 actual de C++, incluyendo plantillas y manejo de excepciones. No
348 incluye la biblioteca estándar de C++, la que es disponible separada.
350 %description c++ -l fr
351 Ce package ajoute un support C++ a la collection de compilateurs GNU.
352 Il comprend un support pour la plupart des spécifications actuelles de
353 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
354 une bibliothéque C++ standard, qui est disponible séparément.
356 %description c++ -l pl
357 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
358 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
359 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
361 %description c++ -l pt_BR
362 Este pacote adiciona suporte C++ para o gcc.
364 %description c++ -l tr
365 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
366 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
367 C++ kitaplýðý bu pakette yer almaz.
369 %package -n libstdc++
370 Summary: GNU C++ library
371 Summary(es): Biblioteca C++ de GNU
372 Summary(pl): Biblioteki GNU C++
373 Summary(pt_BR): Biblioteca C++ GNU
374 License: GPL v2+ with free software exception
377 Obsoletes: libstdc++3
379 %description -n libstdc++
380 This is the GNU implementation of the standard C++ libraries, along
381 with additional GNU tools. This package includes the shared libraries
382 necessary to run C++ applications.
384 %description -n libstdc++ -l de
385 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
386 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
387 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
389 %description -n libstdc++ -l es
390 Este es el soporte de las bibliotecas padrón del C++, junto con
391 herramientas GNU adicionales. El paquete incluye las bibliotecas
392 compartidas necesarias para ejecutar aplicaciones C++.
394 %description -n libstdc++ -l fr
395 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
396 des outils GNU supplémentaires. Ce package comprend les librairies
397 partagées nécessaires à l'exécution d'application C++.
399 %description -n libstdc++ -l pl
400 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
401 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
402 uruchomienia aplikacji napisanych w C++.
404 %description -n libstdc++ -l pt_BR
405 Este pacote é uma implementação da biblioteca padrão C++ v3, um
406 subconjunto do padrão ISO 14882.
408 %description -n libstdc++ -l tr
409 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
410 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
412 %package -n libstdc++-devel
413 Summary: Header files and documentation for C++ development
414 Summary(de): Header-Dateien zur Entwicklung mit C++
415 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
416 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
417 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
418 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
419 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
420 License: GPL v2+ with free software exception
421 Group: Development/Libraries
422 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
423 Requires: libstdc++ = %{epoch}:%{version}-%{release}
424 Requires: glibc-devel
425 Obsoletes: libg++-devel
426 Obsoletes: libstdc++3-devel
428 %description -n libstdc++-devel
429 This is the GNU implementation of the standard C++ libraries. This
430 package includes the header files needed for C++ development and
431 library documentation.
433 %description -n libstdc++-devel -l es
434 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
435 paquete incluye los archivos de inclusión y bibliotecas necesarios
436 para desarrollo de programas en lenguaje C++.
438 %description -n libstdc++-devel -l pl
439 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
440 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
441 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
443 %description -n libstdc++-devel -l pt_BR
444 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
445 para desenvolvimento de programas C++.
447 %package -n libstdc++-static
448 Summary: Static C++ standard library
449 Summary(es): Biblioteca estándar estática de C++
450 Summary(pl): Statyczna biblioteka standardowa C++
451 License: GPL v2+ with free software exception
452 Group: Development/Libraries
453 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
455 %description -n libstdc++-static
456 Static C++ standard library.
458 %description -n libstdc++-static -l es
459 Biblioteca estándar estática de C++.
461 %description -n libstdc++-static -l pl
462 Statyczna biblioteka standardowa C++.
465 Summary: Fortran 95 support for gcc
466 Summary(es): Soporte de Fortran 95 para gcc
467 Summary(pl): Obs³uga Fortranu 95 dla gcc
468 Summary(pt_BR): Suporte Fortran 95 para o GCC
469 Group: Development/Languages/Fortran
470 Requires: libgfortran = %{epoch}:%{version}-%{release}
471 Provides: gcc-g77 = %{epoch}:%{version}-%{release}
476 This package adds support for compiling Fortran 95 programs with the
479 %description fortran -l es
480 Este paquete añade soporte para compilar programas escritos en Fortran
481 95 con el compilador GNU.
483 %description fortran -l pl
484 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
485 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
487 %description fortran -l pt_BR
488 Suporte Fortran 95 para o GCC.
490 %package -n libgfortran
491 Summary: Fortran 95 Libraries
492 Summary(es): Bibliotecas de Fortran 95
493 Summary(pl): Biblioteki Fortranu 95
498 %description -n libgfortran
499 Fortran 95 Libraries.
501 %description -n libgfortran -l es
502 Bibliotecas de Fortran 95.
504 %description -n libgfortran -l pl
505 Biblioteki Fortranu 95.
507 %package -n libgfortran-static
508 Summary: Static Fortran 95 Libraries
509 Summary(es): Bibliotecas estáticas de Fortran 95
510 Summary(pl): Statyczne Biblioteki Fortranu 95
512 Group: Development/Libraries
513 Requires: libgfortran = %{epoch}:%{version}-%{release}
514 Obsoletes: libg2c-static
516 %description -n libgfortran-static
517 Static Fortran 95 Libraries.
519 %description -n libgfortran-static -l es
520 Bibliotecas estáticas de Fortran 95.
522 %description -n libgfortran-static -l pl
523 Statyczne biblioteki Fortranu 95.
526 Summary: Java support for gcc
527 Summary(es): Soporte de Java para gcc
528 Summary(pl): Obs³uga Javy dla gcc
529 Group: Development/Languages/Java
530 Requires: %{name} = %{epoch}:%{version}-%{release}
531 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
532 Provides: gcj = %{epoch}:%{version}-%{release}
533 Provides: gcc-java-tools
535 Obsoletes: gcc-java-tools
538 This package adds experimental support for compiling Java(TM) programs
539 and bytecode into native code. To use this you will also need the
542 %description java -l es
543 Este paquete añade soporte experimental para compilar programas
544 Java(tm) y su bytecode en código nativo. Para usarlo también va a
545 necesitar el paquete libgcj.
547 %description java -l pl
548 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
549 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
550 dodatkowo pakiet libgcj.
553 Summary: Java Class Libraries
554 Summary(es): Bibliotecas de clases de Java
555 Summary(pl): Biblioteki Klas Javy
556 License: GPL with limited linking exception
560 %description -n libgcj
561 Java Class Libraries.
563 %description -n libgcj -l es
564 Bibliotecas de clases de Java.
566 %description -n libgcj -l pl
567 Biblioteki Klas Javy.
569 %package -n libgcj-devel
570 Summary: Development files for Java Class Libraries
571 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
572 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
573 License: GPL with limited linking exception
574 Group: Development/Libraries
575 Requires: libgcj = %{epoch}:%{version}-%{release}
577 Obsoletes: libgcj3-devel
579 %description -n libgcj-devel
580 Development files for Java Class Libraries.
582 %description -n libgcj-devel -l es
583 Ficheros de desarrollo para las bibliotecas de clases de Java.
585 %description -n libgcj-devel -l pl
586 Pliki nag³ówkowe dla Bibliotek Klas Javy.
588 %package -n libgcj-static
589 Summary: Static Java Class Libraries
590 Summary(es): Bibliotecas estáticas de clases de Java
591 Summary(pl): Statyczne Biblioteki Klas Javy
592 License: GPL with limited linking exception
593 Group: Development/Libraries
594 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
595 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
597 %description -n libgcj-static
598 Static Java Class Libraries.
600 %description -n libgcj-static -l es
601 Bibliotecas estáticas de clases de Java.
603 %description -n libgcj-static -l pl
604 Statyczne Biblioteki Klas Javy.
607 Summary: Foreign Function Interface library
608 Summary(es): Biblioteca de interfaz de funciones ajenas
609 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
613 %description -n libffi
614 The libffi library provides a portable, high level programming
615 interface to various calling conventions. This allows a programmer to
616 call any function specified by a call interface description at run
619 %description -n libffi -l es
620 La biblioteca libffi provee una interfaz portable de programación de
621 alto nivel para varias convenciones de llamada. Ello permite que un
622 programador llame una función cualquiera especificada por una
623 descripción de interfaz de llamada en el tiempo de ejecución.
625 %description -n libffi -l pl
626 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
627 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
628 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
631 %package -n libffi-devel
632 Summary: Development files for Foreign Function Interface library
633 Summary(es): Ficheros de desarrollo para libffi
634 Summary(pl): Pliki nag³ówkowe dla libffi
636 Group: Development/Libraries
637 Requires: libffi = %{epoch}:%{version}-%{release}
639 %description -n libffi-devel
640 Development files for Foreign Function Interface library.
642 %description -n libffi-devel -l es
643 Ficheros de desarrollo para libffi.
645 %description -n libffi-devel -l pl
646 Pliki nag³ówkowe dla libffi.
648 %package -n libffi-static
649 Summary: Static Foreign Function Interface library
650 Summary(es): Biblioteca libffi estática
651 Summary(pl): Statyczna biblioteka libffi
653 Group: Development/Libraries
654 Requires: libffi-devel = %{epoch}:%{version}-%{release}
656 %description -n libffi-static
657 Static Foreign Function Interface library.
659 %description -n libffi-static -l es
660 Biblioteca libffi estática.
662 %description -n libffi-static -l pl
663 Statyczna biblioteka libffi.
666 Summary: Objective C support for gcc
667 Summary(de): Objektive C-Unterstützung für gcc
668 Summary(es): Soporte de Objective C para gcc
669 Summary(fr): Gestion d'Objective C pour gcc
670 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
671 Summary(tr): gcc için Objective C desteði
672 Group: Development/Languages
673 Requires: %{name} = %{epoch}:%{version}-%{release}
674 Requires: libobjc = %{epoch}:%{version}-%{release}
679 This package adds Objective C support to the GNU Compiler Collection.
680 Objective C is a object oriented derivative of the C language, mainly
681 used on systems running NeXTSTEP. This package does not include the
682 standard objective C object library.
684 %description objc -l de
685 Dieses Paket ergänzt den GNU-Compiler-Collection durch
686 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
687 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
688 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
690 %description objc -l es
691 Este paquete añade soporte de Objective C al GCC (colección de
692 compiladores GNU). Objective C es un lenguaje orientado a objetos
693 derivado de C, principalmente usado en sistemas que funcionan bajo
694 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
697 %description objc -l fr
698 Ce package ajoute un support Objective C a la collection de
699 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
700 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
701 package n'inclue pas la bibliothéque Objective C standard.
703 %description objc -l pl
704 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
705 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
706 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
707 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
709 %description objc -l tr
710 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
711 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
712 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
713 kitaplýðý bu pakette yer almaz.
716 Summary: Objective C++ support for gcc
717 Summary(pl): Obs³uga jêzyka Objective C++ dla gcc
718 Group: Development/Languages
719 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
720 Requires: %{name}-objc = %{epoch}:%{version}-%{release}
723 This package adds Objective C++ support to the GNU Compiler
726 %description objc++ -l pl
727 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
728 kompilatorów GNU Compiler Collection.
731 Summary: Objective C Libraries
732 Summary(es): Bibliotecas de Objective C
733 Summary(pl): Biblioteki Obiektowego C
734 License: GPL v2+ with linking exception
738 %description -n libobjc
739 Objective C Libraries.
741 %description -n libobjc -l es
742 Bibliotecas de Objective C.
744 %description -n libobjc -l pl
745 Biblioteki Obiektowego C.
747 %package -n libobjc-static
748 Summary: Static Objective C Libraries
749 Summary(es): Bibliotecas estáticas de Objective C
750 Summary(pl): Statyczne Biblioteki Obiektowego C
751 License: GPL v2+ with linking exception
752 Group: Development/Libraries
753 Requires: libobjc = %{epoch}:%{version}-%{release}
755 %description -n libobjc-static
756 Static Objective C Libraries.
758 %description -n libobjc-static -l es
759 Bibliotecas estáticas de Objective C.
761 %description -n libobjc-static -l pl
762 Statyczne biblioteki Obiektowego C.
765 #setup -q -n gcc-%{version}
766 %setup -q -n gcc-%{version}-%{_snap}
767 #setup -q -n gcc-4_1-branch
776 # -fvisbility fixes...
787 %ifarch %{ix86} %{x8664}
807 # because we distribute modified version of gcc...
808 sed -i 's:#define VERSUFFIX.*:#define VERSUFFIX " (PLD-Linux)":' gcc/version.c
809 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
811 mv ChangeLog ChangeLog.general
822 cp -f /usr/share/automake/config.sub .
824 rm -rf builddir && install -d builddir && cd builddir
826 CFLAGS="%{rpmcflags}" \
827 CXXFLAGS="%{rpmcxxflags}" \
830 --prefix=%{_prefix} \
831 --with-local-prefix=%{_prefix}/local \
832 --libdir=%{_libdir} \
833 --libexecdir=%{_libdir} \
834 --infodir=%{_infodir} \
835 --mandir=%{_mandir} \
836 --x-libraries=%{_libdir} \
838 --enable-threads=posix \
839 --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
842 --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
847 --with-demangler-in-ld \
849 --with-slibdir=%{_slibdir} \
851 --without-system-libunwind \
853 --with-system-libunwind \
855 %{!?with_java:--without-x} \
856 %{?with_fortran:--enable-cmath} \
857 --with-long-double-128 \
862 --with-gxx-include-dir=%{_includedir}/c++/%{version} \
863 --disable-libstdcxx-pch \
864 --enable-__cxa_atexit \
865 --enable-libstdcxx-allocator=mt \
868 --with-qt4dir=%{_libdir}/qt4 \
869 --disable-libjava-multilib \
871 --enable-libgcj-multifile \
872 --enable-libgcj-database \
874 --enable-java-awt=qt,gtk,xlib \
884 %{__make} -C builddir \
885 %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
886 GCJFLAGS="%{rpmcflags}" \
887 BOOT_CFLAGS="%{rpmcflags}" \
888 STAGE1_CFLAGS="%{rpmcflags} -O0" \
889 GNATLIBCFLAGS="%{rpmcflags}" \
890 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
894 %{?with_tests:%{__make} -k -C builddir check 2>&1 ||:}
897 rm -rf $RPM_BUILD_ROOT
898 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
902 %{__make} -j1 install \
904 infodir=%{_infodir} \
905 DESTDIR=$RPM_BUILD_ROOT
907 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
910 ln -sf %{_bindir}/sparc64-pld-linux-gcc \
911 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
914 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
915 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
916 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
918 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
919 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
920 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
922 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
923 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
924 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
928 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
929 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
933 # move ada shared libraries to proper place...
934 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
935 $RPM_BUILD_ROOT%{_libdir}
936 # check if symlink to be made is valid
937 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so.1
938 ln -sf libgnat-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so
939 ln -sf libgnarl-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.1.so
940 ln -sf libgnat-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
941 ln -sf libgnarl-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
948 cp -f libjava/READ* java-doc
949 cp -f fastjar/README java-doc/README.fastjar
950 cp -f libffi/README java-doc/README.libffi
951 cp -f libffi/LICENSE java-doc/LICENSE.libffi
952 ln -sf %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
953 rm -f $RPM_BUILD_ROOT%{_libdir}/classpath/libgjs*.la
956 cp -f libobjc/README gcc/objc/README.libobjc
959 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
960 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
961 for f in libmudflap.la libmudflapth.la libssp.la \
962 %{?with_cxx:libstdc++.la libsupc++.la} \
963 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
964 %{?with_java:libgcj.la libffi.la} \
965 %{?with_objc:libobjc.la};
967 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
968 mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
971 for f in libmudflap.la libmudflapth.la libssp.la \
972 %{?with_cxx:libstdc++.la libsupc++.la} \
973 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
974 %{?with_objc:libobjc.la};
976 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
977 mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
981 # include/ contains install-tools/include/* and headers that were fixed up
982 # by fixincludes, we don't want former
983 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
986 # we have to save these however
987 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
988 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
989 mv $gccdir/include/syslimits.h $gccdir/tmp
990 rm -rf $gccdir/include
991 mv $gccdir/tmp $gccdir/include
992 cp $gccdir/install-tools/include/*.h $gccdir/include
993 # but we don't want anything more from install-tools
994 rm -rf $gccdir/install-tools
998 cat cpplib.lang >> gcc.lang
1001 %find_lang libstdc\+\+
1002 install libstdc++-v3/include/stdc++.h $RPM_BUILD_ROOT%{_includedir}
1005 # cvs snap doesn't contain (release does) below files,
1006 # so let's create dummy entries to satisfy %%files.
1007 [ ! -f NEWS ] && touch NEWS
1008 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
1009 [ ! -f libgfortran/README ] && touch libgfortran/README
1012 rm -rf $RPM_BUILD_ROOT
1015 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1018 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1021 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1024 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1027 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1030 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1033 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1036 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1038 %post -p /sbin/ldconfig -n libgcc
1039 %postun -p /sbin/ldconfig -n libgcc
1040 %post -p /sbin/ldconfig -n libmudflap
1041 %postun -p /sbin/ldconfig -n libmudflap
1042 %post -p /sbin/ldconfig -n libgnat
1043 %postun -p /sbin/ldconfig -n libgnat
1044 %post -p /sbin/ldconfig -n libstdc++
1045 %postun -p /sbin/ldconfig -n libstdc++
1046 %post -p /sbin/ldconfig -n libgfortran
1047 %postun -p /sbin/ldconfig -n libgfortran
1048 %post -p /sbin/ldconfig -n libgcj
1049 %postun -p /sbin/ldconfig -n libgcj
1050 %post -p /sbin/ldconfig -n libffi
1051 %postun -p /sbin/ldconfig -n libffi
1052 %post -p /sbin/ldconfig -n libobjc
1053 %postun -p /sbin/ldconfig -n libobjc
1056 %defattr(644,root,root,755)
1057 %doc ChangeLog.general MAINTAINERS NEWS
1058 # bugs.html faq.html
1059 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1061 %dir %{_libdir}/gcc/*
1062 %dir %{_libdir}/gcc/*/*
1063 %dir %{_libdir}/gcc/*/*/include
1065 %attr(755,root,root) %{_bindir}/*-gcc*
1066 %attr(755,root,root) %{_bindir}/gcc
1067 %attr(755,root,root) %{_bindir}/gccbug
1068 %attr(755,root,root) %{_bindir}/gcov
1069 %attr(755,root,root) %{_bindir}/cc
1070 %attr(755,root,root) %{_bindir}/cpp
1074 %{_mandir}/man1/cc.1*
1075 %{_mandir}/man1/cpp.1*
1076 %{_mandir}/man1/gcc.1*
1077 %{_mandir}/man1/gcov.1*
1082 %attr(755,root,root) /lib/cpp
1084 %attr(755,root,root) %{_slibdir}/lib*.so
1085 %{_libdir}/libssp.la
1086 %attr(755,root,root) %{_libdir}/libssp.a
1087 %attr(755,root,root) %{_libdir}/libssp.so
1088 %{_libdir}/libssp_nonshared.a
1089 %{_libdir}/libssp_nonshared.la
1090 %if %{with multilib}
1091 %attr(755,root,root) %{_slibdir32}/lib*.so
1092 %dir %{_libdir}/gcc/*/*/32
1093 %{_libdir}/gcc/*/*/32/libgcov.a
1094 %{_libdir}/gcc/*/*/32/libgcc.a
1095 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1096 %{_libdir32}/libssp.la
1097 %attr(755,root,root) %{_libdir32}/libssp.a
1098 %attr(755,root,root) %{_libdir32}/libssp.so
1099 %{_libdir32}/libssp_nonshared.a
1100 %{_libdir32}/libssp_nonshared.la
1102 %{_libdir}/gcc/*/*/libgcov.a
1103 %{_libdir}/gcc/*/*/libgcc.a
1104 %{_libdir}/gcc/*/*/libgcc_eh.a
1105 %{_libdir}/gcc/*/*/specs
1106 %if %{with multilib}
1107 %{_libdir}/gcc/*/*/32/crt*.o
1109 %{_libdir}/gcc/*/*/crt*.o
1110 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1111 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1113 %{_libdir}/gcc/*/*/include/*.h
1116 %defattr(644,root,root,755)
1117 %if %{with multilib}
1118 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1120 %attr(755,root,root) %{_slibdir}/lib*.so.*
1122 %files -n libmudflap
1123 %defattr(644,root,root,755)
1124 %if %{with multilib}
1125 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1127 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1129 %files -n libmudflap-devel
1130 %defattr(644,root,root,755)
1131 %{_includedir}/mf-runtime.h
1132 %if %{with multilib}
1133 %{_libdir32}/libmudflap*.la
1134 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1136 %{_libdir}/libmudflap*.la
1137 %attr(755,root,root) %{_libdir}/libmudflap*.so
1139 %files -n libmudflap-static
1140 %defattr(644,root,root,755)
1141 %if %{with multilib}
1142 %{_libdir32}/libmudflap*.a
1144 %{_libdir}/libmudflap*.a
1148 %defattr(644,root,root,755)
1149 %doc gcc/ada/ChangeLog
1150 %attr(755,root,root) %{_bindir}/gnat*
1151 %attr(755,root,root) %{_bindir}/gpr*
1152 %attr(755,root,root) %{_libdir}/libgnarl*.so
1153 %attr(755,root,root) %{_libdir}/libgnat*.so
1154 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1155 %{_libdir}/gcc/*/*/adainclude
1156 %dir %{_libdir}/gcc/*/*/adalib
1157 %{_libdir}/gcc/*/*/adalib/*.ali
1158 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1159 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1161 %{_libdir}/gcc/*/*/adalib/libgmem.a
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1168 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1170 %files -n libgnat-static
1171 %defattr(644,root,root,755)
1172 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1173 %{_libdir}/gcc/*/*/adalib/libgnat.a
1178 %defattr(644,root,root,755)
1179 %doc gcc/cp/{ChangeLog,NEWS}
1180 %attr(755,root,root) %{_bindir}/g++
1181 %attr(755,root,root) %{_bindir}/*-g++
1182 %attr(755,root,root) %{_bindir}/c++
1183 %attr(755,root,root) %{_bindir}/*-c++
1184 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1185 %if %{with multilib}
1186 %{_libdir32}/libsupc++.a
1187 %{_libdir32}/libsupc++.la
1189 %{_libdir}/libsupc++.a
1190 %{_libdir}/libsupc++.la
1191 %{_mandir}/man1/g++.1*
1193 %files -n libstdc++ -f libstdc++.lang
1194 %defattr(644,root,root,755)
1195 %doc libstdc++-v3/{ChangeLog,README}
1196 %if %{with multilib}
1197 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1199 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1201 %files -n libstdc++-devel
1202 %defattr(644,root,root,755)
1203 %doc libstdc++-v3/docs/html
1204 %dir %{_includedir}/c++
1205 %{_includedir}/stdc++.h
1206 %{_includedir}/c++/%{version}
1208 %exclude %{_includedir}/c++/%{version}/java
1209 %exclude %{_includedir}/c++/%{version}/javax
1210 %exclude %{_includedir}/c++/%{version}/gcj
1211 %exclude %{_includedir}/c++/%{version}/gnu
1213 %if %{with multilib}
1214 %{_libdir32}/libstdc++.la
1215 %attr(755,root,root) %{_libdir32}/libstdc++.so
1217 %{_libdir}/libstdc++.la
1218 %attr(755,root,root) %{_libdir}/libstdc++.so
1220 %files -n libstdc++-static
1221 %defattr(644,root,root,755)
1222 %if %{with multilib}
1223 %{_libdir32}/libstdc++.a
1225 %{_libdir}/libstdc++.a
1230 %defattr(644,root,root,755)
1231 %doc gcc/fortran/ChangeLog
1232 %attr(755,root,root) %{_bindir}/g95
1233 %attr(755,root,root) %{_bindir}/gfortran
1234 %attr(755,root,root) %{_bindir}/*-gfortran
1235 %{_infodir}/gfortran*
1236 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1237 %if %{with multilib}
1238 %{_libdir32}/libgfortranbegin.a
1239 %{_libdir32}/libgfortranbegin.la
1240 %{_libdir32}/libgfortran.la
1241 %attr(755,root,root) %{_libdir32}/libgfortran.so
1243 %{_libdir}/libgfortranbegin.a
1244 %{_libdir}/libgfortranbegin.la
1245 %{_libdir}/libgfortran.la
1246 %attr(755,root,root) %{_libdir}/libgfortran.so
1247 %{_mandir}/man1/g95.1*
1248 %{_mandir}/man1/gfortran.1*
1250 %files -n libgfortran
1251 %defattr(644,root,root,755)
1252 %doc libgfortran/{AUTHORS,README,ChangeLog}
1253 %if %{with multilib}
1254 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1256 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1258 %files -n libgfortran-static
1259 %defattr(644,root,root,755)
1260 %if %{with multilib}
1261 %{_libdir32}/libgfortran.a
1263 %{_libdir}/libgfortran.a
1268 %defattr(644,root,root,755)
1269 %doc gcc/java/ChangeLog java-doc/*
1270 %attr(755,root,root) %{_bindir}/fastjar
1271 %attr(755,root,root) %{_bindir}/gcj*
1272 %attr(755,root,root) %{_bindir}/gjnih
1273 %attr(755,root,root) %{_bindir}/grepjar
1274 %attr(755,root,root) %{_bindir}/grmi*
1275 %attr(755,root,root) %{_bindir}/jcf-dump
1276 %attr(755,root,root) %{_bindir}/jv-*
1277 %attr(755,root,root) %{_bindir}/*-gcj*
1278 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1279 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1280 %{_infodir}/fastjar*
1282 %{_mandir}/man1/fastjar*
1283 %{_mandir}/man1/gcj*
1284 %{_mandir}/man1/gjnih*
1285 %{_mandir}/man1/grepjar*
1286 %{_mandir}/man1/grmi*
1287 %{_mandir}/man1/jcf-*
1288 %{_mandir}/man1/jv-*
1291 %defattr(644,root,root,755)
1292 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1293 %attr(755,root,root) %{_bindir}/addr2name.awk
1294 %attr(755,root,root) %{_bindir}/gij
1295 %attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
1296 # R: lib-gnu-java-awt-peer-gtk/qt (see below)
1297 %attr(755,root,root) %{_libdir}/libgcjawt.so.*.*.*
1298 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1300 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*
1302 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so.*.*.*
1304 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-qt.so.7.0.0
1305 %dir %{_libdir}/classpath
1307 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so*
1309 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so*
1310 %dir %{_libdir}/gcj-%{version}
1311 %{_libdir}/gcj-%{version}/classmap.db
1312 %{_libdir}/logging.properties
1313 %{_javadir}/libgcj*.jar
1314 %{_mandir}/man1/gij*
1316 %files -n libgcj-devel
1317 %defattr(644,root,root,755)
1318 %{_includedir}/c++/%{version}/java
1319 %{_includedir}/c++/%{version}/javax
1320 %{_includedir}/c++/%{version}/gcj
1321 %{_includedir}/c++/%{version}/gnu
1322 %{_libdir}/gcc/*/*/include/gcj
1323 %{_libdir}/gcc/*/*/include/jawt.h
1324 %{_libdir}/gcc/*/*/include/jawt_md.h
1325 %{_libdir}/gcc/*/*/include/jni.h
1326 %{_libdir}/gcc/*/*/include/jvmpi.h
1327 %dir %{_libdir}/security
1328 %{_libdir}/security/*
1329 %{_libdir}/libgcj.spec
1330 %attr(755,root,root) %{_libdir}/libgcj.so
1331 %{_libdir}/libgcj.la
1332 %attr(755,root,root) %{_libdir}/libgcjawt.so
1333 %{_libdir}/libgcjawt.la
1334 %attr(755,root,root) %{_libdir}/libgij.so
1335 %{_libdir}/libgij.la
1336 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
1337 %{_libdir}/lib-gnu-awt-xlib.la
1338 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so
1339 %{_libdir}/lib-gnu-java-awt-peer-gtk.la
1340 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-qt.so
1341 %{_libdir}/lib-gnu-java-awt-peer-qt.la
1342 %{_pkgconfigdir}/libgcj.pc
1344 %files -n libgcj-static
1345 %defattr(644,root,root,755)
1347 %{_libdir}/libgcjawt.a
1349 %{_libdir}/lib-gnu-awt-xlib.a
1350 %{_libdir}/lib-gnu-java-awt-peer-gtk.a
1351 %{_libdir}/lib-gnu-java-awt-peer-qt.a
1354 %defattr(644,root,root,755)
1355 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1356 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1358 %files -n libffi-devel
1359 %defattr(644,root,root,755)
1360 %{_libdir}/gcc/*/*/include/ffitarget.h
1361 %attr(755,root,root) %{_libdir}/libffi.so
1362 %{_libdir}/libffi.la
1363 %{_includedir}/ffi.h
1365 %files -n libffi-static
1366 %defattr(644,root,root,755)
1372 %defattr(644,root,root,755)
1373 %doc gcc/objc/README
1374 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1375 %if %{with multilib}
1376 %attr(755,root,root) %{_libdir32}/libobjc.so
1377 %{_libdir32}/libobjc.la
1379 %attr(755,root,root) %{_libdir}/libobjc.so
1380 %{_libdir}/libobjc.la
1381 %{_libdir}/gcc/*/*/include/objc
1384 %defattr(644,root,root,755)
1385 %doc libobjc/{ChangeLog,README*}
1386 %if %{with multilib}
1387 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1389 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1391 %files -n libobjc-static
1392 %defattr(644,root,root,755)
1393 %if %{with multilib}
1394 %{_libdir32}/libobjc.a
1396 %{_libdir}/libobjc.a
1401 %defattr(644,root,root,755)
1402 %doc gcc/objcp/ChangeLog
1403 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus