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