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