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