]> git.pld-linux.org Git - packages/gcc4.git/blob - gcc4.spec
- added gcc-cmpi.patch (ppc build fix)
[packages/gcc4.git] / gcc4.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}-alpha-regno-mode.patch
37 Patch7:         %{name}-amd64-thunk.patch
38 # -- stolen patches from RH --
39 Patch10:        gcc32-ada-link.patch
40 Patch11:        gcc32-boehm-gc-libs.patch
41 Patch12:        gcc32-bogus-inline.patch
42 Patch13:        gcc32-c++-nrv-test.patch
43 Patch14:        gcc32-c++-tsubst-asm.patch
44 Patch15:        gcc32-debug-pr7241.patch
45 Patch16:        gcc32-duplicate-decl.patch
46 Patch17:        gcc32-dwarf2-pr6381.patch
47 Patch18:        gcc32-dwarf2-pr6436-test.patch
48 Patch19:        gcc32-fde-merge-compat.patch
49 Patch20:        gcc32-i386-memtest-test.patch
50 Patch21:        gcc32-inline-label.patch
51 Patch22:        gcc32-java-no-rpath.patch
52 Patch23:        gcc32-test-rh65771.patch
53 Patch24:        gcc32-test-rotate.patch
54 Patch25:        gcc-cmpi.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 alpha
765 %patch6 -p1
766 %endif
767 %ifarch amd64
768 # not sure if it wouldn't break x86 (it shouldn't, but better safe than sorry)
769 %patch7 -p1
770 %endif
771
772 %patch10 -p1
773 %patch11
774 %patch12
775 %patch13
776 %patch14
777 %patch15
778
779 %patch16
780 %patch17
781 %patch18
782 %patch19
783 %patch20
784 %patch21
785 %patch22
786 %patch23
787 %patch24
788 %patch25 -p1
789
790 # because we distribute modified version of gcc...
791 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
792 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
793
794 %build
795 # cd gcc && autoconf; cd ..
796 # autoconf is not needed!
797 cp /usr/share/automake/config.sub .
798
799 rm -rf obj-%{_target_platform} && install -d obj-%{_target_platform} && cd obj-%{_target_platform}
800
801 CFLAGS="%{rpmcflags}" \
802 CXXFLAGS="%{rpmcflags}" \
803 TEXCONFIG=false ../configure \
804         --prefix=%{_prefix} \
805         --libdir=%{_libdir} \
806         --libexecdir=%{_libexecdir} \
807         --infodir=%{_infodir} \
808         --mandir=%{_mandir} \
809         --enable-shared \
810         --enable-threads=posix \
811         --enable-__cxa_atexit \
812         --enable-languages="c,c++,f77%{?with_objc:,objc}%{?with_ada:,ada}%{?with_java:,java},ksi" \
813         --enable-c99 \
814         --enable-long-long \
815 %ifarch amd64
816         --disable-multilib \
817 %else
818         --enable-multilib \
819 %endif
820         --enable-nls \
821         --with-gnu-as \
822         --with-gnu-ld \
823         --with-system-zlib \
824         --with-slibdir=%{_slibdir} \
825         --without-x \
826         %{_target_platform}
827
828 PATH=$PATH:/sbin:%{_sbindir}
829
830 cd ..
831 %{__make} -C obj-%{_target_platform} bootstrap-lean \
832         GCJFLAGS="%{rpmcflags}" \
833         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
834         mandir=%{_mandir} \
835         infodir=%{_infodir}
836
837 %if %{with ada}
838 for tgt in gnatlib gnattools gnatlib-shared; do
839 %{__make} -C obj-%{_target_platform}/gcc $tgt \
840         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
841         mandir=%{_mandir} \
842         infodir=%{_infodir}
843 done
844 %endif
845
846 %install
847 rm -rf $RPM_BUILD_ROOT
848 install -d $RPM_BUILD_ROOT{/lib,%{_datadir},%{_infodir}}
849
850 cd obj-%{_target_platform}
851 PATH=$PATH:/sbin:%{_sbindir}
852
853 %{__make} install \
854         mandir=%{_mandir} \
855         infodir=%{_infodir} \
856         DESTDIR=$RPM_BUILD_ROOT
857
858 %ifarch sparc64
859 ln -f $RPM_BUILD_ROOT%{_bindir}/sparc64-pld-linux-gcc \
860         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
861 %endif
862
863 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
864 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
865
866 ln -sf g77 $RPM_BUILD_ROOT%{_bindir}/f77
867 echo ".so g77.1" > $RPM_BUILD_ROOT%{_mandir}/man1/f77.1
868
869 %if %{with ada}
870 # move ada shared libraries to proper place...
871 mv $RPM_BUILD_ROOT%{_libdir}/gcc-lib/*/*/adalib/*.so.1 \
872         $RPM_BUILD_ROOT%{_libdir}
873 # check if symlink to be made is valid
874 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-3.15.so.1
875 ln -sf libgnat-3.15.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-3.15.so
876 ln -sf libgnarl-3.15.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-3.15.so
877 ln -sf libgnat-3.15.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
878 ln -sf libgnarl-3.15.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
879 %endif
880
881 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
882
883 cd ..
884
885 %if %{with java}
886 install -d java-doc
887 cp -f libjava/doc/cni.sgml libjava/READ* java-doc
888 cp -f fastjar/README java-doc/README.fastjar
889 cp -f libffi/README java-doc/README.libffi
890 cp -f libffi/LICENSE java-doc/LICENSE.libffi
891 %endif
892
893 %if %{with objc}
894 cp -f libobjc/README gcc/objc/README.libobjc
895 %endif
896
897 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc-lib/*/%{version}
898 for f in libstdc++.la libsupc++.la %{?with_java:libgcj.la} ; do
899         perl -pi -e 's@-L[^ ]*[acs.] @@g' $RPM_BUILD_ROOT%{_libdir}/$f
900 done
901 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
902 for f in libstdc++.la libsupc++.la libg2c.la \
903         %{?with_java:libgcj.la lib-org-w3c-dom.la lib-org-xml-sax.la libffi.la} \
904         %{?with_objc:libobjc.la}; do
905         perl -pi -e "s@^libdir='.*@libdir='/usr/%{_lib}'@" $RPM_BUILD_ROOT%{_libdir}/$f
906 done
907
908 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
909 mv -f $RPM_BUILD_ROOT%{_mandir}/ja/man1/{cccp,cpp}.1
910
911 # include/ contains install-tools/include/* and headers that were fixed up
912 # by fixincludes, we don't want former
913 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc-lib/*/*/)
914 mkdir $gccdir/tmp
915 # we have to save these however
916 mv -f $gccdir/include/{%{?with_objc:objc,}g2c.h,syslimits.h%{?with_java:,gcj}} $gccdir/tmp
917 rm -rf $gccdir/include
918 mv -f $gccdir/tmp $gccdir/include
919 cp $gccdir/install-tools/include/*.h $gccdir/include
920 # but we don't want anything more from install-tools
921 rm -rf $gccdir/install-tools
922
923 %find_lang %{name}
924 %find_lang libstdc\+\+
925
926 %clean
927 rm -rf $RPM_BUILD_ROOT
928
929 %post
930 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
931
932 %postun
933 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
934
935 %post g77
936 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
937
938 %postun g77
939 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
940
941 %post java
942 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
943
944 %postun java
945 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
946
947 %post ksi
948 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
949
950 %postun ksi
951 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
952
953 %post -n cpp
954 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
955
956 %postun -n cpp
957 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
958
959 %post   -p /sbin/ldconfig -n libgcc
960 %postun -p /sbin/ldconfig -n libgcc
961 %post   -p /sbin/ldconfig -n libstdc++
962 %postun -p /sbin/ldconfig -n libstdc++
963 %post   -p /sbin/ldconfig -n libobjc
964 %postun -p /sbin/ldconfig -n libobjc
965 %post   -p /sbin/ldconfig -n libg2c
966 %postun -p /sbin/ldconfig -n libg2c
967 %post   -p /sbin/ldconfig -n libgcj
968 %postun -p /sbin/ldconfig -n libgcj
969 %post   -p /sbin/ldconfig -n libgnat
970 %postun -p /sbin/ldconfig -n libgnat
971 %post   -p /sbin/ldconfig -n libffi
972 %postun -p /sbin/ldconfig -n libffi
973
974 %files -f %{name}.lang
975 %defattr(644,root,root,755)
976 %doc READ* ChangeLog
977 %dir %{_libdir}/gcc-lib/*/*
978 %dir %{_libdir}/gcc-lib/*/*/include
979 %attr(755,root,root) %{_bindir}/*-gcc*
980 %attr(755,root,root) %{_bindir}/gcc
981 %attr(755,root,root) %{_bindir}/gccbug
982 %attr(755,root,root) %{_bindir}/gcov
983 %attr(755,root,root) %{_bindir}/cc
984
985 %{_mandir}/man1/gcc.1*
986 %{_mandir}/man1/cc.1*
987 %{_mandir}/man1/gcov.1*
988 %lang(fr) %{_mandir}/fr/man1/gcc.1*
989 %lang(ja) %{_mandir}/ja/man1/gcc.1*
990 %{_infodir}/gcc*
991
992 %attr(755,root,root) %{_slibdir}*/lib*.so
993 %{_libdir}/gcc-lib/*/*/libgcc.a
994 %{_libdir}/gcc-lib/*/*/libgcc_eh.a
995 %{_libdir}/gcc-lib/*/*/specs
996 %{_libdir}*/gcc-lib/*/*/crt*.o
997 %ifarch sparc64
998 %{_libdir}/gcc-lib/*/*/*/libgcc.a
999 %{_libdir}/gcc-lib/*/*/*/libgcc_eh.a
1000 %{_libdir}*/gcc-lib/*/*/*/crt*.o
1001 %endif
1002 %ifarch ppc
1003 %{_libdir}/gcc-lib/*/*/ecrt*.o
1004 %{_libdir}/gcc-lib/*/*/ncrt*.o
1005 %{_libdir}/gcc-lib/*/*/nof
1006 %dir %{_libdir}/nof
1007 %endif
1008 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1
1009 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/collect2
1010
1011 %{_libdir}/gcc-lib/*/*/include/*.h
1012 %exclude %{_libdir}/gcc-lib/*/*/include/g2c.h
1013
1014 %files -n libgcc
1015 %defattr(644,root,root,755)
1016 %attr(755,root,root) %{_slibdir}*/lib*.so.*
1017
1018 %files c++
1019 %defattr(644,root,root,755)
1020 %attr(755,root,root) %{_bindir}/g++
1021 %attr(755,root,root) %{_bindir}/*-g++
1022 %attr(755,root,root) %{_bindir}/c++
1023 %attr(755,root,root) %{_bindir}/*-c++
1024 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1plus
1025 %{_libdir}*/libsupc++.la
1026 %ifarch ppc
1027 %{_libdir}/nof/libsupc++.la
1028 %{_libdir}/nof/libsupc++.a
1029 %endif
1030 %{_libdir}*/libsupc++.a
1031 %{_mandir}/man1/g++.1*
1032 %lang(ja) %{_mandir}/ja/man1/g++.1*
1033
1034 %files -n libstdc++ -f libstdc++.lang
1035 %defattr(644,root,root,755)
1036 %attr(755,root,root) %{_libdir}*/libstdc++.so.*.*.*
1037 %ifarch ppc
1038 %attr(755,root,root) %{_libdir}/nof/libstdc++.so.*.*.*
1039 %endif
1040
1041 %files -n libstdc++-devel
1042 %defattr(644,root,root,755)
1043 %doc libstdc++-v3/docs/html
1044 %dir %{_includedir}/c++
1045 %{_includedir}/c++/%{GCC_VERSION}
1046 %attr(755,root,root) %{_libdir}*/libstdc++.so
1047 %{_libdir}*/libstdc++.la
1048 %ifarch ppc
1049 %attr(755,root,root) %{_libdir}/nof/libstdc++.so
1050 %{_libdir}/nof/libstdc++.la
1051 %endif
1052
1053 %files -n libstdc++-static
1054 %defattr(644,root,root,755)
1055 %{_libdir}*/libstdc++.a
1056 %ifarch ppc
1057 %{_libdir}/nof/libstdc++.a
1058 %endif
1059
1060 %if %{with objc}
1061 %files objc
1062 %defattr(644,root,root,755)
1063 %doc gcc/objc/READ*
1064 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1obj
1065 %attr(755,root,root) %{_libdir}*/libobjc.so
1066 %{_libdir}*/libobjc.la
1067 %ifarch ppc
1068 %attr(755,root,root) %{_libdir}/nof/libobjc.so
1069 %{_libdir}/nof/libobjc.la
1070 %endif
1071 %{_libdir}/gcc-lib/*/*/include/objc
1072
1073 %files -n libobjc
1074 %defattr(644,root,root,755)
1075 %attr(755,root,root) %{_libdir}*/libobjc.so.*.*.*
1076 %ifarch ppc
1077 %attr(755,root,root) %{_libdir}/nof/libobjc.so.*.*.*
1078 %endif
1079
1080 %files -n libobjc-static
1081 %defattr(644,root,root,755)
1082 %{_libdir}*/libobjc.a
1083 %ifarch ppc
1084 %{_libdir}/nof/libobjc.a
1085 %endif
1086 %endif
1087
1088 %files g77
1089 %defattr(644,root,root,755)
1090 %attr(755,root,root) %{_bindir}/g77
1091 %attr(755,root,root) %{_bindir}/f77
1092 %{_infodir}/g77*
1093 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/f771
1094 %{_libdir}*/libfrtbegin.a
1095 %{_libdir}*/libg2c.la
1096 %attr(755,root,root) %{_libdir}*/libg2c.so
1097 %ifarch ppc
1098 %{_libdir}/nof/libfrtbegin.a
1099 %{_libdir}/nof/libg2c.la
1100 %attr(755,root,root) %{_libdir}/nof/libg2c.so
1101 %endif
1102 %{_libdir}/gcc-lib/*/*/include/g2c.h
1103 %{_mandir}/man1/g77.1*
1104 %{_mandir}/man1/f77.1*
1105 %lang(ja) %{_mandir}/ja/man1/g77.1*
1106 %lang(ja) %{_mandir}/ja/man1/f77.1*
1107
1108 %files -n libg2c
1109 %defattr(644,root,root,755)
1110 %attr(755,root,root) %{_libdir}*/libg2c.so.*.*.*
1111 %ifarch ppc
1112 %attr(755,root,root) %{_libdir}/nof/libg2c.so.*.*.*
1113 %endif
1114
1115 %files -n libg2c-static
1116 %defattr(644,root,root,755)
1117 %{_libdir}*/libg2c.a
1118 %ifarch ppc
1119 %{_libdir}/nof/libg2c.a
1120 %endif
1121
1122 %if %{with java}
1123 %files java
1124 %defattr(644,root,root,755)
1125 %doc java-doc/*
1126 %attr(755,root,root) %{_bindir}/gcj*
1127 %attr(755,root,root) %{_bindir}/gij
1128 %attr(755,root,root) %{_bindir}/jcf-dump
1129 %attr(755,root,root) %{_bindir}/jv-*
1130 %attr(755,root,root) %{_bindir}/*-gcj
1131 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/jc1
1132 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/jvgenmain
1133 %{_infodir}/gcj*
1134 %{_mandir}/man1/jcf-*
1135 %{_mandir}/man1/jv-*
1136 %{_mandir}/man1/gij*
1137 %{_mandir}/man1/gcj*
1138
1139 %files java-tools
1140 %defattr(644,root,root,755)
1141 %attr(755,root,root) %{_bindir}/rmi*
1142 %attr(755,root,root) %{_bindir}/jar
1143 %attr(755,root,root) %{_bindir}/grepjar
1144 %{_mandir}/man1/rmi*
1145 %{_mandir}/man1/jar*
1146 %{_mandir}/man1/grepjar*
1147 %{_infodir}/fastjar*
1148
1149 %files -n libgcj
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_bindir}/addr2name.awk
1152 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1153 %attr(755,root,root) %{_libdir}/lib-org*.so.*.*.*
1154 %ifarch ppc
1155 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so.*
1156 %attr(755,root,root) %{_libdir}/nof/lib-org*.so.*
1157 %endif
1158
1159 %files -n libgcj-devel
1160 %defattr(644,root,root,755)
1161 %{_includedir}/java
1162 %{_includedir}/javax
1163 #%%{_includedir}/org
1164 %{_includedir}/gcj
1165 %{_includedir}/j*.h
1166 %{_includedir}/gnu/*
1167 %{_libdir}/gcc-lib/*/*/include/gcj
1168 %dir %{_libdir}/security
1169 %{_libdir}/security/*
1170 %dir %{_datadir}/java
1171 %{_datadir}/java/libgcj*.jar
1172 %{_libdir}/lib*cj.spec
1173 %attr(755,root,root) %{_libdir}/lib*cj*.so
1174 %attr(755,root,root) %{_libdir}/lib-org-*.so
1175 %{_libdir}/lib*cj*.la
1176 %{_libdir}/lib-org-*.la
1177 %ifarch ppc
1178 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so
1179 %attr(755,root,root) %{_libdir}/nof/lib-org-*.so
1180 %{_libdir}/nof/lib*cj*.la
1181 %{_libdir}/nof/lib-org-*.la
1182 %endif
1183
1184 %files -n libgcj-static
1185 %defattr(644,root,root,755)
1186 %{_libdir}/lib*cj*.a
1187 %{_libdir}/lib-org-*.a
1188 %ifarch ppc
1189 %{_libdir}/nof/lib*cj*.a
1190 %{_libdir}/nof/lib-org-*.a
1191 %endif
1192
1193 %files -n libffi
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_libdir}/libffi-*.so
1196 %ifarch ppc
1197 %attr(755,root,root) %{_libdir}/nof/libffi-*.so
1198 %endif
1199
1200 %files -n libffi-devel
1201 %defattr(644,root,root,755)
1202 %attr(755,root,root) %{_libdir}/libffi.so
1203 %{_libdir}/libffi.la
1204 %ifarch ppc
1205 %attr(755,root,root) %{_libdir}/nof/libffi.so
1206 %{_libdir}/nof/libffi.la
1207 %endif
1208 %{_includedir}/ffi*
1209
1210 %files -n libffi-static
1211 %defattr(644,root,root,755)
1212 %{_libdir}/libffi.a
1213 %ifarch ppc
1214 %{_libdir}/nof/libffi.a
1215 %endif
1216 %endif
1217
1218 %if %{with ada}
1219 %files ada
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/gnat1
1222 %{_libdir}/gcc-lib/*/*/adainclude
1223 %dir %{_libdir}/gcc-lib/*/*/adalib
1224 %{_libdir}/gcc-lib/*/*/adalib/*.ali
1225 %ifnarch ppc
1226 %{_libdir}/gcc-lib/*/*/adalib/libgmem.a
1227 %endif
1228 %{_libdir}/gcc-lib/*/*/adalib/Makefile.adalib
1229 %attr(755,root,root) %{_bindir}/gnat*
1230 %{_infodir}/gnat*
1231 %attr(755,root,root) %{_libdir}/libgnat*.so
1232 %attr(755,root,root) %{_libdir}/libgnarl*.so
1233
1234 %files -n libgnat
1235 %defattr(644,root,root,755)
1236 %attr(755,root,root) %{_libdir}/libgna*.so.1
1237
1238 %files -n libgnat-static
1239 %defattr(644,root,root,755)
1240 %{_libdir}/gcc-lib/*/*/adalib/libgna*.a
1241 %endif
1242
1243 %files ksi
1244 %defattr(644,root,root,755)
1245 %doc gcc/ksi/README gcc/ksi/NEWS gcc/ksi/t/*.{ksi,c,foo}
1246 %{_infodir}/ksi*
1247 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/ksi1
1248
1249 %files -n cpp
1250 %defattr(644,root,root,755)
1251 %attr(755,root,root) /lib/cpp
1252 %attr(755,root,root) %{_bindir}/cpp
1253 %{_mandir}/man1/cpp.1*
1254 %lang(ja) %{_mandir}/ja/man1/cpp.1*
1255 %{_infodir}/cpp*
This page took 0.114096 seconds and 4 git commands to generate.