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