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