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