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