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