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