]> git.pld-linux.org Git - packages/gcc.git/blob - gcc.spec
- rel4.2; added PR13470
[packages/gcc.git] / gcc.spec
1 #
2 # TODO:
3 #               - http://gcc.gnu.org/PR11203 (inline-asm)
4 #               - http://gcc.gnu.org/PR14776 (target / wrong SSE-code)
5 #               - http://gcc.gnu.org/PR18378 (regression)
6 #
7 # Conditional build:
8 %bcond_without  ada             # build without ADA support
9 %bcond_without  java            # build without Java support
10 %bcond_without  objc            # build without ObjC support
11 %bcond_with     ssp             # build with stack-smashing protector support
12 %bcond_with     multilib        # build with multilib support
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:        3.4.3
20 Release:        4.2
21 Epoch:          5
22 License:        GPL
23 Group:          Development/Languages
24 Source0:        ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
25 # Source0-md5:  e744b30c834360fccac41eb7269a3011
26 Source1:        http://ep09.pld-linux.org/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
27 # Source1-md5:  4736f3422ddfb808423b745629acc321
28 Source2:        http://www.trl.ibm.com/projects/security/ssp/gcc2_95_3/gcc_stack_protect.m4.gz
29 # Source2-md5:  07d93ad5fc07ca44cdaba46c658820de
30 Source3:        gcc_visibility.m4
31 Patch0:         %{name}-info.patch
32 Patch1:         %{name}-nolocalefiles.patch
33 Patch2:         %{name}-ada-link-new-libgnat.patch
34 Patch3:         %{name}-nodebug.patch
35 Patch4:         %{name}-ssp.patch
36 Patch5:         %{name}-ada-link.patch
37 Patch6:         %{name}-pr15666.patch
38 Patch7:         %{name}-pr16276.patch
39 Patch8:         %{name}-pr18185.patch
40 #
41 # -fvisibility={default|internal|hidden|protected}
42 #
43 # Set the default ELF image symbol visibility to the specified option.
44 # All symbols will be marked with this unless overrided within the code.
45 # Using this feature can very substantially improve linking and load times
46 # of shared object libraries, produce more optimised code, provide near-perfect
47 # API export and prevent symbol clashes. It is strongly recommended that you
48 # use this in any shared objects you distribute.
49 #
50 # -fvisibility-inlines-hidden
51 #
52 # Causes all inlined methods to be marked with __attribute__((visibility("hidden")))
53 # so that they do not appear in the export table of a DSO and do not require a PLT
54 # indirection when used within the DSO. Enabling this option can have a dramatic
55 # effect on load and link times of a DSO as it massively reduces the size
56 # of the dynamic export table when the library makes heavy use of templates.
57 # While it can cause bloating through duplication of code within each DSO
58 # where it is used, often the wastage is less than the considerable space
59 # occupied by a long symbol name in the export table which is typical when using
60 # templates and namespaces.
61 #
62 # How to Write Shared Libraries: http://people.redhat.com/drepper/dsohowto.pdf
63 #
64 Patch9:         %{name}-visibility.patch
65 Patch10:        %{name}-pr13470.patch
66 #
67 Patch20:        %{name}-ada-bootstrap.patch
68 URL:            http://gcc.gnu.org/
69 BuildRequires:  autoconf
70 BuildRequires:  automake
71 BuildRequires:  binutils >= 2:2.15.91.0.2
72 BuildRequires:  bison
73 BuildRequires:  fileutils >= 4.0.41
74 BuildRequires:  flex
75 %if %{with ada}
76 BuildRequires:  gcc(ada)
77 BuildRequires:  gcc-ada
78 %endif
79 BuildRequires:  gettext-devel
80 BuildRequires:  glibc-devel >= 2.2.5-20
81 BuildRequires:  perl-devel
82 BuildRequires:  texinfo >= 4.1
83 BuildRequires:  zlib-devel
84 Requires:       binutils >= 2:2.15.91.0.2
85 Requires:       gcc-dirs >= 1.0-3
86 Requires:       libgcc = %{epoch}:%{version}-%{release}
87 Provides:       cpp = %{epoch}:%{version}-%{release}
88 %{?with_ada:Provides:   gcc(ada)}
89 %{?with_ssp:Provides:   gcc(ssp)}
90 # ksi for gcc > 3.3.x not ready yet
91 Obsoletes:      cpp
92 Obsoletes:      egcs-cpp
93 Obsoletes:      gcc-cpp
94 Obsoletes:      gcc-ksi
95 Obsoletes:      gont
96 Conflicts:      glibc-devel < 2.2.5-20
97 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
98
99 %define         _slibdir        /%{_lib}
100 %ifarch sparc64
101 %define         _slibdir32      /lib
102 %define         _libdir         /usr/lib
103 %define         rpmcflags       -O2 -mtune=ultrasparc
104 %endif
105 %ifarch amd64
106 %define         _slibdir32      /lib
107 %define         _libdir         /usr/lib
108 %endif
109
110 %description
111 A compiler aimed at integrating all the optimizations and features
112 necessary for a high-performance and stable development environment.
113
114 This package contains the C compiler and some files shared by various
115 parts of the GNU Compiler Collection. In order to use another GCC
116 compiler you will need to install the appropriate subpackage.
117
118 %description -l es
119 Un compilador que intenta integrar todas las optimalizaciones y
120 características necesarias para un entorno de desarrollo eficaz y
121 estable.
122
123 Este paquete contiene el compilador de C y unos ficheros compartidos
124 por varias partes de la colección de compiladores GNU (GCC). Para usar
125 otro compilador de GCC será necesario que instale el subpaquete
126 adecuado.
127
128 %description -l pl
129 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
130 wyprodukowania szybkiego i stabilnego kodu wynikowego.
131
132 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
133 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
134 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
135
136 %description -l pt_BR
137 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
138 GNU Compiler Collection.
139
140 %package -n libgcc
141 Summary:        Shared gcc library
142 Summary(es):    Biblioteca compartida de gcc
143 Summary(pl):    Biblioteka gcc
144 Summary(pt_BR): Biblioteca runtime para o GCC
145 Group:          Libraries
146 Obsoletes:      libgcc1
147
148 %description -n libgcc
149 Shared gcc library.
150
151 %description -n libgcc -l es
152 Biblioteca compartida de gcc.
153
154 %description -n libgcc -l pl
155 Biblioteka dynamiczna gcc.
156
157 %description -n libgcc -l pt_BR
158 Biblioteca runtime para o GCC.
159
160 %package c++
161 Summary:        C++ support for gcc
162 Summary(es):    Soporte de C++ para gcc
163 Summary(pl):    Obs³uga C++ dla gcc
164 Summary(pt_BR): Suporte C++ para o gcc
165 Group:          Development/Languages
166 Requires:       %{name} = %{epoch}:%{version}-%{release}
167 Obsoletes:      egcc-c++
168 Obsoletes:      egcs-c++
169
170 %description c++
171 This package adds C++ support to the GNU Compiler Collection. It
172 includes support for most of the current C++ specification, including
173 templates and exception handling. It does not include a standard C++
174 library, which is available separately.
175
176 %description c++ -l de
177 Dieses Paket enthält die C++-Unterstützung für den
178 GNU-Compiler-Collection. Es unterstützt die aktuelle
179 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
180 C++-Standard-Library ist nicht enthalten - sie ist getrennt
181 erhältlich.
182
183 %description c++ -l es
184 Este paquete añade soporte de C++ al GCC (colección de compiladores
185 GNU). Ello incluye el soporte para la mayoría de la especificación
186 actual de C++, incluyendo plantillas y manejo de excepciones. No
187 incluye la biblioteca estándar de C++, la que es disponible separada.
188
189 %description c++ -l fr
190 Ce package ajoute un support C++ a la collection de compilateurs GNU.
191 Il comprend un support pour la plupart des spécifications actuelles de
192 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
193 une bibliothéque C++ standard, qui est disponible séparément.
194
195 %description c++ -l pl
196 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
197 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
198 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
199
200 %description c++ -l pt_BR
201 Este pacote adiciona suporte C++ para o gcc.
202
203 %description c++ -l tr
204 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
205 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
206 C++ kitaplýðý bu pakette yer almaz.
207
208 %package objc
209 Summary:        Objective C support for gcc
210 Summary(de):    Objektive C-Unterstützung für gcc
211 Summary(es):    Soporte de Objective C para gcc
212 Summary(fr):    Gestion d'Objective C pour gcc
213 Summary(pl):    Obs³uga obiektowego C dla kompilatora gcc
214 Summary(tr):    gcc için Objective C desteði
215 Group:          Development/Languages
216 Requires:       %{name} = %{epoch}:%{version}-%{release}
217 Requires:       libobjc = %{epoch}:%{version}-%{release}
218 Obsoletes:      egcc-objc
219 Obsoletes:      egcs-objc
220
221 %description objc
222 This package adds Objective C support to the GNU Compiler Collection.
223 Objective C is a object oriented derivative of the C language, mainly
224 used on systems running NeXTSTEP. This package does not include the
225 standard objective C object library.
226
227 %description objc -l de
228 Dieses Paket ergänzt den GNU-Compiler-Collection durch
229 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
230 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
231 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
232
233 %description objc -l es
234 Este paquete añade soporte de Objective C al GCC (colección de
235 compiladores GNU). Objective C es un lenguaje orientado a objetos
236 derivado de C, principalmente usado en sistemas que funcionan bajo
237 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
238 Objective C.
239
240 %description objc -l fr
241 Ce package ajoute un support Objective C a la collection de
242 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
243 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
244 package n'inclue pas la bibliothéque Objective C standard.
245
246 %description objc -l pl
247 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
248 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
249 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
250 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
251
252 %description objc -l tr
253 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
254 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
255 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
256 kitaplýðý bu pakette yer almaz.
257
258 %package -n libobjc
259 Summary:        Objective C Libraries
260 Summary(es):    Bibliotecas de Objective C
261 Summary(pl):    Biblioteki Obiektowego C
262 Group:          Libraries
263 Obsoletes:      libobjc1
264
265 %description -n libobjc
266 Objective C Libraries.
267
268 %description -n libobjc -l es
269 Bibliotecas de Objective C.
270
271 %description -n libobjc -l pl
272 Biblioteki Obiektowego C.
273
274 %package -n libobjc-static
275 Summary:        Static Objective C Libraries
276 Summary(es):    Bibliotecas estáticas de Objective C
277 Summary(pl):    Statyczne Biblioteki Obiektowego C
278 Group:          Development/Libraries
279 Requires:       libobjc = %{epoch}:%{version}-%{release}
280
281 %description -n libobjc-static
282 Static Objective C Libraries.
283
284 %description -n libobjc-static -l es
285 Bibliotecas estáticas de Objective C.
286
287 %description -n libobjc-static -l pl
288 Statyczne biblioteki Obiektowego C.
289
290 %package g77
291 Summary:        Fortran 77 support for gcc
292 Summary(es):    Soporte de Fortran 77 para gcc
293 Summary(pl):    Obs³uga Fortranu 77 dla gcc
294 Summary(pt_BR): Suporte Fortran 77 para o GCC
295 Group:          Development/Languages/Fortran
296 Requires:       libg2c = %{epoch}:%{version}-%{release}
297 Obsoletes:      egcs-g77
298
299 %description g77
300 This package adds support for compiling Fortran 77 programs with the
301 GNU compiler.
302
303 %description g77 -l es
304 Este paquete añade soporte para compilar programas escritos en Fortran
305 77 con el compilador GNU.
306
307 %description g77 -l pl
308 Ten pakiet dodaje obs³ugê Fortranu 77 do kompilatora gcc. Jest
309 potrzebny do kompilowania programów pisanych w jêzyku Fortran 77.
310
311 %description g77 -l pt_BR
312 Suporte Fortran 77 para o GCC.
313
314 %package -n libg2c
315 Summary:        Fortran 77 Libraries
316 Summary(es):    Bibliotecas de Fortran 77
317 Summary(pl):    Biblioteki Fortranu 77
318 Group:          Libraries
319
320 %description -n libg2c
321 Fortran 77 Libraries.
322
323 %description -n libg2c -l es
324 Bibliotecas de Fortran 77.
325
326 %description -n libg2c -l pl
327 Biblioteki Fortranu 77.
328
329 %package -n libg2c-static
330 Summary:        Static Fortran 77 Libraries
331 Summary(es):    Bibliotecas estáticas de Fortran 77
332 Summary(pl):    Statyczne Biblioteki Fortranu 77
333 Group:          Development/Libraries
334 Requires:       libg2c = %{epoch}:%{version}-%{release}
335
336 %description -n libg2c-static
337 Static Fortran 77 Libraries.
338
339 %description -n libg2c -l es
340 Bibliotecas estáticas de Fortran 77.
341
342 %description -n libg2c-static -l pl
343 Statyczne biblioteki Fortranu 77.
344
345 %package java
346 Summary:        Java support for gcc
347 Summary(es):    Soporte de Java para gcc
348 Summary(pl):    Obs³uga Javy dla gcc
349 Group:          Development/Languages/Java
350 Requires:       %{name} = %{epoch}:%{version}-%{release}
351 Requires:       libgcj = %{epoch}:%{version}-%{release}
352 Requires:       libgcj-devel = %{epoch}:%{version}-%{release}
353 Requires:       java-shared
354 Provides:       gcj = %{epoch}:%{version}-%{release}
355
356 %description java
357 This package adds experimental support for compiling Java(tm) programs
358 and bytecode into native code. To use this you will also need the
359 libgcj package.
360
361 %description java -l es
362 Este paquete añade soporte experimental para compilar programas
363 Java(tm) y su bytecode en código nativo. Para usarlo también va a
364 necesitar el paquete libgcj.
365
366 %description java -l pl
367 Wsparcie dla kompilowania programów Java(tm) zarówno do bajt-kodu jak i
368 do natywnego kodu. Dodatkowo wymagany jest pakiet libgcj, aby mo¿na
369 by³o przeprowadziæ kompilacjê.
370
371 %package java-tools
372 Summary:        Shared java tools
373 Summary(es):    Herramientas compartidas de Java
374 Summary(pl):    Wspó³dzielone narzêdzia javy
375 Group:          Development/Languages/Java
376 Provides:       jar = %{epoch}:%{version}-%{release}
377 Provides:       java-shared
378 Obsoletes:      fastjar
379 Obsoletes:      jar
380 Obsoletes:      java-shared
381
382 %description java-tools
383 This package contains tools that are common for every Java(tm)
384 implementation, such as rmic or jar.
385
386 %description java-tools -l es
387 Este paquete contiene herramientas que son comunes para cada
388 implementación de Java(tm), como rmic o jar.
389
390 %description java-tools -l pl
391 Pakiet ten zawiera narzêdzia wspólne dla ka¿dej implementacji
392 Javy(tm), takie jak rmic czy jar.
393
394 %package -n libgcj
395 Summary:        Java Class Libraries
396 Summary(es):    Bibliotecas de clases de Java
397 Summary(pl):    Biblioteki Klas Javy
398 Group:          Libraries
399 Requires:       zlib
400 Obsoletes:      libgcj3
401
402 %description -n libgcj
403 Java Class Libraries.
404
405 %description -n libgcj -l es
406 Bibliotecas de clases de Java.
407
408 %description -n libgcj -l pl
409 Biblioteki Klas Javy.
410
411 %package -n libgcj-devel
412 Summary:        Development files for Java Class Libraries
413 Summary(es):    Ficheros de desarrollo para las bibliotecas de clases de Java
414 Summary(pl):    Pliki nag³ówkowe dla Bibliotek Klas Javy
415 Group:          Development/Libraries
416 Requires:       %{name}-java = %{epoch}:%{version}-%{release}
417 Requires:       libgcj = %{epoch}:%{version}-%{release}
418 Obsoletes:      libgcj3-devel
419
420 %description -n libgcj-devel
421 Development files for Java Class Libraries.
422
423 %description -n libgcj-devel -l es
424 Ficheros de desarrollo para las bibliotecas de clases de Java.
425
426 %description -n libgcj-devel -l pl
427 Pliki nag³ówkowe dla Bibliotek Klas Javy.
428
429 %package -n libgcj-static
430 Summary:        Static Java Class Libraries
431 Summary(es):    Bibliotecas estáticas de clases de Java
432 Summary(pl):    Statyczne Biblioteki Klas Javy
433 Group:          Development/Libraries
434 Requires:       libgcj-devel = %{epoch}:%{version}-%{release}
435 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
436
437 %description -n libgcj-static
438 Static Java Class Libraries.
439
440 %description -n libgcj-static -l es
441 Bibliotecas estáticas de clases de Java.
442
443 %description -n libgcj-static -l pl
444 Statyczne Biblioteki Klas Javy.
445
446 %package -n libstdc++
447 Summary:        GNU c++ library
448 Summary(es):    Biblioteca C++ de GNU
449 Summary(pl):    Biblioteki GNU C++
450 Summary(pt_BR): Biblioteca C++ GNU
451 Group:          Libraries
452 Obsoletes:      libg++
453 Obsoletes:      libstdc++3
454
455 %description -n libstdc++
456 This is the GNU implementation of the standard C++ libraries, along
457 with additional GNU tools. This package includes the shared libraries
458 necessary to run C++ applications.
459
460 %description -n libstdc++ -l de
461 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
462 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
463 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
464
465 %description -n libstdc++ -l es
466 Este es el soporte de las bibliotecas padrón del C++, junto con
467 herramientas GNU adicionales. El paquete incluye las bibliotecas
468 compartidas necesarias para ejecutar aplicaciones C++.
469
470 %description -n libstdc++ -l fr
471 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
472 des outils GNU supplémentaires. Ce package comprend les librairies
473 partagées nécessaires à l'exécution d'application C++.
474
475 %description -n libstdc++ -l pl
476 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
477 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
478 uruchomienia aplikacji napisanych w C++.
479
480 %description -n libstdc++ -l pt_BR
481 Este pacote é uma implementação da biblioteca padrão C++ v3, um
482 subconjunto do padrão ISO 14882.
483
484 %description -n libstdc++ -l tr
485 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
486 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
487
488 %package -n libstdc++-devel
489 Summary:        Header files and documentation for C++ development
490 Summary(de):    Header-Dateien zur Entwicklung mit C++
491 Summary(es):    Ficheros de cabecera y documentación para desarrollo C++
492 Summary(fr):    Fichiers d'en-tête et biblitothèques pour développer en C++
493 Summary(pl):    Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
494 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
495 Summary(tr):    C++ ile program geliþtirmek için gerekli dosyalar
496 Group:          Development/Libraries
497 Requires:       %{name}-c++ = %{epoch}:%{version}-%{release}
498 Requires:       libstdc++ = %{epoch}:%{version}-%{release}
499 Requires:       glibc-devel
500 Obsoletes:      libg++-devel
501 Obsoletes:      libstdc++3-devel
502
503 %description -n libstdc++-devel
504 This is the GNU implementation of the standard C++ libraries. This
505 package includes the header files needed for C++ development and
506 library documentation.
507
508 %description -n libstdc++-devel -l es
509 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
510 paquete incluye los archivos de inclusión y bibliotecas necesarios
511 para desarrollo de programas en lenguaje C++.
512
513 %description -n libstdc++-devel -l pl
514 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
515 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
516 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
517
518 %description -n libstdc++-devel -l pt_BR
519 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
520 para desenvolvimento de programas C++.
521
522 %package -n libstdc++-static
523 Summary:        Static C++ standard library
524 Summary(es):    Biblioteca estándar estática de C++
525 Summary(pl):    Statyczna biblioteka standardowa C++
526 Group:          Development/Libraries
527 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
528
529 %description -n libstdc++-static
530 Static C++ standard library.
531
532 %description -n libstdc++-static -l es
533 Biblioteca estándar estática de C++.
534
535 %description -n libstdc++-static -l pl
536 Statyczna biblioteka standardowa C++.
537
538 %package -n libffi
539 Summary:        Foreign Function Interface library
540 Summary(es):    Biblioteca de interfaz de funciones ajenas
541 Summary(pl):    Biblioteka zewnêtrznych wywo³añ funkcji
542 Group:          Libraries
543
544 %description -n libffi
545 The libffi library provides a portable, high level programming
546 interface to various calling conventions. This allows a programmer to
547 call any function specified by a call interface description at run
548 time.
549
550 %description -n libffi -l es
551 La biblioteca libffi provee una interfaz portable de programación de
552 alto nivel para varias convenciones de llamada. Ello permite que un
553 programador llame una función cualquiera especificada por una
554 descripción de interfaz de llamada en el tiempo de ejecución.
555
556 %description -n libffi -l pl
557 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
558 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
559 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
560 czasie wykonania.
561
562 %package -n libffi-devel
563 Summary:        Development files for Foreign Function Interface library
564 Summary(es):    Ficheros de desarrollo para libffi
565 Summary(pl):    Pliki nag³ówkowe dla libffi
566 Group:          Development/Libraries
567 Requires:       libffi = %{epoch}:%{version}-%{release}
568
569 %description -n libffi-devel
570 Development files for Foreign Function Interface library.
571
572 %description -n libffi-devel -l es
573 Ficheros de desarrollo para libffi.
574
575 %description -n libffi-devel -l pl
576 Pliki nag³ówkowe dla libffi.
577
578 %package -n libffi-static
579 Summary:        Static Foreign Function Interface library
580 Summary(es):    Biblioteca libffi estática
581 Summary(pl):    Statyczna biblioteka libffi
582 Group:          Development/Libraries
583 Requires:       libffi-devel = %{epoch}:%{version}-%{release}
584
585 %description -n libffi-static
586 Static Foreign Function Interface library.
587
588 %description -n libffi-static -l es
589 Biblioteca libffi estática.
590
591 %description -n libffi-static -l pl
592 Statyczna biblioteka libffi.
593
594 %package ada
595 Summary:        Ada support for gcc
596 Summary(es):    Soporte de Ada para gcc
597 Summary(pl):    Obs³uga Ady do gcc
598 Group:          Development/Languages
599 Requires:       %{name} = %{epoch}:%{version}-%{release}
600 Requires:       libgnat = %{epoch}:%{version}-%{release}
601 Obsoletes:      gcc-gnat
602 Obsoletes:      gnat-devel
603
604 %description ada
605 This package adds experimental support for compiling Ada programs.
606
607 %description ada -l es
608 Este paquete añade soporte experimental para compilar programas en
609 Ada.
610
611 %description ada -l pl
612 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
613 Adzie.
614
615 %package -n libgnat
616 Summary:        Ada standard libraries
617 Summary(es):    Bibliotecas estándares de Ada
618 Summary(pl):    Biblioteki standardowe dla Ady
619 Group:          Libraries
620 Obsoletes:      gnat
621 Obsoletes:      libgnat1
622
623 %description -n libgnat
624 This package contains shared libraries needed to run programs written
625 in Ada.
626
627 %description -n libgnat -l es
628 Este paquete contiene las bibliotecas compartidas necesarias para
629 ejecutar programas escritos en Ada.
630
631 %description -n libgnat -l pl
632 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
633 napisanych w Adzie.
634
635 %package -n libgnat-static
636 Summary:        Static Ada standard libraries
637 Summary(pl):    Statyczne biblioteki standardowe dla Ady
638 Group:          Libraries
639 Obsoletes:      gnat-static
640
641 %description -n libgnat-static
642 This package contains static libraries for programs written in Ada.
643
644 %description -n libgnat-static -l pl
645 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
646 Adzie.
647
648 %prep
649 %setup -q -a1
650
651 %patch0 -p1
652 %patch1 -p1
653 %patch2 -p1
654 %{!?debug:%patch3 -p1}
655 %{?with_ssp:%patch4 -p1}
656 %patch5 -p1
657 %patch6 -p0
658 #%patch7 -p0
659 %patch8 -p1
660 %patch9 -p1
661 %patch10 -p1
662
663 %ifarch alpha ia64
664 # needed for bootstrap using gcc 3.3.x on alpha
665 # and even using the same 3.4.x(!) (but not Debian's 3.3.x) on ia64
666 %patch20 -p2
667 %endif
668
669 # because we distribute modified version of gcc...
670 perl -pi -e 's/(version.*)";/$1 %{?with_ssp:SSP }(PLD Linux)";/' gcc/version.c
671 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
672
673 mv ChangeLog ChangeLog.general
674
675 %build
676 # because pr16276 patch modifies configure.ac
677 cd gcc
678 %{__autoconf}
679 cd ..
680 cp -f /usr/share/automake/config.sub .
681
682 rm -rf obj-%{_target_platform} && install -d obj-%{_target_platform} && cd obj-%{_target_platform}
683
684 %if %{with multilib}
685
686 CC=%__cc
687 %ifarch sparc64 
688 cat > gcc64 <<"EOF"
689 #!/bin/sh
690 exec /usr/bin/gcc -m64 "$@"
691 EOF
692 chmod +x gcc64
693 CC=`pwd`/gcc64
694 %endif 
695
696 %ifarch amd64
697 cat > gcc64 <<"EOF"
698 #!/bin/sh
699 exec /usr/bin/gcc -m64 "$@"
700 EOF
701 chmod +x gcc64
702 CC=`pwd`/gcc64
703 %endif 
704
705 %endif
706
707 CFLAGS="%{rpmcflags}" \
708 CXXFLAGS="%{rpmcflags}" \
709 CC="$CC" \
710 TEXCONFIG=false ../configure \
711         --prefix=%{_prefix} \
712         --libdir=%{_libdir} \
713         --libexecdir=%{_libdir} \
714         --infodir=%{_infodir} \
715         --mandir=%{_mandir} \
716         --enable-shared \
717         --enable-threads=posix \
718         --enable-__cxa_atexit \
719         --enable-languages="c,c++,f77%{?with_objc:,objc}%{?with_ada:,ada}%{?with_java:,java}" \
720         --enable-c99 \
721         --enable-long-long \
722 %if %{with multilib}
723         --enable-multilib \
724 %else
725         --disable-multilib \
726 %endif
727         --enable-nls \
728         --with-gnu-as \
729         --with-gnu-ld \
730         --with-system-zlib \
731         --with-slibdir=%{_slibdir} \
732         --without-x \
733         %{_target_platform}
734
735 PATH=$PATH:/sbin:%{_sbindir}
736
737 cd ..
738 # - on alpha stage1 needs -O0 for 3.3->3.4 bootstrap (gnat from 3.3 is seriously broken)
739 # - on ia64 use bootstrap-lean as profiledbootstrap is broken (PR 13882, 15836, 16108)
740 %{__make} -C obj-%{_target_platform} \
741 %ifarch ia64
742         bootstrap-lean \
743 %else
744         profiledbootstrap \
745 %endif
746         GCJFLAGS="%{rpmcflags}" \
747         BOOT_CFLAGS="%{rpmcflags}" \
748 %ifarch alpha
749         STAGE1_CFLAGS="%{rpmcflags} -O0" \
750 %else
751         STAGE1_CFLAGS="%{rpmcflags}" \
752 %endif
753         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
754         mandir=%{_mandir} \
755         infodir=%{_infodir}
756
757 %if %{with ada}
758 # cannot build it in parallel
759 for tgt in gnatlib-shared gnattools gnatlib; do
760 %{__make} -C obj-%{_target_platform}/gcc $tgt \
761         BOOT_CFLAGS="%{rpmcflags}" \
762         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
763         mandir=%{_mandir} \
764         infodir=%{_infodir}
765 done
766 %endif
767
768 %install
769 rm -rf $RPM_BUILD_ROOT
770 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
771
772 cd obj-%{_target_platform}
773 PATH=$PATH:/sbin:%{_sbindir}
774
775 %{__make} -j1 install \
776         mandir=%{_mandir} \
777         infodir=%{_infodir} \
778         DESTDIR=$RPM_BUILD_ROOT
779
780 %ifarch sparc64
781 ln -f $RPM_BUILD_ROOT%{_bindir}/sparc64-pld-linux-gcc \
782         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
783 %endif
784
785 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
786 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
787
788 ln -sf g77 $RPM_BUILD_ROOT%{_bindir}/f77
789 echo ".so g77.1" > $RPM_BUILD_ROOT%{_mandir}/man1/f77.1
790
791 %if %{with ada}
792 # move ada shared libraries to proper place...
793 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
794         $RPM_BUILD_ROOT%{_libdir}
795 # check if symlink to be made is valid
796 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-3.4.so.1
797 ln -sf libgnat-3.4.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-3.4.so
798 ln -sf libgnarl-3.4.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-3.4.so
799 ln -sf libgnat-3.4.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
800 ln -sf libgnarl-3.4.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
801 %endif
802
803 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
804
805 cd ..
806
807 %if %{with java}
808 install -d java-doc
809 cp -f libjava/doc/cni.sgml libjava/READ* java-doc
810 cp -f fastjar/README java-doc/README.fastjar
811 cp -f libffi/README java-doc/README.libffi
812 cp -f libffi/LICENSE java-doc/LICENSE.libffi
813 %endif
814
815 %if %{with objc}
816 cp -f libobjc/README gcc/objc/README.libobjc
817 %endif
818
819 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
820 for f in libstdc++.la libsupc++.la %{?with_java:libgcj.la} ; do
821         perl -pi -e 's@-L[^ ]*[acs.] @@g' $RPM_BUILD_ROOT%{_libdir}/$f
822 done
823 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
824 for f in libstdc++.la libsupc++.la libg2c.la \
825         %{?with_java:libgcj.la lib-org-w3c-dom.la lib-org-xml-sax.la libffi.la} \
826         %{?with_objc:libobjc.la}; do
827         perl -pi -e "s@^libdir='.*@libdir='/usr/%{_lib}'@" $RPM_BUILD_ROOT%{_libdir}/$f
828 done
829
830 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
831 mv -f $RPM_BUILD_ROOT%{_mandir}/ja/man1/{cccp,cpp}.1
832
833 # include/ contains install-tools/include/* and headers that were fixed up
834 # by fixincludes, we don't want former
835 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
836 mkdir $gccdir/tmp
837 # we have to save these however
838 mv -f $gccdir/include/{%{?with_objc:objc,}g2c.h,syslimits.h%{?with_java:,libffi/ffitarget.h,gcj}} $gccdir/tmp
839 rm -rf $gccdir/include
840 mv -f $gccdir/tmp $gccdir/include
841 cp $gccdir/install-tools/include/*.h $gccdir/include
842 # but we don't want anything more from install-tools
843 rm -rf $gccdir/install-tools
844
845 %if %{with multilib}
846
847 %ifarch sparc64 
848 ln -sf %{_slibdir}*/libgcc_s.so.1 $gccdir/libgcc_s.so
849 ln -sf %{_slibdir32}/libgcc_s.so.1 $gccdir/libgcc_s_32.so
850 %endif 
851
852 %ifarch amd64 
853 ln -sf %{_slibdir}*/libgcc_s.so.1 $gccdir/libgcc_s.so
854 ln -sf %{_slibdir32}/libgcc_s.so.1 $gccdir/libgcc_s_32.so
855 %endif 
856
857 %endif
858
859 %find_lang %{name}
860 %find_lang libstdc\+\+
861
862 %if %{with ssp}
863 zcat %{SOURCE2} > $RPM_BUILD_ROOT%{_aclocaldir}/gcc_stack_protect.m4
864 %endif
865 install %{SOURCE3} $RPM_BUILD_ROOT%{_aclocaldir}/gcc_visibility.m4
866
867 %clean
868 rm -rf $RPM_BUILD_ROOT
869
870 %post
871 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
872
873 %postun
874 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
875
876 %post g77
877 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
878
879 %postun g77
880 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
881
882 %post java
883 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
884
885 %postun java
886 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
887
888 %post   -p /sbin/ldconfig -n libgcc
889 %postun -p /sbin/ldconfig -n libgcc
890 %post   -p /sbin/ldconfig -n libstdc++
891 %postun -p /sbin/ldconfig -n libstdc++
892 %post   -p /sbin/ldconfig -n libobjc
893 %postun -p /sbin/ldconfig -n libobjc
894 %post   -p /sbin/ldconfig -n libg2c
895 %postun -p /sbin/ldconfig -n libg2c
896 %post   -p /sbin/ldconfig -n libgcj
897 %postun -p /sbin/ldconfig -n libgcj
898 %post   -p /sbin/ldconfig -n libgnat
899 %postun -p /sbin/ldconfig -n libgnat
900 %post   -p /sbin/ldconfig -n libffi
901 %postun -p /sbin/ldconfig -n libffi
902
903 %files -f gcc.lang
904 %defattr(644,root,root,755)
905 %doc ChangeLog.general MAINTAINERS NEWS bugs.html faq.html
906 %doc gcc/{ChangeLog,ONEWS,README.Portability}
907 %dir %{_libdir}/gcc/*/*
908 %dir %{_libdir}/gcc/*/*/include
909 %{?with_ssp:%{_aclocaldir}/gcc_stack_protect.m4}
910 %{_aclocaldir}/gcc_visibility.m4
911
912 %attr(755,root,root) %{_bindir}/*-gcc*
913 %attr(755,root,root) %{_bindir}/gcc
914 %attr(755,root,root) %{_bindir}/gccbug
915 %attr(755,root,root) %{_bindir}/gcov
916 %attr(755,root,root) %{_bindir}/cc
917 %attr(755,root,root) %{_bindir}/cpp
918
919 %{_mandir}/man1/cc.1*
920 %{_mandir}/man1/cpp.1*
921 %lang(ja) %{_mandir}/ja/man1/cpp.1*
922 %{_mandir}/man1/gcc.1*
923 %lang(fr) %{_mandir}/fr/man1/gcc.1*
924 %lang(ja) %{_mandir}/ja/man1/gcc.1*
925 %{_mandir}/man1/gcov.1*
926
927 %{_infodir}/cpp*
928 %{_infodir}/gcc*
929
930 %attr(755,root,root) /lib/cpp
931
932 %attr(755,root,root) %{_slibdir}*/lib*.so
933 %ifarch ia64
934 %{_slibdir}*/libunwind.a
935 %endif
936 %{_libdir}/gcc/*/*/libgcov.a
937 %{_libdir}/gcc/*/*/libgcc.a
938 %{_libdir}/gcc/*/*/libgcc_eh.a
939 %{_libdir}/gcc/*/*/specs
940 %attr(644,root,root) %{_libdir}*/gcc/*/*/crt*.o
941 %ifarch sparc64
942 %{_libdir}/gcc/*/*/*/libgcc.a
943 %{_libdir}/gcc/*/*/*/libgcc_eh.a
944 %{_libdir}/gcc/*/*/*/libgcov.a
945 %{_libdir}/gcc/*/*/libgcc*so
946 %attr(644,root,root) %{_libdir}*/gcc/*/*/*/crt*.o
947 %endif
948 %ifarch ppc
949 %attr(644,root,root) %{_libdir}/gcc/*/*/ecrt*.o
950 %attr(644,root,root) %{_libdir}/gcc/*/*/ncrt*.o
951 %{_libdir}/gcc/*/*/nof
952 %dir %{_libdir}/nof
953 %endif
954 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
955 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
956
957 %{_libdir}/gcc/*/*/include/*.h
958 %exclude %{_libdir}/gcc/*/*/include/g2c.h
959
960 %files -n libgcc
961 %defattr(644,root,root,755)
962 %attr(755,root,root) %{_slibdir}*/lib*.so.*
963 %ifarch sparc64
964 %attr(755,root,root) %{_slibdir32}/lib*.so.*
965 %endif
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 %{_libdir}/gcc/*/*/include/ffitarget.h
1154 %attr(755,root,root) %{_libdir}/libffi.so
1155 %{_libdir}/libffi.la
1156 %{_includedir}/ffi.h
1157
1158 %files -n libffi-static
1159 %defattr(644,root,root,755)
1160 %{_libdir}/libffi.a
1161 %endif
1162
1163 %if %{with ada}
1164 %files ada
1165 %defattr(644,root,root,755)
1166 %doc gcc/ada/ChangeLog
1167 %attr(755,root,root) %{_bindir}/gnat*
1168 %attr(755,root,root) %{_bindir}/gpr*
1169 %attr(755,root,root) %{_libdir}/libgnarl*.so
1170 %attr(755,root,root) %{_libdir}/libgnat*.so
1171 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1172 %{_libdir}/gcc/*/*/adainclude
1173 %dir %{_libdir}/gcc/*/*/adalib
1174 %{_libdir}/gcc/*/*/adalib/*.ali
1175 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1176 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1177 %ifarch %{ix86}
1178 %{_libdir}/gcc/*/*/adalib/libgmem.a
1179 %endif
1180 %{_datadir}/gnat
1181 %{_infodir}/gnat*
1182
1183 %files -n libgnat
1184 %defattr(644,root,root,755)
1185 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1186 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1187
1188 %files -n libgnat-static
1189 %defattr(644,root,root,755)
1190 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1191 %{_libdir}/gcc/*/*/adalib/libgnat.a
1192 %endif
This page took 0.120684 seconds and 4 git commands to generate.