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