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