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