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