]> git.pld-linux.org Git - packages/gcc4.git/blob - gcc4.spec
- strict internal deps, -g77 R: main (in equal version)
[packages/gcc4.git] / gcc4.spec
1 #
2 # Conditional build:
3 %bcond_without  ada             # build without ADA support
4 %bcond_without  java            # build without Java support
5 %bcond_without  objc            # build without objc support
6 %bcond_with     bootstrap       # don't BR gcc(ada) (temporary for Ac upgrade bootstrap)
7 %bcond_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.3
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:        1
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:  3c6cfd9fcd180481063b4058cf6faff2
26 Source1:        ftp://ftp.pld-linux.org/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
27 # Source1-md5:  66f07491b44f06928fd95b0e65bb8cd3
28 Source2:        http://ep09.pld-linux.org/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
29 # Source2-md5:  4736f3422ddfb808423b745629acc321
30 Patch0:         %{name}-info.patch
31 Patch1:         %{name}-paths.patch
32 Patch2:         %{name}-nolocalefiles.patch
33 Patch3:         %{name}-ada-link-new-libgnat.patch
34 Patch4:         %{name}-nodebug.patch
35 # -- 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 %{?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.14
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
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%{?with_objc:,objc}%{?with_ada:,ada}%{?with_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         GCJFLAGS="%{rpmcflags}" \
821         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
822         mandir=%{_mandir} \
823         infodir=%{_infodir}
824
825 %if %{with ada}
826 %{__make} -C obj-%{_target_platform}/gcc gnatlib gnattools gnatlib-shared \
827         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
828         mandir=%{_mandir} \
829         infodir=%{_infodir}
830 %endif
831
832 %install
833 rm -rf $RPM_BUILD_ROOT
834 install -d $RPM_BUILD_ROOT{/lib,%{_datadir},%{_infodir}}
835
836 cd obj-%{_target_platform}
837 PATH=$PATH:/sbin:%{_sbindir}
838
839 %{__make} install \
840         mandir=%{_mandir} \
841         infodir=%{_infodir} \
842         DESTDIR=$RPM_BUILD_ROOT
843
844 %ifarch sparc64
845 ln -f $RPM_BUILD_ROOT%{_bindir}/sparc64-pld-linux-gcc \
846         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
847 %endif
848
849 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
850 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
851
852 ln -sf g77 $RPM_BUILD_ROOT%{_bindir}/f77
853 echo ".so g77.1" > $RPM_BUILD_ROOT%{_mandir}/man1/f77.1
854
855 %if %{with ada}
856 # move ada shared libraries to proper place...
857 mv $RPM_BUILD_ROOT%{_libdir}/gcc-lib/*/*/adalib/*.so.1 \
858         $RPM_BUILD_ROOT%{_libdir}
859 # check if symlink to be made is valid
860 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-3.15.so.1
861 ln -sf libgnat-3.15.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-3.15.so
862 ln -sf libgnarl-3.15.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-3.15.so
863 ln -sf libgnat-3.15.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
864 ln -sf libgnarl-3.15.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
865 %endif
866
867 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
868
869 cd ..
870
871 %if %{with java}
872 install -d java-doc
873 cp -f libjava/doc/cni.sgml libjava/READ* java-doc
874 cp -f fastjar/README java-doc/README.fastjar
875 cp -f libffi/README java-doc/README.libffi
876 cp -f libffi/LICENSE java-doc/LICENSE.libffi
877 %endif
878
879 %if %{with objc}
880 cp -f libobjc/README gcc/objc/README.libobjc
881 %endif
882
883 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc-lib/*/%{version}
884 for f in libstdc++.la libsupc++.la %{?with_java:libgcj.la} ; do
885         perl -pi -e 's@-L[^ ]*[acs.] @@g' $RPM_BUILD_ROOT%{_libdir}/$f
886 done
887 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
888 for f in libstdc++.la libsupc++.la libg2c.la \
889         %{?with_java:libgcj.la lib-org-w3c-dom.la lib-org-xml-sax.la libffi.la} \
890         %{?with_objc:libobjc.la}; do
891         perl -pi -e "s@^libdir='.*@libdir='/usr/%{_lib}'@" $RPM_BUILD_ROOT%{_libdir}/$f
892 done
893
894 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
895 mv -f $RPM_BUILD_ROOT%{_mandir}/ja/man1/{cccp,cpp}.1
896
897 # include/ contains install-tools/include/* and headers that were fixed up
898 # by fixincludes, we don't want former
899 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc-lib/*/*/)
900 mkdir $gccdir/tmp
901 # we have to save these however
902 mv -f $gccdir/include/{%{?with_objc:objc,}g2c.h,syslimits.h%{?with_java:,gcj}} $gccdir/tmp
903 rm -rf $gccdir/include
904 mv -f $gccdir/tmp $gccdir/include
905 cp $gccdir/install-tools/include/*.h $gccdir/include
906 # but we don't want anything more from install-tools
907 rm -rf $gccdir/install-tools
908
909 %find_lang %{name}
910 %find_lang libstdc\+\+
911
912 %clean
913 rm -rf $RPM_BUILD_ROOT
914
915 %post
916 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
917
918 %postun
919 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
920
921 %post g77
922 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
923
924 %postun g77
925 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
926
927 %post java
928 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
929
930 %postun java
931 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
932
933 %post ksi
934 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
935
936 %postun ksi
937 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
938
939 %post -n cpp
940 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
941
942 %postun -n cpp
943 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
944
945 %post   -p /sbin/ldconfig -n libgcc
946 %postun -p /sbin/ldconfig -n libgcc
947 %post   -p /sbin/ldconfig -n libstdc++
948 %postun -p /sbin/ldconfig -n libstdc++
949 %post   -p /sbin/ldconfig -n libobjc
950 %postun -p /sbin/ldconfig -n libobjc
951 %post   -p /sbin/ldconfig -n libg2c
952 %postun -p /sbin/ldconfig -n libg2c
953 %post   -p /sbin/ldconfig -n libgcj
954 %postun -p /sbin/ldconfig -n libgcj
955 %post   -p /sbin/ldconfig -n libgnat
956 %postun -p /sbin/ldconfig -n libgnat
957 %post   -p /sbin/ldconfig -n libffi
958 %postun -p /sbin/ldconfig -n libffi
959
960 %files -f %{name}.lang
961 %defattr(644,root,root,755)
962 %doc READ* ChangeLog
963 %dir %{_libdir}/gcc-lib
964 %dir %{_libdir}/gcc-lib/*
965 %dir %{_libdir}/gcc-lib/*/*
966 %dir %{_libdir}/gcc-lib/*/*/include
967 %attr(755,root,root) %{_bindir}/*-gcc*
968 %attr(755,root,root) %{_bindir}/gcc
969 %attr(755,root,root) %{_bindir}/gccbug
970 %attr(755,root,root) %{_bindir}/gcov
971 %attr(755,root,root) %{_bindir}/cc
972
973 %{_mandir}/man1/gcc.1*
974 %{_mandir}/man1/cc.1*
975 %{_mandir}/man1/gcov.1*
976 %lang(fr) %{_mandir}/fr/man1/gcc.1*
977 %lang(ja) %{_mandir}/ja/man1/gcc.1*
978 %{_infodir}/gcc*
979
980 %attr(755,root,root) %{_slibdir}*/lib*.so
981 %{_libdir}/gcc-lib/*/*/libgcc.a
982 %{_libdir}/gcc-lib/*/*/libgcc_eh.a
983 %{_libdir}/gcc-lib/*/*/specs
984 %attr(644,root,root) %{_libdir}*/gcc-lib/*/*/crt*.o
985 %ifarch sparc64
986 %{_libdir}/gcc-lib/*/*/*/libgcc.a
987 %{_libdir}/gcc-lib/*/*/*/libgcc_eh.a
988 %attr(644,root,root) %{_libdir}*/gcc-lib/*/*/*/crt*.o
989 %endif
990 %ifarch ppc
991 %attr(644,root,root) %{_libdir}/gcc-lib/*/*/ecrt*.o
992 %attr(644,root,root) %{_libdir}/gcc-lib/*/*/ncrt*.o
993 %{_libdir}/gcc-lib/*/*/nof
994 %dir %{_libdir}/nof
995 %endif
996 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1
997 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/collect2
998
999 %{_libdir}/gcc-lib/*/*/include/*.h
1000 %exclude %{_libdir}/gcc-lib/*/*/include/g2c.h
1001
1002 %files -n libgcc
1003 %defattr(644,root,root,755)
1004 %attr(755,root,root) %{_slibdir}*/lib*.so.*
1005
1006 %files c++
1007 %defattr(644,root,root,755)
1008 %attr(755,root,root) %{_bindir}/g++
1009 %attr(755,root,root) %{_bindir}/*-g++
1010 %attr(755,root,root) %{_bindir}/c++
1011 %attr(755,root,root) %{_bindir}/*-c++
1012 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1plus
1013 %{_libdir}*/libsupc++.la
1014 %ifarch ppc
1015 %{_libdir}/nof/libsupc++.la
1016 %{_libdir}/nof/libsupc++.a
1017 %endif
1018 %{_libdir}*/libsupc++.a
1019 %{_mandir}/man1/g++.1*
1020 %lang(ja) %{_mandir}/ja/man1/g++.1*
1021
1022 %files -n libstdc++ -f libstdc++.lang
1023 %defattr(644,root,root,755)
1024 %attr(755,root,root) %{_libdir}*/libstdc++.so.*.*.*
1025 %ifarch ppc
1026 %attr(755,root,root) %{_libdir}/nof/libstdc++.so.*.*.*
1027 %endif
1028
1029 %files -n libstdc++-devel
1030 %defattr(644,root,root,755)
1031 %doc libstdc++-v3/docs/html
1032 %dir %{_includedir}/c++
1033 %{_includedir}/c++/%{GCC_VERSION}
1034 %attr(755,root,root) %{_libdir}*/libstdc++.so
1035 %{_libdir}*/libstdc++.la
1036 %ifarch ppc
1037 %attr(755,root,root) %{_libdir}/nof/libstdc++.so
1038 %{_libdir}/nof/libstdc++.la
1039 %endif
1040
1041 %files -n libstdc++-static
1042 %defattr(644,root,root,755)
1043 %{_libdir}*/libstdc++.a
1044 %ifarch ppc
1045 %{_libdir}/nof/libstdc++.a
1046 %endif
1047
1048 %if %{with objc}
1049 %files objc
1050 %defattr(644,root,root,755)
1051 %doc gcc/objc/READ*
1052 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/cc1obj
1053 %attr(755,root,root) %{_libdir}*/libobjc.so
1054 %{_libdir}*/libobjc.la
1055 %ifarch ppc
1056 %attr(755,root,root) %{_libdir}/nof/libobjc.so
1057 %{_libdir}/nof/libobjc.la
1058 %endif
1059 %{_libdir}/gcc-lib/*/*/include/objc
1060
1061 %files -n libobjc
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) %{_libdir}*/libobjc.so.*.*.*
1064 %ifarch ppc
1065 %attr(755,root,root) %{_libdir}/nof/libobjc.so.*.*.*
1066 %endif
1067
1068 %files -n libobjc-static
1069 %defattr(644,root,root,755)
1070 %{_libdir}*/libobjc.a
1071 %ifarch ppc
1072 %{_libdir}/nof/libobjc.a
1073 %endif
1074 %endif
1075
1076 %files g77
1077 %defattr(644,root,root,755)
1078 %attr(755,root,root) %{_bindir}/g77
1079 %attr(755,root,root) %{_bindir}/f77
1080 %{_infodir}/g77*
1081 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/f771
1082 %{_libdir}*/libfrtbegin.a
1083 %{_libdir}*/libg2c.la
1084 %attr(755,root,root) %{_libdir}*/libg2c.so
1085 %ifarch ppc
1086 %{_libdir}/nof/libfrtbegin.a
1087 %{_libdir}/nof/libg2c.la
1088 %attr(755,root,root) %{_libdir}/nof/libg2c.so
1089 %endif
1090 %{_libdir}/gcc-lib/*/*/include/g2c.h
1091 %{_mandir}/man1/g77.1*
1092 %{_mandir}/man1/f77.1*
1093 %lang(ja) %{_mandir}/ja/man1/g77.1*
1094 %lang(ja) %{_mandir}/ja/man1/f77.1*
1095
1096 %files -n libg2c
1097 %defattr(644,root,root,755)
1098 %attr(755,root,root) %{_libdir}*/libg2c.so.*.*.*
1099 %ifarch ppc
1100 %attr(755,root,root) %{_libdir}/nof/libg2c.so.*.*.*
1101 %endif
1102
1103 %files -n libg2c-static
1104 %defattr(644,root,root,755)
1105 %{_libdir}*/libg2c.a
1106 %ifarch ppc
1107 %{_libdir}/nof/libg2c.a
1108 %endif
1109
1110 %if %{with java}
1111 %files java
1112 %defattr(644,root,root,755)
1113 %doc java-doc/*
1114 %attr(755,root,root) %{_bindir}/gcj*
1115 %attr(755,root,root) %{_bindir}/gij
1116 %attr(755,root,root) %{_bindir}/jcf-dump
1117 %attr(755,root,root) %{_bindir}/jv-*
1118 %attr(755,root,root) %{_bindir}/grepjar
1119 %attr(755,root,root) %{_bindir}/*-gcj
1120 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/jc1
1121 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/jvgenmain
1122 %{_infodir}/gcj*
1123 %{_mandir}/man1/jcf-*
1124 %{_mandir}/man1/jv-*
1125 %{_mandir}/man1/gij*
1126 %{_mandir}/man1/gcj*
1127 %{_mandir}/man1/grepjar*
1128
1129 %files java-tools
1130 %defattr(644,root,root,755)
1131 %attr(755,root,root) %{_bindir}/rmi*
1132 %attr(755,root,root) %{_bindir}/jar
1133 %{_mandir}/man1/rmi*
1134 %{_mandir}/man1/jar*
1135 %{_infodir}/fastjar*
1136
1137 %files -n libgcj
1138 %defattr(644,root,root,755)
1139 %attr(755,root,root) %{_bindir}/addr2name.awk
1140 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1141 %attr(755,root,root) %{_libdir}/lib-org*.so.*.*.*
1142 %ifarch ppc
1143 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so.*
1144 %endif
1145
1146 %files -n libgcj-devel
1147 %defattr(644,root,root,755)
1148 %{_includedir}/java
1149 %{_includedir}/javax
1150 #%%{_includedir}/org
1151 %{_includedir}/gcj
1152 %{_includedir}/j*.h
1153 %{_includedir}/gnu/*
1154 %{_libdir}/gcc-lib/*/*/include/gcj
1155 %dir %{_libdir}/security
1156 %{_libdir}/security/*
1157 %dir %{_datadir}/java
1158 %{_datadir}/java/libgcj*.jar
1159 %{_libdir}/lib*cj.spec
1160 %{_libdir}/lib*cj*.la
1161 %attr(755,root,root) %{_libdir}/lib*cj*.so
1162 %attr(755,root,root) %{_libdir}/lib-org-*.so
1163 %{_libdir}/lib-org-*.la
1164 %ifarch ppc
1165 %{_libdir}/nof/lib*cj*.la
1166 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so
1167 %endif
1168
1169 %files -n libgcj-static
1170 %defattr(644,root,root,755)
1171 %{_libdir}/lib*cj*.a
1172 %{_libdir}/lib-org-*.a
1173 %ifarch ppc
1174 %{_libdir}/nof/lib*cj*.a
1175 %endif
1176
1177 %files -n libffi
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_libdir}/libffi-*.so
1180
1181 %files -n libffi-devel
1182 %defattr(644,root,root,755)
1183 %attr(755,root,root) %{_libdir}/libffi.so
1184 %{_libdir}/libffi.la
1185 %{_includedir}/ffi*
1186
1187 %files -n libffi-static
1188 %defattr(644,root,root,755)
1189 %{_libdir}/libffi.a
1190 %endif
1191
1192 %if %{with ada}
1193 %files ada
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/gnat1
1196 %{_libdir}/gcc-lib/*/*/adainclude
1197 %dir %{_libdir}/gcc-lib/*/*/adalib
1198 %{_libdir}/gcc-lib/*/*/adalib/*.ali
1199 %ifnarch ppc
1200 %{_libdir}/gcc-lib/*/*/adalib/libgmem.a
1201 %endif
1202 %{_libdir}/gcc-lib/*/*/adalib/Makefile.adalib
1203 %attr(755,root,root) %{_bindir}/gnat*
1204 %{_infodir}/gnat*
1205 %attr(755,root,root) %{_libdir}/libgnat*.so
1206 %attr(755,root,root) %{_libdir}/libgnarl*.so
1207
1208 %files -n libgnat
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/libgna*.so.1
1211
1212 %files -n libgnat-static
1213 %defattr(644,root,root,755)
1214 %{_libdir}/gcc-lib/*/*/adalib/libgna*.a
1215 %endif
1216
1217 %files ksi
1218 %defattr(644,root,root,755)
1219 %doc gcc/ksi/README gcc/ksi/NEWS gcc/ksi/t/*.{ksi,c,foo}
1220 %{_infodir}/ksi*
1221 %attr(755,root,root) %{_libdir}/gcc-lib/*/*/ksi1
1222
1223 %files -n cpp
1224 %defattr(644,root,root,755)
1225 %attr(755,root,root) /lib/cpp
1226 %attr(755,root,root) %{_bindir}/cpp
1227 %{_mandir}/man1/cpp.1*
1228 %lang(ja) %{_mandir}/ja/man1/cpp.1*
1229 %{_infodir}/cpp*
This page took 0.168235 seconds and 4 git commands to generate.