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