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