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 20051104r106487
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: 80313bcff75d44013b4f21ee18414515
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
66 Patch13: %{name}-pr22533.patch
67 Patch14: %{name}-x87-mmx-switch.patch
68 Patch15: %{name}-x87-mmx-eh.patch
69 Patch16: %{name}-pr23948.patch
70 Patch17: %{name}-pr19505.patch
71 Patch18: %{name}-pr24419.patch
72 URL: http://gcc.gnu.org/
73 BuildRequires: autoconf
74 %{?with_tests:BuildRequires: autogen}
75 BuildRequires: automake
76 BuildRequires: binutils >= 2:2.15.94.0.1
78 %{?with_java:BuildRequires: cairo-devel >= 0.5.0}
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 >= %{!?with_multilib:2.2.5-20}%{?with_multilib:6:2.3.4-1.5}
89 BuildRequires: gmp-devel
90 BuildRequires: libmpfr-devel
92 %{?with_java:BuildRequires: pango-devel}
93 BuildRequires: perl-devel
94 %{?with_java:BuildRequires: pkgconfig}
95 BuildRequires: rpmbuild(macros) >= 1.211
96 BuildRequires: texinfo >= 4.1
97 BuildRequires: zlib-devel
98 # AS_NEEDED directive for dynamic linker
99 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
100 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
101 Requires: binutils >= 2:2.16.90.0.1-0.3
102 Requires: libgcc = %{epoch}:%{version}-%{release}
103 Provides: cpp = %{epoch}:%{version}-%{release}
104 %{?with_ada:Provides: gcc(ada)}
105 %{?with_multilib:Provides: gcc(multilib)}
112 Conflicts: glibc-devel < 2.2.5-20
113 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
115 %define _slibdir /%{_lib}
117 # 32-bit environment on x86-64,ppc64,s390x,sparc64
118 %define _slibdir32 /lib
119 %define _libdir32 /usr/lib
123 A compiler aimed at integrating all the optimizations and features
124 necessary for a high-performance and stable development environment.
126 This package contains the C compiler and some files shared by various
127 parts of the GNU Compiler Collection. In order to use another GCC
128 compiler you will need to install the appropriate subpackage.
131 Un compilador que intenta integrar todas las optimalizaciones y
132 características necesarias para un entorno de desarrollo eficaz y
135 Este paquete contiene el compilador de C y unos ficheros compartidos
136 por varias partes de la colección de compiladores GNU (GCC). Para usar
137 otro compilador de GCC será necesario que instale el subpaquete
141 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
142 wyprodukowania szybkiego i stabilnego kodu wynikowego.
144 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
145 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
146 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
148 %description -l pt_BR
149 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
150 GNU Compiler Collection.
153 Summary: Shared gcc library
154 Summary(es): Biblioteca compartida de gcc
155 Summary(pl): Biblioteka gcc
156 Summary(pt_BR): Biblioteca runtime para o GCC
157 License: GPL with unlimited link permission
161 %description -n libgcc
164 %description -n libgcc -l es
165 Biblioteca compartida de gcc.
167 %description -n libgcc -l pl
168 Biblioteka dynamiczna gcc.
170 %description -n libgcc -l pt_BR
171 Biblioteca runtime para o GCC.
173 %package -n libmudflap
174 Summary: GCC mudflap shared support library
175 Summary(pl): Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
176 License: GPL v2+ with unlimited link permission
179 %description -n libmudflap
180 The libmudflap libraries are used by GCC for instrumenting pointer and
181 array dereferencing operations.
183 %description -n libmudflap -l pl
184 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
185 dereferencji wspa¼ników i tablic.
187 %package -n libmudflap-devel
188 Summary: Development files for GCC mudflap library
189 Summary(pl): Pliki programistyczne biblioteki GCC mudflap
190 License: GPL v2+ with unlimited link permission
191 Group: Development/Libraries
192 Requires: libmudflap = %{epoch}:%{version}-%{release}
194 %description -n libmudflap-devel
195 The libmudflap libraries are used by GCC for instrumenting pointer and
196 array dereferencing operations. This package contains development
199 %description -n libmudflap-devel -l pl
200 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
201 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
204 %package -n libmudflap-static
205 Summary: Static GCC mudflap library
206 Summary(pl): Statyczna biblioteka GCC mudflap
207 License: GPL v2+ with unlimited link permission
208 Group: Development/Libraries
209 Requires: libmudflap-devel = %{epoch}:%{version}-%{release}
211 %description -n libmudflap-static
212 The libmudflap libraries are used by GCC for instrumenting pointer and
213 array dereferencing operations. This package contains static
216 %description -n libmudflap-static -l pl
217 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
218 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
222 Summary: Ada support for gcc
223 Summary(es): Soporte de Ada para gcc
224 Summary(pl): Obs³uga Ady do gcc
225 Group: Development/Languages
226 Requires: %{name} = %{epoch}:%{version}-%{release}
227 Requires: libgnat = %{epoch}:%{version}-%{release}
229 Obsoletes: gnat-devel
232 This package adds experimental support for compiling Ada programs.
234 %description ada -l es
235 Este paquete añade soporte experimental para compilar programas en
238 %description ada -l pl
239 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
243 Summary: Ada standard libraries
244 Summary(es): Bibliotecas estándares de Ada
245 Summary(pl): Biblioteki standardowe dla Ady
246 License: GPL v2+ with linking exception
251 %description -n libgnat
252 This package contains shared libraries needed to run programs written
255 %description -n libgnat -l es
256 Este paquete contiene las bibliotecas compartidas necesarias para
257 ejecutar programas escritos en Ada.
259 %description -n libgnat -l pl
260 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
263 %package -n libgnat-static
264 Summary: Static Ada standard libraries
265 Summary(pl): Statyczne biblioteki standardowe dla Ady
266 License: GPL v2+ with linking exception
267 Group: Development/Libraries
268 Obsoletes: gnat-static
270 %description -n libgnat-static
271 This package contains static libraries for programs written in Ada.
273 %description -n libgnat-static -l pl
274 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
278 Summary: C++ support for gcc
279 Summary(es): Soporte de C++ para gcc
280 Summary(pl): Obs³uga C++ dla gcc
281 Summary(pt_BR): Suporte C++ para o gcc
282 Group: Development/Languages
283 Requires: %{name} = %{epoch}:%{version}-%{release}
288 This package adds C++ support to the GNU Compiler Collection. It
289 includes support for most of the current C++ specification, including
290 templates and exception handling. It does not include a standard C++
291 library, which is available separately.
293 %description c++ -l de
294 Dieses Paket enthält die C++-Unterstützung für den
295 GNU-Compiler-Collection. Es unterstützt die aktuelle
296 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
297 C++-Standard-Library ist nicht enthalten - sie ist getrennt
300 %description c++ -l es
301 Este paquete añade soporte de C++ al GCC (colección de compiladores
302 GNU). Ello incluye el soporte para la mayoría de la especificación
303 actual de C++, incluyendo plantillas y manejo de excepciones. No
304 incluye la biblioteca estándar de C++, la que es disponible separada.
306 %description c++ -l fr
307 Ce package ajoute un support C++ a la collection de compilateurs GNU.
308 Il comprend un support pour la plupart des spécifications actuelles de
309 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
310 une bibliothéque C++ standard, qui est disponible séparément.
312 %description c++ -l pl
313 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
314 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
315 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
317 %description c++ -l pt_BR
318 Este pacote adiciona suporte C++ para o gcc.
320 %description c++ -l tr
321 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
322 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
323 C++ kitaplýðý bu pakette yer almaz.
325 %package -n libstdc++
326 Summary: GNU C++ library
327 Summary(es): Biblioteca C++ de GNU
328 Summary(pl): Biblioteki GNU C++
329 Summary(pt_BR): Biblioteca C++ GNU
330 License: GPL v2+ with free software exception
333 Obsoletes: libstdc++3
335 %description -n libstdc++
336 This is the GNU implementation of the standard C++ libraries, along
337 with additional GNU tools. This package includes the shared libraries
338 necessary to run C++ applications.
340 %description -n libstdc++ -l de
341 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
342 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
343 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
345 %description -n libstdc++ -l es
346 Este es el soporte de las bibliotecas padrón del C++, junto con
347 herramientas GNU adicionales. El paquete incluye las bibliotecas
348 compartidas necesarias para ejecutar aplicaciones C++.
350 %description -n libstdc++ -l fr
351 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
352 des outils GNU supplémentaires. Ce package comprend les librairies
353 partagées nécessaires à l'exécution d'application C++.
355 %description -n libstdc++ -l pl
356 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
357 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
358 uruchomienia aplikacji napisanych w C++.
360 %description -n libstdc++ -l pt_BR
361 Este pacote é uma implementação da biblioteca padrão C++ v3, um
362 subconjunto do padrão ISO 14882.
364 %description -n libstdc++ -l tr
365 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
366 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
368 %package -n libstdc++-devel
369 Summary: Header files and documentation for C++ development
370 Summary(de): Header-Dateien zur Entwicklung mit C++
371 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
372 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
373 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
374 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
375 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
376 License: GPL v2+ with free software exception
377 Group: Development/Libraries
378 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
379 Requires: libstdc++ = %{epoch}:%{version}-%{release}
380 Requires: glibc-devel
381 Obsoletes: libg++-devel
382 Obsoletes: libstdc++3-devel
384 %description -n libstdc++-devel
385 This is the GNU implementation of the standard C++ libraries. This
386 package includes the header files needed for C++ development and
387 library documentation.
389 %description -n libstdc++-devel -l es
390 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
391 paquete incluye los archivos de inclusión y bibliotecas necesarios
392 para desarrollo de programas en lenguaje C++.
394 %description -n libstdc++-devel -l pl
395 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
396 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
397 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
399 %description -n libstdc++-devel -l pt_BR
400 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
401 para desenvolvimento de programas C++.
403 %package -n libstdc++-static
404 Summary: Static C++ standard library
405 Summary(es): Biblioteca estándar estática de C++
406 Summary(pl): Statyczna biblioteka standardowa C++
407 License: GPL v2+ with free software exception
408 Group: Development/Libraries
409 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
411 %description -n libstdc++-static
412 Static C++ standard library.
414 %description -n libstdc++-static -l es
415 Biblioteca estándar estática de C++.
417 %description -n libstdc++-static -l pl
418 Statyczna biblioteka standardowa C++.
421 Summary: Fortran 95 support for gcc
422 Summary(es): Soporte de Fortran 95 para gcc
423 Summary(pl): Obs³uga Fortranu 95 dla gcc
424 Summary(pt_BR): Suporte Fortran 95 para o GCC
425 Group: Development/Languages/Fortran
426 Requires: libgfortran = %{epoch}:%{version}-%{release}
427 Provides: gcc-g77 = %{epoch}:%{version}-%{release}
432 This package adds support for compiling Fortran 95 programs with the
435 %description fortran -l es
436 Este paquete añade soporte para compilar programas escritos en Fortran
437 95 con el compilador GNU.
439 %description fortran -l pl
440 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
441 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
443 %description fortran -l pt_BR
444 Suporte Fortran 95 para o GCC.
446 %package -n libgfortran
447 Summary: Fortran 95 Libraries
448 Summary(es): Bibliotecas de Fortran 95
449 Summary(pl): Biblioteki Fortranu 95
454 %description -n libgfortran
455 Fortran 95 Libraries.
457 %description -n libgfortran -l es
458 Bibliotecas de Fortran 95.
460 %description -n libgfortran -l pl
461 Biblioteki Fortranu 95.
463 %package -n libgfortran-static
464 Summary: Static Fortran 95 Libraries
465 Summary(es): Bibliotecas estáticas de Fortran 95
466 Summary(pl): Statyczne Biblioteki Fortranu 95
468 Group: Development/Libraries
469 Requires: libgfortran = %{epoch}:%{version}-%{release}
470 Obsoletes: libg2c-static
472 %description -n libgfortran-static
473 Static Fortran 95 Libraries.
475 %description -n libgfortran-static -l es
476 Bibliotecas estáticas de Fortran 95.
478 %description -n libgfortran-static -l pl
479 Statyczne biblioteki Fortranu 95.
482 Summary: Java support for gcc
483 Summary(es): Soporte de Java para gcc
484 Summary(pl): Obs³uga Javy dla gcc
485 Group: Development/Languages/Java
486 Requires: %{name} = %{epoch}:%{version}-%{release}
487 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
488 Provides: gcj = %{epoch}:%{version}-%{release}
489 Provides: gcc-java-tools
491 Obsoletes: gcc-java-tools
494 This package adds experimental support for compiling Java(TM) programs
495 and bytecode into native code. To use this you will also need the
498 %description java -l es
499 Este paquete añade soporte experimental para compilar programas
500 Java(tm) y su bytecode en código nativo. Para usarlo también va a
501 necesitar el paquete libgcj.
503 %description java -l pl
504 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
505 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
506 dodatkowo pakiet libgcj.
509 Summary: Java Class Libraries
510 Summary(es): Bibliotecas de clases de Java
511 Summary(pl): Biblioteki Klas Javy
512 License: GPL with limited linking exception
516 %description -n libgcj
517 Java Class Libraries.
519 %description -n libgcj -l es
520 Bibliotecas de clases de Java.
522 %description -n libgcj -l pl
523 Biblioteki Klas Javy.
525 %package -n libgcj-devel
526 Summary: Development files for Java Class Libraries
527 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
528 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
529 License: GPL with limited linking exception
530 Group: Development/Libraries
531 Requires: libgcj = %{epoch}:%{version}-%{release}
533 Obsoletes: libgcj3-devel
535 %description -n libgcj-devel
536 Development files for Java Class Libraries.
538 %description -n libgcj-devel -l es
539 Ficheros de desarrollo para las bibliotecas de clases de Java.
541 %description -n libgcj-devel -l pl
542 Pliki nag³ówkowe dla Bibliotek Klas Javy.
544 %package -n libgcj-static
545 Summary: Static Java Class Libraries
546 Summary(es): Bibliotecas estáticas de clases de Java
547 Summary(pl): Statyczne Biblioteki Klas Javy
548 License: GPL with limited linking exception
549 Group: Development/Libraries
550 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
551 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
553 %description -n libgcj-static
554 Static Java Class Libraries.
556 %description -n libgcj-static -l es
557 Bibliotecas estáticas de clases de Java.
559 %description -n libgcj-static -l pl
560 Statyczne Biblioteki Klas Javy.
563 Summary: Foreign Function Interface library
564 Summary(es): Biblioteca de interfaz de funciones ajenas
565 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
569 %description -n libffi
570 The libffi library provides a portable, high level programming
571 interface to various calling conventions. This allows a programmer to
572 call any function specified by a call interface description at run
575 %description -n libffi -l es
576 La biblioteca libffi provee una interfaz portable de programación de
577 alto nivel para varias convenciones de llamada. Ello permite que un
578 programador llame una función cualquiera especificada por una
579 descripción de interfaz de llamada en el tiempo de ejecución.
581 %description -n libffi -l pl
582 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
583 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
584 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
587 %package -n libffi-devel
588 Summary: Development files for Foreign Function Interface library
589 Summary(es): Ficheros de desarrollo para libffi
590 Summary(pl): Pliki nag³ówkowe dla libffi
592 Group: Development/Libraries
593 Requires: libffi = %{epoch}:%{version}-%{release}
595 %description -n libffi-devel
596 Development files for Foreign Function Interface library.
598 %description -n libffi-devel -l es
599 Ficheros de desarrollo para libffi.
601 %description -n libffi-devel -l pl
602 Pliki nag³ówkowe dla libffi.
604 %package -n libffi-static
605 Summary: Static Foreign Function Interface library
606 Summary(es): Biblioteca libffi estática
607 Summary(pl): Statyczna biblioteka libffi
609 Group: Development/Libraries
610 Requires: libffi-devel = %{epoch}:%{version}-%{release}
612 %description -n libffi-static
613 Static Foreign Function Interface library.
615 %description -n libffi-static -l es
616 Biblioteca libffi estática.
618 %description -n libffi-static -l pl
619 Statyczna biblioteka libffi.
622 Summary: Objective C support for gcc
623 Summary(de): Objektive C-Unterstützung für gcc
624 Summary(es): Soporte de Objective C para gcc
625 Summary(fr): Gestion d'Objective C pour gcc
626 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
627 Summary(tr): gcc için Objective C desteði
628 Group: Development/Languages
629 Requires: %{name} = %{epoch}:%{version}-%{release}
630 Requires: libobjc = %{epoch}:%{version}-%{release}
635 This package adds Objective C support to the GNU Compiler Collection.
636 Objective C is a object oriented derivative of the C language, mainly
637 used on systems running NeXTSTEP. This package does not include the
638 standard objective C object library.
640 %description objc -l de
641 Dieses Paket ergänzt den GNU-Compiler-Collection durch
642 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
643 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
644 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
646 %description objc -l es
647 Este paquete añade soporte de Objective C al GCC (colección de
648 compiladores GNU). Objective C es un lenguaje orientado a objetos
649 derivado de C, principalmente usado en sistemas que funcionan bajo
650 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
653 %description objc -l fr
654 Ce package ajoute un support Objective C a la collection de
655 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
656 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
657 package n'inclue pas la bibliothéque Objective C standard.
659 %description objc -l pl
660 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
661 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
662 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
663 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
665 %description objc -l tr
666 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
667 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
668 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
669 kitaplýðý bu pakette yer almaz.
672 Summary: Objective C++ support for gcc
673 Summary(pl): Obs³uga jêzyka Objective C++ dla gcc
674 Group: Development/Languages
675 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
676 Requires: %{name}-objc = %{epoch}:%{version}-%{release}
679 This package adds Objective C++ support to the GNU Compiler
682 %description objc++ -l pl
683 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
684 kompilatorów GNU Compiler Collection.
687 Summary: Objective C Libraries
688 Summary(es): Bibliotecas de Objective C
689 Summary(pl): Biblioteki Obiektowego C
690 License: GPL v2+ with linking exception
694 %description -n libobjc
695 Objective C Libraries.
697 %description -n libobjc -l es
698 Bibliotecas de Objective C.
700 %description -n libobjc -l pl
701 Biblioteki Obiektowego C.
703 %package -n libobjc-static
704 Summary: Static Objective C Libraries
705 Summary(es): Bibliotecas estáticas de Objective C
706 Summary(pl): Statyczne Biblioteki Obiektowego C
707 License: GPL v2+ with linking exception
708 Group: Development/Libraries
709 Requires: libobjc = %{epoch}:%{version}-%{release}
711 %description -n libobjc-static
712 Static Objective C Libraries.
714 %description -n libobjc-static -l es
715 Bibliotecas estáticas de Objective C.
717 %description -n libobjc-static -l pl
718 Statyczne biblioteki Obiektowego C.
721 #setup -q -n gcc-%{version}
726 %{!?debug:%patch2 -p1}
731 # -fvisbility fixes...
740 #patch14 -p1 NEEDS UPDATE
741 #patch15 -p1 NEEDS UPDATE
746 # because we distribute modified version of gcc...
747 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
748 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
750 mv ChangeLog ChangeLog.general
756 cp -f /usr/share/automake/config.sub .
758 rm -rf obj-%{_target_platform}
759 install -d obj-%{_target_platform}
760 cd obj-%{_target_platform}
762 CFLAGS="%{rpmcflags}" \
763 CXXFLAGS="%{rpmcxxflags}" \
766 --prefix=%{_prefix} \
767 --libdir=%{_libdir} \
768 --libexecdir=%{_libdir} \
769 --infodir=%{_infodir} \
770 --mandir=%{_mandir} \
772 --enable-threads=posix \
773 --enable-__cxa_atexit \
774 --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,f95}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
777 --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
782 --with-demangler-in-ld \
784 --with-slibdir=%{_slibdir} \
786 %{?with_fortran:--enable-cmath} \
789 --enable-libgcj-multifile \
790 --enable-libgcj-database \
797 %{__make} -C obj-%{_target_platform} \
798 %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
799 GCJFLAGS="%{rpmcflags}" \
800 BOOT_CFLAGS="%{rpmcflags}" \
801 STAGE1_CFLAGS="%{rpmcflags} -O0" \
802 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
806 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
809 rm -rf $RPM_BUILD_ROOT
810 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
812 cd obj-%{_target_platform}
814 %{__make} -j1 install \
816 infodir=%{_infodir} \
817 DESTDIR=$RPM_BUILD_ROOT
819 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
822 ln -sf %{_bindir}/sparc64-pld-linux-gcc \
823 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
826 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
827 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
828 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
830 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
831 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
832 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
834 libssp=$($RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*`)
835 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
836 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
840 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
841 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
845 # move ada shared libraries to proper place...
846 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
847 $RPM_BUILD_ROOT%{_libdir}
848 # check if symlink to be made is valid
849 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so.1
850 ln -sf libgnat-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so
851 ln -sf libgnarl-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.0.so
852 ln -sf libgnat-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
853 ln -sf libgnarl-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
860 cp -f libjava/READ* java-doc
861 cp -f fastjar/README java-doc/README.fastjar
862 cp -f libffi/README java-doc/README.libffi
863 cp -f libffi/LICENSE java-doc/LICENSE.libffi
864 ln -sf %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
867 cp -f libobjc/README gcc/objc/README.libobjc
870 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
871 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
872 for f in libmudflap.la libmudflapth.la libssp.la \
873 %{?with_cxx:libstdc++.la libsupc++.la} \
874 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
875 %{?with_java:libgcj.la libffi.la} \
876 %{?with_objc:libobjc.la};
878 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
879 mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
881 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
882 mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
886 # include/ contains install-tools/include/* and headers that were fixed up
887 # by fixincludes, we don't want former
888 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
891 # we have to save these however
892 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
893 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
894 mv $gccdir/include/syslimits.h $gccdir/tmp
895 rm -rf $gccdir/include
896 mv $gccdir/tmp $gccdir/include
897 cp $gccdir/install-tools/include/*.h $gccdir/include
898 # but we don't want anything more from install-tools
899 rm -rf $gccdir/install-tools
902 ln -sf %{_slibdir32}/libgcc_s.so.1 $gccdir/32/libgcc_s.so
904 ln -sf %{_slibdir}/libgcc_s.so.1 $gccdir/libgcc_s.so
907 %{?with_cxx:%find_lang libstdc\+\+}
909 # cvs snap doesn't contain (release does) below files,
910 # so let's create dummy entries to satisfy %%files.
911 [ ! -f NEWS ] && touch NEWS
912 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
913 [ ! -f libgfortran/README ] && touch libgfortran/README
916 rm -rf $RPM_BUILD_ROOT
919 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
922 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
925 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
928 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
931 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
934 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
937 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
940 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
942 %post -p /sbin/ldconfig -n libgcc
943 %postun -p /sbin/ldconfig -n libgcc
944 %post -p /sbin/ldconfig -n libmudflap
945 %postun -p /sbin/ldconfig -n libmudflap
946 %post -p /sbin/ldconfig -n libgnat
947 %postun -p /sbin/ldconfig -n libgnat
948 %post -p /sbin/ldconfig -n libstdc++
949 %postun -p /sbin/ldconfig -n libstdc++
950 %post -p /sbin/ldconfig -n libgfortran
951 %postun -p /sbin/ldconfig -n libgfortran
952 %post -p /sbin/ldconfig -n libgcj
953 %postun -p /sbin/ldconfig -n libgcj
954 %post -p /sbin/ldconfig -n libffi
955 %postun -p /sbin/ldconfig -n libffi
956 %post -p /sbin/ldconfig -n libobjc
957 %postun -p /sbin/ldconfig -n libobjc
960 %defattr(644,root,root,755)
961 %doc ChangeLog.general MAINTAINERS NEWS
963 %doc gcc/{ChangeLog,ONEWS,README.Portability}
965 %dir %{_libdir}/gcc/*
966 %dir %{_libdir}/gcc/*/*
967 %dir %{_libdir}/gcc/*/*/include
969 %attr(755,root,root) %{_bindir}/*-gcc*
970 %attr(755,root,root) %{_bindir}/gcc
971 %attr(755,root,root) %{_bindir}/gccbug
972 %attr(755,root,root) %{_bindir}/gcov
973 %attr(755,root,root) %{_bindir}/cc
974 %attr(755,root,root) %{_bindir}/cpp
978 %{_mandir}/man1/cc.1*
979 %{_mandir}/man1/cpp.1*
980 %{_mandir}/man1/gcc.1*
981 %{_mandir}/man1/gcov.1*
986 %attr(755,root,root) /lib/cpp
988 %attr(755,root,root) %{_slibdir}/lib*.so
990 %attr(755,root,root) %{_libdir}/libssp.a
991 %attr(755,root,root) %{_libdir}/libssp.so
992 %{_libdir}/libssp_nonshared.a
993 %{_libdir}/libssp_nonshared.la
995 %dir %{_libdir}/gcc/*/*/32
996 %{_libdir}/gcc/*/*/32/libgcov.a
997 %{_libdir}/gcc/*/*/32/libgcc.a
998 %{_libdir}/gcc/*/*/32/libgcc_eh.a
999 %{_libdir}/gcc/*/*/32/libgcc_s.so
1000 %{_libdir32}/libssp.la
1001 %attr(755,root,root) %{_libdir32}/libssp.a
1002 %attr(755,root,root) %{_libdir32}/libssp.so
1003 %{_libdir32}/libssp_nonshared.a
1004 %{_libdir32}/libssp_nonshared.la
1006 %{_libdir}/gcc/*/*/libgcov.a
1007 %{_libdir}/gcc/*/*/libgcc.a
1008 %{_libdir}/gcc/*/*/libgcc_eh.a
1009 %{_libdir}/gcc/*/*/libgcc_s.so
1010 %{_libdir}/gcc/*/*/specs
1011 %if %{with multilib}
1012 %{_libdir}/gcc/*/*/32/crt*.o
1014 %{_libdir}/gcc/*/*/crt*.o
1015 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1016 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1018 %{_libdir}/gcc/*/*/include/*.h
1021 %defattr(644,root,root,755)
1022 %if %{with multilib}
1023 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1025 %attr(755,root,root) %{_slibdir}/lib*.so.*
1027 %files -n libmudflap
1028 %defattr(644,root,root,755)
1029 %if %{with multilib}
1030 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1032 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1034 %files -n libmudflap-devel
1035 %defattr(644,root,root,755)
1036 %{_includedir}/mf-runtime.h
1037 %if %{with multilib}
1038 %{_libdir32}/libmudflap*.la
1039 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1041 %{_libdir}/libmudflap*.la
1042 %attr(755,root,root) %{_libdir}/libmudflap*.so
1044 %files -n libmudflap-static
1045 %defattr(644,root,root,755)
1046 %if %{with multilib}
1047 %{_libdir32}/libmudflap*.a
1049 %{_libdir}/libmudflap*.a
1053 %defattr(644,root,root,755)
1054 %doc gcc/ada/ChangeLog
1055 %attr(755,root,root) %{_bindir}/gnat*
1056 %attr(755,root,root) %{_bindir}/gpr*
1057 %attr(755,root,root) %{_libdir}/libgnarl*.so
1058 %attr(755,root,root) %{_libdir}/libgnat*.so
1059 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1060 %{_libdir}/gcc/*/*/adainclude
1061 %dir %{_libdir}/gcc/*/*/adalib
1062 %{_libdir}/gcc/*/*/adalib/*.ali
1063 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1064 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1066 %{_libdir}/gcc/*/*/adalib/libgmem.a
1071 %defattr(644,root,root,755)
1072 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1073 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1075 %files -n libgnat-static
1076 %defattr(644,root,root,755)
1077 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1078 %{_libdir}/gcc/*/*/adalib/libgnat.a
1083 %defattr(644,root,root,755)
1084 %doc gcc/cp/{ChangeLog,NEWS}
1085 %attr(755,root,root) %{_bindir}/g++
1086 %attr(755,root,root) %{_bindir}/*-g++
1087 %attr(755,root,root) %{_bindir}/c++
1088 %attr(755,root,root) %{_bindir}/*-c++
1089 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1090 %if %{with multilib}
1091 %{_libdir32}/libsupc++.a
1092 %{_libdir32}/libsupc++.la
1094 %{_libdir}/libsupc++.a
1095 %{_libdir}/libsupc++.la
1096 %{_mandir}/man1/g++.1*
1098 %files -n libstdc++ -f libstdc++.lang
1099 %defattr(644,root,root,755)
1100 %doc libstdc++-v3/{ChangeLog,README}
1101 %if %{with multilib}
1102 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1104 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1106 %files -n libstdc++-devel
1107 %defattr(644,root,root,755)
1108 %doc libstdc++-v3/docs/html
1109 %dir %{_includedir}/c++
1110 %{_includedir}/c++/%{version}
1112 %exclude %{_includedir}/c++/%{version}/java
1113 %exclude %{_includedir}/c++/%{version}/javax
1114 %exclude %{_includedir}/c++/%{version}/gcj
1115 %exclude %{_includedir}/c++/%{version}/gnu
1118 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
1120 %if %{with multilib}
1121 %{_libdir32}/libstdc++.la
1122 %attr(755,root,root) %{_libdir32}/libstdc++.so
1124 %{_libdir}/libstdc++.la
1125 %attr(755,root,root) %{_libdir}/libstdc++.so
1127 %files -n libstdc++-static
1128 %defattr(644,root,root,755)
1129 %if %{with multilib}
1130 %{_libdir32}/libstdc++.a
1132 %{_libdir}/libstdc++.a
1137 %defattr(644,root,root,755)
1138 %doc gcc/fortran/ChangeLog
1139 %attr(755,root,root) %{_bindir}/g95
1140 %attr(755,root,root) %{_bindir}/gfortran
1141 %{_infodir}/gfortran*
1142 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1143 %if %{with multilib}
1144 %{_libdir32}/libgfortranbegin.a
1145 %{_libdir32}/libgfortranbegin.la
1146 %{_libdir32}/libgfortran.la
1147 %attr(755,root,root) %{_libdir32}/libgfortran.so
1149 %{_libdir}/libgfortranbegin.a
1150 %{_libdir}/libgfortranbegin.la
1151 %{_libdir}/libgfortran.la
1152 %attr(755,root,root) %{_libdir}/libgfortran.so
1153 %{_mandir}/man1/g95.1*
1154 %{_mandir}/man1/gfortran.1*
1156 %files -n libgfortran
1157 %defattr(644,root,root,755)
1158 %doc libgfortran/{AUTHORS,README,ChangeLog}
1159 %if %{with multilib}
1160 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1162 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1164 %files -n libgfortran-static
1165 %defattr(644,root,root,755)
1166 %if %{with multilib}
1167 %{_libdir32}/libgfortran.a
1169 %{_libdir}/libgfortran.a
1174 %defattr(644,root,root,755)
1175 %doc gcc/java/ChangeLog java-doc/*
1176 %attr(755,root,root) %{_bindir}/fastjar
1177 %attr(755,root,root) %{_bindir}/gcj*
1178 %attr(755,root,root) %{_bindir}/gjnih
1179 %attr(755,root,root) %{_bindir}/grepjar
1180 %attr(755,root,root) %{_bindir}/grmi*
1181 %attr(755,root,root) %{_bindir}/jcf-dump
1182 %attr(755,root,root) %{_bindir}/jv-*
1183 %attr(755,root,root) %{_bindir}/*-gcj*
1184 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1185 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1186 %{_infodir}/fastjar*
1188 %{_mandir}/man1/fastjar*
1189 %{_mandir}/man1/gcj*
1190 %{_mandir}/man1/gjnih*
1191 %{_mandir}/man1/grepjar*
1192 %{_mandir}/man1/grmi*
1193 %{_mandir}/man1/jcf-*
1194 %{_mandir}/man1/jv-*
1197 %defattr(644,root,root,755)
1198 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1199 %attr(755,root,root) %{_bindir}/addr2name.awk
1200 %attr(755,root,root) %{_bindir}/gij
1201 %dir %{_libdir}/gcj-%{version}
1202 %{_libdir}/gcj-%{version}/classmap.db
1203 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1204 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1205 %{_libdir}/logging.properties
1206 %{_javadir}/libgcj*.jar
1207 %{_mandir}/man1/gij*
1209 %files -n libgcj-devel
1210 %defattr(644,root,root,755)
1211 %{_includedir}/c++/%{version}/java
1212 %{_includedir}/c++/%{version}/javax
1213 %{_includedir}/c++/%{version}/gcj
1214 %{_includedir}/c++/%{version}/gnu
1215 %{_libdir}/gcc/*/*/include/gcj
1216 %{_libdir}/gcc/*/*/include/jawt.h
1217 %{_libdir}/gcc/*/*/include/jawt_md.h
1218 %{_libdir}/gcc/*/*/include/jni.h
1219 %{_libdir}/gcc/*/*/include/jvmpi.h
1220 %dir %{_libdir}/security
1221 %{_libdir}/security/*
1222 %{_libdir}/lib*cj.spec
1223 %{_libdir}/lib*cj*.la
1224 %attr(755,root,root) %{_libdir}/lib*cj*.so
1225 %{_libdir}/libgij.la
1226 %attr(755,root,root) %{_libdir}/libgij.so
1227 %{_pkgconfigdir}/libgcj.pc
1229 %files -n libgcj-static
1230 %defattr(644,root,root,755)
1231 %{_libdir}/lib*cj*.a
1235 %defattr(644,root,root,755)
1236 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1237 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1239 %files -n libffi-devel
1240 %defattr(644,root,root,755)
1241 %{_libdir}/gcc/*/*/include/ffitarget.h
1242 %attr(755,root,root) %{_libdir}/libffi.so
1243 %{_libdir}/libffi.la
1244 %{_includedir}/ffi.h
1246 %files -n libffi-static
1247 %defattr(644,root,root,755)
1253 %defattr(644,root,root,755)
1254 %doc gcc/objc/README
1255 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1256 %if %{with multilib}
1257 %attr(755,root,root) %{_libdir32}/libobjc.so
1258 %{_libdir32}/libobjc.la
1260 %attr(755,root,root) %{_libdir}/libobjc.so
1261 %{_libdir}/libobjc.la
1262 %{_libdir}/gcc/*/*/include/objc
1265 %defattr(644,root,root,755)
1266 %doc libobjc/{ChangeLog,README*}
1267 %if %{with multilib}
1268 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1270 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1272 %files -n libobjc-static
1273 %defattr(644,root,root,755)
1274 %if %{with multilib}
1275 %{_libdir32}/libobjc.a
1277 %{_libdir}/libobjc.a
1282 %defattr(644,root,root,755)
1283 %doc gcc/objcp/ChangeLog
1284 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus