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