]> git.pld-linux.org Git - packages/gcc.git/blob - gcc.spec
- updated to 4.1.0-20060218r111233 (it's almost final release).
[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   20060218r111233
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:  1adcffd82ab4f9dbc9f5a0a49cd00061
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.patch
56 Patch4:         %{name}-sparc64-ada_fix.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}-pr19606.patch
67 Patch13:        %{name}-pr24879.patch
68 #Patch14:       %{name}-x87-mmx-switch.patch    NEEDS UPDATE
69 #Patch15:       %{name}-x87-mmx-eh.patch        NEEDS UPDATE
70
71 Patch17:        %{name}-pr19505.patch
72 Patch18:        %{name}-pr24419.patch
73 Patch19:        %{name}-pr24669.patch
74 Patch20:        %{name}-pr17390.patch
75 Patch21:        %{name}-pr13676.patch
76
77 # 128-bit long double support for glibc 2.4
78 Patch30:        %{name}-ldbl-default-libstdc++.patch
79 Patch31:        %{name}-ldbl-default.patch
80 URL:            http://gcc.gnu.org/
81 BuildRequires:  autoconf
82 %{?with_tests:BuildRequires:    autogen}
83 BuildRequires:  automake
84 BuildRequires:  binutils >= 2:2.15.94.0.1
85 BuildRequires:  bison
86 %{?with_tests:BuildRequires:    dejagnu}
87 BuildRequires:  fileutils >= 4.0.41
88 BuildRequires:  flex
89 %if %{with ada}
90 BuildRequires:  gcc(ada)
91 BuildRequires:  gcc-ada
92 %endif
93 BuildRequires:  gettext-devel
94 %if %{with multilib}
95 BuildRequires:  glibc-devel >= 6:2.3.4-1.5
96 %ifarch %{x8664}
97 BuildRequires:  glibc-devel(i686)
98 %endif
99 %ifarch ppc64
100 BuildRequires:  glibc-devel(ppc)
101 %endif
102 %ifarch s390x
103 BuildRequires:  glibc-devel(s390)
104 %endif
105 %ifarch sparc64
106 BuildRequires:  glibc-devel(sparc)
107 %endif
108 %else
109 BuildRequires:  glibc-devel >= 2.2.5-20
110 %endif
111 BuildRequires:  perl-devel
112 BuildRequires:  rpmbuild(macros) >= 1.211
113 BuildRequires:  texinfo >= 4.1
114 BuildRequires:  zlib-devel
115 %if %{with fortran}
116 BuildRequires:  gmp-devel
117 BuildRequires:  libmpfr-devel
118 %endif
119 %if %{with java}
120 BuildRequires:  alsa-lib-devel
121 BuildRequires:  cairo-devel >= 0.5.0
122 BuildRequires:  dssi
123 BuildRequires:  jack-audio-connection-kit-devel
124 BuildRequires:  gtk+2-devel >= 2:2.4.0
125 BuildRequires:  libart_lgpl-devel >= 2.1
126 BuildRequires:  libxslt-devel
127 BuildRequires:  pango-devel
128 BuildRequires:  pkgconfig
129 #BR: X-lib-libXtst-devel
130 %endif
131 # AS_NEEDED directive for dynamic linker
132 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
133 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
134 Requires:       binutils >= 2:2.16.90.0.1-0.3
135 Requires:       libgcc = %{epoch}:%{version}-%{release}
136 Provides:       cpp = %{epoch}:%{version}-%{release}
137 %{?with_ada:Provides:   gcc(ada)}
138 %{?with_multilib:Provides:      gcc(multilib)}
139 Obsoletes:      cpp
140 Obsoletes:      egcs-cpp
141 Obsoletes:      gcc-chill
142 Obsoletes:      gcc-cpp
143 Obsoletes:      gcc-ksi
144 Obsoletes:      gont
145 Conflicts:      glibc-devel < 2.2.5-20
146 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
147
148 %define         _slibdir        /%{_lib}
149 %if %{with multilib}
150 # 32-bit environment on x86-64,ppc64,s390x,sparc64
151 %define         _slibdir32      /lib
152 %define         _libdir32       /usr/lib
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-4_1-branch
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 %patch8 -p1
768
769 # PRs
770 %patch10 -p1
771 %patch11 -p1
772 %patch12 -p0
773 %patch13 -p0
774
775 %ifarch %{ix86} %{x8664}
776 #patch14 -p1
777 #patch15 -p1
778 %endif
779
780 %patch17 -p1
781 %patch18 -p1
782 %patch19 -p1
783 %patch20 -p1
784 %patch21 -p1
785
786 %patch30 -p0
787 %patch31 -p0
788
789 # because we distribute modified version of gcc...
790 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
791 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
792
793 mv ChangeLog ChangeLog.general
794
795 %build
796 cd gcc
797 %{__autoconf}
798 cd ..
799 cp -f /usr/share/automake/config.sub .
800
801 rm -rf obj-%{_target_platform}
802 install -d obj-%{_target_platform}
803 cd obj-%{_target_platform}
804
805 CFLAGS="%{rpmcflags}" \
806 CXXFLAGS="%{rpmcxxflags}" \
807 TEXCONFIG=false \
808 ../configure \
809         --prefix=%{_prefix} \
810         --libdir=%{_libdir} \
811         --libexecdir=%{_libdir} \
812         --infodir=%{_infodir} \
813         --mandir=%{_mandir} \
814         --x-libraries=/usr/X11R6/%{_lib} \
815         --enable-shared \
816         --enable-threads=posix \
817         --enable-__cxa_atexit \
818         --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
819         --enable-c99 \
820         --enable-long-long \
821         --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
822         --enable-nls \
823         --disable-werror \
824         --with-gnu-as \
825         --with-gnu-ld \
826         --with-demangler-in-ld \
827         --with-system-zlib \
828         --with-slibdir=%{_slibdir} \
829         %{!?with_java:--without-x} \
830         %{?with_fortran:--enable-cmath} \
831         --with-long-double-128 \
832 %if %{with java}
833         --enable-libgcj \
834         --enable-libgcj-multifile \
835         --enable-libgcj-database \
836         --enable-gtk-cairo \
837         --enable-java-awt=gtk,xlib \
838         --enable-jni \
839         --enable-xmlj \
840         --enable-alsa \
841         --enable-dssi \
842 %endif
843         %{_target_platform}
844
845 cd ..
846
847 %{__make} -C obj-%{_target_platform} \
848         %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
849         GCJFLAGS="%{rpmcflags}" \
850         BOOT_CFLAGS="%{rpmcflags}" \
851         STAGE1_CFLAGS="%{rpmcflags} -O0" \
852         GNATLIBCFLAGS="%{rpmcflags}" \
853         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
854         mandir=%{_mandir} \
855         infodir=%{_infodir}
856
857 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
858
859 %install
860 rm -rf $RPM_BUILD_ROOT
861 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
862
863 cd obj-%{_target_platform}
864
865 %{__make} -j1 install \
866         mandir=%{_mandir} \
867         infodir=%{_infodir} \
868         DESTDIR=$RPM_BUILD_ROOT
869
870 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
871
872 %ifarch sparc64
873 ln -sf  %{_bindir}/sparc64-pld-linux-gcc \
874         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
875 %endif
876
877 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
878 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
879 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
880
881 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
882 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
883 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
884 %if %{with multilib}
885 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
886 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
887 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
888 %endif
889
890 %if %{with fortran}
891 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
892 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
893 %endif
894
895 %if %{with ada}
896 # move ada shared libraries to proper place...
897 mv -f   $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
898         $RPM_BUILD_ROOT%{_libdir}
899 # check if symlink to be made is valid
900 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so.1
901 ln -sf  libgnat-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so
902 ln -sf  libgnarl-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.1.so
903 ln -sf  libgnat-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
904 ln -sf  libgnarl-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
905 %endif
906
907 cd ..
908
909 %if %{with java}
910 install -d java-doc
911 cp -f   libjava/READ* java-doc
912 cp -f   fastjar/README java-doc/README.fastjar
913 cp -f   libffi/README java-doc/README.libffi
914 cp -f   libffi/LICENSE java-doc/LICENSE.libffi
915 ln -sf  %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
916 rm -f $RPM_BUILD_ROOT%{_libdir}/classpath/libgjs*.la
917 %endif
918 %if %{with objc}
919 cp -f   libobjc/README gcc/objc/README.libobjc
920 %endif
921
922 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
923 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
924 for f in libmudflap.la libmudflapth.la libssp.la \
925         %{?with_cxx:libstdc++.la libsupc++.la} \
926         %{?with_fortran:libgfortran.la libgfortranbegin.la} \
927         %{?with_java:libgcj.la libffi.la} \
928         %{?with_objc:libobjc.la};
929 do
930         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
931         mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
932 %if %{with multilib}
933         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
934         mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
935 %endif
936 done
937
938 # include/ contains install-tools/include/* and headers that were fixed up
939 # by fixincludes, we don't want former
940 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
941 mkdir   $gccdir/tmp
942
943 # we have to save these however
944 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
945 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
946 mv $gccdir/include/syslimits.h $gccdir/tmp
947 rm -rf $gccdir/include
948 mv $gccdir/tmp $gccdir/include
949 cp $gccdir/install-tools/include/*.h $gccdir/include
950 # but we don't want anything more from install-tools
951 rm -rf $gccdir/install-tools
952
953 %if %{with multilib}
954 ln -sf %{_slibdir32}/libgcc_s.so.1      $gccdir/32/libgcc_s.so
955 %endif
956 ln -sf %{_slibdir}/libgcc_s.so.1        $gccdir/libgcc_s.so
957
958 %find_lang gcc
959 %find_lang cpplib
960 cat cpplib.lang >> gcc.lang
961
962 %if %{with cxx}
963 %find_lang libstdc\+\+
964 rm -rf $RPM_BUILD_ROOT%{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
965 install libstdc++-v3/include/stdc++.h $RPM_BUILD_ROOT%{_includedir}
966 %endif
967
968 # cvs snap doesn't contain (release does) below files,
969 # so let's create dummy entries to satisfy %%files.
970 [ ! -f NEWS ] && touch NEWS
971 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
972 [ ! -f libgfortran/README ] && touch libgfortran/README
973
974 %clean
975 rm -rf $RPM_BUILD_ROOT
976
977 %post
978 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
979
980 %postun
981 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
982
983 %post ada
984 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
985
986 %postun ada
987 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
988
989 %post fortran
990 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
991
992 %postun fortran
993 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
994
995 %post java
996 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
997
998 %postun java
999 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1000
1001 %post   -p /sbin/ldconfig -n libgcc
1002 %postun -p /sbin/ldconfig -n libgcc
1003 %post   -p /sbin/ldconfig -n libmudflap
1004 %postun -p /sbin/ldconfig -n libmudflap
1005 %post   -p /sbin/ldconfig -n libgnat
1006 %postun -p /sbin/ldconfig -n libgnat
1007 %post   -p /sbin/ldconfig -n libstdc++
1008 %postun -p /sbin/ldconfig -n libstdc++
1009 %post   -p /sbin/ldconfig -n libgfortran
1010 %postun -p /sbin/ldconfig -n libgfortran
1011 %post   -p /sbin/ldconfig -n libgcj
1012 %postun -p /sbin/ldconfig -n libgcj
1013 %post   -p /sbin/ldconfig -n libffi
1014 %postun -p /sbin/ldconfig -n libffi
1015 %post   -p /sbin/ldconfig -n libobjc
1016 %postun -p /sbin/ldconfig -n libobjc
1017
1018 %files -f gcc.lang
1019 %defattr(644,root,root,755)
1020 %doc ChangeLog.general MAINTAINERS NEWS
1021 # bugs.html faq.html
1022 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1023 %dir %{_libdir}/gcc
1024 %dir %{_libdir}/gcc/*
1025 %dir %{_libdir}/gcc/*/*
1026 %dir %{_libdir}/gcc/*/*/include
1027
1028 %attr(755,root,root) %{_bindir}/*-gcc*
1029 %attr(755,root,root) %{_bindir}/gcc
1030 %attr(755,root,root) %{_bindir}/gccbug
1031 %attr(755,root,root) %{_bindir}/gcov
1032 %attr(755,root,root) %{_bindir}/cc
1033 %attr(755,root,root) %{_bindir}/cpp
1034
1035 %{_includedir}/ssp
1036
1037 %{_mandir}/man1/cc.1*
1038 %{_mandir}/man1/cpp.1*
1039 %{_mandir}/man1/gcc.1*
1040 %{_mandir}/man1/gcov.1*
1041
1042 %{_infodir}/cpp*
1043 %{_infodir}/gcc*
1044
1045 %attr(755,root,root) /lib/cpp
1046
1047 %attr(755,root,root) %{_slibdir}/lib*.so
1048 %{_libdir}/libssp.la
1049 %attr(755,root,root) %{_libdir}/libssp.a
1050 %attr(755,root,root) %{_libdir}/libssp.so
1051 %{_libdir}/libssp_nonshared.a
1052 %{_libdir}/libssp_nonshared.la
1053 %if %{with multilib}
1054 %dir %{_libdir}/gcc/*/*/32
1055 %{_libdir}/gcc/*/*/32/libgcov.a
1056 %{_libdir}/gcc/*/*/32/libgcc.a
1057 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1058 %{_libdir}/gcc/*/*/32/libgcc_s.so
1059 %{_libdir32}/libssp.la
1060 %attr(755,root,root) %{_libdir32}/libssp.a
1061 %attr(755,root,root) %{_libdir32}/libssp.so
1062 %{_libdir32}/libssp_nonshared.a
1063 %{_libdir32}/libssp_nonshared.la
1064 %endif
1065 %{_libdir}/gcc/*/*/libgcov.a
1066 %{_libdir}/gcc/*/*/libgcc.a
1067 %{_libdir}/gcc/*/*/libgcc_eh.a
1068 %{_libdir}/gcc/*/*/libgcc_s.so
1069 %{_libdir}/gcc/*/*/specs
1070 %if %{with multilib}
1071 %{_libdir}/gcc/*/*/32/crt*.o
1072 %endif
1073 %{_libdir}/gcc/*/*/crt*.o
1074 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1075 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1076
1077 %{_libdir}/gcc/*/*/include/*.h
1078
1079 %files -n libgcc
1080 %defattr(644,root,root,755)
1081 %if %{with multilib}
1082 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1083 %endif
1084 %attr(755,root,root) %{_slibdir}/lib*.so.*
1085
1086 %files -n libmudflap
1087 %defattr(644,root,root,755)
1088 %if %{with multilib}
1089 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1090 %endif
1091 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1092
1093 %files -n libmudflap-devel
1094 %defattr(644,root,root,755)
1095 %{_includedir}/mf-runtime.h
1096 %if %{with multilib}
1097 %{_libdir32}/libmudflap*.la
1098 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1099 %endif
1100 %{_libdir}/libmudflap*.la
1101 %attr(755,root,root) %{_libdir}/libmudflap*.so
1102
1103 %files -n libmudflap-static
1104 %defattr(644,root,root,755)
1105 %if %{with multilib}
1106 %{_libdir32}/libmudflap*.a
1107 %endif
1108 %{_libdir}/libmudflap*.a
1109
1110 %if %{with ada}
1111 %files ada
1112 %defattr(644,root,root,755)
1113 %doc gcc/ada/ChangeLog
1114 %attr(755,root,root) %{_bindir}/gnat*
1115 %attr(755,root,root) %{_bindir}/gpr*
1116 %attr(755,root,root) %{_libdir}/libgnarl*.so
1117 %attr(755,root,root) %{_libdir}/libgnat*.so
1118 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1119 %{_libdir}/gcc/*/*/adainclude
1120 %dir %{_libdir}/gcc/*/*/adalib
1121 %{_libdir}/gcc/*/*/adalib/*.ali
1122 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1123 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1124 %ifarch %{ix86}
1125 %{_libdir}/gcc/*/*/adalib/libgmem.a
1126 %endif
1127 %{_infodir}/gnat*
1128
1129 %files -n libgnat
1130 %defattr(644,root,root,755)
1131 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1132 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1133
1134 %files -n libgnat-static
1135 %defattr(644,root,root,755)
1136 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1137 %{_libdir}/gcc/*/*/adalib/libgnat.a
1138 %endif
1139
1140 %if %{with cxx}
1141 %files c++
1142 %defattr(644,root,root,755)
1143 %doc gcc/cp/{ChangeLog,NEWS}
1144 %attr(755,root,root) %{_bindir}/g++
1145 %attr(755,root,root) %{_bindir}/*-g++
1146 %attr(755,root,root) %{_bindir}/c++
1147 %attr(755,root,root) %{_bindir}/*-c++
1148 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1149 %if %{with multilib}
1150 %{_libdir32}/libsupc++.a
1151 %{_libdir32}/libsupc++.la
1152 %endif
1153 %{_libdir}/libsupc++.a
1154 %{_libdir}/libsupc++.la
1155 %{_mandir}/man1/g++.1*
1156
1157 %files -n libstdc++ -f libstdc++.lang
1158 %defattr(644,root,root,755)
1159 %doc libstdc++-v3/{ChangeLog,README}
1160 %if %{with multilib}
1161 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1162 %endif
1163 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1164
1165 %files -n libstdc++-devel
1166 %defattr(644,root,root,755)
1167 %doc libstdc++-v3/docs/html
1168 %dir %{_includedir}/c++
1169 %{_includedir}/stdc++.h
1170 %{_includedir}/c++/%{version}
1171 %if %{with java}
1172 %exclude %{_includedir}/c++/%{version}/java
1173 %exclude %{_includedir}/c++/%{version}/javax
1174 %exclude %{_includedir}/c++/%{version}/gcj
1175 %exclude %{_includedir}/c++/%{version}/gnu
1176 %endif
1177 %if %{with multilib}
1178 %{_libdir32}/libstdc++.la
1179 %attr(755,root,root) %{_libdir32}/libstdc++.so
1180 %endif
1181 %{_libdir}/libstdc++.la
1182 %attr(755,root,root) %{_libdir}/libstdc++.so
1183
1184 %files -n libstdc++-static
1185 %defattr(644,root,root,755)
1186 %if %{with multilib}
1187 %{_libdir32}/libstdc++.a
1188 %endif
1189 %{_libdir}/libstdc++.a
1190 %endif
1191
1192 %if %{with fortran}
1193 %files fortran
1194 %defattr(644,root,root,755)
1195 %doc gcc/fortran/ChangeLog
1196 %attr(755,root,root) %{_bindir}/g95
1197 %attr(755,root,root) %{_bindir}/gfortran
1198 %attr(755,root,root) %{_bindir}/*-gfortran
1199 %{_infodir}/gfortran*
1200 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1201 %if %{with multilib}
1202 %{_libdir32}/libgfortranbegin.a
1203 %{_libdir32}/libgfortranbegin.la
1204 %{_libdir32}/libgfortran.la
1205 %attr(755,root,root) %{_libdir32}/libgfortran.so
1206 %endif
1207 %{_libdir}/libgfortranbegin.a
1208 %{_libdir}/libgfortranbegin.la
1209 %{_libdir}/libgfortran.la
1210 %attr(755,root,root) %{_libdir}/libgfortran.so
1211 %{_mandir}/man1/g95.1*
1212 %{_mandir}/man1/gfortran.1*
1213
1214 %files -n libgfortran
1215 %defattr(644,root,root,755)
1216 %doc libgfortran/{AUTHORS,README,ChangeLog}
1217 %if %{with multilib}
1218 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1219 %endif
1220 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1221
1222 %files -n libgfortran-static
1223 %defattr(644,root,root,755)
1224 %if %{with multilib}
1225 %{_libdir32}/libgfortran.a
1226 %endif
1227 %{_libdir}/libgfortran.a
1228 %endif
1229
1230 %if %{with java}
1231 %files java
1232 %defattr(644,root,root,755)
1233 %doc gcc/java/ChangeLog java-doc/*
1234 %attr(755,root,root) %{_bindir}/fastjar
1235 %attr(755,root,root) %{_bindir}/gcj*
1236 %attr(755,root,root) %{_bindir}/gjnih
1237 %attr(755,root,root) %{_bindir}/grepjar
1238 %attr(755,root,root) %{_bindir}/grmi*
1239 %attr(755,root,root) %{_bindir}/jcf-dump
1240 %attr(755,root,root) %{_bindir}/jv-*
1241 %attr(755,root,root) %{_bindir}/*-gcj*
1242 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1243 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1244 %{_infodir}/fastjar*
1245 %{_infodir}/gcj*
1246 %{_mandir}/man1/fastjar*
1247 %{_mandir}/man1/gcj*
1248 %{_mandir}/man1/gjnih*
1249 %{_mandir}/man1/grepjar*
1250 %{_mandir}/man1/grmi*
1251 %{_mandir}/man1/jcf-*
1252 %{_mandir}/man1/jv-*
1253
1254 %files -n libgcj
1255 %defattr(644,root,root,755)
1256 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1257 %attr(755,root,root) %{_bindir}/addr2name.awk
1258 %attr(755,root,root) %{_bindir}/gij
1259 %attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
1260 # R: lib-gnu-java-awt-peer-gtk (see below)
1261 %attr(755,root,root) %{_libdir}/libgcjawt.so.*.*.*
1262 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1263 # R: libX11
1264 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*
1265 # R: gtk+2
1266 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so.*.*.*
1267 %dir %{_libdir}/classpath
1268 # R: alsa-libs
1269 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so*
1270 # R: jack
1271 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so*
1272 %dir %{_libdir}/gcj-%{version}
1273 %{_libdir}/gcj-%{version}/classmap.db
1274 %{_libdir}/logging.properties
1275 %{_javadir}/libgcj*.jar
1276 %{_mandir}/man1/gij*
1277
1278 %files -n libgcj-devel
1279 %defattr(644,root,root,755)
1280 %{_includedir}/c++/%{version}/java
1281 %{_includedir}/c++/%{version}/javax
1282 %{_includedir}/c++/%{version}/gcj
1283 %{_includedir}/c++/%{version}/gnu
1284 %{_libdir}/gcc/*/*/include/gcj
1285 %{_libdir}/gcc/*/*/include/jawt.h
1286 %{_libdir}/gcc/*/*/include/jawt_md.h
1287 %{_libdir}/gcc/*/*/include/jni.h
1288 %{_libdir}/gcc/*/*/include/jvmpi.h
1289 %dir %{_libdir}/security
1290 %{_libdir}/security/*
1291 %{_libdir}/libgcj.spec
1292 %attr(755,root,root) %{_libdir}/libgcj.so
1293 %{_libdir}/libgcj.la
1294 %attr(755,root,root) %{_libdir}/libgcjawt.so
1295 %{_libdir}/libgcjawt.la
1296 %attr(755,root,root) %{_libdir}/libgij.so
1297 %{_libdir}/libgij.la
1298 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
1299 %{_libdir}/lib-gnu-awt-xlib.la
1300 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so
1301 %{_libdir}/lib-gnu-java-awt-peer-gtk.la
1302 %{_pkgconfigdir}/libgcj.pc
1303
1304 %files -n libgcj-static
1305 %defattr(644,root,root,755)
1306 %{_libdir}/libgcj.a
1307 %{_libdir}/libgcjawt.a
1308 %{_libdir}/libgij.a
1309 %{_libdir}/lib-gnu-awt-xlib.a
1310 %{_libdir}/lib-gnu-java-awt-peer-gtk.a
1311
1312 %files -n libffi
1313 %defattr(644,root,root,755)
1314 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1315 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1316
1317 %files -n libffi-devel
1318 %defattr(644,root,root,755)
1319 %{_libdir}/gcc/*/*/include/ffitarget.h
1320 %attr(755,root,root) %{_libdir}/libffi.so
1321 %{_libdir}/libffi.la
1322 %{_includedir}/ffi.h
1323
1324 %files -n libffi-static
1325 %defattr(644,root,root,755)
1326 %{_libdir}/libffi.a
1327 %endif
1328
1329 %if %{with objc}
1330 %files objc
1331 %defattr(644,root,root,755)
1332 %doc gcc/objc/README
1333 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1334 %if %{with multilib}
1335 %attr(755,root,root) %{_libdir32}/libobjc.so
1336 %{_libdir32}/libobjc.la
1337 %endif
1338 %attr(755,root,root) %{_libdir}/libobjc.so
1339 %{_libdir}/libobjc.la
1340 %{_libdir}/gcc/*/*/include/objc
1341
1342 %files -n libobjc
1343 %defattr(644,root,root,755)
1344 %doc libobjc/{ChangeLog,README*}
1345 %if %{with multilib}
1346 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1347 %endif
1348 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1349
1350 %files -n libobjc-static
1351 %defattr(644,root,root,755)
1352 %if %{with multilib}
1353 %{_libdir32}/libobjc.a
1354 %endif
1355 %{_libdir}/libobjc.a
1356 %endif
1357
1358 %if %{with objcxx}
1359 %files objc++
1360 %defattr(644,root,root,755)
1361 %doc gcc/objcp/ChangeLog
1362 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus
1363 %endif
This page took 1.241901 seconds and 4 git commands to generate.