]> git.pld-linux.org Git - packages/gcc.git/blob - gcc.spec
- patchset updated.
[packages/gcc.git] / gcc.spec
1 #
2 # Conditional build:
3 %bcond_without  ada             # build without ADA support
4 %bcond_without  cxx             # build without C++ support
5 %bcond_without  fortran         # build without Fortran support
6 %bcond_without  java            # build without Java support
7 %bcond_without  objc            # build without Objective-C support
8 %bcond_without  objcxx          # build without Objective-C++ support
9 %bcond_with     multilib        # build with multilib support (it needs glibc[32&64]-devel)
10 %bcond_with     profiling       # build with profiling
11 %bcond_without  bootstrap       # omit 3-stage bootstrap
12 %bcond_with     tests           # torture gcc
13
14 %if %{with multilib}
15 # the latest chrpath(64) can't handle 32-bit binaries :/
16 %define         _noautochrpath  .*/lib/.*\\.so.*
17 %endif
18
19 %if %{without cxx}
20 %undefine       with_java
21 %undefine       with_objcxx
22 %endif
23
24 %if %{without objc}
25 %undefine       with_objcxx
26 %endif
27
28 %if %{without bootstrap}
29 %undefine       with_profiling
30 %endif
31
32 %ifnarch %{x8664} ppc64 s390x sparc64
33 %undefine       with_multilib
34 %endif
35
36 Summary:        GNU Compiler Collection: the C compiler and shared files
37 Summary(es):    Colección de compiladores GNU: el compilador C y ficheros compartidos
38 Summary(pl):    Kolekcja kompilatorów GNU: kompilator C i pliki wspó³dzielone
39 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
40 Name:           gcc
41 Version:        4.1.0
42 %define         _snap   20060111r109597
43 Release:        0.%{_snap}.1
44 Epoch:          5
45 License:        GPL v2+
46 Group:          Development/Languages
47 #Source0:       ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
48 #Source0:       ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
49 Source0:        gcc-4.1-%{_snap}.tar.bz2
50 # Source0-md5:  523f5cfe8232735f1ab8127076ad9fc7
51 Source1:        %{name}-optimize-la.pl
52 Patch0:         %{name}-info.patch
53 Patch1:         %{name}-nolocalefiles.patch
54 Patch2:         %{name}-nodebug.patch
55 Patch3:         %{name}-ada-link.patch
56 Patch4:         %{name}-sparc64-ada_fix.patch
57 Patch5:         %{name}-alpha-ada_fix.patch
58 # -fvisibility fixes...
59 Patch6:         %{name}-pr19664_gnu_internal.patch
60 Patch7:         %{name}-pr19664_libstdc++.patch
61 Patch8:         %{name}-pr20218.patch
62
63 # PRs
64 Patch10:        %{name}-pr7776.patch
65 Patch11:        %{name}-pr20297.patch
66
67 #Patch14:       %{name}-x87-mmx-switch.patch    NEEDS UPDATE
68 #Patch15:       %{name}-x87-mmx-eh.patch        NEEDS UPDATE
69
70 Patch17:        %{name}-pr19505.patch
71 Patch18:        %{name}-pr24419.patch
72 Patch19:        %{name}-pr24669.patch
73 Patch20:        %{name}-pr17390.patch
74
75 Patch22:        %{name}-pr13676.patch
76 URL:            http://gcc.gnu.org/
77 BuildRequires:  autoconf
78 %{?with_tests:BuildRequires:    autogen}
79 BuildRequires:  automake
80 BuildRequires:  binutils >= 2:2.15.94.0.1
81 BuildRequires:  bison
82 %{?with_tests:BuildRequires:    dejagnu}
83 BuildRequires:  fileutils >= 4.0.41
84 BuildRequires:  flex
85 %if %{with ada}
86 BuildRequires:  gcc(ada)
87 BuildRequires:  gcc-ada
88 %endif
89 BuildRequires:  gettext-devel
90 %if %{with multilib}
91 BuildRequires:  glibc-devel >= 6:2.3.4-1.5
92 %ifarch %{x8664}
93 BuildRequires:  glibc-devel(i686)
94 %endif
95 %ifarch ppc64
96 BuildRequires:  glibc-devel(ppc)
97 %endif
98 %ifarch s390x
99 BuildRequires:  glibc-devel(s390)
100 %endif
101 %ifarch sparc64
102 BuildRequires:  glibc-devel(sparc)
103 %endif
104 %else
105 BuildRequires:  glibc-devel >= 2.2.5-20
106 %endif
107 BuildRequires:  perl-devel
108 BuildRequires:  rpmbuild(macros) >= 1.211
109 BuildRequires:  texinfo >= 4.1
110 BuildRequires:  zlib-devel
111 %if %{with fortran}
112 BuildRequires:  gmp-devel
113 BuildRequires:  libmpfr-devel
114 %endif
115 %if %{with java}
116 BuildRequires:  alsa-lib-devel
117 BuildRequires:  cairo-devel >= 0.5.0
118 BuildRequires:  dssi
119 BuildRequires:  jack-audio-connection-kit-devel
120 BuildRequires:  gtk+2-devel >= 2:2.4.0
121 BuildRequires:  libart_lgpl-devel >= 2.1
122 BuildRequires:  libxslt-devel
123 BuildRequires:  pango-devel
124 BuildRequires:  pkgconfig
125 #BR: X-lib-libXtst-devel
126 %endif
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 %patch8 -p1
764
765 # PRs
766 %patch10 -p1
767 %patch11 -p1
768
769 %ifarch %{ix86} %{x8664}
770 #patch14 -p1
771 #patch15 -p1
772 %endif
773
774 %patch17 -p1
775 %patch18 -p1
776 %patch19 -p1
777 %patch20 -p1
778
779 %patch22 -p1
780
781 # because we distribute modified version of gcc...
782 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
783 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
784
785 mv ChangeLog ChangeLog.general
786
787 %build
788 cd gcc
789 %{__autoconf}
790 cd ..
791 cd libjava/classpath
792 %{__autoconf}
793 cd ../..
794 cp -f /usr/share/automake/config.sub .
795
796 rm -rf obj-%{_target_platform}
797 install -d obj-%{_target_platform}
798 cd obj-%{_target_platform}
799
800 CFLAGS="%{rpmcflags}" \
801 CXXFLAGS="%{rpmcxxflags}" \
802 TEXCONFIG=false \
803 ../configure \
804         --prefix=%{_prefix} \
805         --libdir=%{_libdir} \
806         --libexecdir=%{_libdir} \
807         --infodir=%{_infodir} \
808         --mandir=%{_mandir} \
809         --x-libraries=/usr/X11R6/%{_lib} \
810         --enable-shared \
811         --enable-threads=posix \
812         --enable-__cxa_atexit \
813         --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
814         --enable-c99 \
815         --enable-long-long \
816         --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
817         --enable-nls \
818         --disable-werror \
819         --with-gnu-as \
820         --with-gnu-ld \
821         --with-demangler-in-ld \
822         --with-system-zlib \
823         --with-slibdir=%{_slibdir} \
824         %{!?with_java:--without-x} \
825         %{?with_fortran:--enable-cmath} \
826 %if %{with java}
827         --enable-libgcj \
828         --enable-libgcj-multifile \
829         --enable-libgcj-database \
830         --enable-gtk-cairo \
831         --enable-java-awt=gtk,xlib \
832         --enable-jni \
833         --enable-xmlj \
834         --enable-alsa \
835         --enable-dssi \
836 %endif
837         %{_target_platform}
838
839 cd ..
840
841 %{__make} -C obj-%{_target_platform} \
842         %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
843         GCJFLAGS="%{rpmcflags}" \
844         BOOT_CFLAGS="%{rpmcflags}" \
845         STAGE1_CFLAGS="%{rpmcflags} -O0" \
846         GNATLIBCFLAGS="%{rpmcflags}" \
847         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
848         mandir=%{_mandir} \
849         infodir=%{_infodir}
850
851 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
852
853 %install
854 rm -rf $RPM_BUILD_ROOT
855 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
856
857 cd obj-%{_target_platform}
858
859 %{__make} -j1 install \
860         mandir=%{_mandir} \
861         infodir=%{_infodir} \
862         DESTDIR=$RPM_BUILD_ROOT
863
864 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
865
866 %ifarch sparc64
867 ln -sf  %{_bindir}/sparc64-pld-linux-gcc \
868         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
869 %endif
870
871 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
872 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
873 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
874
875 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
876 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
877 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
878 %if %{with multilib}
879 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
880 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
881 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
882 %endif
883
884 %if %{with fortran}
885 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
886 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
887 %endif
888
889 %if %{with ada}
890 # move ada shared libraries to proper place...
891 mv -f   $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
892         $RPM_BUILD_ROOT%{_libdir}
893 # check if symlink to be made is valid
894 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so.1
895 ln -sf  libgnat-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so
896 ln -sf  libgnarl-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.1.so
897 ln -sf  libgnat-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
898 ln -sf  libgnarl-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
899 %endif
900
901 cd ..
902
903 %if %{with java}
904 install -d java-doc
905 cp -f   libjava/READ* java-doc
906 cp -f   fastjar/README java-doc/README.fastjar
907 cp -f   libffi/README java-doc/README.libffi
908 cp -f   libffi/LICENSE java-doc/LICENSE.libffi
909 ln -sf  %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
910 rm -f $RPM_BUILD_ROOT%{_libdir}/classpath/libgjs*.la
911 %endif
912 %if %{with objc}
913 cp -f   libobjc/README gcc/objc/README.libobjc
914 %endif
915
916 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
917 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
918 for f in libmudflap.la libmudflapth.la libssp.la \
919         %{?with_cxx:libstdc++.la libsupc++.la} \
920         %{?with_fortran:libgfortran.la libgfortranbegin.la} \
921         %{?with_java:libgcj.la libffi.la} \
922         %{?with_objc:libobjc.la};
923 do
924         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
925         mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
926 %if %{with multilib}
927         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
928         mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
929 %endif
930 done
931
932 # include/ contains install-tools/include/* and headers that were fixed up
933 # by fixincludes, we don't want former
934 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
935 mkdir   $gccdir/tmp
936
937 # we have to save these however
938 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
939 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
940 mv $gccdir/include/syslimits.h $gccdir/tmp
941 rm -rf $gccdir/include
942 mv $gccdir/tmp $gccdir/include
943 cp $gccdir/install-tools/include/*.h $gccdir/include
944 # but we don't want anything more from install-tools
945 rm -rf $gccdir/install-tools
946
947 %if %{with multilib}
948 ln -sf %{_slibdir32}/libgcc_s.so.1      $gccdir/32/libgcc_s.so
949 %endif
950 ln -sf %{_slibdir}/libgcc_s.so.1        $gccdir/libgcc_s.so
951
952 %find_lang gcc
953 %find_lang cpplib
954 cat cpplib.lang >> gcc.lang
955
956 %if %{with cxx}
957 %find_lang libstdc\+\+
958 rm -rf $RPM_BUILD_ROOT%{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
959 install libstdc++-v3/include/stdc++.h $RPM_BUILD_ROOT%{_includedir}
960 %endif
961
962 # cvs snap doesn't contain (release does) below files,
963 # so let's create dummy entries to satisfy %%files.
964 [ ! -f NEWS ] && touch NEWS
965 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
966 [ ! -f libgfortran/README ] && touch libgfortran/README
967
968 %clean
969 rm -rf $RPM_BUILD_ROOT
970
971 %post
972 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
973
974 %postun
975 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
976
977 %post ada
978 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
979
980 %postun ada
981 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
982
983 %post fortran
984 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
985
986 %postun fortran
987 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
988
989 %post java
990 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
991
992 %postun java
993 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
994
995 %post   -p /sbin/ldconfig -n libgcc
996 %postun -p /sbin/ldconfig -n libgcc
997 %post   -p /sbin/ldconfig -n libmudflap
998 %postun -p /sbin/ldconfig -n libmudflap
999 %post   -p /sbin/ldconfig -n libgnat
1000 %postun -p /sbin/ldconfig -n libgnat
1001 %post   -p /sbin/ldconfig -n libstdc++
1002 %postun -p /sbin/ldconfig -n libstdc++
1003 %post   -p /sbin/ldconfig -n libgfortran
1004 %postun -p /sbin/ldconfig -n libgfortran
1005 %post   -p /sbin/ldconfig -n libgcj
1006 %postun -p /sbin/ldconfig -n libgcj
1007 %post   -p /sbin/ldconfig -n libffi
1008 %postun -p /sbin/ldconfig -n libffi
1009 %post   -p /sbin/ldconfig -n libobjc
1010 %postun -p /sbin/ldconfig -n libobjc
1011
1012 %files -f gcc.lang
1013 %defattr(644,root,root,755)
1014 %doc ChangeLog.general MAINTAINERS NEWS
1015 # bugs.html faq.html
1016 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1017 %dir %{_libdir}/gcc
1018 %dir %{_libdir}/gcc/*
1019 %dir %{_libdir}/gcc/*/*
1020 %dir %{_libdir}/gcc/*/*/include
1021
1022 %attr(755,root,root) %{_bindir}/*-gcc*
1023 %attr(755,root,root) %{_bindir}/gcc
1024 %attr(755,root,root) %{_bindir}/gccbug
1025 %attr(755,root,root) %{_bindir}/gcov
1026 %attr(755,root,root) %{_bindir}/cc
1027 %attr(755,root,root) %{_bindir}/cpp
1028
1029 %{_includedir}/ssp
1030
1031 %{_mandir}/man1/cc.1*
1032 %{_mandir}/man1/cpp.1*
1033 %{_mandir}/man1/gcc.1*
1034 %{_mandir}/man1/gcov.1*
1035
1036 %{_infodir}/cpp*
1037 %{_infodir}/gcc*
1038
1039 %attr(755,root,root) /lib/cpp
1040
1041 %attr(755,root,root) %{_slibdir}/lib*.so
1042 %{_libdir}/libssp.la
1043 %attr(755,root,root) %{_libdir}/libssp.a
1044 %attr(755,root,root) %{_libdir}/libssp.so
1045 %{_libdir}/libssp_nonshared.a
1046 %{_libdir}/libssp_nonshared.la
1047 %if %{with multilib}
1048 %dir %{_libdir}/gcc/*/*/32
1049 %{_libdir}/gcc/*/*/32/libgcov.a
1050 %{_libdir}/gcc/*/*/32/libgcc.a
1051 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1052 %{_libdir}/gcc/*/*/32/libgcc_s.so
1053 %{_libdir32}/libssp.la
1054 %attr(755,root,root) %{_libdir32}/libssp.a
1055 %attr(755,root,root) %{_libdir32}/libssp.so
1056 %{_libdir32}/libssp_nonshared.a
1057 %{_libdir32}/libssp_nonshared.la
1058 %endif
1059 %{_libdir}/gcc/*/*/libgcov.a
1060 %{_libdir}/gcc/*/*/libgcc.a
1061 %{_libdir}/gcc/*/*/libgcc_eh.a
1062 %{_libdir}/gcc/*/*/libgcc_s.so
1063 %{_libdir}/gcc/*/*/specs
1064 %if %{with multilib}
1065 %{_libdir}/gcc/*/*/32/crt*.o
1066 %endif
1067 %{_libdir}/gcc/*/*/crt*.o
1068 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1069 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1070
1071 %{_libdir}/gcc/*/*/include/*.h
1072
1073 %files -n libgcc
1074 %defattr(644,root,root,755)
1075 %if %{with multilib}
1076 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1077 %endif
1078 %attr(755,root,root) %{_slibdir}/lib*.so.*
1079
1080 %files -n libmudflap
1081 %defattr(644,root,root,755)
1082 %if %{with multilib}
1083 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1084 %endif
1085 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1086
1087 %files -n libmudflap-devel
1088 %defattr(644,root,root,755)
1089 %{_includedir}/mf-runtime.h
1090 %if %{with multilib}
1091 %{_libdir32}/libmudflap*.la
1092 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1093 %endif
1094 %{_libdir}/libmudflap*.la
1095 %attr(755,root,root) %{_libdir}/libmudflap*.so
1096
1097 %files -n libmudflap-static
1098 %defattr(644,root,root,755)
1099 %if %{with multilib}
1100 %{_libdir32}/libmudflap*.a
1101 %endif
1102 %{_libdir}/libmudflap*.a
1103
1104 %if %{with ada}
1105 %files ada
1106 %defattr(644,root,root,755)
1107 %doc gcc/ada/ChangeLog
1108 %attr(755,root,root) %{_bindir}/gnat*
1109 %attr(755,root,root) %{_bindir}/gpr*
1110 %attr(755,root,root) %{_libdir}/libgnarl*.so
1111 %attr(755,root,root) %{_libdir}/libgnat*.so
1112 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1113 %{_libdir}/gcc/*/*/adainclude
1114 %dir %{_libdir}/gcc/*/*/adalib
1115 %{_libdir}/gcc/*/*/adalib/*.ali
1116 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1117 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1118 %ifarch %{ix86}
1119 %{_libdir}/gcc/*/*/adalib/libgmem.a
1120 %endif
1121 %{_infodir}/gnat*
1122
1123 %files -n libgnat
1124 %defattr(644,root,root,755)
1125 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1126 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1127
1128 %files -n libgnat-static
1129 %defattr(644,root,root,755)
1130 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1131 %{_libdir}/gcc/*/*/adalib/libgnat.a
1132 %endif
1133
1134 %if %{with cxx}
1135 %files c++
1136 %defattr(644,root,root,755)
1137 %doc gcc/cp/{ChangeLog,NEWS}
1138 %attr(755,root,root) %{_bindir}/g++
1139 %attr(755,root,root) %{_bindir}/*-g++
1140 %attr(755,root,root) %{_bindir}/c++
1141 %attr(755,root,root) %{_bindir}/*-c++
1142 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1143 %if %{with multilib}
1144 %{_libdir32}/libsupc++.a
1145 %{_libdir32}/libsupc++.la
1146 %endif
1147 %{_libdir}/libsupc++.a
1148 %{_libdir}/libsupc++.la
1149 %{_mandir}/man1/g++.1*
1150
1151 %files -n libstdc++ -f libstdc++.lang
1152 %defattr(644,root,root,755)
1153 %doc libstdc++-v3/{ChangeLog,README}
1154 %if %{with multilib}
1155 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1156 %endif
1157 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1158
1159 %files -n libstdc++-devel
1160 %defattr(644,root,root,755)
1161 %doc libstdc++-v3/docs/html
1162 %dir %{_includedir}/c++
1163 %{_includedir}/stdc++.h
1164 %{_includedir}/c++/%{version}
1165 %if %{with java}
1166 %exclude %{_includedir}/c++/%{version}/java
1167 %exclude %{_includedir}/c++/%{version}/javax
1168 %exclude %{_includedir}/c++/%{version}/gcj
1169 %exclude %{_includedir}/c++/%{version}/gnu
1170 %endif
1171 %if %{with multilib}
1172 %{_libdir32}/libstdc++.la
1173 %attr(755,root,root) %{_libdir32}/libstdc++.so
1174 %endif
1175 %{_libdir}/libstdc++.la
1176 %attr(755,root,root) %{_libdir}/libstdc++.so
1177
1178 %files -n libstdc++-static
1179 %defattr(644,root,root,755)
1180 %if %{with multilib}
1181 %{_libdir32}/libstdc++.a
1182 %endif
1183 %{_libdir}/libstdc++.a
1184 %endif
1185
1186 %if %{with fortran}
1187 %files fortran
1188 %defattr(644,root,root,755)
1189 %doc gcc/fortran/ChangeLog
1190 %attr(755,root,root) %{_bindir}/g95
1191 %attr(755,root,root) %{_bindir}/gfortran
1192 %attr(755,root,root) %{_bindir}/*-gfortran
1193 %{_infodir}/gfortran*
1194 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1195 %if %{with multilib}
1196 %{_libdir32}/libgfortranbegin.a
1197 %{_libdir32}/libgfortranbegin.la
1198 %{_libdir32}/libgfortran.la
1199 %attr(755,root,root) %{_libdir32}/libgfortran.so
1200 %endif
1201 %{_libdir}/libgfortranbegin.a
1202 %{_libdir}/libgfortranbegin.la
1203 %{_libdir}/libgfortran.la
1204 %attr(755,root,root) %{_libdir}/libgfortran.so
1205 %{_mandir}/man1/g95.1*
1206 %{_mandir}/man1/gfortran.1*
1207
1208 %files -n libgfortran
1209 %defattr(644,root,root,755)
1210 %doc libgfortran/{AUTHORS,README,ChangeLog}
1211 %if %{with multilib}
1212 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1213 %endif
1214 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1215
1216 %files -n libgfortran-static
1217 %defattr(644,root,root,755)
1218 %if %{with multilib}
1219 %{_libdir32}/libgfortran.a
1220 %endif
1221 %{_libdir}/libgfortran.a
1222 %endif
1223
1224 %if %{with java}
1225 %files java
1226 %defattr(644,root,root,755)
1227 %doc gcc/java/ChangeLog java-doc/*
1228 %attr(755,root,root) %{_bindir}/fastjar
1229 %attr(755,root,root) %{_bindir}/gcj*
1230 %attr(755,root,root) %{_bindir}/gjnih
1231 %attr(755,root,root) %{_bindir}/grepjar
1232 %attr(755,root,root) %{_bindir}/grmi*
1233 %attr(755,root,root) %{_bindir}/jcf-dump
1234 %attr(755,root,root) %{_bindir}/jv-*
1235 %attr(755,root,root) %{_bindir}/*-gcj*
1236 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1237 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1238 %{_infodir}/fastjar*
1239 %{_infodir}/gcj*
1240 %{_mandir}/man1/fastjar*
1241 %{_mandir}/man1/gcj*
1242 %{_mandir}/man1/gjnih*
1243 %{_mandir}/man1/grepjar*
1244 %{_mandir}/man1/grmi*
1245 %{_mandir}/man1/jcf-*
1246 %{_mandir}/man1/jv-*
1247
1248 %files -n libgcj
1249 %defattr(644,root,root,755)
1250 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1251 %attr(755,root,root) %{_bindir}/addr2name.awk
1252 %attr(755,root,root) %{_bindir}/gij
1253 %attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
1254 # R: lib-gnu-java-awt-peer-gtk (see below)
1255 %attr(755,root,root) %{_libdir}/libgcjawt.so.*.*.*
1256 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1257 # R: libX11
1258 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*
1259 # R: gtk+2
1260 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so.*.*.*
1261 %dir %{_libdir}/classpath
1262 # R: alsa-libs
1263 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so*
1264 # R: jack
1265 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so*
1266 %dir %{_libdir}/gcj-%{version}
1267 %{_libdir}/gcj-%{version}/classmap.db
1268 %{_libdir}/logging.properties
1269 %{_javadir}/libgcj*.jar
1270 %{_mandir}/man1/gij*
1271
1272 %files -n libgcj-devel
1273 %defattr(644,root,root,755)
1274 %{_includedir}/c++/%{version}/java
1275 %{_includedir}/c++/%{version}/javax
1276 %{_includedir}/c++/%{version}/gcj
1277 %{_includedir}/c++/%{version}/gnu
1278 %{_libdir}/gcc/*/*/include/gcj
1279 %{_libdir}/gcc/*/*/include/jawt.h
1280 %{_libdir}/gcc/*/*/include/jawt_md.h
1281 %{_libdir}/gcc/*/*/include/jni.h
1282 %{_libdir}/gcc/*/*/include/jvmpi.h
1283 %dir %{_libdir}/security
1284 %{_libdir}/security/*
1285 %{_libdir}/libgcj.spec
1286 %attr(755,root,root) %{_libdir}/libgcj.so
1287 %{_libdir}/libgcj.la
1288 %attr(755,root,root) %{_libdir}/libgcjawt.so
1289 %{_libdir}/libgcjawt.la
1290 %attr(755,root,root) %{_libdir}/libgij.so
1291 %{_libdir}/libgij.la
1292 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
1293 %{_libdir}/lib-gnu-awt-xlib.la
1294 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so
1295 %{_libdir}/lib-gnu-java-awt-peer-gtk.la
1296 %{_pkgconfigdir}/libgcj.pc
1297
1298 %files -n libgcj-static
1299 %defattr(644,root,root,755)
1300 %{_libdir}/libgcj.a
1301 %{_libdir}/libgcjawt.a
1302 %{_libdir}/libgij.a
1303 %{_libdir}/lib-gnu-awt-xlib.a
1304 %{_libdir}/lib-gnu-java-awt-peer-gtk.a
1305
1306 %files -n libffi
1307 %defattr(644,root,root,755)
1308 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1309 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1310
1311 %files -n libffi-devel
1312 %defattr(644,root,root,755)
1313 %{_libdir}/gcc/*/*/include/ffitarget.h
1314 %attr(755,root,root) %{_libdir}/libffi.so
1315 %{_libdir}/libffi.la
1316 %{_includedir}/ffi.h
1317
1318 %files -n libffi-static
1319 %defattr(644,root,root,755)
1320 %{_libdir}/libffi.a
1321 %endif
1322
1323 %if %{with objc}
1324 %files objc
1325 %defattr(644,root,root,755)
1326 %doc gcc/objc/README
1327 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1328 %if %{with multilib}
1329 %attr(755,root,root) %{_libdir32}/libobjc.so
1330 %{_libdir32}/libobjc.la
1331 %endif
1332 %attr(755,root,root) %{_libdir}/libobjc.so
1333 %{_libdir}/libobjc.la
1334 %{_libdir}/gcc/*/*/include/objc
1335
1336 %files -n libobjc
1337 %defattr(644,root,root,755)
1338 %doc libobjc/{ChangeLog,README*}
1339 %if %{with multilib}
1340 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1341 %endif
1342 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1343
1344 %files -n libobjc-static
1345 %defattr(644,root,root,755)
1346 %if %{with multilib}
1347 %{_libdir32}/libobjc.a
1348 %endif
1349 %{_libdir}/libobjc.a
1350 %endif
1351
1352 %if %{with objcxx}
1353 %files objc++
1354 %defattr(644,root,root,755)
1355 %doc gcc/objcp/ChangeLog
1356 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus
1357 %endif
This page took 0.253947 seconds and 4 git commands to generate.