]> git.pld-linux.org Git - packages/gcc.git/blob - gcc.spec
- started update to 3.3.3
[packages/gcc.git] / gcc.spec
1 #
2 # Conditional build:
3 %bcond_without  ada             # build without ADA support
4 %bcond_without  java            # build without Java support
5 %bcond_without  objc            # build without objc support
6 %bcond_with     bootstrap       # don't BR gcc(ada) (temporary for Ac upgrade bootstrap)
7 %bcond_with     pp              # build with ProPolice
8 #
9 %define         DASHED_SNAP     %{nil}
10 %define         SNAP            %(echo %{DASHED_SNAP} | sed -e "s#-##g")
11 %define         GCC_VERSION     3.3.3
12 %define         KSI_VERSION     1.1.0.1567
13
14 Summary:        GNU Compiler Collection: the C compiler and shared files
15 Summary(es):    Colección de compiladores GNU: el compilador C y ficheros compartidos
16 Summary(pl):    Kolekcja Kompilatorów GNU: kompilator C i pliki wspó³dzielone
17 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
18 Name:           gcc
19 Version:        %{GCC_VERSION}
20 Release:        0.1
21 Epoch:          5
22 License:        GPL
23 Group:          Development/Languages
24 Source0:        ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2
25 # Source0-md5:  3c6cfd9fcd180481063b4058cf6faff2
26 Source1:        ftp://ftp.pld-linux.org/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
27 # Source1-md5:  66f07491b44f06928fd95b0e65bb8cd3
28 Source2:        http://ep09.pld-linux.org/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
29 # Source2-md5:  4736f3422ddfb808423b745629acc321
30 Patch0:         %{name}-info.patch
31 Patch1:         %{name}-paths.patch
32 Patch2:         %{name}-nolocalefiles.patch
33 Patch3:         %{name}-ada-link-new-libgnat.patch
34 # -- stolen patches from RH --
35 Patch10:        gcc32-ada-link.patch
36 Patch11:        gcc32-boehm-gc-libs.patch
37 Patch12:        gcc32-bogus-inline.patch
38 Patch13:        gcc32-c++-nrv-test.patch
39 Patch14:        gcc32-c++-tsubst-asm.patch
40 Patch15:        gcc32-debug-pr7241.patch
41 Patch16:        gcc32-duplicate-decl.patch
42 Patch17:        gcc32-dwarf2-pr6381.patch
43 Patch18:        gcc32-dwarf2-pr6436-test.patch
44 Patch19:        gcc32-fde-merge-compat.patch
45 Patch20:        gcc32-i386-memtest-test.patch
46 Patch21:        gcc32-inline-label.patch
47 Patch22:        gcc32-java-no-rpath.patch
48 Patch23:        gcc32-test-rh65771.patch
49 Patch24:        gcc32-test-rotate.patch
50 Patch25:        %{name}-3.3.1-propolice.patch
51 BuildRequires:  autoconf
52 BuildRequires:  automake
53 BuildRequires:  binutils >= 2.14
54 BuildRequires:  bison
55 BuildRequires:  fileutils >= 4.0.41
56 %{?with_ada:%{!?with_bootstrap:BuildRequires:   gcc(ada)}}
57 %{?with_ada:BuildRequires: gcc-ada}
58 BuildRequires:  gettext-devel
59 BuildRequires:  glibc-devel >= 2.2.5-20
60 BuildRequires:  perl-devel
61 BuildRequires:  texinfo >= 4.1
62 BuildRequires:  zlib-devel
63 Requires:       binutils >= 2.14
64 Requires:       cpp = %{epoch}:%{GCC_VERSION}
65 Requires:       libgcc = %{epoch}:%{GCC_VERSION}
66 %{?with_ada:Provides: gcc(ada)}
67 Conflicts:      glibc-devel < 2.2.5-20
68 URL:            http://gcc.gnu.org/
69 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71 %define         _slibdir        /%{_lib}
72 %ifarch sparc64
73 %define         _slibdir64      /lib64
74 %define         _libdir         /usr/lib
75 %define         rpmcflags       -O2 -mtune=ultrasparc
76 %endif
77
78 %description
79 A compiler aimed at integrating all the optimizations and features
80 necessary for a high-performance and stable development environment.
81
82 This package contains the C compiler and some files shared by various
83 parts of the GNU Compiler Collection. In order to use another GCC
84 compiler you will need to install the appropriate subpackage.
85
86 %description -l es
87 Un compilador destinado a la integración de todas las optimalizaciones
88 y características necesarias para un entorno de desarrollo eficaz y
89 estable.
90
91 Este paquete contiene el compilador de C y unos ficheros compartidos
92 por varias parted de la colección de compiladores GNU (GCC). Para usar
93 otro compilador de GCC será necesario que instale el subpaquete
94 adecuado.
95
96 %description -l pl
97 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
98 wyprodukowania szybkiego i stablinego kodu wynikowego.
99
100 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
101 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
102 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
103
104 %description -l pt_BR
105 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
106 GNU Compiler Collection.
107
108 %package -n libgcc
109 Summary:        Shared gcc library
110 Summary(es):    Biblioteca compartida de gcc
111 Summary(pl):    Biblioteka gcc
112 Summary(pt_BR): Biblioteca runtime para o GCC
113 Group:          Libraries
114 Version:        %{GCC_VERSION}
115 Obsoletes:      libgcc1
116
117 %description -n libgcc
118 Shared gcc library.
119
120 %description -n libgcc -l es
121 Biblioteca compartida de gcc.
122
123 %description -n libgcc -l pl
124 Biblioteka dynamiczna gcc.
125
126 %description -n libgcc -l pt_BR
127 Biblioteca runtime para o GCC.
128
129 %package c++
130 Summary:        C++ support for gcc
131 Summary(es):    Soporte de C++ para gcc
132 Summary(pl):    Obs³uga C++ dla gcc
133 Summary(pt_BR): Suporte C++ para o gcc
134 Group:          Development/Languages
135 Obsoletes:      egcc-c++
136 Obsoletes:      egcs-c++
137 Requires:       gcc = %{epoch}:%{GCC_VERSION}
138
139 %description c++
140 This package adds C++ support to the GNU Compiler Collection. It
141 includes support for most of the current C++ specification, including
142 templates and exception handling. It does not include a standard C++
143 library, which is available separately.
144
145 %description c++ -l de
146 Dieses Paket enthält die C++-Unterstützung für den
147 GNU-Compiler-Collection. Es unterstützt die aktuelle
148 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
149 C++-Standard-Library ist nicht enthalten - sie ist getrennt
150 erhältlich.
151
152 %description c++ -l es
153 Este paquete añade soporte de C++ al GCC (colección de compiladores
154 GNU). Ello incluye el soporte para la mayoría de la especificación
155 actual de C++, incluyendo plantillas y manejo de excepciones. No
156 incluye la biblioteca estándar de C++, la que es disponible separada.
157
158 %description c++ -l fr
159 Ce package ajoute un support C++ a la collection de compilateurs GNU.
160 Il comprend un support pour la plupart des spécifications actuelles de
161 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
162 une bibliothéque C++ standard, qui est disponible séparément.
163
164 %description c++ -l pl
165 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
166 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
167 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
168
169 %description c++ -l pt_BR
170 Este pacote adiciona suporte C++ para o gcc.
171
172 %description c++ -l tr
173 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
174 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
175 C++ kitaplýðý bu pakette yer almaz.
176
177 %package objc
178 Summary:        Objective C support for gcc
179 Summary(de):    Objektive C-Unterstützung für gcc
180 Summary(es):    Soporte de Objective C para gcc
181 Summary(fr):    Gestion d'Objective C pour gcc
182 Summary(pl):    Obs³uga obiektowego C dla kompilatora gcc
183 Summary(tr):    gcc için Objective C desteði
184 Group:          Development/Languages
185 Obsoletes:      egcc-objc
186 Obsoletes:      egcs-objc
187 Requires:       libobjc = %{epoch}:%{GCC_VERSION}
188 Requires:       gcc = %{epoch}:%{GCC_VERSION}
189
190 %description objc
191 This package adds Objective C support to the GNU Compiler Collection.
192 Objective C is a object oriented derivative of the C language, mainly
193 used on systems running NeXTSTEP. This package does not include the
194 standard objective C object library.
195
196 %description objc -l de
197 Dieses Paket ergänzt den GNU-Compiler-Collection durch
198 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
199 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
200 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
201
202 %description objc -l es
203 Este paquete añade soporte de Objective C al GCC (colección de
204 compiladores GNU). Objective C es un lenguaje orientado a objetos
205 derivado de C, principalmente usado en sistemas que funcionan bajo
206 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
207 Objective C.
208
209 %description objc -l fr
210 Ce package ajoute un support Objective C a la collection de
211 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
212 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
213 package n'inclue pas la bibliothéque Objective C standard.
214
215 %description objc -l pl
216 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
217 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
218 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
219 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
220
221 %description objc -l tr
222 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
223 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
224 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
225 kitaplýðý bu pakette yer almaz.
226
227 %package -n libobjc
228 Summary:        Objective C Libraries
229 Summary(es):    Bibliotecas de Objective C
230 Summary(pl):    Biblioteki Obiektowego C
231 Group:          Libraries
232 Version:        %{GCC_VERSION}
233 Obsoletes:      libobjc1
234
235 %description -n libobjc
236 Objective C Libraries.
237
238 %description -n libobjc -l es
239 Bibliotecas de Objective C.
240
241 %description -n libobjc -l pl
242 Biblioteki Obiektowego C.
243
244 %package -n libobjc-static
245 Summary:        Static Objective C Libraries
246 Summary(es):    Bibliotecas estáticas de Objective C
247 Summary(pl):    Statyczne Biblioteki Obiektowego C
248 Group:          Development/Libraries
249 Version:        %{GCC_VERSION}
250 Requires:       libobjc = %{epoch}:%{GCC_VERSION}
251
252 %description -n libobjc-static
253 Static Objective C Libraries.
254
255 %description -n libobjc-static -l es
256 Bibliotecas estáticas de Objective C.
257
258 %description -n libobjc-static -l pl
259 Statyczne biblioteki Obiektowego C.
260
261 %package g77
262 Summary:        Fortran 77 support for gcc
263 Summary(es):    Soporte de Fortran 77 para gcc
264 Summary(pl):    Obs³uga Fortranu 77 dla gcc
265 Summary(pt_BR): Suporte Fortran 77 para o GCC
266 Group:          Development/Languages/Fortran
267 Version:        %{GCC_VERSION}
268 Obsoletes:      egcs-g77
269 Requires:       libg2c = %{epoch}:%{GCC_VERSION}
270
271 %description g77
272 This package adds support for compiling Fortran 77 programs with the
273 GNU compiler.
274
275 %description g77 -l es
276 Este paquete añade soporte para compilar programas escritos en Fortran
277 77 con el compilador GNU.
278
279 %description g77 -l pl
280 Ten pakiet dodaje obs³ugê Fortranu 77 do kompilatora gcc. Jest
281 potrzebny do kompilowania programów pisanych w jêzyku Fortran 77.
282
283 %description g77 -l pt_BR
284 Suporte Fortran 77 para o GCC.
285
286 %package -n libg2c
287 Summary:        Fortran 77 Libraries
288 Summary(es):    Bibliotecas de Fortran 77
289 Summary(pl):    Biblioteki Fortranu 77
290 Group:          Libraries
291 Version:        %{GCC_VERSION}
292
293 %description -n libg2c
294 Fortran 77 Libraries.
295
296 %description -n libg2c -l es
297 Bibliotecas de Fortran 77.
298
299 %description -n libg2c -l pl
300 Biblioteki Fortranu 77.
301
302 %package -n libg2c-static
303 Summary:        Static Fortran 77 Libraries
304 Summary(es):    Bibliotecas estáticas de Fortran 77
305 Summary(pl):    Statyczne Biblioteki Fortranu 77
306 Group:          Development/Libraries
307 Version:        %{GCC_VERSION}
308 Requires:       libg2c = %{epoch}:%{GCC_VERSION}
309
310 %description -n libg2c-static
311 Static Fortran 77 Libraries.
312
313 %description -n libg2c -l es
314 Bibliotecas estáticas de Fortran 77.
315
316 %description -n libg2c-static -l pl
317 Statyczne biblioteki Fortranu 77.
318
319 %package java
320 Summary:        Java support for gcc
321 Summary(es):    Soporte de Java para gcc
322 Summary(pl):    Obs³uga Javy dla gcc
323 Group:          Development/Languages/Java
324 Version:        %{GCC_VERSION}
325 Requires:       %{name} = %{epoch}:%{version}
326 Requires:       libgcj >= 3.0.0
327 Requires:       libgcj-devel >= 3.0.0
328 Requires:       java-shared
329 Provides:       gcj = %{epoch}:%{GCC_VERSION}-%{release}
330
331 %description java
332 This package adds experimental support for compiling Java(tm) programs
333 and bytecode into native code. To use this you will also need the
334 libgcj package.
335
336 %description java -l es
337 Este paquete añade soporte experimental para compilar programas
338 Java(tm) y su bytecode en código nativo. Para usarlo también va a
339 necesitar el paquete libgcj.
340
341 %description java -l pl
342 Wsparcie dla kompilowania programów Java(tm) zrówno do bajt-kodu jak i
343 do natywnego kodu. Dodatkowo wymagany jest pakiet libgcj, aby mo¿na
344 by³o przeprowadziæ kompilacjê.
345
346 %package java-tools
347 Summary:        Shared java tools
348 Summary(es):    Herramientas compartidas de Java
349 Summary(pl):    Wspó³dzielone narzêdzia javy
350 Group:          Development/Languages/Java
351 Version:        %{GCC_VERSION}
352 Provides:       jar = %{epoch}:%{GCC_VERSION}-%{release}
353 Provides:       java-shared
354 Obsoletes:      fastjar
355 Obsoletes:      java-shared
356 Obsoletes:      jar
357
358 %description java-tools
359 This package contains tools that are common for every Java(tm)
360 implementation, such as rmic or jar.
361
362 %description java-tools -l es
363 Este paquete contiene herramientas que son comunes para cada
364 implementación de Java(tm), como rmic o jar.
365
366 %description java-tools -l pl
367 Pakiet ten zawiera narzêdzia wspólne dla ka¿dej implementacji
368 Javy(tm), takie jak rmic czy jar.
369
370 %package -n libgcj
371 Summary:        Java Class Libraries
372 Summary(es):    Bibliotecas de clases de Java
373 Summary(pl):    Biblioteki Klas Javy
374 Group:          Libraries
375 Version:        %{GCC_VERSION}
376 Requires:       zlib
377 Obsoletes:      libgcj3
378
379 %description -n libgcj
380 Java Class Libraries.
381
382 %description -n libgcj -l es
383 Bibliotecas de clases de Java.
384
385 %description -n libgcj -l pl
386 Biblioteki Klas Javy.
387
388 %package -n libgcj-devel
389 Summary:        Development files for Java Class Libraries
390 Summary(es):    Ficheros de desarrollo para las bibliotecas de clases de Java
391 Summary(pl):    Pliki nag³ówkowe dla Bibliotek Klas Javy
392 Group:          Development/Libraries
393 Version:        %{GCC_VERSION}
394 Requires:       libgcj = %{epoch}:%{GCC_VERSION}
395 Requires:       %{name}-java
396 Obsoletes:      libgcj3-devel
397
398 %description -n libgcj-devel
399 Development files for Java Class Libraries.
400
401 %description -n libgcj-devel -l es
402 Ficheros de desarrollo para las bibliotecas de clases de Java.
403
404 %description -n libgcj-devel -l pl
405 Pliki nag³ówkowe dla Bibliotek Klas Javy.
406
407 %package -n libgcj-static
408 Summary:        Static Java Class Libraries
409 Summary(es):    Bibliotecas estáticas de clases de Java
410 Summary(pl):    Statyczne Biblioteki Klas Javy
411 Group:          Development/Libraries
412 Version:        %{GCC_VERSION}
413 Requires:       libstdc++-devel = %{epoch}:%{GCC_VERSION}
414 Requires:       libgcj-devel = %{epoch}:%{GCC_VERSION}
415
416 %description -n libgcj-static
417 Static Java Class Libraries.
418
419 %description -n libgcj-static -l es
420 Bibliotecas estáticas de clases de Java.
421
422 %description -n libgcj-static -l pl
423 Statyczne Biblioteki Klas Javy.
424
425 %package -n libstdc++
426 Summary:        GNU c++ library
427 Summary(es):    Biblioteca C++ de GNU
428 Summary(pl):    Biblioteki GNU C++
429 Summary(pt_BR): Biblioteca C++ GNU
430 Group:          Libraries
431 Version:        %{GCC_VERSION}
432 Obsoletes:      libg++
433 Obsoletes:      libstdc++3
434
435 %description -n libstdc++
436 This is the GNU implementation of the standard C++ libraries, along
437 with additional GNU tools. This package includes the shared libraries
438 necessary to run C++ applications.
439
440 %description -n libstdc++ -l de
441 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
442 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
443 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
444
445 %description -n libstdc++ -l es
446 Este es el soporte de las bibliotecas padrón del C++, junto con
447 herramientas GNU adicionales. El paquete incluye las bibliotecas
448 compartidas necesarias para ejecutar aplicaciones C++.
449
450 %description -n libstdc++ -l fr
451 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
452 des outils GNU supplémentaires. Ce package comprend les librairies
453 partagées nécessaires à l'exécution d'application C++.
454
455 %description -n libstdc++ -l pl
456 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
457 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
458 uruchomienia aplikacji napisanych w C++.
459
460 %description -n libstdc++ -l pt_BR
461 Este pacote é uma implementação da biblioteca padrão C++ v3, um
462 subconjunto do padrão ISO 14882.
463
464 %description -n libstdc++ -l tr
465 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
466 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
467
468 %package -n libstdc++-devel
469 Summary:        Header files and documentation for C++ development
470 Summary(de):    Header-Dateien zur Entwicklung mit C++
471 Summary(es):    Ficheros de cabecera y documentación para desarrollo C++
472 Summary(fr):    Fichiers d'en-tête et biblitothèques pour développer en C++
473 Summary(pl):    Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
474 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
475 Summary(tr):    C++ ile program geliþtirmek için gerekli dosyalar
476 Group:          Development/Libraries
477 Version:        %{GCC_VERSION}
478 Requires:       libstdc++ = %{epoch}:%{GCC_VERSION}
479 Requires:       %{name}-c++ = %{epoch}:%{GCC_VERSION}
480 Obsoletes:      libg++-devel
481 Obsoletes:      libstdc++3-devel
482
483 %description -n libstdc++-devel
484 This is the GNU implementation of the standard C++ libraries. This
485 package includes the header files needed for C++ development and
486 library documentation.
487
488 %description -n libstdc++-devel -l es
489 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
490 paquete incluye los archivos de inclusión y bibliotecas necesarios
491 para desarrollo de programas en lenguaje C++.
492
493 %description -n libstdc++-devel -l pl
494 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
495 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
496 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
497
498 %description -n libstdc++-devel -l pt_BR
499 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
500 para desenvolvimento de programas C++.
501
502 %package -n libstdc++-static
503 Summary:        Static C++ standard library
504 Summary(es):    Biblioteca estándar estática de C++
505 Summary(pl):    Statyczna biblioteka standardowa C++
506 Group:          Development/Libraries
507 Version:        %{GCC_VERSION}
508 Requires:       libstdc++-devel = %{epoch}:%{GCC_VERSION}
509
510 %description -n libstdc++-static
511 Static C++ standard library.
512
513 %description -n libstdc++-static -l es
514 Biblioteca estándar estática de C++.
515
516 %description -n libstdc++-static -l pl
517 Statycza biblioteka standardowa C++.
518
519 %package -n libffi
520 Summary:        Foreign Function Interface library
521 Summary(es):    Biblioteca de interfaz de funciones ajenas
522 Summary(pl):    Biblioteka zewnêtrznych wywo³añ funkcji
523 Group:          Libraries
524 Version:        %{GCC_VERSION}
525
526 %description -n libffi
527 The libffi library provides a portable, high level programming
528 interface to various calling conventions. This allows a programmer to
529 call any function specified by a call interface description at run
530 time.
531
532 %description -n libffi -l es
533 La biblioteca libffi provee una interfaz portable de programación de
534 alto nivel para varias convenciones de llamada. Ello permite que un
535 programador llame una función cualquiera especificada por una
536 descripción de interfaz de llamada en el tiempo de ejecución.
537
538 %description -n libffi -l pl
539 Biblioteka libffi dostarcza przno¶nego, wysokopoziomowego
540 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
541 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
542 czasie wykonania.
543
544 %package -n libffi-devel
545 Summary:        Development files for Foreign Function Interface library
546 Summary(es):    Ficheros de desarrollo para libffi
547 Summary(pl):    Pliki nag³ówkowe dla libffi
548 Group:          Development/Libraries
549 Version:        %{GCC_VERSION}
550 Requires:       libffi = %{epoch}:%{GCC_VERSION}
551
552 %description -n libffi-devel
553 Development files for Foreign Function Interface library.
554
555 %description -n libffi-devel -l es
556 Ficheros de desarrollo para libffi.
557
558 %description -n libffi-devel -l pl
559 Pliki nag³ówkowe dla libffi.
560
561 %package -n libffi-static
562 Summary:        Static Foreign Function Interface library
563 Summary(es):    Biblioteca libffi estática
564 Summary(pl):    Statyczna biblioteka libffi
565 Group:          Development/Libraries
566 Version:        %{GCC_VERSION}
567 Requires:       libffi-devel = %{epoch}:%{GCC_VERSION}
568
569 %description -n libffi-static
570 Static Foreign Function Interface library.
571
572 %description -n libffi-static -l es
573 Biblioteca libffi estática.
574
575 %description -n libffi-static -l pl
576 Statyczna biblioteka libffi.
577
578 %package ada
579 Summary:        Ada support for gcc
580 Summary(es):    Soporte de Ada para gcc
581 Summary(pl):    Obs³uga Ady do gcc
582 Group:          Development/Languages
583 Version:        %{GCC_VERSION}
584 Requires:       libgnat = %{epoch}:%{GCC_VERSION}
585 Requires:       gcc = %{epoch}:%{GCC_VERSION}
586 Obsoletes:      gcc-gnat
587 Obsoletes:      gnat-devel
588
589 %description ada
590 This package adds experimental support for compiling Ada programs.
591
592 %description ada -l es
593 Este paquete añade soporte experimental para compilar programas en
594 Ada.
595
596 %description ada -l pl
597 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
598 Adzie.
599
600 %package -n libgnat
601 Summary:        Ada standard libraries
602 Summary(es):    Bibliotecas estándares de Ada
603 Summary(pl):    Biblioteki standardowe dla Ady
604 Group:          Libraries
605 Version:        %{GCC_VERSION}
606 Obsoletes:      gnat
607 Obsoletes:      libgnat1
608
609 %description -n libgnat
610 This package contains shared libraries needed to run programs written
611 in Ada.
612
613 %description -n libgnat -l es
614 Este paquete contiene las bibliotecas compartidas necesarias para
615 ejecutar programas escritos en Ada.
616
617 %description -n libgnat -l pl
618 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
619 napisanych w Adzie.
620
621 %package -n libgnat-static
622 Summary:        Static Ada standard libraries
623 Summary(pl):    Statyczne biblioteki standardowe dla Ady
624 Group:          Libraries
625 Version:        %{GCC_VERSION}
626 Obsoletes:      gnat-static
627
628 %description -n libgnat-static
629 This package contains static libraries for programs written in Ada.
630
631 %description -n libgnat-static -l pl
632 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
633 Adzie.
634
635 %package ksi
636 Summary:        Ksi support for gcc
637 Summary(es):    Soporte de Ksi para gcc
638 Summary(pl):    Obs³uga Ksi dla gcc
639 Version:        %{GCC_VERSION}.%{KSI_VERSION}
640 Group:          Development/Languages
641 Requires:       gcc = %{epoch}:%{GCC_VERSION}
642
643 %description ksi
644 This package adds experimental support for compiling Ksi programs into
645 native code. You proabably don't need it, unless your are going to
646 develop a compiler using Ksi as intermediate representation or you are
647 using such compiler (like Gont).
648
649 %description ksi -l es
650 Este paquete añade soporte experimental para compilar programas de Ksi
651 en código nativo. Probablemento no lo necesitará, a menos que vaya a
652 desarrollar un compilador que use Ksi como representación intermedia o
653 use tal compilador (como Gont).
654
655 %description ksi -l pl
656 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
657 Ksi do kodu maszynowego. Prawdopodobnie nie potrzebujesz go, chyba ¿e
658 zamierzasz pisaæ kompilator u¿ywaj±cy Ksi jako reprezentacji
659 po¶rednicz±cej, lub u¿ywasz takiego kompilatora (jak Gont).
660
661 %package -n cpp
662 Summary:        The C Pre Processor
663 Summary(es):    El preprocesador de C
664 Summary(pl):    Preprocesor C
665 Summary(pt_BR): Preprocessador para a linguagem C
666 Group:          Development/Languages
667 Version:        %{GCC_VERSION}
668 Obsoletes:      egcs-cpp
669 Obsoletes:      gcc-cpp
670
671 %description -n cpp
672 The C preprocessor is a "macro processor" that is used automatically
673 by the C compiler to transform your program before actual compilation.
674 It is called a macro processor because it allows you to define
675 "macros", which are brief abbreviations for longer constructs.
676
677 The C preprocessor provides four separate facilities that you can use
678 as you see fit:
679
680 - Inclusion of header files. These are files of declarations that can
681   be substituted into your program.
682 - Macro expansion. You can define "macros", which are abbreviations
683   for arbitrary fragments of C code, and then the C preprocessor will
684   replace the macros with their definitions throughout the program.
685 - Conditional compilation. Using special preprocessing directives, you
686   can include or exclude parts of the program according to various
687   conditions.
688 - Line control. If you use a program to combine or rearrange source
689   files into an intermediate file which is then compiled, you can use
690   line control to inform the compiler of where each source line
691   originally came from.
692
693 %description -n cpp -l es
694 El preprocesador de C es un "procesador de macros" que es usado
695 automáticamente por el compilador C para transformar su programa antes
696 de que éste se actualmente compile. Se llama procesador de macros
697 porque permite definir "macros", los que son abreviaciones concisas
698 para construcciones más largas.
699
700 El preprocesador C provee cuatro cualidadedes distintas que puede usar
701 como le convenga:
702
703 - Inclusión de ficheros de cabecera. Éstos son ficheros de
704   declaraciones que pueden incorporarse a su programa.
705 - Expansión de macros. Puede definir "macros", los que son
706   abreviaciones para fragmentos arbitrarios de código C, y a lo largo
707   del programa el preprocesador sustituirá los macros con sus
708   definiciones.
709 - Compilación condicional. Usando especiales directivas del preproceso
710   puede incluir o excluir partes del programa según varias condiciones.
711 - Control de líneas. Si usa un programa para combinar o reorganizar el
712   código fuente en un fichero intermedio que luego es compilado, puede
713   usar control de líneas para informar el compilador de dónde origina
714   cada línea.
715
716 %description -n cpp -l pl
717 Przeprocesor C jest "makro procesorem" który jest automatycznie
718 u¿ywany przez kompilator C do obróbki kompilowanego programu przed
719 w³a¶ciw± kompilacj±. Jest on nazywany makroprocesorem, poniewa¿
720 umo¿liwia definiowanie i rozwijanie makr umo¿liwiaj±cych skracanie
721 d³ugich konstrukcji w jêzyku C.
722
723 Preprocesor C umo¿liwia wykonywanie czterech ró¿nych typów operacji:
724
725 - Do³±czanie plików (np. nag³ówkowych). Wstawia pliki w miejscu
726   deklaracji polecenia do³±czenia innego pliku.
727 - Rozwijanie makr. Mo¿na definiowaæ "makra" nadaj±c im identyfikatory,
728   których pó¼niejsze u¿ycie powoduje podczas rozwijania podmienienie
729   indentyfikatora deklarowan± wcze¶niej warto¶ci±.
730 - Kompilacja warunkowa. W zale¿no¶ci od obecno¶ci symboli i dyrektyw w
731   ¶rodowisku preprocesora s± w³±czane warunkowo, b±d¼ nie, pewne
732   fragmenty obrabianego strumienia tekstów.
733 - Kontrola linii ¼ród³a. Niezale¿nie od tego jakim przeobra¿eniom
734   podlega wynikowy strumieñ danych w wyniku rozwijania makr i do³±czania
735   s± zapamiêtywane informacje o tym, której linii pliku ¼ród³owego
736   odpowiada fragment pliku wynikowego.
737
738 %description -n cpp -l pt_BR
739 O preprocessador C é um "processador de macros", que é utilizado pelo
740 compilador C para fazer algumas modificações no seu programa, antes da
741 compilação em si. Ele é chamado de "processador de macros" porque
742 permite a você definir "macros", que são abreviações para construções
743 mais complicadas.
744
745 O preprocessador C fornece quatro funcionalidades básicas: inclusão de
746 arquivos de cabeçalho; expansão de macros; compilação condicional; e
747 controle da numeração das linhas do programa.
748
749 %prep
750 %setup -q -a1 -n %{name}-%{GCC_VERSION}
751 mv ksi-%{KSI_VERSION} gcc/ksi
752
753 %patch0 -p1
754 %patch1 -p1
755 %patch2 -p1
756 %patch3 -p1
757
758 %patch10 -p1
759 %patch11
760 %patch12
761 %patch13
762 %patch14
763 %patch15
764
765 %patch16
766 %patch17
767 %patch18
768 %patch19
769 %patch20
770 %patch21
771 %patch22
772 %patch23
773 %patch24
774 %{?with_pp:%patch25 -p1}
775
776 # because we distribute modified version of gcc...
777 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
778 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
779
780 %build
781 # cd gcc && autoconf; cd ..
782 # autoconf is not needed!
783 cp /usr/share/automake/config.sub .
784
785 rm -rf obj-%{_target_platform} && install -d obj-%{_target_platform} && cd obj-%{_target_platform}
786
787 CFLAGS="%{rpmcflags}" \
788 CXXFLAGS="%{rpmcflags}" \
789 TEXCONFIG=false ../configure \
790         --prefix=%{_prefix} \
791         --libdir=%{_libdir} \
792         --libexecdir=%{_libexecdir} \
793         --infodir=%{_infodir} \
794         --mandir=%{_mandir} \
795         --enable-shared \
796         --enable-threads=posix \
797         --enable-__cxa_atexit \
798         --enable-languages="c,c++,f77%{?with_objc:,objc}%{?with_ada:,ada}%{?with_java:,java},ksi" \
799         --enable-c99 \
800         --enable-long-long \
801 %ifarch amd64
802         --disable-multilib \
803 %else
804         --enable-multilib \
805 %endif
806         --enable-nls \
807         --with-gnu-as \
808         --with-gnu-ld \
809         --with-system-zlib \
810         --with-slibdir=%{_slibdir} \
811         --without-x \
812         %{_target_platform}
813
814 PATH=$PATH:/sbin:%{_sbindir}
815
816 cd ..
817 %{__make} -C obj-%{_target_platform} bootstrap-lean \
818         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
819         mandir=%{_mandir} \
820         infodir=%{_infodir}
821
822 %if %{with ada}
823 %{__make} -C obj-%{_target_platform}/gcc gnatlib gnattools gnatlib-shared \
824         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
825         mandir=%{_mandir} \
826         infodir=%{_infodir}
827 %endif
828
829 %install
830 rm -rf $RPM_BUILD_ROOT
831 install -d $RPM_BUILD_ROOT{/lib,%{_datadir},%{_infodir}}
832
833 cd obj-%{_target_platform}
834 PATH=$PATH:/sbin:%{_sbindir}
835
836 %{__make} install \
837         mandir=%{_mandir} \
838         infodir=%{_infodir} \
839         DESTDIR=$RPM_BUILD_ROOT
840
841 %ifarch sparc64
842 ln -f $RPM_BUILD_ROOT%{_bindir}/sparc64-pld-linux-gcc \
843         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
844 %endif
845
846 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
847 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
848
849 ln -sf g77 $RPM_BUILD_ROOT%{_bindir}/f77
850 echo ".so g77.1" > $RPM_BUILD_ROOT%{_mandir}/man1/f77.1
851
852 %if %{with ada}
853 # move ada shared libraries to proper place...
854 mv $RPM_BUILD_ROOT%{_libdir}/gcc-lib/*/*/adalib/*.so.1 \
855         $RPM_BUILD_ROOT%{_libdir}/
856 # check if symlink to be made is valid
857 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-3.15.so.1
858 ln -sf libgnat-3.15.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-3.15.so
859 ln -sf libgnarl-3.15.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-3.15.so
860 ln -sf libgnat-3.15.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
861 ln -sf libgnarl-3.15.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
862 %endif
863
864 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
865
866 cd ..
867
868 %if %{with java}
869 install -d java-doc
870 cp -f libjava/doc/cni.sgml libjava/READ* java-doc
871 cp -f fastjar/README java-doc/README.fastjar
872 cp -f libffi/README java-doc/README.libffi
873 cp -f libffi/LICENSE java-doc/LICENSE.libffi
874 %endif
875
876 %if %{with objc}
877 cp -f libobjc/README gcc/objc/README.libobjc
878 %endif
879
880 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc-lib/*/%{version}
881 for f in libstdc++.la libsupc++.la %{?with_java:libgcj.la} ; do
882         perl -pi -e 's@-L[^ ]*[acs.] @@g' $RPM_BUILD_ROOT%{_libdir}/$f
883 done
884 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
885 for f in libstdc++.la libsupc++.la libg2c.la \
886         %{?with_java:libgcj.la lib-org-w3c-dom.la lib-org-xml-sax.la libffi.la} \
887         %{?with_objc:libobjc.la}; do
888         perl -pi -e "s@^libdir='.*@libdir='/usr/%{_lib}'@" $RPM_BUILD_ROOT%{_libdir}/$f
889 done
890
891 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
892 mv -f $RPM_BUILD_ROOT%{_mandir}/ja/man1/{cccp,cpp}.1
893
894 # include/ contains install-tools/include/* and headers that were fixed up
895 # by fixincludes, we don't want former
896 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc-lib/*/*/)
897 mkdir $gccdir/tmp
898 # we have to save these however
899 mv -f $gccdir/include/{%{?with_objc:objc,}g2c.h,syslimits.h%{?with_java:,gcj}} $gccdir/tmp
900 rm -rf $gccdir/include
901 mv -f $gccdir/tmp $gccdir/include
902 cp $gccdir/install-tools/include/*.h $gccdir/include
903 # but we don't want anything more from install-tools
904 rm -rf $gccdir/install-tools
905
906 %find_lang %{name}
907 %find_lang libstdc\+\+
908
909 %clean
910 rm -rf $RPM_BUILD_ROOT
911
912 %post
913 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
914
915 %postun
916 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
917
918 %post g77
919 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
920
921 %postun g77
922 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
923
924 %post java
925 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
926
927 %postun java
928 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
929
930 %post ksi
931 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
932
933 %postun ksi
934 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
935
936 %post -n cpp
937 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
938
939 %postun -n cpp
940 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
941
942 %post   -p /sbin/ldconfig -n libgcc
943 %postun -p /sbin/ldconfig -n libgcc
944 %post   -p /sbin/ldconfig -n libstdc++
945 %postun -p /sbin/ldconfig -n libstdc++
946 %post   -p /sbin/ldconfig -n libobjc
947 %postun -p /sbin/ldconfig -n libobjc
948 %post   -p /sbin/ldconfig -n libg2c
949 %postun -p /sbin/ldconfig -n libg2c
950 %post   -p /sbin/ldconfig -n libgcj
951 %postun -p /sbin/ldconfig -n libgcj
952 %post   -p /sbin/ldconfig -n libgnat
953 %postun -p /sbin/ldconfig -n libgnat
954 %post   -p /sbin/ldconfig -n libffi
955 %postun -p /sbin/ldconfig -n libffi
956
957 %files -f %{name}.lang
958 %defattr(644,root,root,755)
959 %doc READ* ChangeLog
960 %dir %{_libdir}/gcc-lib
961 %dir %{_libdir}/gcc-lib/*
962 %dir %{_libdir}/gcc-lib/*/*
963 %dir %{_libdir}/gcc-lib/*/*/include
964 %attr(755,root,root) %{_bindir}/*-gcc*
965 %attr(755,root,root) %{_bindir}/gcc
966 %attr(755,root,root) %{_bindir}/gccbug
967 %attr(755,root,root) %{_bindir}/gcov
968 %attr(755,root,root) %{_bindir}/cc
969
970 %{_mandir}/man1/gcc.1*
971 %{_mandir}/man1/cc.1*
972 %{_mandir}/man1/gcov.1*
973 %lang(fr) %{_mandir}/fr/man1/gcc.1*
974 %lang(ja) %{_mandir}/ja/man1/gcc.1*
975 %{_infodir}/gcc*
976
977 %attr(755,root,root) %{_slibdir}*/lib*.so
978 %{_libdir}/gcc-lib/*/*/libgcc.a
979 %{_libdir}/gcc-lib/*/*/libgcc_eh.a
980 %{_libdir}/gcc-lib/*/*/specs
981 %attr(644,root,root) %{_libdir}*/gcc-lib/*/*/crt*.o
982 %ifarch sparc64
983 %{_libdir}/gcc-lib/*/*/*/libgcc.a
984 %{_libdir}/gcc-lib/*/*/*/libgcc_eh.a
985 %attr(644,root,root) %{_libdir}*/gcc-lib/*/*/*/crt*.o
986 %endif
987 %ifarch ppc
988 %attr(644,root,root) %{_libdir}/gcc-lib/*/*/ecrt*.o
989 %attr(644,root,root) %{_libdir}/gcc-lib/*/*/ncrt*.o
990 %{_libdir}/gcc-lib/*/*/nof
991 %dir %{_libdir}/nof
992 %endif
993 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1
994 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/collect2
995
996 %{_libdir}/gcc-lib/*/*/include/*.h
997 %exclude %{_libdir}/gcc-lib/*/*/include/g2c.h
998
999 %files -n libgcc
1000 %defattr(644,root,root,755)
1001 %attr(755,root,root) %{_slibdir}*/lib*.so.*
1002
1003 %files c++
1004 %defattr(644,root,root,755)
1005 %attr(755,root,root) %{_bindir}/g++
1006 %attr(755,root,root) %{_bindir}/*-g++
1007 %attr(755,root,root) %{_bindir}/c++
1008 %attr(755,root,root) %{_bindir}/*-c++
1009 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1plus
1010 %{_libdir}*/libsupc++.la
1011 %ifarch ppc
1012 %{_libdir}/nof/libsupc++.la
1013 %{_libdir}/nof/libsupc++.a
1014 %endif
1015 %{_libdir}*/libsupc++.a
1016 %{_mandir}/man1/g++.1*
1017 %lang(ja) %{_mandir}/ja/man1/g++.1*
1018
1019 %files -n libstdc++ -f libstdc++.lang
1020 %defattr(644,root,root,755)
1021 %attr(755,root,root) %{_libdir}*/libstdc++.so.*.*.*
1022 %ifarch ppc
1023 %attr(755,root,root) %{_libdir}/nof/libstdc++.so.*.*.*
1024 %endif
1025
1026 %files -n libstdc++-devel
1027 %defattr(644,root,root,755)
1028 %doc libstdc++-v3/docs/html
1029 %dir %{_includedir}/c++
1030 %{_includedir}/c++/%{GCC_VERSION}
1031 %attr(755,root,root) %{_libdir}*/libstdc++.so
1032 %{_libdir}*/libstdc++.la
1033 %ifarch ppc
1034 %attr(755,root,root) %{_libdir}/nof/libstdc++.so
1035 %{_libdir}/nof/libstdc++.la
1036 %endif
1037
1038 %files -n libstdc++-static
1039 %defattr(644,root,root,755)
1040 %{_libdir}*/libstdc++.a
1041 %ifarch ppc
1042 %{_libdir}/nof/libstdc++.a
1043 %endif
1044
1045 %if %{with objc}
1046 %files objc
1047 %defattr(644,root,root,755)
1048 %doc gcc/objc/READ*
1049 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1obj
1050 %attr(755,root,root) %{_libdir}*/libobjc.so
1051 %{_libdir}*/libobjc.la
1052 %ifarch ppc
1053 %attr(755,root,root) %{_libdir}/nof/libobjc.so
1054 %{_libdir}/nof/libobjc.la
1055 %endif
1056 %{_libdir}/gcc-lib/*/*/include/objc
1057
1058 %files -n libobjc
1059 %defattr(644,root,root,755)
1060 %attr(755,root,root) %{_libdir}*/libobjc.so.*.*.*
1061 %ifarch ppc
1062 %attr(755,root,root) %{_libdir}/nof/libobjc.so.*.*.*
1063 %endif
1064
1065 %files -n libobjc-static
1066 %defattr(644,root,root,755)
1067 %{_libdir}*/libobjc.a
1068 %ifarch ppc
1069 %{_libdir}/nof/libobjc.a
1070 %endif
1071 %endif
1072
1073 %files g77
1074 %defattr(644,root,root,755)
1075 %attr(755,root,root) %{_bindir}/g77
1076 %attr(755,root,root) %{_bindir}/f77
1077 %{_infodir}/g77*
1078 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/f771
1079 %{_libdir}*/libfrtbegin.a
1080 %{_libdir}*/libg2c.la
1081 %attr(755,root,root) %{_libdir}*/libg2c.so
1082 %ifarch ppc
1083 %{_libdir}/nof/libfrtbegin.a
1084 %{_libdir}/nof/libg2c.la
1085 %attr(755,root,root) %{_libdir}/nof/libg2c.so
1086 %endif
1087 %{_libdir}/gcc-lib/*/*/include/g2c.h
1088 %{_mandir}/man1/g77.1*
1089 %{_mandir}/man1/f77.1*
1090 %lang(ja) %{_mandir}/ja/man1/g77.1*
1091 %lang(ja) %{_mandir}/ja/man1/f77.1*
1092
1093 %files -n libg2c
1094 %defattr(644,root,root,755)
1095 %attr(755,root,root) %{_libdir}*/libg2c.so.*.*.*
1096 %ifarch ppc
1097 %attr(755,root,root) %{_libdir}/nof/libg2c.so.*.*.*
1098 %endif
1099
1100 %files -n libg2c-static
1101 %defattr(644,root,root,755)
1102 %{_libdir}*/libg2c.a
1103 %ifarch ppc
1104 %{_libdir}/nof/libg2c.a
1105 %endif
1106
1107 %if %{with java}
1108 %files java
1109 %defattr(644,root,root,755)
1110 %doc java-doc/*
1111 %attr(755,root,root) %{_bindir}/gcj*
1112 %attr(755,root,root) %{_bindir}/gij
1113 %attr(755,root,root) %{_bindir}/jcf-dump
1114 %attr(755,root,root) %{_bindir}/jv-*
1115 %attr(755,root,root) %{_bindir}/grepjar
1116 %attr(755,root,root) %{_bindir}/*-gcj
1117 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/jc1
1118 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/jvgenmain
1119 %{_infodir}/gcj*
1120 %{_mandir}/man1/jcf-*
1121 %{_mandir}/man1/jv-*
1122 %{_mandir}/man1/gij*
1123 %{_mandir}/man1/gcj*
1124 %{_mandir}/man1/grepjar*
1125
1126 %files java-tools
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_bindir}/rmi*
1129 %attr(755,root,root) %{_bindir}/jar
1130 %{_mandir}/man1/rmi*
1131 %{_mandir}/man1/jar*
1132 %{_infodir}/fastjar*
1133
1134 %files -n libgcj
1135 %defattr(644,root,root,755)
1136 %attr(755,root,root) %{_bindir}/addr2name.awk
1137 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1138 %attr(755,root,root) %{_libdir}/lib-org*.so.*.*.*
1139 %ifarch ppc
1140 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so.*
1141 %endif
1142
1143 %files -n libgcj-devel
1144 %defattr(644,root,root,755)
1145 %{_includedir}/java
1146 %{_includedir}/javax
1147 #%%{_includedir}/org
1148 %{_includedir}/gcj
1149 %{_includedir}/j*.h
1150 %{_includedir}/gnu/*
1151 %{_libdir}/gcc-lib/*/*/include/gcj
1152 %dir %{_libdir}/security
1153 %{_libdir}/security/*
1154 %dir %{_datadir}/java
1155 %{_datadir}/java/libgcj*.jar
1156 %{_libdir}/lib*cj.spec
1157 %{_libdir}/lib*cj*.la
1158 %attr(755,root,root) %{_libdir}/lib*cj*.so
1159 %attr(755,root,root) %{_libdir}/lib-org-*.so
1160 %{_libdir}/lib-org-*.la
1161 %ifarch ppc
1162 %{_libdir}/nof/lib*cj*.la
1163 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so
1164 %endif
1165
1166 %files -n libgcj-static
1167 %defattr(644,root,root,755)
1168 %{_libdir}/lib*cj*.a
1169 %{_libdir}/lib-org-*.a
1170 %ifarch ppc
1171 %{_libdir}/nof/lib*cj*.a
1172 %endif
1173
1174 %files -n libffi
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{_libdir}/libffi-*.so
1177
1178 %files -n libffi-devel
1179 %defattr(644,root,root,755)
1180 %attr(755,root,root) %{_libdir}/libffi.so
1181 %{_libdir}/libffi.la
1182 %{_includedir}/ffi*
1183
1184 %files -n libffi-static
1185 %defattr(644,root,root,755)
1186 %{_libdir}/libffi.a
1187 %endif
1188
1189 %if %{with ada}
1190 %files ada
1191 %defattr(644,root,root,755)
1192 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/gnat1
1193 %{_libdir}/gcc-lib/*/*/adainclude
1194 %dir %{_libdir}/gcc-lib/*/*/adalib
1195 %{_libdir}/gcc-lib/*/*/adalib/*.ali
1196 %ifnarch ppc
1197 %{_libdir}/gcc-lib/*/*/adalib/libgmem.a
1198 %endif
1199 %{_libdir}/gcc-lib/*/*/adalib/Makefile.adalib
1200 %attr(755,root,root) %{_bindir}/gnat*
1201 %{_infodir}/gnat*
1202 %attr(755,root,root) %{_libdir}/libgnat*.so
1203 %attr(755,root,root) %{_libdir}/libgnarl*.so
1204
1205 %files -n libgnat
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_libdir}/libgna*.so.1
1208
1209 %files -n libgnat-static
1210 %defattr(644,root,root,755)
1211 %{_libdir}/gcc-lib/*/*/adalib/libgna*.a
1212 %endif
1213
1214 %files ksi
1215 %defattr(644,root,root,755)
1216 %doc gcc/ksi/README gcc/ksi/NEWS gcc/ksi/t/*.{ksi,c,foo}
1217 %{_infodir}/ksi*
1218 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/ksi1
1219
1220 %files -n cpp
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) /lib/cpp
1223 %attr(755,root,root) %{_bindir}/cpp
1224 %{_mandir}/man1/cpp.1*
1225 %lang(ja) %{_mandir}/ja/man1/cpp.1*
1226 %{_infodir}/cpp*
This page took 0.12929 seconds and 4 git commands to generate.