]> git.pld-linux.org Git - packages/gcc4.git/blob - gcc4.spec
- updated to 4.1.0-20051123r107414.
[packages/gcc4.git] / gcc4.spec
1 #
2 # TODO:
3 #       checking for XTestQueryExtension in -lXtst... no
4 #       configure: error: libXtst not found, required by java.awt.Robot
5 #       make[2]: *** [configure-target-libjava] Error 1
6 #
7 # Conditional build:
8 %bcond_without  ada             # build without ADA support
9 %bcond_without  cxx             # build without C++ support
10 %bcond_without  fortran         # build without Fortran support
11 %bcond_without  java            # build without Java support
12 %bcond_without  objc            # build without Objective-C support
13 %bcond_without  objcxx          # build without Objective-C++ support
14 %bcond_with     multilib        # build with multilib support (it needs glibc[32&64]-devel)
15 %bcond_with     profiling       # build with profiling
16 %bcond_without  bootstrap       # omit 3-stage bootstrap
17 %bcond_with     tests           # torture gcc
18
19 %if %{with multilib}
20 # the latest chrpath(64) can't handle 32-bit binaries :/
21 %define         _noautochrpath  .*/lib/.*\\.so.*
22 %endif
23
24 %if %{without cxx}
25 %undefine       with_java
26 %undefine       with_objcxx
27 %endif
28
29 %if %{without objc}
30 %undefine       with_objcxx
31 %endif
32
33 %if %{without bootstrap}
34 %undefine       with_profiling
35 %endif
36
37 %ifnarch %{x8664} ppc64 s390x sparc64
38 %undefine       with_multilib
39 %endif
40
41 Summary:        GNU Compiler Collection: the C compiler and shared files
42 Summary(es):    Colección de compiladores GNU: el compilador C y ficheros compartidos
43 Summary(pl):    Kolekcja kompilatorów GNU: kompilator C i pliki wspó³dzielone
44 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
45 Name:           gcc
46 Version:        4.1.0
47 %define         _snap   20051123r107414
48 Release:        0.%{_snap}.0.1
49 Epoch:          5
50 License:        GPL v2+
51 Group:          Development/Languages
52 #Source0:       ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
53 #Source0:       ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
54 Source0:        gcc-4.1-%{_snap}.tar.bz2
55 # Source0-md5:  aaec4c87bd99d49138cbae8d1e15053c
56 Source1:        %{name}-optimize-la.pl
57 Patch0:         %{name}-info.patch
58 Patch1:         %{name}-nolocalefiles.patch
59 Patch2:         %{name}-nodebug.patch
60 Patch3:         %{name}-ada-link-new-libgnat.patch
61 Patch4:         %{name}-ada-link.patch
62 Patch5:         %{name}-alpha-ada_fix.patch
63 # -fvisibility fixes...
64 Patch6:         %{name}-pr19664_gnu_internal.patch
65 Patch7:         %{name}-pr19664_libstdc++.patch
66
67 #Patch9:                %{name}-enable-java-awt-qt.patch        NEEDS UPDATE
68 # PRs
69 Patch10:        %{name}-pr7776.patch
70 Patch11:        %{name}-pr20297.patch
71 Patch12:        %{name}-pr22533.patch
72
73 Patch14:        %{name}-x87-mmx-switch.patch
74 Patch15:        %{name}-x87-mmx-eh.patch
75 Patch16:        %{name}-pr23948.patch
76 Patch17:        %{name}-pr19505.patch
77 Patch18:        %{name}-pr24419.patch
78 Patch19:        %{name}-pr24669.patch
79 Patch20:        %{name}-pr17390.patch
80 URL:            http://gcc.gnu.org/
81 #{?with_java:BuildRequires:     QtGui-devel >= 4.0.1}
82 BuildRequires:  autoconf
83 %{?with_tests:BuildRequires:    autogen}
84 BuildRequires:  automake
85 BuildRequires:  binutils >= 2:2.15.94.0.1
86 BuildRequires:  bison
87 %{?with_java:BuildRequires:     cairo-devel >= 0.5.0}
88 %{?with_tests:BuildRequires:    dejagnu}
89 BuildRequires:  fileutils >= 4.0.41
90 BuildRequires:  flex
91 %if %{with ada}
92 BuildRequires:  gcc(ada)
93 BuildRequires:  gcc-ada
94 %endif
95 BuildRequires:  gettext-devel
96 %if %{with multilib}
97 BuildRequires:  glibc-devel >= 6:2.3.4-1.5
98 %ifarch %{x8664}
99 BuildRequires:  glibc-devel(i686)
100 %endif
101 %ifarch ppc64
102 BuildRequires:  glibc-devel(ppc)
103 %endif
104 %ifarch s390x
105 BuildRequires:  glibc-devel(s390)
106 %endif
107 %ifarch sparc64
108 BuildRequires:  glibc-devel(sparc)
109 %endif
110 %else
111 BuildRequires:  glibc-devel >= 2.2.5-20
112 %endif
113 %if %{with fortran}
114 BuildRequires:  gmp-devel
115 BuildRequires:  libmpfr-devel
116 %endif
117 %{?with_java:BuildRequires:     pango-devel}
118 BuildRequires:  perl-devel
119 %{?with_java:BuildRequires:     pkgconfig}
120 BuildRequires:  rpmbuild(macros) >= 1.211
121 BuildRequires:  texinfo >= 4.1
122 BuildRequires:  zlib-devel
123 # AS_NEEDED directive for dynamic linker
124 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
125 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
126 Requires:       binutils >= 2:2.16.90.0.1-0.3
127 Requires:       libgcc = %{epoch}:%{version}-%{release}
128 Provides:       cpp = %{epoch}:%{version}-%{release}
129 %{?with_ada:Provides:   gcc(ada)}
130 %{?with_multilib:Provides:      gcc(multilib)}
131 Obsoletes:      cpp
132 Obsoletes:      egcs-cpp
133 Obsoletes:      gcc-chill
134 Obsoletes:      gcc-cpp
135 Obsoletes:      gcc-ksi
136 Obsoletes:      gont
137 Conflicts:      glibc-devel < 2.2.5-20
138 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
139
140 %define         _slibdir        /%{_lib}
141 %if %{with multilib}
142 # 32-bit environment on x86-64,ppc64,s390x,sparc64
143 %define         _slibdir32      /lib
144 %define         _libdir32       /usr/lib
145 %endif
146
147 %description
148 A compiler aimed at integrating all the optimizations and features
149 necessary for a high-performance and stable development environment.
150
151 This package contains the C compiler and some files shared by various
152 parts of the GNU Compiler Collection. In order to use another GCC
153 compiler you will need to install the appropriate subpackage.
154
155 %description -l es
156 Un compilador que intenta integrar todas las optimalizaciones y
157 características necesarias para un entorno de desarrollo eficaz y
158 estable.
159
160 Este paquete contiene el compilador de C y unos ficheros compartidos
161 por varias partes de la colección de compiladores GNU (GCC). Para usar
162 otro compilador de GCC será necesario que instale el subpaquete
163 adecuado.
164
165 %description -l pl
166 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
167 wyprodukowania szybkiego i stabilnego kodu wynikowego.
168
169 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
170 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
171 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
172
173 %description -l pt_BR
174 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
175 GNU Compiler Collection.
176
177 %package -n libgcc
178 Summary:        Shared gcc library
179 Summary(es):    Biblioteca compartida de gcc
180 Summary(pl):    Biblioteka gcc
181 Summary(pt_BR): Biblioteca runtime para o GCC
182 License:        GPL with unlimited link permission
183 Group:          Libraries
184 Obsoletes:      libgcc1
185
186 %description -n libgcc
187 Shared gcc library.
188
189 %description -n libgcc -l es
190 Biblioteca compartida de gcc.
191
192 %description -n libgcc -l pl
193 Biblioteka dynamiczna gcc.
194
195 %description -n libgcc -l pt_BR
196 Biblioteca runtime para o GCC.
197
198 %package -n libmudflap
199 Summary:        GCC mudflap shared support library
200 Summary(pl):    Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
201 License:        GPL v2+ with unlimited link permission
202 Group:          Libraries
203
204 %description -n libmudflap
205 The libmudflap libraries are used by GCC for instrumenting pointer and
206 array dereferencing operations.
207
208 %description -n libmudflap -l pl
209 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
210 dereferencji wspa¼ników i tablic.
211
212 %package -n libmudflap-devel
213 Summary:        Development files for GCC mudflap library
214 Summary(pl):    Pliki programistyczne biblioteki GCC mudflap
215 License:        GPL v2+ with unlimited link permission
216 Group:          Development/Libraries
217 Requires:       libmudflap = %{epoch}:%{version}-%{release}
218
219 %description -n libmudflap-devel
220 The libmudflap libraries are used by GCC for instrumenting pointer and
221 array dereferencing operations. This package contains development
222 files.
223
224 %description -n libmudflap-devel -l pl
225 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
226 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
227 programistyczne.
228
229 %package -n libmudflap-static
230 Summary:        Static GCC mudflap library
231 Summary(pl):    Statyczna biblioteka GCC mudflap
232 License:        GPL v2+ with unlimited link permission
233 Group:          Development/Libraries
234 Requires:       libmudflap-devel = %{epoch}:%{version}-%{release}
235
236 %description -n libmudflap-static
237 The libmudflap libraries are used by GCC for instrumenting pointer and
238 array dereferencing operations. This package contains static
239 libraries.
240
241 %description -n libmudflap-static -l pl
242 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
243 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
244 statyczne.
245
246 %package ada
247 Summary:        Ada support for gcc
248 Summary(es):    Soporte de Ada para gcc
249 Summary(pl):    Obs³uga Ady do gcc
250 Group:          Development/Languages
251 Requires:       %{name} = %{epoch}:%{version}-%{release}
252 Requires:       libgnat = %{epoch}:%{version}-%{release}
253 Obsoletes:      gcc-gnat
254 Obsoletes:      gnat-devel
255
256 %description ada
257 This package adds experimental support for compiling Ada programs.
258
259 %description ada -l es
260 Este paquete añade soporte experimental para compilar programas en
261 Ada.
262
263 %description ada -l pl
264 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
265 Adzie.
266
267 %package -n libgnat
268 Summary:        Ada standard libraries
269 Summary(es):    Bibliotecas estándares de Ada
270 Summary(pl):    Biblioteki standardowe dla Ady
271 License:        GPL v2+ with linking exception
272 Group:          Libraries
273 Obsoletes:      gnat
274 Obsoletes:      libgnat1
275
276 %description -n libgnat
277 This package contains shared libraries needed to run programs written
278 in Ada.
279
280 %description -n libgnat -l es
281 Este paquete contiene las bibliotecas compartidas necesarias para
282 ejecutar programas escritos en Ada.
283
284 %description -n libgnat -l pl
285 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
286 napisanych w Adzie.
287
288 %package -n libgnat-static
289 Summary:        Static Ada standard libraries
290 Summary(pl):    Statyczne biblioteki standardowe dla Ady
291 License:        GPL v2+ with linking exception
292 Group:          Development/Libraries
293 Obsoletes:      gnat-static
294
295 %description -n libgnat-static
296 This package contains static libraries for programs written in Ada.
297
298 %description -n libgnat-static -l pl
299 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
300 Adzie.
301
302 %package c++
303 Summary:        C++ support for gcc
304 Summary(es):    Soporte de C++ para gcc
305 Summary(pl):    Obs³uga C++ dla gcc
306 Summary(pt_BR): Suporte C++ para o gcc
307 Group:          Development/Languages
308 Requires:       %{name} = %{epoch}:%{version}-%{release}
309 Obsoletes:      egcc-c++
310 Obsoletes:      egcs-c++
311
312 %description c++
313 This package adds C++ support to the GNU Compiler Collection. It
314 includes support for most of the current C++ specification, including
315 templates and exception handling. It does not include a standard C++
316 library, which is available separately.
317
318 %description c++ -l de
319 Dieses Paket enthält die C++-Unterstützung für den
320 GNU-Compiler-Collection. Es unterstützt die aktuelle
321 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
322 C++-Standard-Library ist nicht enthalten - sie ist getrennt
323 erhältlich.
324
325 %description c++ -l es
326 Este paquete añade soporte de C++ al GCC (colección de compiladores
327 GNU). Ello incluye el soporte para la mayoría de la especificación
328 actual de C++, incluyendo plantillas y manejo de excepciones. No
329 incluye la biblioteca estándar de C++, la que es disponible separada.
330
331 %description c++ -l fr
332 Ce package ajoute un support C++ a la collection de compilateurs GNU.
333 Il comprend un support pour la plupart des spécifications actuelles de
334 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
335 une bibliothéque C++ standard, qui est disponible séparément.
336
337 %description c++ -l pl
338 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
339 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
340 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
341
342 %description c++ -l pt_BR
343 Este pacote adiciona suporte C++ para o gcc.
344
345 %description c++ -l tr
346 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
347 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
348 C++ kitaplýðý bu pakette yer almaz.
349
350 %package -n libstdc++
351 Summary:        GNU C++ library
352 Summary(es):    Biblioteca C++ de GNU
353 Summary(pl):    Biblioteki GNU C++
354 Summary(pt_BR): Biblioteca C++ GNU
355 License:        GPL v2+ with free software exception
356 Group:          Libraries
357 Obsoletes:      libg++
358 Obsoletes:      libstdc++3
359
360 %description -n libstdc++
361 This is the GNU implementation of the standard C++ libraries, along
362 with additional GNU tools. This package includes the shared libraries
363 necessary to run C++ applications.
364
365 %description -n libstdc++ -l de
366 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
367 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
368 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
369
370 %description -n libstdc++ -l es
371 Este es el soporte de las bibliotecas padrón del C++, junto con
372 herramientas GNU adicionales. El paquete incluye las bibliotecas
373 compartidas necesarias para ejecutar aplicaciones C++.
374
375 %description -n libstdc++ -l fr
376 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
377 des outils GNU supplémentaires. Ce package comprend les librairies
378 partagées nécessaires à l'exécution d'application C++.
379
380 %description -n libstdc++ -l pl
381 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
382 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
383 uruchomienia aplikacji napisanych w C++.
384
385 %description -n libstdc++ -l pt_BR
386 Este pacote é uma implementação da biblioteca padrão C++ v3, um
387 subconjunto do padrão ISO 14882.
388
389 %description -n libstdc++ -l tr
390 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
391 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
392
393 %package -n libstdc++-devel
394 Summary:        Header files and documentation for C++ development
395 Summary(de):    Header-Dateien zur Entwicklung mit C++
396 Summary(es):    Ficheros de cabecera y documentación para desarrollo C++
397 Summary(fr):    Fichiers d'en-tête et biblitothèques pour développer en C++
398 Summary(pl):    Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
399 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
400 Summary(tr):    C++ ile program geliþtirmek için gerekli dosyalar
401 License:        GPL v2+ with free software exception
402 Group:          Development/Libraries
403 Requires:       %{name}-c++ = %{epoch}:%{version}-%{release}
404 Requires:       libstdc++ = %{epoch}:%{version}-%{release}
405 Requires:       glibc-devel
406 Obsoletes:      libg++-devel
407 Obsoletes:      libstdc++3-devel
408
409 %description -n libstdc++-devel
410 This is the GNU implementation of the standard C++ libraries. This
411 package includes the header files needed for C++ development and
412 library documentation.
413
414 %description -n libstdc++-devel -l es
415 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
416 paquete incluye los archivos de inclusión y bibliotecas necesarios
417 para desarrollo de programas en lenguaje C++.
418
419 %description -n libstdc++-devel -l pl
420 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
421 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
422 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
423
424 %description -n libstdc++-devel -l pt_BR
425 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
426 para desenvolvimento de programas C++.
427
428 %package -n libstdc++-static
429 Summary:        Static C++ standard library
430 Summary(es):    Biblioteca estándar estática de C++
431 Summary(pl):    Statyczna biblioteka standardowa C++
432 License:        GPL v2+ with free software exception
433 Group:          Development/Libraries
434 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
435
436 %description -n libstdc++-static
437 Static C++ standard library.
438
439 %description -n libstdc++-static -l es
440 Biblioteca estándar estática de C++.
441
442 %description -n libstdc++-static -l pl
443 Statyczna biblioteka standardowa C++.
444
445 %package fortran
446 Summary:        Fortran 95 support for gcc
447 Summary(es):    Soporte de Fortran 95 para gcc
448 Summary(pl):    Obs³uga Fortranu 95 dla gcc
449 Summary(pt_BR): Suporte Fortran 95 para o GCC
450 Group:          Development/Languages/Fortran
451 Requires:       libgfortran = %{epoch}:%{version}-%{release}
452 Provides:       gcc-g77 = %{epoch}:%{version}-%{release}
453 Obsoletes:      egcs-g77
454 Obsoletes:      gcc-g77
455
456 %description fortran
457 This package adds support for compiling Fortran 95 programs with the
458 GNU compiler.
459
460 %description fortran -l es
461 Este paquete añade soporte para compilar programas escritos en Fortran
462 95 con el compilador GNU.
463
464 %description fortran -l pl
465 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
466 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
467
468 %description fortran -l pt_BR
469 Suporte Fortran 95 para o GCC.
470
471 %package -n libgfortran
472 Summary:        Fortran 95 Libraries
473 Summary(es):    Bibliotecas de Fortran 95
474 Summary(pl):    Biblioteki Fortranu 95
475 License:        LGPL v2+
476 Group:          Libraries
477 Obsoletes:      libg2c
478
479 %description -n libgfortran
480 Fortran 95 Libraries.
481
482 %description -n libgfortran -l es
483 Bibliotecas de Fortran 95.
484
485 %description -n libgfortran -l pl
486 Biblioteki Fortranu 95.
487
488 %package -n libgfortran-static
489 Summary:        Static Fortran 95 Libraries
490 Summary(es):    Bibliotecas estáticas de Fortran 95
491 Summary(pl):    Statyczne Biblioteki Fortranu 95
492 License:        LGPL v2+
493 Group:          Development/Libraries
494 Requires:       libgfortran = %{epoch}:%{version}-%{release}
495 Obsoletes:      libg2c-static
496
497 %description -n libgfortran-static
498 Static Fortran 95 Libraries.
499
500 %description -n libgfortran-static -l es
501 Bibliotecas estáticas de Fortran 95.
502
503 %description -n libgfortran-static -l pl
504 Statyczne biblioteki Fortranu 95.
505
506 %package java
507 Summary:        Java support for gcc
508 Summary(es):    Soporte de Java para gcc
509 Summary(pl):    Obs³uga Javy dla gcc
510 Group:          Development/Languages/Java
511 Requires:       %{name} = %{epoch}:%{version}-%{release}
512 Requires:       libgcj-devel = %{epoch}:%{version}-%{release}
513 Provides:       gcj = %{epoch}:%{version}-%{release}
514 Provides:       gcc-java-tools
515 Obsoletes:      fastjar
516 Obsoletes:      gcc-java-tools
517
518 %description java
519 This package adds experimental support for compiling Java(TM) programs
520 and bytecode into native code. To use this you will also need the
521 libgcj package.
522
523 %description java -l es
524 Este paquete añade soporte experimental para compilar programas
525 Java(tm) y su bytecode en código nativo. Para usarlo también va a
526 necesitar el paquete libgcj.
527
528 %description java -l pl
529 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
530 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
531 dodatkowo pakiet libgcj.
532
533 %package -n libgcj
534 Summary:        Java Class Libraries
535 Summary(es):    Bibliotecas de clases de Java
536 Summary(pl):    Biblioteki Klas Javy
537 License:        GPL with limited linking exception
538 Group:          Libraries
539 Obsoletes:      libgcj3
540
541 %description -n libgcj
542 Java Class Libraries.
543
544 %description -n libgcj -l es
545 Bibliotecas de clases de Java.
546
547 %description -n libgcj -l pl
548 Biblioteki Klas Javy.
549
550 %package -n libgcj-devel
551 Summary:        Development files for Java Class Libraries
552 Summary(es):    Ficheros de desarrollo para las bibliotecas de clases de Java
553 Summary(pl):    Pliki nag³ówkowe dla Bibliotek Klas Javy
554 License:        GPL with limited linking exception
555 Group:          Development/Libraries
556 Requires:       libgcj = %{epoch}:%{version}-%{release}
557 Requires:       zlib-devel
558 Obsoletes:      libgcj3-devel
559
560 %description -n libgcj-devel
561 Development files for Java Class Libraries.
562
563 %description -n libgcj-devel -l es
564 Ficheros de desarrollo para las bibliotecas de clases de Java.
565
566 %description -n libgcj-devel -l pl
567 Pliki nag³ówkowe dla Bibliotek Klas Javy.
568
569 %package -n libgcj-static
570 Summary:        Static Java Class Libraries
571 Summary(es):    Bibliotecas estáticas de clases de Java
572 Summary(pl):    Statyczne Biblioteki Klas Javy
573 License:        GPL with limited linking exception
574 Group:          Development/Libraries
575 Requires:       libgcj-devel = %{epoch}:%{version}-%{release}
576 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
577
578 %description -n libgcj-static
579 Static Java Class Libraries.
580
581 %description -n libgcj-static -l es
582 Bibliotecas estáticas de clases de Java.
583
584 %description -n libgcj-static -l pl
585 Statyczne Biblioteki Klas Javy.
586
587 %package -n libffi
588 Summary:        Foreign Function Interface library
589 Summary(es):    Biblioteca de interfaz de funciones ajenas
590 Summary(pl):    Biblioteka zewnêtrznych wywo³añ funkcji
591 License:        BSD-like
592 Group:          Libraries
593
594 %description -n libffi
595 The libffi library provides a portable, high level programming
596 interface to various calling conventions. This allows a programmer to
597 call any function specified by a call interface description at run
598 time.
599
600 %description -n libffi -l es
601 La biblioteca libffi provee una interfaz portable de programación de
602 alto nivel para varias convenciones de llamada. Ello permite que un
603 programador llame una función cualquiera especificada por una
604 descripción de interfaz de llamada en el tiempo de ejecución.
605
606 %description -n libffi -l pl
607 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
608 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
609 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
610 czasie wykonania.
611
612 %package -n libffi-devel
613 Summary:        Development files for Foreign Function Interface library
614 Summary(es):    Ficheros de desarrollo para libffi
615 Summary(pl):    Pliki nag³ówkowe dla libffi
616 License:        BSD-like
617 Group:          Development/Libraries
618 Requires:       libffi = %{epoch}:%{version}-%{release}
619
620 %description -n libffi-devel
621 Development files for Foreign Function Interface library.
622
623 %description -n libffi-devel -l es
624 Ficheros de desarrollo para libffi.
625
626 %description -n libffi-devel -l pl
627 Pliki nag³ówkowe dla libffi.
628
629 %package -n libffi-static
630 Summary:        Static Foreign Function Interface library
631 Summary(es):    Biblioteca libffi estática
632 Summary(pl):    Statyczna biblioteka libffi
633 License:        BSD-like
634 Group:          Development/Libraries
635 Requires:       libffi-devel = %{epoch}:%{version}-%{release}
636
637 %description -n libffi-static
638 Static Foreign Function Interface library.
639
640 %description -n libffi-static -l es
641 Biblioteca libffi estática.
642
643 %description -n libffi-static -l pl
644 Statyczna biblioteka libffi.
645
646 %package objc
647 Summary:        Objective C support for gcc
648 Summary(de):    Objektive C-Unterstützung für gcc
649 Summary(es):    Soporte de Objective C para gcc
650 Summary(fr):    Gestion d'Objective C pour gcc
651 Summary(pl):    Obs³uga obiektowego C dla kompilatora gcc
652 Summary(tr):    gcc için Objective C desteði
653 Group:          Development/Languages
654 Requires:       %{name} = %{epoch}:%{version}-%{release}
655 Requires:       libobjc = %{epoch}:%{version}-%{release}
656 Obsoletes:      egcc-objc
657 Obsoletes:      egcs-objc
658
659 %description objc
660 This package adds Objective C support to the GNU Compiler Collection.
661 Objective C is a object oriented derivative of the C language, mainly
662 used on systems running NeXTSTEP. This package does not include the
663 standard objective C object library.
664
665 %description objc -l de
666 Dieses Paket ergänzt den GNU-Compiler-Collection durch
667 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
668 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
669 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
670
671 %description objc -l es
672 Este paquete añade soporte de Objective C al GCC (colección de
673 compiladores GNU). Objective C es un lenguaje orientado a objetos
674 derivado de C, principalmente usado en sistemas que funcionan bajo
675 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
676 Objective C.
677
678 %description objc -l fr
679 Ce package ajoute un support Objective C a la collection de
680 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
681 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
682 package n'inclue pas la bibliothéque Objective C standard.
683
684 %description objc -l pl
685 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
686 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
687 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
688 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
689
690 %description objc -l tr
691 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
692 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
693 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
694 kitaplýðý bu pakette yer almaz.
695
696 %package objc++
697 Summary:        Objective C++ support for gcc
698 Summary(pl):    Obs³uga jêzyka Objective C++ dla gcc
699 Group:          Development/Languages
700 Requires:       %{name}-c++ = %{epoch}:%{version}-%{release}
701 Requires:       %{name}-objc = %{epoch}:%{version}-%{release}
702
703 %description objc++
704 This package adds Objective C++ support to the GNU Compiler
705 Collection.
706
707 %description objc++ -l pl
708 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
709 kompilatorów GNU Compiler Collection.
710
711 %package -n libobjc
712 Summary:        Objective C Libraries
713 Summary(es):    Bibliotecas de Objective C
714 Summary(pl):    Biblioteki Obiektowego C
715 License:        GPL v2+ with linking exception
716 Group:          Libraries
717 Obsoletes:      libobjc1
718
719 %description -n libobjc
720 Objective C Libraries.
721
722 %description -n libobjc -l es
723 Bibliotecas de Objective C.
724
725 %description -n libobjc -l pl
726 Biblioteki Obiektowego C.
727
728 %package -n libobjc-static
729 Summary:        Static Objective C Libraries
730 Summary(es):    Bibliotecas estáticas de Objective C
731 Summary(pl):    Statyczne Biblioteki Obiektowego C
732 License:        GPL v2+ with linking exception
733 Group:          Development/Libraries
734 Requires:       libobjc = %{epoch}:%{version}-%{release}
735
736 %description -n libobjc-static
737 Static Objective C Libraries.
738
739 %description -n libobjc-static -l es
740 Bibliotecas estáticas de Objective C.
741
742 %description -n libobjc-static -l pl
743 Statyczne biblioteki Obiektowego C.
744
745 %prep
746 #setup -q -n gcc-%{version}
747 %setup -q -n gcc
748
749 %patch0 -p1
750 %patch1 -p1
751 %{!?debug:%patch2 -p1}
752 %patch3 -p1
753 %patch4 -p1
754 %patch5 -p1
755
756 # -fvisbility fixes...
757 %patch6 -p1
758 %patch7 -p1
759
760 #patch9 -p1     NEEDS UPDATE
761 # PRs
762 %patch10 -p1
763 %patch11 -p1
764 %patch12 -p1
765
766 %ifarch %{ix86} %{x8664}
767 %patch14 -p1
768 %patch15 -p1
769 %endif
770 %patch16 -p1
771 %patch17 -p1
772 %patch18 -p1
773 %patch19 -p1
774 %patch20 -p1
775
776 # because we distribute modified version of gcc...
777 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
778 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
779
780 mv ChangeLog ChangeLog.general
781
782 %build
783 cd gcc
784 %{__autoconf}
785 cd ..
786 cd libjava/classpath
787 %{__autoconf}
788 cd ../..
789 cp -f /usr/share/automake/config.sub .
790
791 rm -rf obj-%{_target_platform}
792 install -d obj-%{_target_platform}
793 cd obj-%{_target_platform}
794
795 CFLAGS="%{rpmcflags}" \
796 CXXFLAGS="%{rpmcxxflags}" \
797 TEXCONFIG=false \
798 ../configure \
799         --prefix=%{_prefix} \
800         --libdir=%{_libdir} \
801         --libexecdir=%{_libdir} \
802         --infodir=%{_infodir} \
803         --mandir=%{_mandir} \
804         --enable-shared \
805         --enable-threads=posix \
806         --enable-__cxa_atexit \
807         --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,f95}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
808         --enable-c99 \
809         --enable-long-long \
810         --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
811         --enable-nls \
812         --disable-werror \
813         --with-gnu-as \
814         --with-gnu-ld \
815         --with-demangler-in-ld \
816         --with-system-zlib \
817         --with-slibdir=%{_slibdir} \
818         --without-x \
819         %{?with_fortran:--enable-cmath} \
820 %if %{with java}
821         --enable-libgcj \
822         --enable-libgcj-multifile \
823         --enable-libgcj-database \
824         --enable-gtk-cairo \
825         --enable-java-awt=gtk \
826 %endif
827         %{_target_platform}
828
829 # horrible compile time hog with perfect tree checking
830 #       --enable-checking=all \
831
832 cd ..
833
834 %{__make} -C obj-%{_target_platform} \
835         %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
836         GCJFLAGS="%{rpmcflags}" \
837         BOOT_CFLAGS="%{rpmcflags}" \
838         STAGE1_CFLAGS="%{rpmcflags} -O0" \
839         GNATLIBCFLAGS="%{rpmcflags}" \
840         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
841         mandir=%{_mandir} \
842         infodir=%{_infodir}
843
844 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
845
846 %install
847 rm -rf $RPM_BUILD_ROOT
848 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
849
850 cd obj-%{_target_platform}
851
852 %{__make} -j1 install \
853         mandir=%{_mandir} \
854         infodir=%{_infodir} \
855         DESTDIR=$RPM_BUILD_ROOT
856
857 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
858
859 %ifarch sparc64
860 ln -sf  %{_bindir}/sparc64-pld-linux-gcc \
861         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
862 %endif
863
864 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
865 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
866 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
867
868 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
869 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
870 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
871 %if %{with multilib}
872 libssp=$($RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*`)
873 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
874 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
875 %endif
876
877 %if %{with fortran}
878 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
879 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
880 %endif
881
882 %if %{with ada}
883 # move ada shared libraries to proper place...
884 mv -f   $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
885         $RPM_BUILD_ROOT%{_libdir}
886 # check if symlink to be made is valid
887 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so.1
888 ln -sf  libgnat-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so
889 ln -sf  libgnarl-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.0.so
890 ln -sf  libgnat-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
891 ln -sf  libgnarl-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
892 %endif
893
894 cd ..
895
896 %if %{with java}
897 install -d java-doc
898 cp -f   libjava/READ* java-doc
899 cp -f   fastjar/README java-doc/README.fastjar
900 cp -f   libffi/README java-doc/README.libffi
901 cp -f   libffi/LICENSE java-doc/LICENSE.libffi
902 ln -sf  %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
903 %endif
904 %if %{with objc}
905 cp -f   libobjc/README gcc/objc/README.libobjc
906 %endif
907
908 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
909 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
910 for f in libmudflap.la libmudflapth.la libssp.la \
911         %{?with_cxx:libstdc++.la libsupc++.la} \
912         %{?with_fortran:libgfortran.la libgfortranbegin.la} \
913         %{?with_java:libgcj.la libffi.la} \
914         %{?with_objc:libobjc.la};
915 do
916         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
917         mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
918 %if %{with multilib}
919         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
920         mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
921 %endif
922 done
923
924 # include/ contains install-tools/include/* and headers that were fixed up
925 # by fixincludes, we don't want former
926 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
927 mkdir   $gccdir/tmp
928
929 # we have to save these however
930 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
931 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
932 mv $gccdir/include/syslimits.h $gccdir/tmp
933 rm -rf $gccdir/include
934 mv $gccdir/tmp $gccdir/include
935 cp $gccdir/install-tools/include/*.h $gccdir/include
936 # but we don't want anything more from install-tools
937 rm -rf $gccdir/install-tools
938
939 %if %{with multilib}
940 ln -sf %{_slibdir32}/libgcc_s.so.1      $gccdir/32/libgcc_s.so
941 %endif
942 ln -sf %{_slibdir}/libgcc_s.so.1        $gccdir/libgcc_s.so
943
944 %find_lang gcc
945 %{?with_cxx:%find_lang libstdc\+\+}
946
947 # cvs snap doesn't contain (release does) below files,
948 # so let's create dummy entries to satisfy %%files.
949 [ ! -f NEWS ] && touch NEWS
950 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
951 [ ! -f libgfortran/README ] && touch libgfortran/README
952
953 %clean
954 rm -rf $RPM_BUILD_ROOT
955
956 %post
957 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
958
959 %postun
960 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
961
962 %post ada
963 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
964
965 %postun ada
966 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
967
968 %post fortran
969 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
970
971 %postun fortran
972 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
973
974 %post java
975 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
976
977 %postun java
978 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
979
980 %post   -p /sbin/ldconfig -n libgcc
981 %postun -p /sbin/ldconfig -n libgcc
982 %post   -p /sbin/ldconfig -n libmudflap
983 %postun -p /sbin/ldconfig -n libmudflap
984 %post   -p /sbin/ldconfig -n libgnat
985 %postun -p /sbin/ldconfig -n libgnat
986 %post   -p /sbin/ldconfig -n libstdc++
987 %postun -p /sbin/ldconfig -n libstdc++
988 %post   -p /sbin/ldconfig -n libgfortran
989 %postun -p /sbin/ldconfig -n libgfortran
990 %post   -p /sbin/ldconfig -n libgcj
991 %postun -p /sbin/ldconfig -n libgcj
992 %post   -p /sbin/ldconfig -n libffi
993 %postun -p /sbin/ldconfig -n libffi
994 %post   -p /sbin/ldconfig -n libobjc
995 %postun -p /sbin/ldconfig -n libobjc
996
997 %files -f gcc.lang
998 %defattr(644,root,root,755)
999 %doc ChangeLog.general MAINTAINERS NEWS
1000 # bugs.html faq.html
1001 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1002 %dir %{_libdir}/gcc
1003 %dir %{_libdir}/gcc/*
1004 %dir %{_libdir}/gcc/*/*
1005 %dir %{_libdir}/gcc/*/*/include
1006
1007 %attr(755,root,root) %{_bindir}/*-gcc*
1008 %attr(755,root,root) %{_bindir}/gcc
1009 %attr(755,root,root) %{_bindir}/gccbug
1010 %attr(755,root,root) %{_bindir}/gcov
1011 %attr(755,root,root) %{_bindir}/cc
1012 %attr(755,root,root) %{_bindir}/cpp
1013
1014 %{_includedir}/ssp
1015
1016 %{_mandir}/man1/cc.1*
1017 %{_mandir}/man1/cpp.1*
1018 %{_mandir}/man1/gcc.1*
1019 %{_mandir}/man1/gcov.1*
1020
1021 %{_infodir}/cpp*
1022 %{_infodir}/gcc*
1023
1024 %attr(755,root,root) /lib/cpp
1025
1026 %attr(755,root,root) %{_slibdir}/lib*.so
1027 %{_libdir}/libssp.la
1028 %attr(755,root,root) %{_libdir}/libssp.a
1029 %attr(755,root,root) %{_libdir}/libssp.so
1030 %{_libdir}/libssp_nonshared.a
1031 %{_libdir}/libssp_nonshared.la
1032 %if %{with multilib}
1033 %dir %{_libdir}/gcc/*/*/32
1034 %{_libdir}/gcc/*/*/32/libgcov.a
1035 %{_libdir}/gcc/*/*/32/libgcc.a
1036 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1037 %{_libdir}/gcc/*/*/32/libgcc_s.so
1038 %{_libdir32}/libssp.la
1039 %attr(755,root,root) %{_libdir32}/libssp.a
1040 %attr(755,root,root) %{_libdir32}/libssp.so
1041 %{_libdir32}/libssp_nonshared.a
1042 %{_libdir32}/libssp_nonshared.la
1043 %endif
1044 %{_libdir}/gcc/*/*/libgcov.a
1045 %{_libdir}/gcc/*/*/libgcc.a
1046 %{_libdir}/gcc/*/*/libgcc_eh.a
1047 %{_libdir}/gcc/*/*/libgcc_s.so
1048 %{_libdir}/gcc/*/*/specs
1049 %if %{with multilib}
1050 %{_libdir}/gcc/*/*/32/crt*.o
1051 %endif
1052 %{_libdir}/gcc/*/*/crt*.o
1053 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1054 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1055
1056 %{_libdir}/gcc/*/*/include/*.h
1057
1058 %files -n libgcc
1059 %defattr(644,root,root,755)
1060 %if %{with multilib}
1061 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1062 %endif
1063 %attr(755,root,root) %{_slibdir}/lib*.so.*
1064
1065 %files -n libmudflap
1066 %defattr(644,root,root,755)
1067 %if %{with multilib}
1068 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1069 %endif
1070 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1071
1072 %files -n libmudflap-devel
1073 %defattr(644,root,root,755)
1074 %{_includedir}/mf-runtime.h
1075 %if %{with multilib}
1076 %{_libdir32}/libmudflap*.la
1077 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1078 %endif
1079 %{_libdir}/libmudflap*.la
1080 %attr(755,root,root) %{_libdir}/libmudflap*.so
1081
1082 %files -n libmudflap-static
1083 %defattr(644,root,root,755)
1084 %if %{with multilib}
1085 %{_libdir32}/libmudflap*.a
1086 %endif
1087 %{_libdir}/libmudflap*.a
1088
1089 %if %{with ada}
1090 %files ada
1091 %defattr(644,root,root,755)
1092 %doc gcc/ada/ChangeLog
1093 %attr(755,root,root) %{_bindir}/gnat*
1094 %attr(755,root,root) %{_bindir}/gpr*
1095 %attr(755,root,root) %{_libdir}/libgnarl*.so
1096 %attr(755,root,root) %{_libdir}/libgnat*.so
1097 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1098 %{_libdir}/gcc/*/*/adainclude
1099 %dir %{_libdir}/gcc/*/*/adalib
1100 %{_libdir}/gcc/*/*/adalib/*.ali
1101 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1102 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1103 %ifarch %{ix86}
1104 %{_libdir}/gcc/*/*/adalib/libgmem.a
1105 %endif
1106 %{_infodir}/gnat*
1107
1108 %files -n libgnat
1109 %defattr(644,root,root,755)
1110 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1111 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1112
1113 %files -n libgnat-static
1114 %defattr(644,root,root,755)
1115 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1116 %{_libdir}/gcc/*/*/adalib/libgnat.a
1117 %endif
1118
1119 %if %{with cxx}
1120 %files c++
1121 %defattr(644,root,root,755)
1122 %doc gcc/cp/{ChangeLog,NEWS}
1123 %attr(755,root,root) %{_bindir}/g++
1124 %attr(755,root,root) %{_bindir}/*-g++
1125 %attr(755,root,root) %{_bindir}/c++
1126 %attr(755,root,root) %{_bindir}/*-c++
1127 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1128 %if %{with multilib}
1129 %{_libdir32}/libsupc++.a
1130 %{_libdir32}/libsupc++.la
1131 %endif
1132 %{_libdir}/libsupc++.a
1133 %{_libdir}/libsupc++.la
1134 %{_mandir}/man1/g++.1*
1135
1136 %files -n libstdc++ -f libstdc++.lang
1137 %defattr(644,root,root,755)
1138 %doc libstdc++-v3/{ChangeLog,README}
1139 %if %{with multilib}
1140 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1141 %endif
1142 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1143
1144 %files -n libstdc++-devel
1145 %defattr(644,root,root,755)
1146 %doc libstdc++-v3/docs/html
1147 %dir %{_includedir}/c++
1148 %{_includedir}/c++/%{version}
1149 %if %{with java}
1150 %exclude %{_includedir}/c++/%{version}/java
1151 %exclude %{_includedir}/c++/%{version}/javax
1152 %exclude %{_includedir}/c++/%{version}/gcj
1153 %exclude %{_includedir}/c++/%{version}/gnu
1154 %endif
1155 %ifnarch sparc
1156 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
1157 %endif
1158 %if %{with multilib}
1159 %{_libdir32}/libstdc++.la
1160 %attr(755,root,root) %{_libdir32}/libstdc++.so
1161 %endif
1162 %{_libdir}/libstdc++.la
1163 %attr(755,root,root) %{_libdir}/libstdc++.so
1164
1165 %files -n libstdc++-static
1166 %defattr(644,root,root,755)
1167 %if %{with multilib}
1168 %{_libdir32}/libstdc++.a
1169 %endif
1170 %{_libdir}/libstdc++.a
1171 %endif
1172
1173 %if %{with fortran}
1174 %files fortran
1175 %defattr(644,root,root,755)
1176 %doc gcc/fortran/ChangeLog
1177 %attr(755,root,root) %{_bindir}/g95
1178 %attr(755,root,root) %{_bindir}/gfortran
1179 %{_infodir}/gfortran*
1180 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1181 %if %{with multilib}
1182 %{_libdir32}/libgfortranbegin.a
1183 %{_libdir32}/libgfortranbegin.la
1184 %{_libdir32}/libgfortran.la
1185 %attr(755,root,root) %{_libdir32}/libgfortran.so
1186 %endif
1187 %{_libdir}/libgfortranbegin.a
1188 %{_libdir}/libgfortranbegin.la
1189 %{_libdir}/libgfortran.la
1190 %attr(755,root,root) %{_libdir}/libgfortran.so
1191 %{_mandir}/man1/g95.1*
1192 %{_mandir}/man1/gfortran.1*
1193
1194 %files -n libgfortran
1195 %defattr(644,root,root,755)
1196 %doc libgfortran/{AUTHORS,README,ChangeLog}
1197 %if %{with multilib}
1198 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1199 %endif
1200 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1201
1202 %files -n libgfortran-static
1203 %defattr(644,root,root,755)
1204 %if %{with multilib}
1205 %{_libdir32}/libgfortran.a
1206 %endif
1207 %{_libdir}/libgfortran.a
1208 %endif
1209
1210 %if %{with java}
1211 %files java
1212 %defattr(644,root,root,755)
1213 %doc gcc/java/ChangeLog java-doc/*
1214 %attr(755,root,root) %{_bindir}/fastjar
1215 %attr(755,root,root) %{_bindir}/gcj*
1216 %attr(755,root,root) %{_bindir}/gjnih
1217 %attr(755,root,root) %{_bindir}/grepjar
1218 %attr(755,root,root) %{_bindir}/grmi*
1219 %attr(755,root,root) %{_bindir}/jcf-dump
1220 %attr(755,root,root) %{_bindir}/jv-*
1221 %attr(755,root,root) %{_bindir}/*-gcj*
1222 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1223 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1224 %{_infodir}/fastjar*
1225 %{_infodir}/gcj*
1226 %{_mandir}/man1/fastjar*
1227 %{_mandir}/man1/gcj*
1228 %{_mandir}/man1/gjnih*
1229 %{_mandir}/man1/grepjar*
1230 %{_mandir}/man1/grmi*
1231 %{_mandir}/man1/jcf-*
1232 %{_mandir}/man1/jv-*
1233
1234 %files -n libgcj
1235 %defattr(644,root,root,755)
1236 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1237 %attr(755,root,root) %{_bindir}/addr2name.awk
1238 %attr(755,root,root) %{_bindir}/gij
1239 %dir %{_libdir}/gcj-%{version}
1240 %{_libdir}/gcj-%{version}/classmap.db
1241 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1242 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1243 %{_libdir}/logging.properties
1244 %{_javadir}/libgcj*.jar
1245 %{_mandir}/man1/gij*
1246
1247 %files -n libgcj-devel
1248 %defattr(644,root,root,755)
1249 %{_includedir}/c++/%{version}/java
1250 %{_includedir}/c++/%{version}/javax
1251 %{_includedir}/c++/%{version}/gcj
1252 %{_includedir}/c++/%{version}/gnu
1253 %{_libdir}/gcc/*/*/include/gcj
1254 %{_libdir}/gcc/*/*/include/jawt.h
1255 %{_libdir}/gcc/*/*/include/jawt_md.h
1256 %{_libdir}/gcc/*/*/include/jni.h
1257 %{_libdir}/gcc/*/*/include/jvmpi.h
1258 %dir %{_libdir}/security
1259 %{_libdir}/security/*
1260 %{_libdir}/lib*cj.spec
1261 %{_libdir}/lib*cj*.la
1262 %attr(755,root,root) %{_libdir}/lib*cj*.so
1263 %{_libdir}/libgij.la
1264 %attr(755,root,root) %{_libdir}/libgij.so
1265 %{_pkgconfigdir}/libgcj.pc
1266
1267 %files -n libgcj-static
1268 %defattr(644,root,root,755)
1269 %{_libdir}/lib*cj*.a
1270 %{_libdir}/libgij.a
1271
1272 %files -n libffi
1273 %defattr(644,root,root,755)
1274 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1275 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1276
1277 %files -n libffi-devel
1278 %defattr(644,root,root,755)
1279 %{_libdir}/gcc/*/*/include/ffitarget.h
1280 %attr(755,root,root) %{_libdir}/libffi.so
1281 %{_libdir}/libffi.la
1282 %{_includedir}/ffi.h
1283
1284 %files -n libffi-static
1285 %defattr(644,root,root,755)
1286 %{_libdir}/libffi.a
1287 %endif
1288
1289 %if %{with objc}
1290 %files objc
1291 %defattr(644,root,root,755)
1292 %doc gcc/objc/README
1293 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1294 %if %{with multilib}
1295 %attr(755,root,root) %{_libdir32}/libobjc.so
1296 %{_libdir32}/libobjc.la
1297 %endif
1298 %attr(755,root,root) %{_libdir}/libobjc.so
1299 %{_libdir}/libobjc.la
1300 %{_libdir}/gcc/*/*/include/objc
1301
1302 %files -n libobjc
1303 %defattr(644,root,root,755)
1304 %doc libobjc/{ChangeLog,README*}
1305 %if %{with multilib}
1306 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1307 %endif
1308 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1309
1310 %files -n libobjc-static
1311 %defattr(644,root,root,755)
1312 %if %{with multilib}
1313 %{_libdir32}/libobjc.a
1314 %endif
1315 %{_libdir}/libobjc.a
1316 %endif
1317
1318 %if %{with objcxx}
1319 %files objc++
1320 %defattr(644,root,root,755)
1321 %doc gcc/objcp/ChangeLog
1322 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus
1323 %endif
This page took 0.496398 seconds and 3 git commands to generate.