3 # - http://gcc.gnu.org/PR11203 (inline-asm)
4 # - http://gcc.gnu.org/PR20128 (ice with mudflap + profile generate)
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_without profiling # build without profiling
15 %bcond_without bootstrap # omit 3-stage bootstrap
16 %bcond_with tests # torture gcc
18 # debuginfo not needed for devel snaps.
19 %define _enable_debug_packages 0
22 # the latest chrpath(64) can't handle 32-bit binaries :/
23 %define _noautochrpath .*/lib/.*\\.so.*
35 %if %{without bootstrap}
36 %undefine with_profiling
39 %ifnarch %{x8664} ppc64 s390x sparc64
40 %undefine with_multilib
43 Summary: GNU Compiler Collection: the C compiler and shared files
44 Summary(es): Colección de compiladores GNU: el compilador C y ficheros compartidos
45 Summary(pl): Kolekcja kompilatorów GNU: kompilator C i pliki wspó³dzielone
46 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
49 %define _snap 20050724T0642UTC
50 Release: 0.%{_snap}.0.1
53 Group: Development/Languages
54 #Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
55 #Source0: ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
56 Source0: gcc-4.1-%{_snap}.tar.bz2
57 # Source0-md5: 3d9b5c5a60b7b6bb3f5f00ef7727b355
58 Source1: %{name}-optimize-la.pl
59 Patch0: %{name}-info.patch
60 Patch1: %{name}-nolocalefiles.patch
61 Patch2: %{name}-nodebug.patch
62 Patch3: %{name}-ada-link-new-libgnat.patch
63 Patch4: %{name}-ada-link.patch
64 Patch5: %{name}-alpha-ada_fix.patch
65 Patch6: %{name}-keep-volatile-sematics.patch
67 Patch10: %{name}-pr7776.patch
68 Patch11: %{name}-pr20297.patch
69 Patch12: %{name}-pr22484.patch
70 Patch13: %{name}-pr22493.patch
71 Patch14: %{name}-pr22037.patch
72 Patch15: %{name}-pr22533.patch
73 #Patch16: %{name}-mmx-x87-fpu-mode-switching-and-mmx-vectorizer.patch NEEDS UPDATE
74 URL: http://gcc.gnu.org/
75 BuildRequires: autoconf
76 %{?with_tests:BuildRequires: autogen}
77 BuildRequires: automake
78 BuildRequires: binutils >= 2:2.15.94.0.1
80 %{?with_java:BuildRequires: cairo-devel >= 0.5.0}
81 %{?with_tests:BuildRequires: dejagnu}
82 BuildRequires: fileutils >= 4.0.41
85 BuildRequires: gcc(ada)
86 BuildRequires: gcc-ada
88 BuildRequires: gettext-devel
89 BuildRequires: glibc-devel >= %{!?with_multilib:2.2.5-20}%{?with_multilib:6:2.3.4-1.5}
91 BuildRequires: gmp-devel
92 BuildRequires: libmpfr-devel
94 %{?with_java:BuildRequires: pango-devel}
95 BuildRequires: perl-devel
96 %{?with_java:BuildRequires: pkgconfig}
97 BuildRequires: rpmbuild(macros) >= 1.211
98 BuildRequires: texinfo >= 4.1
99 BuildRequires: zlib-devel
100 # AS_NEEDED directive for dynamic linker
101 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
102 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
103 Requires: binutils >= 2:2.16.90.0.1-0.3
104 Requires: libgcc = %{epoch}:%{version}-%{release}
105 Provides: cpp = %{epoch}:%{version}-%{release}
106 %{?with_ada:Provides: gcc(ada)}
107 %{?with_multilib:Provides: gcc(multilib)}
114 Conflicts: glibc-devel < 2.2.5-20
115 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
117 %define _slibdir /%{_lib}
119 # 32-bit environment on x86-64,ppc64,s390x,sparc64
120 %define _slibdir32 /lib
121 %define _libdir32 /usr/lib
125 # workaround PR wrong-code/22584
126 %define optflags -march=i486 -O2
130 A compiler aimed at integrating all the optimizations and features
131 necessary for a high-performance and stable development environment.
133 This package contains the C compiler and some files shared by various
134 parts of the GNU Compiler Collection. In order to use another GCC
135 compiler you will need to install the appropriate subpackage.
138 Un compilador que intenta integrar todas las optimalizaciones y
139 características necesarias para un entorno de desarrollo eficaz y
142 Este paquete contiene el compilador de C y unos ficheros compartidos
143 por varias partes de la colección de compiladores GNU (GCC). Para usar
144 otro compilador de GCC será necesario que instale el subpaquete
148 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
149 wyprodukowania szybkiego i stabilnego kodu wynikowego.
151 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
152 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
153 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
155 %description -l pt_BR
156 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
157 GNU Compiler Collection.
160 Summary: Shared gcc library
161 Summary(es): Biblioteca compartida de gcc
162 Summary(pl): Biblioteka gcc
163 Summary(pt_BR): Biblioteca runtime para o GCC
164 License: GPL with unlimited link permission
168 %description -n libgcc
171 %description -n libgcc -l es
172 Biblioteca compartida de gcc.
174 %description -n libgcc -l pl
175 Biblioteka dynamiczna gcc.
177 %description -n libgcc -l pt_BR
178 Biblioteca runtime para o GCC.
180 %package -n libmudflap
181 Summary: GCC mudflap shared support library
182 Summary(pl): Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
183 License: GPL v2+ with unlimited link permission
186 %description -n libmudflap
187 The libmudflap libraries are used by GCC for instrumenting pointer and
188 array dereferencing operations.
190 %description -n libmudflap -l pl
191 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
192 dereferencji wspa¼ników i tablic.
194 %package -n libmudflap-devel
195 Summary: Development files for GCC mudflap library
196 Summary(pl): Pliki programistyczne biblioteki GCC mudflap
197 License: GPL v2+ with unlimited link permission
198 Group: Development/Libraries
199 Requires: libmudflap = %{epoch}:%{version}-%{release}
201 %description -n libmudflap-devel
202 The libmudflap libraries are used by GCC for instrumenting pointer and
203 array dereferencing operations. This package contains development
206 %description -n libmudflap-devel -l pl
207 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
208 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
211 %package -n libmudflap-static
212 Summary: Static GCC mudflap library
213 Summary(pl): Statyczna biblioteka GCC mudflap
214 License: GPL v2+ with unlimited link permission
215 Group: Development/Libraries
216 Requires: libmudflap-devel = %{epoch}:%{version}-%{release}
218 %description -n libmudflap-static
219 The libmudflap libraries are used by GCC for instrumenting pointer and
220 array dereferencing operations. This package contains static
223 %description -n libmudflap-static -l pl
224 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
225 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
229 Summary: Ada support for gcc
230 Summary(es): Soporte de Ada para gcc
231 Summary(pl): Obs³uga Ady do gcc
232 Group: Development/Languages
233 Requires: %{name} = %{epoch}:%{version}-%{release}
234 Requires: libgnat = %{epoch}:%{version}-%{release}
236 Obsoletes: gnat-devel
239 This package adds experimental support for compiling Ada programs.
241 %description ada -l es
242 Este paquete añade soporte experimental para compilar programas en
245 %description ada -l pl
246 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
250 Summary: Ada standard libraries
251 Summary(es): Bibliotecas estándares de Ada
252 Summary(pl): Biblioteki standardowe dla Ady
253 License: GPL v2+ with linking exception
258 %description -n libgnat
259 This package contains shared libraries needed to run programs written
262 %description -n libgnat -l es
263 Este paquete contiene las bibliotecas compartidas necesarias para
264 ejecutar programas escritos en Ada.
266 %description -n libgnat -l pl
267 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
270 %package -n libgnat-static
271 Summary: Static Ada standard libraries
272 Summary(pl): Statyczne biblioteki standardowe dla Ady
273 License: GPL v2+ with linking exception
274 Group: Development/Libraries
275 Obsoletes: gnat-static
277 %description -n libgnat-static
278 This package contains static libraries for programs written in Ada.
280 %description -n libgnat-static -l pl
281 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
285 Summary: C++ support for gcc
286 Summary(es): Soporte de C++ para gcc
287 Summary(pl): Obs³uga C++ dla gcc
288 Summary(pt_BR): Suporte C++ para o gcc
289 Group: Development/Languages
290 Requires: %{name} = %{epoch}:%{version}-%{release}
295 This package adds C++ support to the GNU Compiler Collection. It
296 includes support for most of the current C++ specification, including
297 templates and exception handling. It does not include a standard C++
298 library, which is available separately.
300 %description c++ -l de
301 Dieses Paket enthält die C++-Unterstützung für den
302 GNU-Compiler-Collection. Es unterstützt die aktuelle
303 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
304 C++-Standard-Library ist nicht enthalten - sie ist getrennt
307 %description c++ -l es
308 Este paquete añade soporte de C++ al GCC (colección de compiladores
309 GNU). Ello incluye el soporte para la mayoría de la especificación
310 actual de C++, incluyendo plantillas y manejo de excepciones. No
311 incluye la biblioteca estándar de C++, la que es disponible separada.
313 %description c++ -l fr
314 Ce package ajoute un support C++ a la collection de compilateurs GNU.
315 Il comprend un support pour la plupart des spécifications actuelles de
316 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
317 une bibliothéque C++ standard, qui est disponible séparément.
319 %description c++ -l pl
320 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
321 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
322 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
324 %description c++ -l pt_BR
325 Este pacote adiciona suporte C++ para o gcc.
327 %description c++ -l tr
328 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
329 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
330 C++ kitaplýðý bu pakette yer almaz.
332 %package -n libstdc++
333 Summary: GNU C++ library
334 Summary(es): Biblioteca C++ de GNU
335 Summary(pl): Biblioteki GNU C++
336 Summary(pt_BR): Biblioteca C++ GNU
337 License: GPL v2+ with free software exception
340 Obsoletes: libstdc++3
342 %description -n libstdc++
343 This is the GNU implementation of the standard C++ libraries, along
344 with additional GNU tools. This package includes the shared libraries
345 necessary to run C++ applications.
347 %description -n libstdc++ -l de
348 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
349 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
350 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
352 %description -n libstdc++ -l es
353 Este es el soporte de las bibliotecas padrón del C++, junto con
354 herramientas GNU adicionales. El paquete incluye las bibliotecas
355 compartidas necesarias para ejecutar aplicaciones C++.
357 %description -n libstdc++ -l fr
358 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
359 des outils GNU supplémentaires. Ce package comprend les librairies
360 partagées nécessaires à l'exécution d'application C++.
362 %description -n libstdc++ -l pl
363 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
364 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
365 uruchomienia aplikacji napisanych w C++.
367 %description -n libstdc++ -l pt_BR
368 Este pacote é uma implementação da biblioteca padrão C++ v3, um
369 subconjunto do padrão ISO 14882.
371 %description -n libstdc++ -l tr
372 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
373 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
375 %package -n libstdc++-devel
376 Summary: Header files and documentation for C++ development
377 Summary(de): Header-Dateien zur Entwicklung mit C++
378 Summary(es): Ficheros de cabecera y documentación para desarrollo C++
379 Summary(fr): Fichiers d'en-tête et biblitothèques pour développer en C++
380 Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
381 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
382 Summary(tr): C++ ile program geliþtirmek için gerekli dosyalar
383 License: GPL v2+ with free software exception
384 Group: Development/Libraries
385 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
386 Requires: libstdc++ = %{epoch}:%{version}-%{release}
387 Requires: glibc-devel
388 Obsoletes: libg++-devel
389 Obsoletes: libstdc++3-devel
391 %description -n libstdc++-devel
392 This is the GNU implementation of the standard C++ libraries. This
393 package includes the header files needed for C++ development and
394 library documentation.
396 %description -n libstdc++-devel -l es
397 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
398 paquete incluye los archivos de inclusión y bibliotecas necesarios
399 para desarrollo de programas en lenguaje C++.
401 %description -n libstdc++-devel -l pl
402 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
403 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
404 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
406 %description -n libstdc++-devel -l pt_BR
407 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
408 para desenvolvimento de programas C++.
410 %package -n libstdc++-static
411 Summary: Static C++ standard library
412 Summary(es): Biblioteca estándar estática de C++
413 Summary(pl): Statyczna biblioteka standardowa C++
414 License: GPL v2+ with free software exception
415 Group: Development/Libraries
416 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
418 %description -n libstdc++-static
419 Static C++ standard library.
421 %description -n libstdc++-static -l es
422 Biblioteca estándar estática de C++.
424 %description -n libstdc++-static -l pl
425 Statyczna biblioteka standardowa C++.
428 Summary: Fortran 95 support for gcc
429 Summary(es): Soporte de Fortran 95 para gcc
430 Summary(pl): Obs³uga Fortranu 95 dla gcc
431 Summary(pt_BR): Suporte Fortran 95 para o GCC
432 Group: Development/Languages/Fortran
433 Requires: libgfortran = %{epoch}:%{version}-%{release}
434 Provides: gcc-g77 = %{epoch}:%{version}-%{release}
439 This package adds support for compiling Fortran 95 programs with the
442 %description fortran -l es
443 Este paquete añade soporte para compilar programas escritos en Fortran
444 95 con el compilador GNU.
446 %description fortran -l pl
447 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
448 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
450 %description fortran -l pt_BR
451 Suporte Fortran 95 para o GCC.
453 %package -n libgfortran
454 Summary: Fortran 95 Libraries
455 Summary(es): Bibliotecas de Fortran 95
456 Summary(pl): Biblioteki Fortranu 95
461 %description -n libgfortran
462 Fortran 95 Libraries.
464 %description -n libgfortran -l es
465 Bibliotecas de Fortran 95.
467 %description -n libgfortran -l pl
468 Biblioteki Fortranu 95.
470 %package -n libgfortran-static
471 Summary: Static Fortran 95 Libraries
472 Summary(es): Bibliotecas estáticas de Fortran 95
473 Summary(pl): Statyczne Biblioteki Fortranu 95
475 Group: Development/Libraries
476 Requires: libgfortran = %{epoch}:%{version}-%{release}
477 Obsoletes: libg2c-static
479 %description -n libgfortran-static
480 Static Fortran 95 Libraries.
482 %description -n libgfortran-static -l es
483 Bibliotecas estáticas de Fortran 95.
485 %description -n libgfortran-static -l pl
486 Statyczne biblioteki Fortranu 95.
489 Summary: Java support for gcc
490 Summary(es): Soporte de Java para gcc
491 Summary(pl): Obs³uga Javy dla gcc
492 Group: Development/Languages/Java
493 Requires: %{name} = %{epoch}:%{version}-%{release}
494 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
495 Provides: gcj = %{epoch}:%{version}-%{release}
496 Provides: gcc-java-tools
498 Obsoletes: gcc-java-tools
501 This package adds experimental support for compiling Java(TM) programs
502 and bytecode into native code. To use this you will also need the
505 %description java -l es
506 Este paquete añade soporte experimental para compilar programas
507 Java(tm) y su bytecode en código nativo. Para usarlo también va a
508 necesitar el paquete libgcj.
510 %description java -l pl
511 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
512 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
513 dodatkowo pakiet libgcj.
516 Summary: Java Class Libraries
517 Summary(es): Bibliotecas de clases de Java
518 Summary(pl): Biblioteki Klas Javy
519 License: GPL with limited linking exception
523 %description -n libgcj
524 Java Class Libraries.
526 %description -n libgcj -l es
527 Bibliotecas de clases de Java.
529 %description -n libgcj -l pl
530 Biblioteki Klas Javy.
532 %package -n libgcj-devel
533 Summary: Development files for Java Class Libraries
534 Summary(es): Ficheros de desarrollo para las bibliotecas de clases de Java
535 Summary(pl): Pliki nag³ówkowe dla Bibliotek Klas Javy
536 License: GPL with limited linking exception
537 Group: Development/Libraries
538 Requires: libgcj = %{epoch}:%{version}-%{release}
540 Obsoletes: libgcj3-devel
542 %description -n libgcj-devel
543 Development files for Java Class Libraries.
545 %description -n libgcj-devel -l es
546 Ficheros de desarrollo para las bibliotecas de clases de Java.
548 %description -n libgcj-devel -l pl
549 Pliki nag³ówkowe dla Bibliotek Klas Javy.
551 %package -n libgcj-static
552 Summary: Static Java Class Libraries
553 Summary(es): Bibliotecas estáticas de clases de Java
554 Summary(pl): Statyczne Biblioteki Klas Javy
555 License: GPL with limited linking exception
556 Group: Development/Libraries
557 Requires: libgcj-devel = %{epoch}:%{version}-%{release}
558 Requires: libstdc++-devel = %{epoch}:%{version}-%{release}
560 %description -n libgcj-static
561 Static Java Class Libraries.
563 %description -n libgcj-static -l es
564 Bibliotecas estáticas de clases de Java.
566 %description -n libgcj-static -l pl
567 Statyczne Biblioteki Klas Javy.
570 Summary: Foreign Function Interface library
571 Summary(es): Biblioteca de interfaz de funciones ajenas
572 Summary(pl): Biblioteka zewnêtrznych wywo³añ funkcji
576 %description -n libffi
577 The libffi library provides a portable, high level programming
578 interface to various calling conventions. This allows a programmer to
579 call any function specified by a call interface description at run
582 %description -n libffi -l es
583 La biblioteca libffi provee una interfaz portable de programación de
584 alto nivel para varias convenciones de llamada. Ello permite que un
585 programador llame una función cualquiera especificada por una
586 descripción de interfaz de llamada en el tiempo de ejecución.
588 %description -n libffi -l pl
589 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
590 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
591 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
594 %package -n libffi-devel
595 Summary: Development files for Foreign Function Interface library
596 Summary(es): Ficheros de desarrollo para libffi
597 Summary(pl): Pliki nag³ówkowe dla libffi
599 Group: Development/Libraries
600 Requires: libffi = %{epoch}:%{version}-%{release}
602 %description -n libffi-devel
603 Development files for Foreign Function Interface library.
605 %description -n libffi-devel -l es
606 Ficheros de desarrollo para libffi.
608 %description -n libffi-devel -l pl
609 Pliki nag³ówkowe dla libffi.
611 %package -n libffi-static
612 Summary: Static Foreign Function Interface library
613 Summary(es): Biblioteca libffi estática
614 Summary(pl): Statyczna biblioteka libffi
616 Group: Development/Libraries
617 Requires: libffi-devel = %{epoch}:%{version}-%{release}
619 %description -n libffi-static
620 Static Foreign Function Interface library.
622 %description -n libffi-static -l es
623 Biblioteca libffi estática.
625 %description -n libffi-static -l pl
626 Statyczna biblioteka libffi.
629 Summary: Objective C support for gcc
630 Summary(de): Objektive C-Unterstützung für gcc
631 Summary(es): Soporte de Objective C para gcc
632 Summary(fr): Gestion d'Objective C pour gcc
633 Summary(pl): Obs³uga obiektowego C dla kompilatora gcc
634 Summary(tr): gcc için Objective C desteði
635 Group: Development/Languages
636 Requires: %{name} = %{epoch}:%{version}-%{release}
637 Requires: libobjc = %{epoch}:%{version}-%{release}
642 This package adds Objective C support to the GNU Compiler Collection.
643 Objective C is a object oriented derivative of the C language, mainly
644 used on systems running NeXTSTEP. This package does not include the
645 standard objective C object library.
647 %description objc -l de
648 Dieses Paket ergänzt den GNU-Compiler-Collection durch
649 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
650 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
651 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
653 %description objc -l es
654 Este paquete añade soporte de Objective C al GCC (colección de
655 compiladores GNU). Objective C es un lenguaje orientado a objetos
656 derivado de C, principalmente usado en sistemas que funcionan bajo
657 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
660 %description objc -l fr
661 Ce package ajoute un support Objective C a la collection de
662 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
663 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
664 package n'inclue pas la bibliothéque Objective C standard.
666 %description objc -l pl
667 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
668 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
669 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
670 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
672 %description objc -l tr
673 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
674 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
675 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
676 kitaplýðý bu pakette yer almaz.
679 Summary: Objective C++ support for gcc
680 Summary(pl): Obs³uga jêzyka Objective C++ dla gcc
681 Group: Development/Languages
682 Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
683 Requires: %{name}-objc = %{epoch}:%{version}-%{release}
686 This package adds Objective C++ support to the GNU Compiler
689 %description objc++ -l pl
690 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
691 kompilatorów GNU Compiler Collection.
694 Summary: Objective C Libraries
695 Summary(es): Bibliotecas de Objective C
696 Summary(pl): Biblioteki Obiektowego C
697 License: GPL v2+ with linking exception
701 %description -n libobjc
702 Objective C Libraries.
704 %description -n libobjc -l es
705 Bibliotecas de Objective C.
707 %description -n libobjc -l pl
708 Biblioteki Obiektowego C.
710 %package -n libobjc-static
711 Summary: Static Objective C Libraries
712 Summary(es): Bibliotecas estáticas de Objective C
713 Summary(pl): Statyczne Biblioteki Obiektowego C
714 License: GPL v2+ with linking exception
715 Group: Development/Libraries
716 Requires: libobjc = %{epoch}:%{version}-%{release}
718 %description -n libobjc-static
719 Static Objective C Libraries.
721 %description -n libobjc-static -l es
722 Bibliotecas estáticas de Objective C.
724 %description -n libobjc-static -l pl
725 Statyczne biblioteki Obiektowego C.
728 #setup -q -n gcc-%{version}
729 %setup -q -n gcc-4.1-%{_snap}
733 %{!?debug:%patch2 -p1}
746 #patch16 -p1 NEEDS UPDATE
748 # because we distribute modified version of gcc...
749 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
750 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
752 mv ChangeLog ChangeLog.general
758 cp -f /usr/share/automake/config.sub .
760 rm -rf obj-%{_target_platform}
761 install -d obj-%{_target_platform}
762 cd obj-%{_target_platform}
764 CFLAGS="%{rpmcflags}" \
765 CXXFLAGS="%{rpmcxxflags}" \
768 --prefix=%{_prefix} \
769 --libdir=%{_libdir} \
770 --libexecdir=%{_libdir} \
771 --infodir=%{_infodir} \
772 --mandir=%{_mandir} \
774 --enable-threads=posix \
775 --enable-__cxa_atexit \
776 --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,f95}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
779 --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
784 --with-demangler-in-ld \
786 --with-slibdir=%{_slibdir} \
788 %{?with_fortran:--enable-cmath} \
791 --enable-libgcj-multifile \
792 --enable-libgcj-database \
799 %{__make} -C obj-%{_target_platform} \
800 %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
801 GCJFLAGS="%{rpmcflags}" \
802 BOOT_CFLAGS="%{rpmcflags}" \
803 STAGE1_CFLAGS="%{rpmcflags} -O0" \
804 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
808 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check}
811 rm -rf $RPM_BUILD_ROOT
812 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
814 cd obj-%{_target_platform}
816 %{__make} -j1 install \
818 infodir=%{_infodir} \
819 DESTDIR=$RPM_BUILD_ROOT
821 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
824 ln -sf %{_bindir}/sparc64-pld-linux-gcc \
825 $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
828 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
829 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
830 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
832 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
833 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
834 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
836 libssp=$($RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*`)
837 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
838 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
842 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
843 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
847 # move ada shared libraries to proper place...
848 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
849 $RPM_BUILD_ROOT%{_libdir}
850 # check if symlink to be made is valid
851 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so.1
852 ln -sf libgnat-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so
853 ln -sf libgnarl-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.0.so
854 ln -sf libgnat-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
855 ln -sf libgnarl-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
862 cp -f libjava/READ* java-doc
863 cp -f fastjar/README java-doc/README.fastjar
864 cp -f libffi/README java-doc/README.libffi
865 cp -f libffi/LICENSE java-doc/LICENSE.libffi
866 ln -sf %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
869 cp -f libobjc/README gcc/objc/README.libobjc
872 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
873 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
874 for f in libmudflap.la libmudflapth.la libssp.la \
875 %{?with_cxx:libstdc++.la libsupc++.la} \
876 %{?with_fortran:libgfortran.la libgfortranbegin.la} \
877 %{?with_java:libgcj.la libffi.la} \
878 %{?with_objc:libobjc.la};
880 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
881 mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
883 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
884 mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
888 # include/ contains install-tools/include/* and headers that were fixed up
889 # by fixincludes, we don't want former
890 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
892 # we have to save these however
893 %{?with_java:mv -f $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jvmpi.h} $gccdir/tmp}
894 %{?with_objc:mv -f $gccdir/include/objc $gccdir/tmp}
895 mv -f $gccdir/include/syslimits.h $gccdir/tmp
896 rm -rf $gccdir/include
897 mv -f $gccdir/tmp $gccdir/include
898 cp -f $gccdir/install-tools/include/*.h $gccdir/include
899 # but we don't want anything more from install-tools
900 rm -rf $gccdir/install-tools
903 ln -sf %{_slibdir32}/libgcc_s.so.1 $gccdir/32/libgcc_s.so
905 ln -sf %{_slibdir}/libgcc_s.so.1 $gccdir/libgcc_s.so
908 %{?with_cxx:%find_lang libstdc\+\+}
910 # cvs snap doesn't contain (release does) below files,
911 # so let's create dummy entries to satisfy %%files.
912 [ ! -f NEWS ] && touch NEWS
913 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
914 [ ! -f libgfortran/README ] && touch libgfortran/README
917 rm -rf $RPM_BUILD_ROOT
920 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
923 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
926 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
929 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
932 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
935 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
938 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
941 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
943 %post -p /sbin/ldconfig -n libgcc
944 %postun -p /sbin/ldconfig -n libgcc
945 %post -p /sbin/ldconfig -n libmudflap
946 %postun -p /sbin/ldconfig -n libmudflap
947 %post -p /sbin/ldconfig -n libgnat
948 %postun -p /sbin/ldconfig -n libgnat
949 %post -p /sbin/ldconfig -n libstdc++
950 %postun -p /sbin/ldconfig -n libstdc++
951 %post -p /sbin/ldconfig -n libgfortran
952 %postun -p /sbin/ldconfig -n libgfortran
953 %post -p /sbin/ldconfig -n libgcj
954 %postun -p /sbin/ldconfig -n libgcj
955 %post -p /sbin/ldconfig -n libffi
956 %postun -p /sbin/ldconfig -n libffi
957 %post -p /sbin/ldconfig -n libobjc
958 %postun -p /sbin/ldconfig -n libobjc
961 %defattr(644,root,root,755)
962 %doc ChangeLog.general MAINTAINERS NEWS
964 %doc gcc/{ChangeLog,ONEWS,README.Portability}
966 %dir %{_libdir}/gcc/*
967 %dir %{_libdir}/gcc/*/*
968 %dir %{_libdir}/gcc/*/*/include
970 %attr(755,root,root) %{_bindir}/*-gcc*
971 %attr(755,root,root) %{_bindir}/gcc
972 %attr(755,root,root) %{_bindir}/gccbug
973 %attr(755,root,root) %{_bindir}/gcov
974 %attr(755,root,root) %{_bindir}/cc
975 %attr(755,root,root) %{_bindir}/cpp
979 %{_mandir}/man1/cc.1*
980 %{_mandir}/man1/cpp.1*
981 %{_mandir}/man1/gcc.1*
982 %{_mandir}/man1/gcov.1*
987 %attr(755,root,root) /lib/cpp
989 %attr(755,root,root) %{_slibdir}/lib*.so
991 %attr(755,root,root) %{_libdir}/libssp.a
992 %attr(755,root,root) %{_libdir}/libssp.so
993 #{_libdir}/libssp_nonshared.*
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.*
1005 %{_libdir}/gcc/*/*/libgcov.a
1006 %{_libdir}/gcc/*/*/libgcc.a
1007 %{_libdir}/gcc/*/*/libgcc_eh.a
1008 %{_libdir}/gcc/*/*/libgcc_s.so
1009 %{_libdir}/gcc/*/*/specs
1010 %if %{with multilib}
1011 %{_libdir}/gcc/*/*/32/crt*.o
1013 %{_libdir}/gcc/*/*/crt*.o
1014 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1015 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1017 %{_libdir}/gcc/*/*/include/*.h
1020 %defattr(644,root,root,755)
1021 %if %{with multilib}
1022 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1024 %attr(755,root,root) %{_slibdir}/lib*.so.*
1026 %files -n libmudflap
1027 %defattr(644,root,root,755)
1028 %if %{with multilib}
1029 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1031 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1033 %files -n libmudflap-devel
1034 %defattr(644,root,root,755)
1035 %{_includedir}/mf-runtime.h
1036 %if %{with multilib}
1037 %{_libdir32}/libmudflap*.la
1038 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1040 %{_libdir}/libmudflap*.la
1041 %attr(755,root,root) %{_libdir}/libmudflap*.so
1043 %files -n libmudflap-static
1044 %defattr(644,root,root,755)
1045 %if %{with multilib}
1046 %{_libdir32}/libmudflap*.a
1048 %{_libdir}/libmudflap*.a
1052 %defattr(644,root,root,755)
1053 %doc gcc/ada/ChangeLog
1054 %attr(755,root,root) %{_bindir}/gnat*
1055 %attr(755,root,root) %{_bindir}/gpr*
1056 %attr(755,root,root) %{_libdir}/libgnarl*.so
1057 %attr(755,root,root) %{_libdir}/libgnat*.so
1058 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1059 %{_libdir}/gcc/*/*/adainclude
1060 %dir %{_libdir}/gcc/*/*/adalib
1061 %{_libdir}/gcc/*/*/adalib/*.ali
1062 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1063 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1065 %{_libdir}/gcc/*/*/adalib/libgmem.a
1070 %defattr(644,root,root,755)
1071 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1072 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1074 %files -n libgnat-static
1075 %defattr(644,root,root,755)
1076 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1077 %{_libdir}/gcc/*/*/adalib/libgnat.a
1082 %defattr(644,root,root,755)
1083 %doc gcc/cp/{ChangeLog,NEWS}
1084 %attr(755,root,root) %{_bindir}/g++
1085 %attr(755,root,root) %{_bindir}/*-g++
1086 %attr(755,root,root) %{_bindir}/c++
1087 %attr(755,root,root) %{_bindir}/*-c++
1088 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1089 %if %{with multilib}
1090 %{_libdir32}/libsupc++.a
1091 %{_libdir32}/libsupc++.la
1093 %{_libdir}/libsupc++.a
1094 %{_libdir}/libsupc++.la
1095 %{_mandir}/man1/g++.1*
1097 %files -n libstdc++ -f libstdc++.lang
1098 %defattr(644,root,root,755)
1099 %doc libstdc++-v3/{ChangeLog,README}
1100 %if %{with multilib}
1101 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1103 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1105 %files -n libstdc++-devel
1106 %defattr(644,root,root,755)
1107 %doc libstdc++-v3/docs/html
1108 %dir %{_includedir}/c++
1109 %{_includedir}/c++/%{version}
1111 %exclude %{_includedir}/c++/%{version}/java
1112 %exclude %{_includedir}/c++/%{version}/javax
1113 %exclude %{_includedir}/c++/%{version}/gcj
1114 %exclude %{_includedir}/c++/%{version}/gnu
1117 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
1119 %if %{with multilib}
1120 %{_libdir32}/libstdc++.la
1121 %attr(755,root,root) %{_libdir32}/libstdc++.so
1123 %{_libdir}/libstdc++.la
1124 %attr(755,root,root) %{_libdir}/libstdc++.so
1126 %files -n libstdc++-static
1127 %defattr(644,root,root,755)
1128 %if %{with multilib}
1129 %{_libdir32}/libstdc++.a
1131 %{_libdir}/libstdc++.a
1136 %defattr(644,root,root,755)
1137 %doc gcc/fortran/ChangeLog
1138 %attr(755,root,root) %{_bindir}/g95
1139 %attr(755,root,root) %{_bindir}/gfortran
1140 %{_infodir}/gfortran*
1141 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1142 %if %{with multilib}
1143 %{_libdir32}/libgfortranbegin.a
1144 %{_libdir32}/libgfortranbegin.la
1145 %{_libdir32}/libgfortran.la
1146 %attr(755,root,root) %{_libdir32}/libgfortran.so
1148 %{_libdir}/libgfortranbegin.a
1149 %{_libdir}/libgfortranbegin.la
1150 %{_libdir}/libgfortran.la
1151 %attr(755,root,root) %{_libdir}/libgfortran.so
1152 %{_mandir}/man1/g95.1*
1153 %{_mandir}/man1/gfortran.1*
1155 %files -n libgfortran
1156 %defattr(644,root,root,755)
1157 %doc libgfortran/{AUTHORS,README,ChangeLog}
1158 %if %{with multilib}
1159 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1161 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1163 %files -n libgfortran-static
1164 %defattr(644,root,root,755)
1165 %if %{with multilib}
1166 %{_libdir32}/libgfortran.a
1168 %{_libdir}/libgfortran.a
1173 %defattr(644,root,root,755)
1174 %doc gcc/java/ChangeLog java-doc/*
1175 %attr(755,root,root) %{_bindir}/fastjar
1176 %attr(755,root,root) %{_bindir}/gcj*
1177 %attr(755,root,root) %{_bindir}/gjnih
1178 %attr(755,root,root) %{_bindir}/grepjar
1179 %attr(755,root,root) %{_bindir}/grmi*
1180 %attr(755,root,root) %{_bindir}/jcf-dump
1181 %attr(755,root,root) %{_bindir}/jv-*
1182 %attr(755,root,root) %{_bindir}/*-gcj*
1183 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1184 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1185 %{_infodir}/fastjar*
1187 %{_infodir}/hacking*
1188 %{_infodir}/vmintegration*
1189 %{_mandir}/man1/fastjar*
1190 %{_mandir}/man1/gcj*
1191 %{_mandir}/man1/gjnih*
1192 %{_mandir}/man1/grepjar*
1193 %{_mandir}/man1/grmi*
1194 %{_mandir}/man1/jcf-*
1195 %{_mandir}/man1/jv-*
1198 %defattr(644,root,root,755)
1199 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1200 %attr(755,root,root) %{_bindir}/addr2name.awk
1201 %attr(755,root,root) %{_bindir}/gij
1202 %dir %{_libdir}/gcj-%{version}
1203 %{_libdir}/gcj-%{version}/classmap.db
1204 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1205 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1206 %{_libdir}/logging.properties
1207 %{_javadir}/libgcj*.jar
1208 %{_mandir}/man1/gij*
1210 %files -n libgcj-devel
1211 %defattr(644,root,root,755)
1212 %{_includedir}/c++/%{version}/java
1213 %{_includedir}/c++/%{version}/javax
1214 %{_includedir}/c++/%{version}/gcj
1215 %{_includedir}/c++/%{version}/gnu
1216 %{_libdir}/gcc/*/*/include/gcj
1217 %{_libdir}/gcc/*/*/include/jawt.h
1218 %{_libdir}/gcc/*/*/include/jawt_md.h
1219 %{_libdir}/gcc/*/*/include/jni.h
1220 %{_libdir}/gcc/*/*/include/jvmpi.h
1221 %dir %{_libdir}/security
1222 %{_libdir}/security/*
1223 %{_libdir}/lib*cj.spec
1224 %{_libdir}/lib*cj*.la
1225 %attr(755,root,root) %{_libdir}/lib*cj*.so
1226 %{_libdir}/libgij.la
1227 %attr(755,root,root) %{_libdir}/libgij.so
1228 %{_pkgconfigdir}/libgcj.pc
1230 %files -n libgcj-static
1231 %defattr(644,root,root,755)
1232 %{_libdir}/lib*cj*.a
1236 %defattr(644,root,root,755)
1237 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1238 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1240 %files -n libffi-devel
1241 %defattr(644,root,root,755)
1242 %{_libdir}/gcc/*/*/include/ffitarget.h
1243 %attr(755,root,root) %{_libdir}/libffi.so
1244 %{_libdir}/libffi.la
1245 %{_includedir}/ffi.h
1247 %files -n libffi-static
1248 %defattr(644,root,root,755)
1254 %defattr(644,root,root,755)
1255 %doc gcc/objc/README
1256 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1257 %if %{with multilib}
1258 %attr(755,root,root) %{_libdir32}/libobjc.so
1259 %{_libdir32}/libobjc.la
1261 %attr(755,root,root) %{_libdir}/libobjc.so
1262 %{_libdir}/libobjc.la
1263 %{_libdir}/gcc/*/*/include/objc
1266 %defattr(644,root,root,755)
1267 %doc libobjc/{ChangeLog,README*}
1268 %if %{with multilib}
1269 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1271 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1273 %files -n libobjc-static
1274 %defattr(644,root,root,755)
1275 %if %{with multilib}
1276 %{_libdir32}/libobjc.a
1278 %{_libdir}/libobjc.a
1283 %defattr(644,root,root,755)
1284 %doc gcc/objcp/ChangeLog
1285 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus