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