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