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