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