]> git.pld-linux.org Git - packages/gcc4.git/blob - gcc4.spec
- fix PR23948 (rewrite tree-ssa-math).
[packages/gcc4.git] / gcc4.spec
1 #
2 # Conditional build:
3 %bcond_without  ada             # build without ADA support
4 %bcond_without  cxx             # build without C++ support
5 %bcond_without  fortran         # build without Fortran support
6 %bcond_without  java            # build without Java support
7 %bcond_without  objc            # build without Objective-C support
8 %bcond_without  objcxx          # build without Objective-C++ support
9 %bcond_with     multilib        # build with multilib support (it needs glibc[32&64]-devel)
10 %bcond_with     profiling       # build with profiling
11 %bcond_without  bootstrap       # omit 3-stage bootstrap
12 %bcond_with     tests           # torture gcc
13
14 %if %{with multilib}
15 # the latest chrpath(64) can't handle 32-bit binaries :/
16 %define         _noautochrpath  .*/lib/.*\\.so.*
17 %endif
18
19 %if %{without cxx}
20 %undefine       with_java
21 %undefine       with_objcxx
22 %endif
23
24 %if %{without objc}
25 %undefine       with_objcxx
26 %endif
27
28 %if %{without bootstrap}
29 %undefine       with_profiling
30 %endif
31
32 %ifnarch %{x8664} ppc64 s390x sparc64
33 %undefine       with_multilib
34 %endif
35
36 Summary:        GNU Compiler Collection: the C compiler and shared files
37 Summary(es):    Colección de compiladores GNU: el compilador C y ficheros compartidos
38 Summary(pl):    Kolekcja kompilatorów GNU: kompilator C i pliki wspó³dzielone
39 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
40 Name:           gcc
41 Version:        4.1.0
42 %define         _snap   20050922T2047UTC
43 Release:        0.%{_snap}.2
44 Epoch:          5
45 License:        GPL v2+
46 Group:          Development/Languages
47 #Source0:       ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
48 #Source0:       ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
49 Source0:        gcc-4.1-%{_snap}.tar.bz2
50 # Source0-md5:  2fe9d8eb7b02f12831cc11b82d67995f
51 Source1:        %{name}-optimize-la.pl
52 Patch0:         %{name}-info.patch
53 Patch1:         %{name}-nolocalefiles.patch
54 Patch2:         %{name}-nodebug.patch
55 Patch3:         %{name}-ada-link-new-libgnat.patch
56 Patch4:         %{name}-ada-link.patch
57 Patch5:         %{name}-alpha-ada_fix.patch
58 Patch6:         %{name}-keep-volatile-sematics.patch
59 # PRs
60 Patch10:        %{name}-pr7776.patch
61 Patch11:        %{name}-pr20297.patch
62 Patch12:        %{name}-pr23128.patch
63 Patch13:        %{name}-pr22533.patch
64 Patch14:        %{name}-x87-mmx-switch.patch
65 Patch15:        %{name}-x87-mmx-eh.patch
66 Patch16:        %{name}-pr21419.patch
67 Patch17:        %{name}-pr23948.patch
68 URL:            http://gcc.gnu.org/
69 BuildRequires:  autoconf
70 %{?with_tests:BuildRequires:    autogen}
71 BuildRequires:  automake
72 BuildRequires:  binutils >= 2:2.15.94.0.1
73 BuildRequires:  bison
74 %{?with_java:BuildRequires:     cairo-devel >= 0.5.0}
75 %{?with_tests:BuildRequires:    dejagnu}
76 BuildRequires:  fileutils >= 4.0.41
77 BuildRequires:  flex
78 %if %{with ada}
79 BuildRequires:  gcc(ada)
80 BuildRequires:  gcc-ada
81 %endif
82 BuildRequires:  gettext-devel
83 BuildRequires:  glibc-devel >= %{!?with_multilib:2.2.5-20}%{?with_multilib:6:2.3.4-1.5}
84 %if %{with fortran}
85 BuildRequires:  gmp-devel
86 BuildRequires:  libmpfr-devel
87 %endif
88 %{?with_java:BuildRequires:     pango-devel}
89 BuildRequires:  perl-devel
90 %{?with_java:BuildRequires:     pkgconfig}
91 BuildRequires:  rpmbuild(macros) >= 1.211
92 BuildRequires:  texinfo >= 4.1
93 BuildRequires:  zlib-devel
94 # AS_NEEDED directive for dynamic linker
95 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
96 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
97 Requires:       binutils >= 2:2.16.90.0.1-0.3
98 Requires:       libgcc = %{epoch}:%{version}-%{release}
99 Provides:       cpp = %{epoch}:%{version}-%{release}
100 %{?with_ada:Provides:   gcc(ada)}
101 %{?with_multilib:Provides:      gcc(multilib)}
102 Obsoletes:      cpp
103 Obsoletes:      egcs-cpp
104 Obsoletes:      gcc-chill
105 Obsoletes:      gcc-cpp
106 Obsoletes:      gcc-ksi
107 Obsoletes:      gont
108 Conflicts:      glibc-devel < 2.2.5-20
109 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
110
111 %define         _slibdir        /%{_lib}
112 %if %{with multilib}
113 # 32-bit environment on x86-64,ppc64,s390x,sparc64
114 %define         _slibdir32      /lib
115 %define         _libdir32       /usr/lib
116 %endif
117
118 %description
119 A compiler aimed at integrating all the optimizations and features
120 necessary for a high-performance and stable development environment.
121
122 This package contains the C compiler and some files shared by various
123 parts of the GNU Compiler Collection. In order to use another GCC
124 compiler you will need to install the appropriate subpackage.
125
126 %description -l es
127 Un compilador que intenta integrar todas las optimalizaciones y
128 características necesarias para un entorno de desarrollo eficaz y
129 estable.
130
131 Este paquete contiene el compilador de C y unos ficheros compartidos
132 por varias partes de la colección de compiladores GNU (GCC). Para usar
133 otro compilador de GCC será necesario que instale el subpaquete
134 adecuado.
135
136 %description -l pl
137 Kompilator, posiadaj±cy du¿e mo¿liwo¶ci optymalizacyjne niezbêdne do
138 wyprodukowania szybkiego i stabilnego kodu wynikowego.
139
140 Ten pakiet zawiera kompilator C i pliki wspó³dzielone przez ró¿ne
141 czê¶ci kolekcji kompilatorów GNU (GCC). ¯eby u¿ywaæ innego kompilatora
142 z GCC, trzeba zainstalowaæ odpowiedni podpakiet.
143
144 %description -l pt_BR
145 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
146 GNU Compiler Collection.
147
148 %package -n libgcc
149 Summary:        Shared gcc library
150 Summary(es):    Biblioteca compartida de gcc
151 Summary(pl):    Biblioteka gcc
152 Summary(pt_BR): Biblioteca runtime para o GCC
153 License:        GPL with unlimited link permission
154 Group:          Libraries
155 Obsoletes:      libgcc1
156
157 %description -n libgcc
158 Shared gcc library.
159
160 %description -n libgcc -l es
161 Biblioteca compartida de gcc.
162
163 %description -n libgcc -l pl
164 Biblioteka dynamiczna gcc.
165
166 %description -n libgcc -l pt_BR
167 Biblioteca runtime para o GCC.
168
169 %package -n libmudflap
170 Summary:        GCC mudflap shared support library
171 Summary(pl):    Wspó³dzielona biblioteka wspomagaj±ca GCC mudflap
172 License:        GPL v2+ with unlimited link permission
173 Group:          Libraries
174
175 %description -n libmudflap
176 The libmudflap libraries are used by GCC for instrumenting pointer and
177 array dereferencing operations.
178
179 %description -n libmudflap -l pl
180 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
181 dereferencji wspa¼ników i tablic.
182
183 %package -n libmudflap-devel
184 Summary:        Development files for GCC mudflap library
185 Summary(pl):    Pliki programistyczne biblioteki GCC mudflap
186 License:        GPL v2+ with unlimited link permission
187 Group:          Development/Libraries
188 Requires:       libmudflap = %{epoch}:%{version}-%{release}
189
190 %description -n libmudflap-devel
191 The libmudflap libraries are used by GCC for instrumenting pointer and
192 array dereferencing operations. This package contains development
193 files.
194
195 %description -n libmudflap-devel -l pl
196 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
197 dereferencji wspa¼ników i tablic. Ten pakiet zawiera pliki
198 programistyczne.
199
200 %package -n libmudflap-static
201 Summary:        Static GCC mudflap library
202 Summary(pl):    Statyczna biblioteka GCC mudflap
203 License:        GPL v2+ with unlimited link permission
204 Group:          Development/Libraries
205 Requires:       libmudflap-devel = %{epoch}:%{version}-%{release}
206
207 %description -n libmudflap-static
208 The libmudflap libraries are used by GCC for instrumenting pointer and
209 array dereferencing operations. This package contains static
210 libraries.
211
212 %description -n libmudflap-static -l pl
213 Biblioteki libmudflap s± u¿ywane przez GCC do obs³ugi operacji
214 dereferencji wspa¼ników i tablic. Ten pakiet zawiera biblioteki
215 statyczne.
216
217 %package ada
218 Summary:        Ada support for gcc
219 Summary(es):    Soporte de Ada para gcc
220 Summary(pl):    Obs³uga Ady do gcc
221 Group:          Development/Languages
222 Requires:       %{name} = %{epoch}:%{version}-%{release}
223 Requires:       libgnat = %{epoch}:%{version}-%{release}
224 Obsoletes:      gcc-gnat
225 Obsoletes:      gnat-devel
226
227 %description ada
228 This package adds experimental support for compiling Ada programs.
229
230 %description ada -l es
231 Este paquete añade soporte experimental para compilar programas en
232 Ada.
233
234 %description ada -l pl
235 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
236 Adzie.
237
238 %package -n libgnat
239 Summary:        Ada standard libraries
240 Summary(es):    Bibliotecas estándares de Ada
241 Summary(pl):    Biblioteki standardowe dla Ady
242 License:        GPL v2+ with linking exception
243 Group:          Libraries
244 Obsoletes:      gnat
245 Obsoletes:      libgnat1
246
247 %description -n libgnat
248 This package contains shared libraries needed to run programs written
249 in Ada.
250
251 %description -n libgnat -l es
252 Este paquete contiene las bibliotecas compartidas necesarias para
253 ejecutar programas escritos en Ada.
254
255 %description -n libgnat -l pl
256 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
257 napisanych w Adzie.
258
259 %package -n libgnat-static
260 Summary:        Static Ada standard libraries
261 Summary(pl):    Statyczne biblioteki standardowe dla Ady
262 License:        GPL v2+ with linking exception
263 Group:          Development/Libraries
264 Obsoletes:      gnat-static
265
266 %description -n libgnat-static
267 This package contains static libraries for programs written in Ada.
268
269 %description -n libgnat-static -l pl
270 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
271 Adzie.
272
273 %package c++
274 Summary:        C++ support for gcc
275 Summary(es):    Soporte de C++ para gcc
276 Summary(pl):    Obs³uga C++ dla gcc
277 Summary(pt_BR): Suporte C++ para o gcc
278 Group:          Development/Languages
279 Requires:       %{name} = %{epoch}:%{version}-%{release}
280 Obsoletes:      egcc-c++
281 Obsoletes:      egcs-c++
282
283 %description c++
284 This package adds C++ support to the GNU Compiler Collection. It
285 includes support for most of the current C++ specification, including
286 templates and exception handling. It does not include a standard C++
287 library, which is available separately.
288
289 %description c++ -l de
290 Dieses Paket enthält die C++-Unterstützung für den
291 GNU-Compiler-Collection. Es unterstützt die aktuelle
292 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
293 C++-Standard-Library ist nicht enthalten - sie ist getrennt
294 erhältlich.
295
296 %description c++ -l es
297 Este paquete añade soporte de C++ al GCC (colección de compiladores
298 GNU). Ello incluye el soporte para la mayoría de la especificación
299 actual de C++, incluyendo plantillas y manejo de excepciones. No
300 incluye la biblioteca estándar de C++, la que es disponible separada.
301
302 %description c++ -l fr
303 Ce package ajoute un support C++ a la collection de compilateurs GNU.
304 Il comprend un support pour la plupart des spécifications actuelles de
305 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
306 une bibliothéque C++ standard, qui est disponible séparément.
307
308 %description c++ -l pl
309 Ten pakiet dodaje obs³ugê C++ do kompilatora gcc. Ma wsparcie dla
310 du¿ej ilo¶ci obecnych specyfikacji C++, nie zawiera natomiast
311 standardowych bibliotek C++, które s± w oddzielnym pakiecie.
312
313 %description c++ -l pt_BR
314 Este pacote adiciona suporte C++ para o gcc.
315
316 %description c++ -l tr
317 Bu paket, GNU C derleyicisine C++ desteði ekler. 'Template'ler ve
318 aykýrý durum iþleme gibi çoðu güncel C++ tanýmlarýna uyar. Standart
319 C++ kitaplýðý bu pakette yer almaz.
320
321 %package -n libstdc++
322 Summary:        GNU C++ library
323 Summary(es):    Biblioteca C++ de GNU
324 Summary(pl):    Biblioteki GNU C++
325 Summary(pt_BR): Biblioteca C++ GNU
326 License:        GPL v2+ with free software exception
327 Group:          Libraries
328 Obsoletes:      libg++
329 Obsoletes:      libstdc++3
330
331 %description -n libstdc++
332 This is the GNU implementation of the standard C++ libraries, along
333 with additional GNU tools. This package includes the shared libraries
334 necessary to run C++ applications.
335
336 %description -n libstdc++ -l de
337 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
338 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
339 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
340
341 %description -n libstdc++ -l es
342 Este es el soporte de las bibliotecas padrón del C++, junto con
343 herramientas GNU adicionales. El paquete incluye las bibliotecas
344 compartidas necesarias para ejecutar aplicaciones C++.
345
346 %description -n libstdc++ -l fr
347 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
348 des outils GNU supplémentaires. Ce package comprend les librairies
349 partagées nécessaires à l'exécution d'application C++.
350
351 %description -n libstdc++ -l pl
352 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
353 bibliotek C++. Znajduj± siê w nim biblioteki dynamiczne niezbêdne do
354 uruchomienia aplikacji napisanych w C++.
355
356 %description -n libstdc++ -l pt_BR
357 Este pacote é uma implementação da biblioteca padrão C++ v3, um
358 subconjunto do padrão ISO 14882.
359
360 %description -n libstdc++ -l tr
361 Bu paket, standart C++ kitaplýklarýnýn GNU gerçeklemesidir ve C++
362 uygulamalarýnýn koþturulmasý için gerekli kitaplýklarý içerir.
363
364 %package -n libstdc++-devel
365 Summary:        Header files and documentation for C++ development
366 Summary(de):    Header-Dateien zur Entwicklung mit C++
367 Summary(es):    Ficheros de cabecera y documentación para desarrollo C++
368 Summary(fr):    Fichiers d'en-tête et biblitothèques pour développer en C++
369 Summary(pl):    Pliki nag³ówkowe i dokumentacja do biblioteki standardowej C++
370 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
371 Summary(tr):    C++ ile program geliþtirmek için gerekli dosyalar
372 License:        GPL v2+ with free software exception
373 Group:          Development/Libraries
374 Requires:       %{name}-c++ = %{epoch}:%{version}-%{release}
375 Requires:       libstdc++ = %{epoch}:%{version}-%{release}
376 Requires:       glibc-devel
377 Obsoletes:      libg++-devel
378 Obsoletes:      libstdc++3-devel
379
380 %description -n libstdc++-devel
381 This is the GNU implementation of the standard C++ libraries. This
382 package includes the header files needed for C++ development and
383 library documentation.
384
385 %description -n libstdc++-devel -l es
386 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
387 paquete incluye los archivos de inclusión y bibliotecas necesarios
388 para desarrollo de programas en lenguaje C++.
389
390 %description -n libstdc++-devel -l pl
391 Pakiet ten zawiera biblioteki bêd±ce implementacj± standardowych
392 bibliotek C++. Znajduj± siê w nim pliki nag³ówkowe wykorzystywane przy
393 programowaniu w jêzyku C++ oraz dokumentacja biblioteki standardowej.
394
395 %description -n libstdc++-devel -l pt_BR
396 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
397 para desenvolvimento de programas C++.
398
399 %package -n libstdc++-static
400 Summary:        Static C++ standard library
401 Summary(es):    Biblioteca estándar estática de C++
402 Summary(pl):    Statyczna biblioteka standardowa C++
403 License:        GPL v2+ with free software exception
404 Group:          Development/Libraries
405 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
406
407 %description -n libstdc++-static
408 Static C++ standard library.
409
410 %description -n libstdc++-static -l es
411 Biblioteca estándar estática de C++.
412
413 %description -n libstdc++-static -l pl
414 Statyczna biblioteka standardowa C++.
415
416 %package fortran
417 Summary:        Fortran 95 support for gcc
418 Summary(es):    Soporte de Fortran 95 para gcc
419 Summary(pl):    Obs³uga Fortranu 95 dla gcc
420 Summary(pt_BR): Suporte Fortran 95 para o GCC
421 Group:          Development/Languages/Fortran
422 Requires:       libgfortran = %{epoch}:%{version}-%{release}
423 Provides:       gcc-g77 = %{epoch}:%{version}-%{release}
424 Obsoletes:      egcs-g77
425 Obsoletes:      gcc-g77
426
427 %description fortran
428 This package adds support for compiling Fortran 95 programs with the
429 GNU compiler.
430
431 %description fortran -l es
432 Este paquete añade soporte para compilar programas escritos en Fortran
433 95 con el compilador GNU.
434
435 %description fortran -l pl
436 Ten pakiet dodaje obs³ugê Fortranu 95 do kompilatora gcc. Jest
437 potrzebny do kompilowania programów pisanych w jêzyku Fortran 95.
438
439 %description fortran -l pt_BR
440 Suporte Fortran 95 para o GCC.
441
442 %package -n libgfortran
443 Summary:        Fortran 95 Libraries
444 Summary(es):    Bibliotecas de Fortran 95
445 Summary(pl):    Biblioteki Fortranu 95
446 License:        LGPL v2+
447 Group:          Libraries
448 Obsoletes:      libg2c
449
450 %description -n libgfortran
451 Fortran 95 Libraries.
452
453 %description -n libgfortran -l es
454 Bibliotecas de Fortran 95.
455
456 %description -n libgfortran -l pl
457 Biblioteki Fortranu 95.
458
459 %package -n libgfortran-static
460 Summary:        Static Fortran 95 Libraries
461 Summary(es):    Bibliotecas estáticas de Fortran 95
462 Summary(pl):    Statyczne Biblioteki Fortranu 95
463 License:        LGPL v2+
464 Group:          Development/Libraries
465 Requires:       libgfortran = %{epoch}:%{version}-%{release}
466 Obsoletes:      libg2c-static
467
468 %description -n libgfortran-static
469 Static Fortran 95 Libraries.
470
471 %description -n libgfortran-static -l es
472 Bibliotecas estáticas de Fortran 95.
473
474 %description -n libgfortran-static -l pl
475 Statyczne biblioteki Fortranu 95.
476
477 %package java
478 Summary:        Java support for gcc
479 Summary(es):    Soporte de Java para gcc
480 Summary(pl):    Obs³uga Javy dla gcc
481 Group:          Development/Languages/Java
482 Requires:       %{name} = %{epoch}:%{version}-%{release}
483 Requires:       libgcj-devel = %{epoch}:%{version}-%{release}
484 Provides:       gcj = %{epoch}:%{version}-%{release}
485 Provides:       gcc-java-tools
486 Obsoletes:      fastjar
487 Obsoletes:      gcc-java-tools
488
489 %description java
490 This package adds experimental support for compiling Java(TM) programs
491 and bytecode into native code. To use this you will also need the
492 libgcj package.
493
494 %description java -l es
495 Este paquete añade soporte experimental para compilar programas
496 Java(tm) y su bytecode en código nativo. Para usarlo también va a
497 necesitar el paquete libgcj.
498
499 %description java -l pl
500 Ten pakiet dodaje mo¿liwo¶æ kompilowania programów w jêzyku Java(TM)
501 oraz bajtkodu do kodu natywnego. Do u¿ywania go wymagany jest
502 dodatkowo pakiet libgcj.
503
504 %package -n libgcj
505 Summary:        Java Class Libraries
506 Summary(es):    Bibliotecas de clases de Java
507 Summary(pl):    Biblioteki Klas Javy
508 License:        GPL with limited linking exception
509 Group:          Libraries
510 Obsoletes:      libgcj3
511
512 %description -n libgcj
513 Java Class Libraries.
514
515 %description -n libgcj -l es
516 Bibliotecas de clases de Java.
517
518 %description -n libgcj -l pl
519 Biblioteki Klas Javy.
520
521 %package -n libgcj-devel
522 Summary:        Development files for Java Class Libraries
523 Summary(es):    Ficheros de desarrollo para las bibliotecas de clases de Java
524 Summary(pl):    Pliki nag³ówkowe dla Bibliotek Klas Javy
525 License:        GPL with limited linking exception
526 Group:          Development/Libraries
527 Requires:       libgcj = %{epoch}:%{version}-%{release}
528 Requires:       zlib-devel
529 Obsoletes:      libgcj3-devel
530
531 %description -n libgcj-devel
532 Development files for Java Class Libraries.
533
534 %description -n libgcj-devel -l es
535 Ficheros de desarrollo para las bibliotecas de clases de Java.
536
537 %description -n libgcj-devel -l pl
538 Pliki nag³ówkowe dla Bibliotek Klas Javy.
539
540 %package -n libgcj-static
541 Summary:        Static Java Class Libraries
542 Summary(es):    Bibliotecas estáticas de clases de Java
543 Summary(pl):    Statyczne Biblioteki Klas Javy
544 License:        GPL with limited linking exception
545 Group:          Development/Libraries
546 Requires:       libgcj-devel = %{epoch}:%{version}-%{release}
547 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
548
549 %description -n libgcj-static
550 Static Java Class Libraries.
551
552 %description -n libgcj-static -l es
553 Bibliotecas estáticas de clases de Java.
554
555 %description -n libgcj-static -l pl
556 Statyczne Biblioteki Klas Javy.
557
558 %package -n libffi
559 Summary:        Foreign Function Interface library
560 Summary(es):    Biblioteca de interfaz de funciones ajenas
561 Summary(pl):    Biblioteka zewnêtrznych wywo³añ funkcji
562 License:        BSD-like
563 Group:          Libraries
564
565 %description -n libffi
566 The libffi library provides a portable, high level programming
567 interface to various calling conventions. This allows a programmer to
568 call any function specified by a call interface description at run
569 time.
570
571 %description -n libffi -l es
572 La biblioteca libffi provee una interfaz portable de programación de
573 alto nivel para varias convenciones de llamada. Ello permite que un
574 programador llame una función cualquiera especificada por una
575 descripción de interfaz de llamada en el tiempo de ejecución.
576
577 %description -n libffi -l pl
578 Biblioteka libffi dostarcza przeno¶nego, wysokopoziomowego
579 miêdzymordzia do ró¿nych konwencji wywo³añ funkcji. Pozwala to
580 programi¶cie wywo³ywaæ dowolne funkcje podaj±c konwencjê wywo³ania w
581 czasie wykonania.
582
583 %package -n libffi-devel
584 Summary:        Development files for Foreign Function Interface library
585 Summary(es):    Ficheros de desarrollo para libffi
586 Summary(pl):    Pliki nag³ówkowe dla libffi
587 License:        BSD-like
588 Group:          Development/Libraries
589 Requires:       libffi = %{epoch}:%{version}-%{release}
590
591 %description -n libffi-devel
592 Development files for Foreign Function Interface library.
593
594 %description -n libffi-devel -l es
595 Ficheros de desarrollo para libffi.
596
597 %description -n libffi-devel -l pl
598 Pliki nag³ówkowe dla libffi.
599
600 %package -n libffi-static
601 Summary:        Static Foreign Function Interface library
602 Summary(es):    Biblioteca libffi estática
603 Summary(pl):    Statyczna biblioteka libffi
604 License:        BSD-like
605 Group:          Development/Libraries
606 Requires:       libffi-devel = %{epoch}:%{version}-%{release}
607
608 %description -n libffi-static
609 Static Foreign Function Interface library.
610
611 %description -n libffi-static -l es
612 Biblioteca libffi estática.
613
614 %description -n libffi-static -l pl
615 Statyczna biblioteka libffi.
616
617 %package objc
618 Summary:        Objective C support for gcc
619 Summary(de):    Objektive C-Unterstützung für gcc
620 Summary(es):    Soporte de Objective C para gcc
621 Summary(fr):    Gestion d'Objective C pour gcc
622 Summary(pl):    Obs³uga obiektowego C dla kompilatora gcc
623 Summary(tr):    gcc için Objective C desteði
624 Group:          Development/Languages
625 Requires:       %{name} = %{epoch}:%{version}-%{release}
626 Requires:       libobjc = %{epoch}:%{version}-%{release}
627 Obsoletes:      egcc-objc
628 Obsoletes:      egcs-objc
629
630 %description objc
631 This package adds Objective C support to the GNU Compiler Collection.
632 Objective C is a object oriented derivative of the C language, mainly
633 used on systems running NeXTSTEP. This package does not include the
634 standard objective C object library.
635
636 %description objc -l de
637 Dieses Paket ergänzt den GNU-Compiler-Collection durch
638 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
639 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
640 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
641
642 %description objc -l es
643 Este paquete añade soporte de Objective C al GCC (colección de
644 compiladores GNU). Objective C es un lenguaje orientado a objetos
645 derivado de C, principalmente usado en sistemas que funcionan bajo
646 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
647 Objective C.
648
649 %description objc -l fr
650 Ce package ajoute un support Objective C a la collection de
651 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
652 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
653 package n'inclue pas la bibliothéque Objective C standard.
654
655 %description objc -l pl
656 Ten pakiet dodaje obs³ugê obiektowego C do kompilatora gcc. Obiektowe
657 C (objc) jest zorientowan± obiektowo pochodn± jêzyka C, u¿ywan±
658 g³ównie w systemach u¿ywaj±cych NeXTSTEP. W pakiecie nie ma
659 standardowej biblioteki objc (która znajduje siê w osobnym pakiecie).
660
661 %description objc -l tr
662 Bu paket, GNU C derleyicisine Objective C desteði ekler. Objective C,
663 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altýnda çalýþan
664 sistemlerde yaygýn olarak kullanýlýr. Standart Objective C nesne
665 kitaplýðý bu pakette yer almaz.
666
667 %package objc++
668 Summary:        Objective C++ support for gcc
669 Summary(pl):    Obs³uga jêzyka Objective C++ dla gcc
670 Group:          Development/Languages
671 Requires:       %{name}-c++ = %{epoch}:%{version}-%{release}
672 Requires:       %{name}-objc = %{epoch}:%{version}-%{release}
673
674 %description objc++
675 This package adds Objective C++ support to the GNU Compiler
676 Collection.
677
678 %description objc++ -l pl
679 Ten pakiet dodaje obs³ugê jêzyka Objective C++ do zestawu
680 kompilatorów GNU Compiler Collection.
681
682 %package -n libobjc
683 Summary:        Objective C Libraries
684 Summary(es):    Bibliotecas de Objective C
685 Summary(pl):    Biblioteki Obiektowego C
686 License:        GPL v2+ with linking exception
687 Group:          Libraries
688 Obsoletes:      libobjc1
689
690 %description -n libobjc
691 Objective C Libraries.
692
693 %description -n libobjc -l es
694 Bibliotecas de Objective C.
695
696 %description -n libobjc -l pl
697 Biblioteki Obiektowego C.
698
699 %package -n libobjc-static
700 Summary:        Static Objective C Libraries
701 Summary(es):    Bibliotecas estáticas de Objective C
702 Summary(pl):    Statyczne Biblioteki Obiektowego C
703 License:        GPL v2+ with linking exception
704 Group:          Development/Libraries
705 Requires:       libobjc = %{epoch}:%{version}-%{release}
706
707 %description -n libobjc-static
708 Static Objective C Libraries.
709
710 %description -n libobjc-static -l es
711 Bibliotecas estáticas de Objective C.
712
713 %description -n libobjc-static -l pl
714 Statyczne biblioteki Obiektowego C.
715
716 %prep
717 #setup -q -n gcc-%{version}
718 %setup -q -n gcc-4.1-%{_snap}
719
720 %patch0 -p1
721 %patch1 -p1
722 %{!?debug:%patch2 -p1}
723 %patch3 -p1
724 %patch4 -p1
725 %patch5 -p1
726 %patch6 -p1
727
728 # PRs
729 %patch10 -p1
730 %patch11 -p1
731 %patch12 -p1
732 %patch13 -p1
733 #patch14 -p1    NEEDS UPDATE
734 #patch15 -p1
735 %patch16 -p1
736 %patch17 -p1
737
738 # because we distribute modified version of gcc...
739 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
740 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
741
742 mv ChangeLog ChangeLog.general
743
744 %build
745 cd gcc
746 %{__autoconf}
747 cd ..
748 cp -f /usr/share/automake/config.sub .
749
750 rm -rf obj-%{_target_platform}
751 install -d obj-%{_target_platform}
752 cd obj-%{_target_platform}
753
754 CFLAGS="%{rpmcflags}" \
755 CXXFLAGS="%{rpmcxxflags}" \
756 TEXCONFIG=false \
757 ../configure \
758         --prefix=%{_prefix} \
759         --libdir=%{_libdir} \
760         --libexecdir=%{_libdir} \
761         --infodir=%{_infodir} \
762         --mandir=%{_mandir} \
763         --enable-shared \
764         --enable-threads=posix \
765         --enable-__cxa_atexit \
766         --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,f95}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
767         --enable-c99 \
768         --enable-long-long \
769         --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
770         --enable-nls \
771         --disable-werror \
772         --with-gnu-as \
773         --with-gnu-ld \
774         --with-demangler-in-ld \
775         --with-system-zlib \
776         --with-slibdir=%{_slibdir} \
777         --without-x \
778         %{?with_fortran:--enable-cmath} \
779 %if %{with java}
780         --enable-libgcj \
781         --enable-libgcj-multifile \
782         --enable-libgcj-database \
783         --enable-gtk-cairo \
784 %endif
785         %{_target_platform}
786
787 cd ..
788
789 %{__make} -C obj-%{_target_platform} \
790         %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
791         GCJFLAGS="%{rpmcflags}" \
792         BOOT_CFLAGS="%{rpmcflags}" \
793         STAGE1_CFLAGS="%{rpmcflags} -O0" \
794         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
795         mandir=%{_mandir} \
796         infodir=%{_infodir}
797
798 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
799
800 %install
801 rm -rf $RPM_BUILD_ROOT
802 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
803
804 cd obj-%{_target_platform}
805
806 %{__make} -j1 install \
807         mandir=%{_mandir} \
808         infodir=%{_infodir} \
809         DESTDIR=$RPM_BUILD_ROOT
810
811 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
812
813 %ifarch sparc64
814 ln -sf  %{_bindir}/sparc64-pld-linux-gcc \
815         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
816 %endif
817
818 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
819 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
820 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
821
822 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
823 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
824 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
825 %if %{with multilib}
826 libssp=$($RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*`)
827 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
828 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
829 %endif
830
831 %if %{with fortran}
832 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
833 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
834 %endif
835
836 %if %{with ada}
837 # move ada shared libraries to proper place...
838 mv -f   $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
839         $RPM_BUILD_ROOT%{_libdir}
840 # check if symlink to be made is valid
841 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so.1
842 ln -sf  libgnat-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so
843 ln -sf  libgnarl-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.0.so
844 ln -sf  libgnat-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
845 ln -sf  libgnarl-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
846 %endif
847
848 cd ..
849
850 %if %{with java}
851 install -d java-doc
852 cp -f   libjava/READ* java-doc
853 cp -f   fastjar/README java-doc/README.fastjar
854 cp -f   libffi/README java-doc/README.libffi
855 cp -f   libffi/LICENSE java-doc/LICENSE.libffi
856 ln -sf  %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
857 %endif
858 %if %{with objc}
859 cp -f   libobjc/README gcc/objc/README.libobjc
860 %endif
861
862 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
863 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
864 for f in libmudflap.la libmudflapth.la libssp.la \
865         %{?with_cxx:libstdc++.la libsupc++.la} \
866         %{?with_fortran:libgfortran.la libgfortranbegin.la} \
867         %{?with_java:libgcj.la libffi.la} \
868         %{?with_objc:libobjc.la};
869 do
870         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
871         mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
872 %if %{with multilib}
873         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
874         mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
875 %endif
876 done
877
878 # include/ contains install-tools/include/* and headers that were fixed up
879 # by fixincludes, we don't want former
880 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
881 mkdir   $gccdir/tmp
882 # we have to save these however
883 %{?with_java:mv -f $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
884 %{?with_objc:mv -f $gccdir/include/objc $gccdir/tmp}
885 mv -f   $gccdir/include/syslimits.h $gccdir/tmp
886 rm -rf  $gccdir/include
887 mv -f   $gccdir/tmp $gccdir/include
888 cp -f   $gccdir/install-tools/include/*.h $gccdir/include
889 # but we don't want anything more from install-tools
890 rm -rf  $gccdir/install-tools
891
892 %if %{with multilib}
893 ln -sf  %{_slibdir32}/libgcc_s.so.1     $gccdir/32/libgcc_s.so
894 %endif
895 ln -sf  %{_slibdir}/libgcc_s.so.1       $gccdir/libgcc_s.so
896
897 %find_lang gcc
898 %{?with_cxx:%find_lang libstdc\+\+}
899
900 # cvs snap doesn't contain (release does) below files,
901 # so let's create dummy entries to satisfy %%files.
902 [ ! -f NEWS ] && touch NEWS
903 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
904 [ ! -f libgfortran/README ] && touch libgfortran/README
905
906 %clean
907 rm -rf $RPM_BUILD_ROOT
908
909 %post
910 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
911
912 %postun
913 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
914
915 %post ada
916 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
917
918 %postun ada
919 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
920
921 %post fortran
922 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
923
924 %postun fortran
925 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
926
927 %post java
928 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
929
930 %postun java
931 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
932
933 %post   -p /sbin/ldconfig -n libgcc
934 %postun -p /sbin/ldconfig -n libgcc
935 %post   -p /sbin/ldconfig -n libmudflap
936 %postun -p /sbin/ldconfig -n libmudflap
937 %post   -p /sbin/ldconfig -n libgnat
938 %postun -p /sbin/ldconfig -n libgnat
939 %post   -p /sbin/ldconfig -n libstdc++
940 %postun -p /sbin/ldconfig -n libstdc++
941 %post   -p /sbin/ldconfig -n libgfortran
942 %postun -p /sbin/ldconfig -n libgfortran
943 %post   -p /sbin/ldconfig -n libgcj
944 %postun -p /sbin/ldconfig -n libgcj
945 %post   -p /sbin/ldconfig -n libffi
946 %postun -p /sbin/ldconfig -n libffi
947 %post   -p /sbin/ldconfig -n libobjc
948 %postun -p /sbin/ldconfig -n libobjc
949
950 %files -f gcc.lang
951 %defattr(644,root,root,755)
952 %doc ChangeLog.general MAINTAINERS NEWS
953 # bugs.html faq.html
954 %doc gcc/{ChangeLog,ONEWS,README.Portability}
955 %dir %{_libdir}/gcc
956 %dir %{_libdir}/gcc/*
957 %dir %{_libdir}/gcc/*/*
958 %dir %{_libdir}/gcc/*/*/include
959
960 %attr(755,root,root) %{_bindir}/*-gcc*
961 %attr(755,root,root) %{_bindir}/gcc
962 %attr(755,root,root) %{_bindir}/gccbug
963 %attr(755,root,root) %{_bindir}/gcov
964 %attr(755,root,root) %{_bindir}/cc
965 %attr(755,root,root) %{_bindir}/cpp
966
967 %{_includedir}/ssp
968
969 %{_mandir}/man1/cc.1*
970 %{_mandir}/man1/cpp.1*
971 %{_mandir}/man1/gcc.1*
972 %{_mandir}/man1/gcov.1*
973
974 %{_infodir}/cpp*
975 %{_infodir}/gcc*
976
977 %attr(755,root,root) /lib/cpp
978
979 %attr(755,root,root) %{_slibdir}/lib*.so
980 %{_libdir}/libssp.la
981 %attr(755,root,root) %{_libdir}/libssp.a
982 %attr(755,root,root) %{_libdir}/libssp.so
983 %{_libdir}/libssp_nonshared.a
984 %{_libdir}/libssp_nonshared.la
985 %if %{with multilib}
986 %dir %{_libdir}/gcc/*/*/32
987 %{_libdir}/gcc/*/*/32/libgcov.a
988 %{_libdir}/gcc/*/*/32/libgcc.a
989 %{_libdir}/gcc/*/*/32/libgcc_eh.a
990 %{_libdir}/gcc/*/*/32/libgcc_s.so
991 %{_libdir32}/libssp.la
992 %attr(755,root,root) %{_libdir32}/libssp.a
993 %attr(755,root,root) %{_libdir32}/libssp.so
994 %{_libdir32}/libssp_nonshared.a
995 %{_libdir32}/libssp_nonshared.la
996 %endif
997 %{_libdir}/gcc/*/*/libgcov.a
998 %{_libdir}/gcc/*/*/libgcc.a
999 %{_libdir}/gcc/*/*/libgcc_eh.a
1000 %{_libdir}/gcc/*/*/libgcc_s.so
1001 %{_libdir}/gcc/*/*/specs
1002 %if %{with multilib}
1003 %{_libdir}/gcc/*/*/32/crt*.o
1004 %endif
1005 %{_libdir}/gcc/*/*/crt*.o
1006 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1007 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1008
1009 %{_libdir}/gcc/*/*/include/*.h
1010
1011 %files -n libgcc
1012 %defattr(644,root,root,755)
1013 %if %{with multilib}
1014 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1015 %endif
1016 %attr(755,root,root) %{_slibdir}/lib*.so.*
1017
1018 %files -n libmudflap
1019 %defattr(644,root,root,755)
1020 %if %{with multilib}
1021 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1022 %endif
1023 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1024
1025 %files -n libmudflap-devel
1026 %defattr(644,root,root,755)
1027 %{_includedir}/mf-runtime.h
1028 %if %{with multilib}
1029 %{_libdir32}/libmudflap*.la
1030 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1031 %endif
1032 %{_libdir}/libmudflap*.la
1033 %attr(755,root,root) %{_libdir}/libmudflap*.so
1034
1035 %files -n libmudflap-static
1036 %defattr(644,root,root,755)
1037 %if %{with multilib}
1038 %{_libdir32}/libmudflap*.a
1039 %endif
1040 %{_libdir}/libmudflap*.a
1041
1042 %if %{with ada}
1043 %files ada
1044 %defattr(644,root,root,755)
1045 %doc gcc/ada/ChangeLog
1046 %attr(755,root,root) %{_bindir}/gnat*
1047 %attr(755,root,root) %{_bindir}/gpr*
1048 %attr(755,root,root) %{_libdir}/libgnarl*.so
1049 %attr(755,root,root) %{_libdir}/libgnat*.so
1050 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1051 %{_libdir}/gcc/*/*/adainclude
1052 %dir %{_libdir}/gcc/*/*/adalib
1053 %{_libdir}/gcc/*/*/adalib/*.ali
1054 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1055 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1056 %ifarch %{ix86}
1057 %{_libdir}/gcc/*/*/adalib/libgmem.a
1058 %endif
1059 %{_infodir}/gnat*
1060
1061 %files -n libgnat
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1064 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1065
1066 %files -n libgnat-static
1067 %defattr(644,root,root,755)
1068 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1069 %{_libdir}/gcc/*/*/adalib/libgnat.a
1070 %endif
1071
1072 %if %{with cxx}
1073 %files c++
1074 %defattr(644,root,root,755)
1075 %doc gcc/cp/{ChangeLog,NEWS}
1076 %attr(755,root,root) %{_bindir}/g++
1077 %attr(755,root,root) %{_bindir}/*-g++
1078 %attr(755,root,root) %{_bindir}/c++
1079 %attr(755,root,root) %{_bindir}/*-c++
1080 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1081 %if %{with multilib}
1082 %{_libdir32}/libsupc++.a
1083 %{_libdir32}/libsupc++.la
1084 %endif
1085 %{_libdir}/libsupc++.a
1086 %{_libdir}/libsupc++.la
1087 %{_mandir}/man1/g++.1*
1088
1089 %files -n libstdc++ -f libstdc++.lang
1090 %defattr(644,root,root,755)
1091 %doc libstdc++-v3/{ChangeLog,README}
1092 %if %{with multilib}
1093 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1094 %endif
1095 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1096
1097 %files -n libstdc++-devel
1098 %defattr(644,root,root,755)
1099 %doc libstdc++-v3/docs/html
1100 %dir %{_includedir}/c++
1101 %{_includedir}/c++/%{version}
1102 %if %{with java}
1103 %exclude %{_includedir}/c++/%{version}/java
1104 %exclude %{_includedir}/c++/%{version}/javax
1105 %exclude %{_includedir}/c++/%{version}/gcj
1106 %exclude %{_includedir}/c++/%{version}/gnu
1107 %endif
1108 %ifnarch sparc
1109 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
1110 %endif
1111 %if %{with multilib}
1112 %{_libdir32}/libstdc++.la
1113 %attr(755,root,root) %{_libdir32}/libstdc++.so
1114 %endif
1115 %{_libdir}/libstdc++.la
1116 %attr(755,root,root) %{_libdir}/libstdc++.so
1117
1118 %files -n libstdc++-static
1119 %defattr(644,root,root,755)
1120 %if %{with multilib}
1121 %{_libdir32}/libstdc++.a
1122 %endif
1123 %{_libdir}/libstdc++.a
1124 %endif
1125
1126 %if %{with fortran}
1127 %files fortran
1128 %defattr(644,root,root,755)
1129 %doc gcc/fortran/ChangeLog
1130 %attr(755,root,root) %{_bindir}/g95
1131 %attr(755,root,root) %{_bindir}/gfortran
1132 %{_infodir}/gfortran*
1133 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1134 %if %{with multilib}
1135 %{_libdir32}/libgfortranbegin.a
1136 %{_libdir32}/libgfortranbegin.la
1137 %{_libdir32}/libgfortran.la
1138 %attr(755,root,root) %{_libdir32}/libgfortran.so
1139 %endif
1140 %{_libdir}/libgfortranbegin.a
1141 %{_libdir}/libgfortranbegin.la
1142 %{_libdir}/libgfortran.la
1143 %attr(755,root,root) %{_libdir}/libgfortran.so
1144 %{_mandir}/man1/g95.1*
1145 %{_mandir}/man1/gfortran.1*
1146
1147 %files -n libgfortran
1148 %defattr(644,root,root,755)
1149 %doc libgfortran/{AUTHORS,README,ChangeLog}
1150 %if %{with multilib}
1151 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1152 %endif
1153 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1154
1155 %files -n libgfortran-static
1156 %defattr(644,root,root,755)
1157 %if %{with multilib}
1158 %{_libdir32}/libgfortran.a
1159 %endif
1160 %{_libdir}/libgfortran.a
1161 %endif
1162
1163 %if %{with java}
1164 %files java
1165 %defattr(644,root,root,755)
1166 %doc gcc/java/ChangeLog java-doc/*
1167 %attr(755,root,root) %{_bindir}/fastjar
1168 %attr(755,root,root) %{_bindir}/gcj*
1169 %attr(755,root,root) %{_bindir}/gjnih
1170 %attr(755,root,root) %{_bindir}/grepjar
1171 %attr(755,root,root) %{_bindir}/grmi*
1172 %attr(755,root,root) %{_bindir}/jcf-dump
1173 %attr(755,root,root) %{_bindir}/jv-*
1174 %attr(755,root,root) %{_bindir}/*-gcj*
1175 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1176 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1177 %{_infodir}/fastjar*
1178 %{_infodir}/gcj*
1179 %{_mandir}/man1/fastjar*
1180 %{_mandir}/man1/gcj*
1181 %{_mandir}/man1/gjnih*
1182 %{_mandir}/man1/grepjar*
1183 %{_mandir}/man1/grmi*
1184 %{_mandir}/man1/jcf-*
1185 %{_mandir}/man1/jv-*
1186
1187 %files -n libgcj
1188 %defattr(644,root,root,755)
1189 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1190 %attr(755,root,root) %{_bindir}/addr2name.awk
1191 %attr(755,root,root) %{_bindir}/gij
1192 %dir %{_libdir}/gcj-%{version}
1193 %{_libdir}/gcj-%{version}/classmap.db
1194 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1195 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1196 %{_libdir}/logging.properties
1197 %{_javadir}/libgcj*.jar
1198 %{_mandir}/man1/gij*
1199
1200 %files -n libgcj-devel
1201 %defattr(644,root,root,755)
1202 %{_includedir}/c++/%{version}/java
1203 %{_includedir}/c++/%{version}/javax
1204 %{_includedir}/c++/%{version}/gcj
1205 %{_includedir}/c++/%{version}/gnu
1206 %{_libdir}/gcc/*/*/include/gcj
1207 %{_libdir}/gcc/*/*/include/jawt.h
1208 %{_libdir}/gcc/*/*/include/jawt_md.h
1209 %{_libdir}/gcc/*/*/include/jni.h
1210 %{_libdir}/gcc/*/*/include/jvmpi.h
1211 %dir %{_libdir}/security
1212 %{_libdir}/security/*
1213 %{_libdir}/lib*cj.spec
1214 %{_libdir}/lib*cj*.la
1215 %attr(755,root,root) %{_libdir}/lib*cj*.so
1216 %{_libdir}/libgij.la
1217 %attr(755,root,root) %{_libdir}/libgij.so
1218 %{_pkgconfigdir}/libgcj.pc
1219
1220 %files -n libgcj-static
1221 %defattr(644,root,root,755)
1222 %{_libdir}/lib*cj*.a
1223 %{_libdir}/libgij.a
1224
1225 %files -n libffi
1226 %defattr(644,root,root,755)
1227 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1228 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1229
1230 %files -n libffi-devel
1231 %defattr(644,root,root,755)
1232 %{_libdir}/gcc/*/*/include/ffitarget.h
1233 %attr(755,root,root) %{_libdir}/libffi.so
1234 %{_libdir}/libffi.la
1235 %{_includedir}/ffi.h
1236
1237 %files -n libffi-static
1238 %defattr(644,root,root,755)
1239 %{_libdir}/libffi.a
1240 %endif
1241
1242 %if %{with objc}
1243 %files objc
1244 %defattr(644,root,root,755)
1245 %doc gcc/objc/README
1246 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1247 %if %{with multilib}
1248 %attr(755,root,root) %{_libdir32}/libobjc.so
1249 %{_libdir32}/libobjc.la
1250 %endif
1251 %attr(755,root,root) %{_libdir}/libobjc.so
1252 %{_libdir}/libobjc.la
1253 %{_libdir}/gcc/*/*/include/objc
1254
1255 %files -n libobjc
1256 %defattr(644,root,root,755)
1257 %doc libobjc/{ChangeLog,README*}
1258 %if %{with multilib}
1259 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1260 %endif
1261 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1262
1263 %files -n libobjc-static
1264 %defattr(644,root,root,755)
1265 %if %{with multilib}
1266 %{_libdir32}/libobjc.a
1267 %endif
1268 %{_libdir}/libobjc.a
1269 %endif
1270
1271 %if %{with objcxx}
1272 %files objc++
1273 %defattr(644,root,root,755)
1274 %doc gcc/objcp/ChangeLog
1275 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus
1276 %endif
This page took 0.522612 seconds and 4 git commands to generate.