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