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