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