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