]> git.pld-linux.org Git - packages/gcc.git/blob - gcc.spec
- TODO += PR14776.
[packages/gcc.git] / gcc.spec
1 #
2 # TODO:
3 #               - http://gcc.gnu.org/PR11203
4 #               - http://gcc.gnu.org/PR14776
5 #               - http://gcc.gnu.org/PR17567
6 #
7 # - after 3.4.3 release snaps should go to DEVEL branch
8 #
9 # Conditional build:
10 %bcond_without  ada             # build without ADA support
11 %bcond_without  java            # build without Java support
12 %bcond_without  objc            # build without objc support
13 %bcond_with     ssp             # build with stack-smashing protector support
14 #
15 %define         _snap           20041008
16 #
17 Summary:        GNU Compiler Collection: the C compiler and shared files
18 Summary(es):    Colección de compiladores GNU: el compilador C y ficheros compartidos
19 Summary(pl):    Kolekcja kompilatorów GNU: kompilator C i pliki wspó³dzielone
20 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
21 Name:           gcc
22 Version:        3.4.3
23 Release:        0.%{_snap}.2
24 #Release:       1
25 Epoch:          5
26 License:        GPL
27 Group:          Development/Languages
28 #Source0:       ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
29 #Source0:       ftp://gcc.gnu.org/pub/gcc/prerelease-%{version}-%{_snap}/gcc-%{version}-%{_snap}.tar.bz2
30 Source0:        ftp://gcc.gnu.org/pub/gcc/snapshots/3.4-%{_snap}/gcc-3.4-%{_snap}.tar.bz2
31 # Source0-md5:  9e5a58db111be1b31227b5a1139a740b
32 Source1:        http://ep09.pld-linux.org/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
33 # Source1-md5:  4736f3422ddfb808423b745629acc321
34 Source2:        http://www.trl.ibm.com/projects/security/ssp/gcc2_95_3/gcc_stack_protect.m4.gz
35 # Source2-md5:  07d93ad5fc07ca44cdaba46c658820de
36 Source3:        gcc_visibility.m4
37 Patch0:         %{name}-info.patch
38 Patch1:         %{name}-nolocalefiles.patch
39 Patch2:         %{name}-ada-link-new-libgnat.patch
40 Patch3:         %{name}-nodebug.patch
41 Patch4:         %{name}-ssp.patch
42 Patch5:         %{name}-ada-link.patch
43 Patch6:         %{name}-pr15666.patch
44 Patch7:         %{name}-pr16276.patch
45 Patch8:         %{name}-ada-bootstrap.patch
46 #
47 # -fvisibility={default|internal|hidden|protected}
48 #
49 # Set the default ELF image symbol visibility to the specified option.
50 # All symbols will be marked with this unless overrided within the code.
51 # Using this feature can very substantially improve linking and load times
52 # of shared object libraries, produce more optimised code, provide near-perfect
53 # API export and prevent symbol clashes. It is strongly recommended that you
54 # use this in any shared objects you distribute.
55 #
56 # -fvisibility-inlines-hidden
57 #
58 # Causes all inlined methods to be marked with __attribute__((visibility("hidden")))
59 # so that they do not appear in the export table of a DSO and do not require a PLT
60 # indirection when used within the DSO. Enabling this option can have a dramatic
61 # effect on load and link times of a DSO as it massively reduces the size
62 # of the dynamic export table when the library makes heavy use of templates.
63 # While it can cause bloating through duplication of code within each DSO
64 # where it is used, often the wastage is less than the considerable space
65 # occupied by a long symbol name in the export table which is typical when using
66 # templates and namespaces.
67 #
68 # How to Write Shared Libraries: http://people.redhat.com/drepper/dsohowto.pdf
69 #
70 Patch9:         %{name}-visibility.patch
71 Patch10:        %{name}-pr17384.patch
72 #
73 URL:            http://gcc.gnu.org/
74 BuildRequires:  autoconf
75 BuildRequires:  automake
76 BuildRequires:  binutils >= 2:2.15.91.0.2
77 BuildRequires:  bison
78 BuildRequires:  fileutils >= 4.0.41
79 BuildRequires:  flex
80 %if %{with ada}
81 BuildRequires:  gcc(ada)
82 BuildRequires:  gcc-ada
83 %endif
84 BuildRequires:  gettext-devel
85 BuildRequires:  glibc-devel >= 2.2.5-20
86 BuildRequires:  perl-devel
87 BuildRequires:  texinfo >= 4.1
88 BuildRequires:  zlib-devel
89 Requires:       binutils >= 2:2.15.91.0.2
90 Requires:       libgcc = %{epoch}:%{version}-%{release}
91 Provides:       cpp = %{epoch}:%{version}-%{release}
92 %{?with_ada:Provides:   gcc(ada)}
93 %{?with_ssp:Provides:   gcc(ssp)}
94 # ksi for gcc > 3.3.x not ready yet
95 Obsoletes:      cpp
96 Obsoletes:      egcs-cpp
97 Obsoletes:      gcc-cpp
98 Obsoletes:      gcc-ksi
99 Obsoletes:      gont
100 Conflicts:      glibc-devel < 2.2.5-20
101 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
102
103 %define         _slibdir        /%{_lib}
104 %ifarch sparc64
105 %define         _slibdir64      /lib64
106 %define         _libdir         /usr/lib
107 %define         rpmcflags       -O2 -mtune=ultrasparc
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 destinado a la integración de todas las optimalizaciones
120 y 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 parted 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 Obsoletes:      libg++-devel
500 Obsoletes:      libstdc++3-devel
501
502 %description -n libstdc++-devel
503 This is the GNU implementation of the standard C++ libraries. This
504 package includes the header files needed for C++ development and
505 library documentation.
506
507 %description -n libstdc++-devel -l es
508 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
509 paquete incluye los archivos de inclusión y bibliotecas necesarios
510 para desarrollo de programas en lenguaje C++.
511
512 %description -n libstdc++-devel -l pl
513 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
514 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
515 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
516
517 %description -n libstdc++-devel -l pt_BR
518 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
519 para desenvolvimento de programas C++.
520
521 %package -n libstdc++-static
522 Summary:        Static C++ standard library
523 Summary(es):    Biblioteca estándar estática de C++
524 Summary(pl):    Statyczna biblioteka standardowa C++
525 Group:          Development/Libraries
526 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
527
528 %description -n libstdc++-static
529 Static C++ standard library.
530
531 %description -n libstdc++-static -l es
532 Biblioteca estándar estática de C++.
533
534 %description -n libstdc++-static -l pl
535 Statyczna biblioteka standardowa C++.
536
537 %package -n libffi
538 Summary:        Foreign Function Interface library
539 Summary(es):    Biblioteca de interfaz de funciones ajenas
540 Summary(pl):    Biblioteka zewnêtrznych wywo³añ funkcji
541 Group:          Libraries
542
543 %description -n libffi
544 The libffi library provides a portable, high level programming
545 interface to various calling conventions. This allows a programmer to
546 call any function specified by a call interface description at run
547 time.
548
549 %description -n libffi -l es
550 La biblioteca libffi provee una interfaz portable de programación de
551 alto nivel para varias convenciones de llamada. Ello permite que un
552 programador llame una función cualquiera especificada por una
553 descripción de interfaz de llamada en el tiempo de ejecución.
554
555 %description -n libffi -l pl
556 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
557 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
558 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
559 czasie wykonania.
560
561 %package -n libffi-devel
562 Summary:        Development files for Foreign Function Interface library
563 Summary(es):    Ficheros de desarrollo para libffi
564 Summary(pl):    Pliki nag³ówkowe dla libffi
565 Group:          Development/Libraries
566 Requires:       libffi = %{epoch}:%{version}-%{release}
567
568 %description -n libffi-devel
569 Development files for Foreign Function Interface library.
570
571 %description -n libffi-devel -l es
572 Ficheros de desarrollo para libffi.
573
574 %description -n libffi-devel -l pl
575 Pliki nag³ówkowe dla libffi.
576
577 %package -n libffi-static
578 Summary:        Static Foreign Function Interface library
579 Summary(es):    Biblioteca libffi estática
580 Summary(pl):    Statyczna biblioteka libffi
581 Group:          Development/Libraries
582 Requires:       libffi-devel = %{epoch}:%{version}-%{release}
583
584 %description -n libffi-static
585 Static Foreign Function Interface library.
586
587 %description -n libffi-static -l es
588 Biblioteca libffi estática.
589
590 %description -n libffi-static -l pl
591 Statyczna biblioteka libffi.
592
593 %package ada
594 Summary:        Ada support for gcc
595 Summary(es):    Soporte de Ada para gcc
596 Summary(pl):    Obs³uga Ady do gcc
597 Group:          Development/Languages
598 Requires:       %{name} = %{epoch}:%{version}-%{release}
599 Requires:       libgnat = %{epoch}:%{version}-%{release}
600 Obsoletes:      gcc-gnat
601 Obsoletes:      gnat-devel
602
603 %description ada
604 This package adds experimental support for compiling Ada programs.
605
606 %description ada -l es
607 Este paquete añade soporte experimental para compilar programas en
608 Ada.
609
610 %description ada -l pl
611 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
612 Adzie.
613
614 %package -n libgnat
615 Summary:        Ada standard libraries
616 Summary(es):    Bibliotecas estándares de Ada
617 Summary(pl):    Biblioteki standardowe dla Ady
618 Group:          Libraries
619 Obsoletes:      gnat
620 Obsoletes:      libgnat1
621
622 %description -n libgnat
623 This package contains shared libraries needed to run programs written
624 in Ada.
625
626 %description -n libgnat -l es
627 Este paquete contiene las bibliotecas compartidas necesarias para
628 ejecutar programas escritos en Ada.
629
630 %description -n libgnat -l pl
631 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
632 napisanych w Adzie.
633
634 %package -n libgnat-static
635 Summary:        Static Ada standard libraries
636 Summary(pl):    Statyczne biblioteki standardowe dla Ady
637 Group:          Libraries
638 Obsoletes:      gnat-static
639
640 %description -n libgnat-static
641 This package contains static libraries for programs written in Ada.
642
643 %description -n libgnat-static -l pl
644 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
645 Adzie.
646
647 %prep
648 # prerelease
649 #setup -q -n %{name}-%{version}-%{_snap} -a1
650 # snapshot
651 %setup -q -n %{name}-3.4-%{_snap} -a1
652 # final
653 #setup -q -n %{name}-%{version} -a1
654
655 %patch0 -p1
656 %patch1 -p1
657 %patch2 -p1
658 %{!?debug:%patch3 -p1}
659 %{?with_ssp:%patch4 -p1}
660 %patch5 -p1
661 %patch6 -p0
662 %patch7 -p0
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 %patch8 -p2
667 %endif
668 %patch9 -p1
669 %patch10 -p1
670
671 # because we distribute modified version of gcc...
672 perl -pi -e 's/(version.*)";/$1 %{?with_ssp:SSP }(PLD Linux)";/' gcc/version.c
673 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
674
675 mv ChangeLog ChangeLog.general
676
677 %build
678 # because pr16276 patch modifies configure.ac
679 cd gcc
680 %{__autoconf}
681 cd ..
682 cp -f /usr/share/automake/config.sub .
683
684 rm -rf obj-%{_target_platform} && install -d obj-%{_target_platform} && cd obj-%{_target_platform}
685
686 CFLAGS="%{rpmcflags}" \
687 CXXFLAGS="%{rpmcflags}" \
688 TEXCONFIG=false ../configure \
689         --prefix=%{_prefix} \
690         --libdir=%{_libdir} \
691         --libexecdir=%{_libexecdir} \
692         --infodir=%{_infodir} \
693         --mandir=%{_mandir} \
694         --enable-shared \
695         --enable-threads=posix \
696         --enable-__cxa_atexit \
697         --enable-languages="c,c++,f77%{?with_objc:,objc}%{?with_ada:,ada}%{?with_java:,java}" \
698         --enable-c99 \
699         --enable-long-long \
700 %ifarch amd64
701         --disable-multilib \
702 %else
703         --enable-multilib \
704 %endif
705         --enable-nls \
706         --with-gnu-as \
707         --with-gnu-ld \
708         --with-system-zlib \
709         --with-slibdir=%{_slibdir} \
710         --without-x \
711         %{_target_platform}
712
713 PATH=$PATH:/sbin:%{_sbindir}
714
715 cd ..
716 # - on alpha stage1 needs -O0 for 3.3->3.4 bootstrap (gnat from 3.3 is seriously broken)
717 # - on ia64 use bootstrap-lean as profiledbootstrap is broken (PR 13882, 15836, 16108)
718 %{__make} -C obj-%{_target_platform} \
719 %ifarch ia64
720         bootstrap-lean \
721 %else
722         profiledbootstrap \
723 %endif
724         GCJFLAGS="%{rpmcflags}" \
725         BOOT_CFLAGS="%{rpmcflags}" \
726 %ifarch alpha
727         STAGE1_CFLAGS="%{rpmcflags} -O0" \
728 %else
729         STAGE1_CFLAGS="%{rpmcflags}" \
730 %endif
731         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
732         mandir=%{_mandir} \
733         infodir=%{_infodir}
734
735 %if %{with ada}
736 # cannot build it in parallel
737 for tgt in gnatlib-shared gnattools gnatlib; do
738 %{__make} -C obj-%{_target_platform}/gcc $tgt \
739         BOOT_CFLAGS="%{rpmcflags}" \
740         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
741         mandir=%{_mandir} \
742         infodir=%{_infodir}
743 done
744 %endif
745
746 # snapshot doesn't contain these files...
747 [ -r "NEWS" ] || touch NEWS
748 [ -r "gcc/f/BUGS" ] || touch gcc/f/BUGS
749 [ -r "gcc/f/NEWS" ] || touch gcc/f/NEWS
750
751 %install
752 rm -rf $RPM_BUILD_ROOT
753 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
754
755 cd obj-%{_target_platform}
756 PATH=$PATH:/sbin:%{_sbindir}
757
758 %{__make} -j1 install \
759         mandir=%{_mandir} \
760         infodir=%{_infodir} \
761         DESTDIR=$RPM_BUILD_ROOT
762
763 %ifarch sparc64
764 ln -f $RPM_BUILD_ROOT%{_bindir}/sparc64-pld-linux-gcc \
765         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
766 %endif
767
768 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
769 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
770
771 ln -sf g77 $RPM_BUILD_ROOT%{_bindir}/f77
772 echo ".so g77.1" > $RPM_BUILD_ROOT%{_mandir}/man1/f77.1
773
774 %if %{with ada}
775 # move ada shared libraries to proper place...
776 mv -f $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
777         $RPM_BUILD_ROOT%{_libdir}
778 # check if symlink to be made is valid
779 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-3.4.so.1
780 ln -sf libgnat-3.4.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-3.4.so
781 ln -sf libgnarl-3.4.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-3.4.so
782 ln -sf libgnat-3.4.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
783 ln -sf libgnarl-3.4.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
784 %endif
785
786 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
787
788 cd ..
789
790 %if %{with java}
791 install -d java-doc
792 cp -f libjava/doc/cni.sgml libjava/READ* java-doc
793 cp -f fastjar/README java-doc/README.fastjar
794 cp -f libffi/README java-doc/README.libffi
795 cp -f libffi/LICENSE java-doc/LICENSE.libffi
796 %endif
797
798 %if %{with objc}
799 cp -f libobjc/README gcc/objc/README.libobjc
800 %endif
801
802 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
803 for f in libstdc++.la libsupc++.la %{?with_java:libgcj.la} ; do
804         perl -pi -e 's@-L[^ ]*[acs.] @@g' $RPM_BUILD_ROOT%{_libdir}/$f
805 done
806 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
807 for f in libstdc++.la libsupc++.la libg2c.la \
808         %{?with_java:libgcj.la lib-org-w3c-dom.la lib-org-xml-sax.la libffi.la} \
809         %{?with_objc:libobjc.la}; do
810         perl -pi -e "s@^libdir='.*@libdir='/usr/%{_lib}'@" $RPM_BUILD_ROOT%{_libdir}/$f
811 done
812
813 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
814 mv -f $RPM_BUILD_ROOT%{_mandir}/ja/man1/{cccp,cpp}.1
815
816 # include/ contains install-tools/include/* and headers that were fixed up
817 # by fixincludes, we don't want former
818 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
819 mkdir $gccdir/tmp
820 # we have to save these however
821 mv -f $gccdir/include/{%{?with_objc:objc,}g2c.h,syslimits.h%{?with_java:,libffi/ffitarget.h,gcj}} $gccdir/tmp
822 rm -rf $gccdir/include
823 mv -f $gccdir/tmp $gccdir/include
824 cp $gccdir/install-tools/include/*.h $gccdir/include
825 # but we don't want anything more from install-tools
826 rm -rf $gccdir/install-tools
827
828 %find_lang %{name}
829 %find_lang libstdc\+\+
830
831 %if %{with ssp}
832 zcat %{SOURCE2} > $RPM_BUILD_ROOT%{_aclocaldir}/gcc_stack_protect.m4
833 %endif
834 install %{SOURCE3} $RPM_BUILD_ROOT%{_aclocaldir}/gcc_visibility.m4
835
836 %clean
837 rm -rf $RPM_BUILD_ROOT
838
839 %post
840 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
841
842 %postun
843 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
844
845 %post g77
846 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
847
848 %postun g77
849 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
850
851 %post java
852 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
853
854 %postun java
855 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
856
857 %post   -p /sbin/ldconfig -n libgcc
858 %postun -p /sbin/ldconfig -n libgcc
859 %post   -p /sbin/ldconfig -n libstdc++
860 %postun -p /sbin/ldconfig -n libstdc++
861 %post   -p /sbin/ldconfig -n libobjc
862 %postun -p /sbin/ldconfig -n libobjc
863 %post   -p /sbin/ldconfig -n libg2c
864 %postun -p /sbin/ldconfig -n libg2c
865 %post   -p /sbin/ldconfig -n libgcj
866 %postun -p /sbin/ldconfig -n libgcj
867 %post   -p /sbin/ldconfig -n libgnat
868 %postun -p /sbin/ldconfig -n libgnat
869 %post   -p /sbin/ldconfig -n libffi
870 %postun -p /sbin/ldconfig -n libffi
871
872 %files -f gcc.lang
873 %defattr(644,root,root,755)
874 %doc ChangeLog.general MAINTAINERS NEWS bugs.html faq.html
875 %doc gcc/{ChangeLog,ONEWS,README.Portability}
876 %dir %{_libdir}/gcc
877 %dir %{_libdir}/gcc/*
878 %dir %{_libdir}/gcc/*/*
879 %dir %{_libdir}/gcc/*/*/include
880 %{?with_ssp:%{_aclocaldir}/gcc_stack_protect.m4}
881 %{_aclocaldir}/gcc_visibility.m4
882
883 %attr(755,root,root) %{_bindir}/*-gcc*
884 %attr(755,root,root) %{_bindir}/gcc
885 %attr(755,root,root) %{_bindir}/gccbug
886 %attr(755,root,root) %{_bindir}/gcov
887 %attr(755,root,root) %{_bindir}/cc
888 %attr(755,root,root) %{_bindir}/cpp
889
890 %{_mandir}/man1/cc.1*
891 %{_mandir}/man1/cpp.1*
892 %lang(ja) %{_mandir}/ja/man1/cpp.1*
893 %{_mandir}/man1/gcc.1*
894 %lang(fr) %{_mandir}/fr/man1/gcc.1*
895 %lang(ja) %{_mandir}/ja/man1/gcc.1*
896 %{_mandir}/man1/gcov.1*
897
898 %{_infodir}/cpp*
899 %{_infodir}/gcc*
900
901 %attr(755,root,root) /lib/cpp
902
903 %attr(755,root,root) %{_slibdir}*/lib*.so
904 %{_libdir}/gcc/*/*/libgcov.a
905 %{_libdir}/gcc/*/*/libgcc.a
906 %{_libdir}/gcc/*/*/libgcc_eh.a
907 %{_libdir}/gcc/*/*/specs
908 %attr(644,root,root) %{_libdir}*/gcc/*/*/crt*.o
909 %ifarch sparc64
910 %{_libdir}/gcc/*/*/*/libgcc.a
911 %{_libdir}/gcc/*/*/*/libgcc_eh.a
912 %attr(644,root,root) %{_libdir}*/gcc/*/*/*/crt*.o
913 %endif
914 %ifarch ppc
915 %attr(644,root,root) %{_libdir}/gcc/*/*/ecrt*.o
916 %attr(644,root,root) %{_libdir}/gcc/*/*/ncrt*.o
917 %{_libdir}/gcc/*/*/nof
918 %dir %{_libdir}/nof
919 %endif
920 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
921 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
922
923 %{_libdir}/gcc/*/*/include/*.h
924 %exclude %{_libdir}/gcc/*/*/include/g2c.h
925
926 %files -n libgcc
927 %defattr(644,root,root,755)
928 %attr(755,root,root) %{_slibdir}*/lib*.so.*
929
930 %files c++
931 %defattr(644,root,root,755)
932 %doc gcc/cp/{ChangeLog,NEWS}
933 %attr(755,root,root) %{_bindir}/g++
934 %attr(755,root,root) %{_bindir}/*-g++
935 %attr(755,root,root) %{_bindir}/c++
936 %attr(755,root,root) %{_bindir}/*-c++
937 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
938 %{_libdir}*/libsupc++.la
939 %ifarch ppc
940 %{_libdir}/nof/libsupc++.la
941 %{_libdir}/nof/libsupc++.a
942 %endif
943 %{_libdir}*/libsupc++.a
944 %{_mandir}/man1/g++.1*
945 %lang(ja) %{_mandir}/ja/man1/g++.1*
946
947 %files -n libstdc++ -f libstdc++.lang
948 %defattr(644,root,root,755)
949 %doc libstdc++-v3/{ChangeLog,README}
950 %attr(755,root,root) %{_libdir}*/libstdc++.so.*.*.*
951 %ifarch ppc
952 %attr(755,root,root) %{_libdir}/nof/libstdc++.so.*.*.*
953 %endif
954
955 %files -n libstdc++-devel
956 %defattr(644,root,root,755)
957 %doc libstdc++-v3/docs/html
958 %dir %{_includedir}/c++
959 %{_includedir}/c++/%{version}
960 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
961 %attr(755,root,root) %{_libdir}*/libstdc++.so
962 %{_libdir}*/libstdc++.la
963 %ifarch ppc
964 %attr(755,root,root) %{_libdir}/nof/libstdc++.so
965 %{_libdir}/nof/libstdc++.la
966 %endif
967
968 %files -n libstdc++-static
969 %defattr(644,root,root,755)
970 %{_libdir}*/libstdc++.a
971 %ifarch ppc
972 %{_libdir}/nof/libstdc++.a
973 %endif
974
975 %if %{with objc}
976 %files objc
977 %defattr(644,root,root,755)
978 %doc gcc/objc/README
979 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
980 %attr(755,root,root) %{_libdir}*/libobjc.so
981 %{_libdir}*/libobjc.la
982 %ifarch ppc
983 %attr(755,root,root) %{_libdir}/nof/libobjc.so
984 %{_libdir}/nof/libobjc.la
985 %endif
986 %{_libdir}/gcc/*/*/include/objc
987
988 %files -n libobjc
989 %defattr(644,root,root,755)
990 %doc libobjc/{ChangeLog,README*}
991 %attr(755,root,root) %{_libdir}*/libobjc.so.*.*.*
992 %ifarch ppc
993 %attr(755,root,root) %{_libdir}/nof/libobjc.so.*.*.*
994 %endif
995
996 %files -n libobjc-static
997 %defattr(644,root,root,755)
998 %{_libdir}*/libobjc.a
999 %ifarch ppc
1000 %{_libdir}/nof/libobjc.a
1001 %endif
1002 %endif
1003
1004 %files g77
1005 %defattr(644,root,root,755)
1006 %doc gcc/f/{BUGS,ChangeLog,NEWS}
1007 %attr(755,root,root) %{_bindir}/g77
1008 %attr(755,root,root) %{_bindir}/f77
1009 %{_infodir}/g77*
1010 %attr(755,root,root) %{_libdir}/gcc/*/*/f771
1011 %{_libdir}*/libfrtbegin.a
1012 %{_libdir}*/libg2c.la
1013 %attr(755,root,root) %{_libdir}*/libg2c.so
1014 %ifarch ppc
1015 %{_libdir}/nof/libfrtbegin.a
1016 %{_libdir}/nof/libg2c.la
1017 %attr(755,root,root) %{_libdir}/nof/libg2c.so
1018 %endif
1019 %{_libdir}/gcc/*/*/include/g2c.h
1020 %{_mandir}/man1/g77.1*
1021 %{_mandir}/man1/f77.1*
1022 %lang(ja) %{_mandir}/ja/man1/g77.1*
1023 %lang(ja) %{_mandir}/ja/man1/f77.1*
1024
1025 %files -n libg2c
1026 %defattr(644,root,root,755)
1027 %doc libf2c/{ChangeLog,README,TODO}
1028 %attr(755,root,root) %{_libdir}*/libg2c.so.*.*.*
1029 %ifarch ppc
1030 %attr(755,root,root) %{_libdir}/nof/libg2c.so.*.*.*
1031 %endif
1032
1033 %files -n libg2c-static
1034 %defattr(644,root,root,755)
1035 %{_libdir}*/libg2c.a
1036 %ifarch ppc
1037 %{_libdir}/nof/libg2c.a
1038 %endif
1039
1040 %if %{with java}
1041 %files java
1042 %defattr(644,root,root,755)
1043 %doc gcc/java/ChangeLog java-doc/*
1044 %attr(755,root,root) %{_bindir}/gcj*
1045 %attr(755,root,root) %{_bindir}/gij
1046 %attr(755,root,root) %{_bindir}/jcf-dump
1047 %attr(755,root,root) %{_bindir}/jv-*
1048 %attr(755,root,root) %{_bindir}/grepjar
1049 %attr(755,root,root) %{_bindir}/*-gcj*
1050 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1051 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1052 %{_infodir}/gcj*
1053 %{_mandir}/man1/jcf-*
1054 %{_mandir}/man1/jv-*
1055 %{_mandir}/man1/gij*
1056 %{_mandir}/man1/gcj*
1057 %{_mandir}/man1/grepjar*
1058
1059 %files java-tools
1060 %defattr(644,root,root,755)
1061 %attr(755,root,root) %{_bindir}/rmi*
1062 %attr(755,root,root) %{_bindir}/jar
1063 %{_mandir}/man1/rmi*
1064 %{_mandir}/man1/jar*
1065 %{_infodir}/fastjar*
1066
1067 %files -n libgcj
1068 %defattr(644,root,root,755)
1069 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1070 %attr(755,root,root) %{_bindir}/addr2name.awk
1071 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1072 %attr(755,root,root) %{_libdir}/lib-org*.so.*.*.*
1073 %ifarch ppc
1074 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so.*
1075 %endif
1076 %{_libdir}/logging.properties
1077
1078 %files -n libgcj-devel
1079 %defattr(644,root,root,755)
1080 %{_includedir}/java
1081 %{_includedir}/javax
1082 %{_includedir}/gcj
1083 %{_includedir}/j*.h
1084 %{_includedir}/gnu/*
1085 %{_libdir}/gcc/*/*/include/gcj
1086 %dir %{_libdir}/security
1087 %{_libdir}/security/*
1088 %dir %{_datadir}/java
1089 %{_datadir}/java/libgcj*.jar
1090 %{_libdir}/lib*cj.spec
1091 %{_libdir}/lib*cj*.la
1092 %attr(755,root,root) %{_libdir}/lib*cj*.so
1093 %attr(755,root,root) %{_libdir}/lib-org-*.so
1094 %{_libdir}/lib-org-*.la
1095 %ifarch ppc
1096 %{_libdir}/nof/lib*cj*.la
1097 %attr(755,root,root) %{_libdir}/nof/lib*cj*.so
1098 %endif
1099 %{_pkgconfigdir}/libgcj.pc
1100
1101 %files -n libgcj-static
1102 %defattr(644,root,root,755)
1103 %{_libdir}/lib*cj*.a
1104 %{_libdir}/lib-org-*.a
1105 %ifarch ppc
1106 %{_libdir}/nof/lib*cj*.a
1107 %endif
1108
1109 %files -n libffi
1110 %defattr(644,root,root,755)
1111 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1112 %attr(755,root,root) %{_libdir}/libffi-*.so
1113
1114 %files -n libffi-devel
1115 %defattr(644,root,root,755)
1116 %{_libdir}/gcc/*/*/include/ffitarget.h
1117 %attr(755,root,root) %{_libdir}/libffi.so
1118 %{_libdir}/libffi.la
1119 %{_includedir}/ffi.h
1120
1121 %files -n libffi-static
1122 %defattr(644,root,root,755)
1123 %{_libdir}/libffi.a
1124 %endif
1125
1126 %if %{with ada}
1127 %files ada
1128 %defattr(644,root,root,755)
1129 %doc gcc/ada/ChangeLog
1130 %attr(755,root,root) %{_bindir}/gnat*
1131 %attr(755,root,root) %{_bindir}/gpr*
1132 %attr(755,root,root) %{_libdir}/libgnarl*.so
1133 %attr(755,root,root) %{_libdir}/libgnat*.so
1134 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1135 %{_libdir}/gcc/*/*/adainclude
1136 %dir %{_libdir}/gcc/*/*/adalib
1137 %{_libdir}/gcc/*/*/adalib/*.ali
1138 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1139 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1140 %ifarch %{ix86}
1141 %{_libdir}/gcc/*/*/adalib/libgmem.a
1142 %endif
1143 %{_datadir}/gnat
1144 %{_infodir}/gnat*
1145
1146 %files -n libgnat
1147 %defattr(644,root,root,755)
1148 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1149 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1150
1151 %files -n libgnat-static
1152 %defattr(644,root,root,755)
1153 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1154 %{_libdir}/gcc/*/*/adalib/libgnat.a
1155 %endif
This page took 0.099014 seconds and 4 git commands to generate.