]> git.pld-linux.org Git - packages/gcc4.git/blob - gcc4.spec
- updated to 4.2.0-20061206 (rev. 119598).
[packages/gcc4.git] / gcc4.spec
1 #
2 # TODO:
3 #               - libgomp subpackage.
4 #
5 # Conditional build:
6 %bcond_without  ada             # build without ADA support
7 %bcond_without  cxx             # build without C++ support
8 %bcond_without  fortran         # build without Fortran support
9 %bcond_without  java            # build without Java support
10 %bcond_without  objc            # build without Objective-C support
11 %bcond_without  objcxx          # build without Objective-C++ support
12 %bcond_with     multilib        # build with multilib support (it needs glibc[32&64]-devel)
13 %bcond_with     profiling       # build with profiling
14 %bcond_without  bootstrap       # omit 3-stage bootstrap
15 %bcond_with     tests           # torture gcc
16
17 %if !%{with cxx}
18 %undefine       with_java
19 %undefine       with_objcxx
20 %endif
21
22 %if !%{with objc}
23 %undefine       with_objcxx
24 %endif
25
26 %if !%{with bootstrap}
27 %undefine       with_profiling
28 %endif
29
30 %ifnarch %{x8664} ppc64 s390x sparc64
31 %undefine       with_multilib
32 %endif
33
34 Summary:        GNU Compiler Collection: the C compiler and shared files
35 Summary(es):    Colección de compiladores GNU: el compilador C y ficheros compartidos
36 Summary(pl):    Kolekcja kompilatorów GNU: kompilator C i pliki wspó³dzielone
37 Summary(pt_BR): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
38 Name:           gcc
39 %define         _major_ver      4.2
40 %define         _minor_ver      0
41 Version:        %{_major_ver}.%{_minor_ver}
42 %define         _snap   20061206r119598
43 Release:        0.%{_snap}.1
44 #Release:       2
45 Epoch:          5
46 License:        GPL v2+
47 Group:          Development/Languages
48 #Source0:       ftp://gcc.gnu.org/pub/gcc/prerelease-%{version}-%{_snap}/gcc-%{version}-%{_snap}.tar.bz2
49 #Source0:       ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
50 #Source0:       ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
51 Source0:        gcc-4.2-%{_snap}.tar.bz2
52 # Source0-md5:  c1e542f85868eab964cc56764f419a95
53 Source1:        %{name}-optimize-la.pl
54 Patch0:         %{name}-info.patch
55 Patch1:         %{name}-nolocalefiles.patch
56 Patch2:         %{name}-nodebug.patch
57 Patch3:         %{name}-ada-link.patch
58 Patch4:         %{name}-sparc64-ada_fix.patch
59 Patch5:         %{name}-alpha-ada_fix.patch
60 Patch6:         %{name}-ppc64-m32-m64-multilib-only.patch
61 Patch7:         %{name}-libjava-multilib.patch
62 Patch8:         %{name}-enable-java-awt-qt.patch
63 Patch9:         %{name}-pr13676.patch
64 Patch10:        %{name}-pr17390.patch
65 Patch11:        %{name}-pr19505.patch
66 Patch12:        %{name}-pr20218.patch
67 Patch13:        %{name}-pr24669.patch
68 Patch14:        %{name}-force_jar_wrapper.patch
69 Patch15:        %{name}-pr29512.patch
70 URL:            http://gcc.gnu.org/
71 BuildRequires:  autoconf
72 %{?with_tests:BuildRequires:    autogen}
73 BuildRequires:  automake
74 # binutils 2.16.91 or newer are required for compiling medium model now
75 BuildRequires:  binutils >= 2:2.16.91.0.1
76 BuildRequires:  bison
77 BuildRequires:  chrpath >= 0.13-2
78 %{?with_tests:BuildRequires:    dejagnu}
79 BuildRequires:  fileutils >= 4.0.41
80 BuildRequires:  flex
81 %if %{with ada}
82 BuildRequires:  gcc(ada)
83 BuildRequires:  gcc-ada
84 %endif
85 BuildRequires:  gettext-devel
86 BuildRequires:  glibc-devel >= 6:2.4-1
87 %if %{with multilib}
88 %ifarch %{x8664}
89 BuildRequires:  glibc-devel(i686)
90 %endif
91 %ifarch ppc64
92 BuildRequires:  glibc-devel(ppc)
93 %endif
94 %ifarch s390x
95 BuildRequires:  glibc-devel(s390)
96 %endif
97 %ifarch sparc64
98 BuildRequires:  glibc-devel(sparc)
99 %endif
100 %endif
101 BuildRequires:  perl-base
102 BuildRequires:  rpmbuild(macros) >= 1.211
103 BuildRequires:  texinfo >= 4.1
104 BuildRequires:  zlib-devel
105 %if %{with fortran}
106 BuildRequires:  gmp-devel
107 BuildRequires:  mpfr-devel >= 2.2.1
108 %endif
109 %if %{with java}
110 BuildRequires:  QtGui-devel >= 4.0.1
111 BuildRequires:  alsa-lib-devel
112 BuildRequires:  cairo-devel >= 0.5.0
113 BuildRequires:  dssi
114 BuildRequires:  jack-audio-connection-kit-devel
115 BuildRequires:  gtk+2-devel >= 2:2.4.0
116 BuildRequires:  libart_lgpl-devel >= 2.1
117 BuildRequires:  libxslt-devel
118 BuildRequires:  pango-devel
119 BuildRequires:  pkgconfig
120 BuildRequires:  qt4-build
121 BuildRequires:  xorg-lib-libXtst-devel
122 BuildRequires:  zip
123 BuildRequires:  unzip
124 %endif
125 # AS_NEEDED directive for dynamic linker
126 # http://sources.redhat.com/ml/glibc-cvs/2005-q1/msg00614.html
127 # http://sources.redhat.com/ml/binutils/2005-01/msg00288.html
128 Requires:       binutils >= 2:2.16.90.0.1-0.3
129 Requires:       libgcc = %{epoch}:%{version}-%{release}
130 Provides:       cpp = %{epoch}:%{version}-%{release}
131 %{?with_ada:Provides:   gcc(ada)}
132 %{?with_multilib:Provides:      gcc(multilib)}
133 Obsoletes:      cpp
134 Obsoletes:      egcs-cpp
135 Obsoletes:      gcc-chill
136 Obsoletes:      gcc-cpp
137 Obsoletes:      gcc-ksi
138 Obsoletes:      gont
139 Conflicts:      glibc-devel < 2.2.5-20
140 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
141
142 %define         _slibdir        /%{_lib}
143 %if %{with multilib}
144 # 32-bit environment on x86-64,ppc64,s390x,sparc64
145 %define         _slibdir32      /lib
146 %define         _libdir32       /usr/lib
147 %endif
148
149 %define         filterout       -fwrapv -fno-strict-aliasing -fsigned-char
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_2-branch
752 %patch0 -p1
753 %patch1 -p1
754 %patch2 -p1
755 %patch3 -p1
756 %patch4 -p1
757 %patch5 -p1
758 %patch6 -p1
759 %patch7 -p1
760 %patch8 -p1
761 %patch9 -p1
762 #patch10 -p1    not quite correct / temp. disabled.
763 %patch11 -p1
764 %patch12 -p0
765 %patch13 -p1
766 %patch14 -p1
767 %patch15 -p1
768
769 # because we distribute modified version of gcc...
770 sed -i 's:#define VERSUFFIX.*:#define VERSUFFIX " (PLD-Linux)":' gcc/version.c
771 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
772
773 mv ChangeLog ChangeLog.general
774
775 %build
776 cd gcc
777 %{__autoconf}
778 cd ..
779 cd libjava
780 %{__autoconf}
781 cd classpath
782 %{__autoconf}
783 cd ../..
784 cp -f /usr/share/automake/config.sub .
785
786 rm -rf builddir && install -d builddir && cd builddir
787
788 CFLAGS="%{rpmcflags}" \
789 CXXFLAGS="%{rpmcxxflags}" \
790 TEXCONFIG=false \
791 ../configure \
792         --prefix=%{_prefix} \
793         --with-local-prefix=%{_prefix}/local \
794         --libdir=%{_libdir} \
795         --libexecdir=%{_libdir} \
796         --infodir=%{_infodir} \
797         --mandir=%{_mandir} \
798         --x-libraries=%{_libdir} \
799         --enable-shared \
800         --enable-threads=posix \
801         --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
802         --enable-c99 \
803         --enable-long-long \
804         --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
805         --enable-nls \
806         --disable-werror \
807         --with-gnu-as \
808         --with-gnu-ld \
809         --with-demangler-in-ld \
810         --with-system-zlib \
811         --with-slibdir=%{_slibdir} \
812 %ifnarch ia64
813         --without-system-libunwind \
814 %else
815         --with-system-libunwind \
816 %endif
817         %{!?with_java:--without-x} \
818         %{?with_fortran:--enable-cmath} \
819         --with-long-double-128 \
820 %ifarch ppc ppc64
821         --enable-secureplt \
822 %endif
823 %if %{with cxx}
824         --with-gxx-include-dir=%{_includedir}/c++/%{version} \
825         --disable-libstdcxx-pch \
826         --enable-__cxa_atexit \
827         --enable-libstdcxx-allocator=new \
828 %endif
829 %if %{with java}
830         --disable-libjava-multilib \
831         --enable-libgcj \
832         --enable-libgcj-multifile \
833         --enable-libgcj-database \
834         --enable-gtk-cairo \
835         --enable-java-awt=qt,gtk,xlib \
836         --enable-jni \
837         --enable-xmlj \
838         --enable-alsa \
839         --enable-dssi \
840 %endif
841         --%{?with_bootstrap:en}%{!?with_bootstrap:dis}able-bootstrap \
842         %{_target_platform}
843
844 cd ..
845
846 %{__make} -C builddir \
847         %{?with_bootstrap:%{?with_profiling:profiledbootstrap}} \
848         GCJFLAGS="%{rpmcflags}" \
849         BOOT_CFLAGS="%{rpmcflags}" \
850         STAGE1_CFLAGS="%{rpmcflags} -O0 -g0" \
851         GNATLIBCFLAGS="%{rpmcflags}" \
852         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
853         mandir=%{_mandir} \
854         infodir=%{_infodir}
855
856 %{?with_tests:%{__make} -k -C builddir check 2>&1 ||:}
857
858 %install
859 rm -rf $RPM_BUILD_ROOT
860 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
861
862 cd builddir
863
864 %{__make} -j1 install \
865         mandir=%{_mandir} \
866         infodir=%{_infodir} \
867         DESTDIR=$RPM_BUILD_ROOT
868
869 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
870
871 %ifarch sparc64
872 ln -sf  %{_bindir}/sparc64-pld-linux-gcc \
873         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
874 %endif
875
876 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
877 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
878 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
879
880 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
881 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
882 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
883 %if %{with multilib}
884 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
885 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
886 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
887 %endif
888
889 %if %{with fortran}
890 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
891 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
892 %endif
893
894 %if %{with ada}
895 # move ada shared libraries to proper place...
896 mv -f   $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
897         $RPM_BUILD_ROOT%{_libdir}
898 # check if symlink to be made is valid
899 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.2.so.1
900 ln -sf  libgnat-4.2.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.2.so
901 ln -sf  libgnarl-4.2.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.2.so
902 ln -sf  libgnat-4.2.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
903 ln -sf  libgnarl-4.2.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
904 %endif
905
906 cd ..
907
908 %if %{with java}
909 install -d java-doc
910 cp -f   libjava/READ* java-doc
911 ln -sf  %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
912 rm -f $RPM_BUILD_ROOT%{_libdir}/classpath/libgjs*.la
913 # tools.zip sources
914 rm -rf $RPM_BUILD_ROOT%{_datadir}/classpath/tools/gnu
915 %endif
916 %if %{with objc}
917 cp -f   libobjc/README gcc/objc/README.libobjc
918 %endif
919
920 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
921 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
922 for f in libgomp.la libmudflap.la libmudflapth.la libssp.la libssp_nonshared.la \
923         %{?with_cxx:libstdc++.la libsupc++.la} \
924         %{?with_fortran:libgfortran.la} \
925 %if %{with java}
926         libgcj.la libgcj-tools.la libffi.la lib-gnu-awt-xlib.la \
927         gcj-%{version}/libgtkpeer.la gcj-%{version}/libjawt.la gcj-%{version}/libjvm.la gcj-%{version}/libqtpeer.la \
928         gcj-%{version}/libgjsmalsa.la gcj-%{version}/libgjsmdssi.la gcj-%{version}/libxmlj.la \
929 %endif
930         %{?with_objc:libobjc.la};
931 do
932         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
933         mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
934 done
935 %if %{with multilib}
936 for f in libgomp.la libmudflap.la libmudflapth.la libssp.la libssp_nonshared.la \
937         %{?with_cxx:libstdc++.la libsupc++.la} \
938         %{?with_fortran:libgfortran.la} \
939         %{?with_java:libffi.la} \
940         %{?with_objc:libobjc.la};
941 do
942         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
943         mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
944 done
945 %endif
946
947 # include/ contains install-tools/include/* and headers that were fixed up
948 # by fixincludes, we don't want former
949 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
950 mkdir   $gccdir/tmp
951
952 # we have to save these however
953 %{?with_java:mv $gccdir/include/{gcj,ffi.h,ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
954 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
955 mv $gccdir/include/mf-runtime.h $gccdir/tmp
956 mv $gccdir/include/syslimits.h $gccdir/tmp
957 mv $gccdir/include/ssp $gccdir/tmp
958 rm -rf $gccdir/include
959 mv $gccdir/tmp $gccdir/include
960 cp $gccdir/install-tools/include/*.h $gccdir/include
961 # but we don't want anything more from install-tools
962 rm -rf $gccdir/install-tools
963
964 %find_lang gcc
965 %find_lang cpplib
966 cat cpplib.lang >> gcc.lang
967
968 %if %{with cxx}
969 %find_lang libstdc\+\+
970 install libstdc++-v3/include/precompiled/* $RPM_BUILD_ROOT%{_includedir}
971 %endif
972
973 # cvs snap doesn't contain (release does) below files,
974 # so let's create dummy entries to satisfy %%files.
975 [ ! -f NEWS ] && touch NEWS
976 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
977 [ ! -f libgfortran/README ] && touch libgfortran/README
978
979 %clean
980 rm -rf $RPM_BUILD_ROOT
981
982 %post
983 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
984
985 %postun
986 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
987
988 %post ada
989 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
990
991 %postun ada
992 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
993
994 %post fortran
995 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
996
997 %postun fortran
998 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
999
1000 %post java
1001 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1002
1003 %postun java
1004 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1005
1006 %post   -p /sbin/ldconfig -n libgcc
1007 %postun -p /sbin/ldconfig -n libgcc
1008 %post   -p /sbin/ldconfig -n libmudflap
1009 %postun -p /sbin/ldconfig -n libmudflap
1010 %post   -p /sbin/ldconfig -n libgnat
1011 %postun -p /sbin/ldconfig -n libgnat
1012 %post   -p /sbin/ldconfig -n libstdc++
1013 %postun -p /sbin/ldconfig -n libstdc++
1014 %post   -p /sbin/ldconfig -n libgfortran
1015 %postun -p /sbin/ldconfig -n libgfortran
1016 %post   -p /sbin/ldconfig -n libgcj
1017 %postun -p /sbin/ldconfig -n libgcj
1018 %post   -p /sbin/ldconfig -n libffi
1019 %postun -p /sbin/ldconfig -n libffi
1020 %post   -p /sbin/ldconfig -n libobjc
1021 %postun -p /sbin/ldconfig -n libobjc
1022
1023 %files -f gcc.lang
1024 %defattr(644,root,root,755)
1025 %doc ChangeLog.general MAINTAINERS NEWS
1026 # bugs.html faq.html
1027 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1028 %dir %{_libdir}/gcc
1029 %dir %{_libdir}/gcc/*
1030 %dir %{_libdir}/gcc/*/*
1031 %attr(755,root,root) %{_bindir}/*-gcc*
1032 %attr(755,root,root) %{_bindir}/gcc
1033 %attr(755,root,root) %{_bindir}/gccbug
1034 %attr(755,root,root) %{_bindir}/gcov
1035 %attr(755,root,root) %{_bindir}/cc
1036 %attr(755,root,root) %{_bindir}/cpp
1037 %{_mandir}/man1/cc.1*
1038 %{_mandir}/man1/cpp.1*
1039 %{_mandir}/man1/gcc.1*
1040 %{_mandir}/man1/gcov.1*
1041 %{_infodir}/cpp*
1042 %{_infodir}/gcc*
1043 %attr(755,root,root) /lib/cpp
1044 %attr(755,root,root) %{_slibdir}/lib*.so
1045 %{_libdir}/libssp.a
1046 %{_libdir}/libssp.la
1047 %attr(755,root,root) %{_libdir}/libssp.so
1048 %{_libdir}/libssp_nonshared.a
1049 %{_libdir}/libssp_nonshared.la
1050 %if %{with multilib}
1051 %attr(755,root,root) %{_slibdir32}/lib*.so
1052 %dir %{_libdir}/gcc/*/*/32
1053 %{_libdir}/gcc/*/*/32/libgcov.a
1054 %{_libdir}/gcc/*/*/32/libgcc.a
1055 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1056 %{_libdir32}/libssp.a
1057 %{_libdir32}/libssp.la
1058 %attr(755,root,root) %{_libdir32}/libssp.so
1059 %{_libdir32}/libssp_nonshared.a
1060 %{_libdir32}/libssp_nonshared.la
1061 %endif
1062 %{_libdir}/gcc/*/*/libgcov.a
1063 %{_libdir}/gcc/*/*/libgcc.a
1064 %{_libdir}/gcc/*/*/libgcc_eh.a
1065 %{_libdir}/gcc/*/*/specs
1066 %if %{with multilib}
1067 %{_libdir}/gcc/*/*/32/crt*.o
1068 %endif
1069 %{_libdir}/gcc/*/*/crt*.o
1070 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1071 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1072 %dir %{_libdir}/gcc/*/*/include
1073 %dir %{_libdir}/gcc/*/*/include/ssp
1074 %{_libdir}/gcc/*/*/include/ssp/*.h
1075 %{_libdir}/gcc/*/*/include/decfloat.h
1076 %{_libdir}/gcc/*/*/include/float.h
1077 %{_libdir}/gcc/*/*/include/iso646.h
1078 %{_libdir}/gcc/*/*/include/limits.h
1079 %{_libdir}/gcc/*/*/include/stdarg.h
1080 %{_libdir}/gcc/*/*/include/stdbool.h
1081 %{_libdir}/gcc/*/*/include/stddef.h
1082 %{_libdir}/gcc/*/*/include/syslimits.h
1083 %{_libdir}/gcc/*/*/include/unwind.h
1084 %{_libdir}/gcc/*/*/include/varargs.h
1085 %ifarch %{ix86} %{x8664}
1086 %{_libdir}/gcc/*/*/include/emmintrin.h
1087 %{_libdir}/gcc/*/*/include/mm3dnow.h
1088 %{_libdir}/gcc/*/*/include/mm_malloc.h
1089 %{_libdir}/gcc/*/*/include/mmintrin.h
1090 %{_libdir}/gcc/*/*/include/pmmintrin.h
1091 %{_libdir}/gcc/*/*/include/xmmintrin.h
1092 %endif
1093
1094 %files -n libgcc
1095 %defattr(644,root,root,755)
1096 %if %{with multilib}
1097 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1098 %endif
1099 %attr(755,root,root) %{_slibdir}/lib*.so.*
1100
1101 %files -n libmudflap
1102 %defattr(644,root,root,755)
1103 %if %{with multilib}
1104 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1105 %endif
1106 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1107
1108 %files -n libmudflap-devel
1109 %defattr(644,root,root,755)
1110 %{_libdir}/gcc/*/*/include/mf-runtime.h
1111 %if %{with multilib}
1112 %{_libdir32}/libmudflap*.la
1113 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1114 %endif
1115 %{_libdir}/libmudflap*.la
1116 %attr(755,root,root) %{_libdir}/libmudflap*.so
1117
1118 %files -n libmudflap-static
1119 %defattr(644,root,root,755)
1120 %if %{with multilib}
1121 %{_libdir32}/libmudflap*.a
1122 %endif
1123 %{_libdir}/libmudflap*.a
1124
1125 %if %{with ada}
1126 %files ada
1127 %defattr(644,root,root,755)
1128 %doc gcc/ada/ChangeLog
1129 %attr(755,root,root) %{_bindir}/gnat*
1130 %attr(755,root,root) %{_bindir}/gpr*
1131 %attr(755,root,root) %{_libdir}/libgnarl*.so
1132 %attr(755,root,root) %{_libdir}/libgnat*.so
1133 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1134 %{_libdir}/gcc/*/*/adainclude
1135 %dir %{_libdir}/gcc/*/*/adalib
1136 %{_libdir}/gcc/*/*/adalib/*.ali
1137 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1138 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1139 %ifarch %{ix86}
1140 %{_libdir}/gcc/*/*/adalib/libgmem.a
1141 %endif
1142 %{_infodir}/gnat*
1143
1144 %files -n libgnat
1145 %defattr(644,root,root,755)
1146 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1147 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1148
1149 %files -n libgnat-static
1150 %defattr(644,root,root,755)
1151 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1152 %{_libdir}/gcc/*/*/adalib/libgnat.a
1153 %endif
1154
1155 %if %{with cxx}
1156 %files c++
1157 %defattr(644,root,root,755)
1158 %doc gcc/cp/{ChangeLog,NEWS}
1159 %attr(755,root,root) %{_bindir}/g++
1160 %attr(755,root,root) %{_bindir}/*-g++
1161 %attr(755,root,root) %{_bindir}/c++
1162 %attr(755,root,root) %{_bindir}/*-c++
1163 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1164 %if %{with multilib}
1165 %{_libdir32}/libsupc++.a
1166 %{_libdir32}/libsupc++.la
1167 %endif
1168 %{_libdir}/libsupc++.a
1169 %{_libdir}/libsupc++.la
1170 %{_mandir}/man1/g++.1*
1171
1172 %files -n libstdc++ -f libstdc++.lang
1173 %defattr(644,root,root,755)
1174 %doc libstdc++-v3/{ChangeLog,README}
1175 %if %{with multilib}
1176 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1177 %endif
1178 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1179
1180 %files -n libstdc++-devel
1181 %defattr(644,root,root,755)
1182 %doc libstdc++-v3/docs/html
1183 %dir %{_includedir}/c++
1184 %{_includedir}/c++/%{version}
1185 %{_includedir}/extc++.h
1186 %{_includedir}/stdc++.h
1187 %{_includedir}/stdtr1c++.h
1188 %if %{with java}
1189 %exclude %{_includedir}/c++/%{version}/java
1190 %exclude %{_includedir}/c++/%{version}/javax
1191 %exclude %{_includedir}/c++/%{version}/gcj
1192 %exclude %{_includedir}/c++/%{version}/gnu
1193 %endif
1194 %if %{with multilib}
1195 %{_libdir32}/libstdc++.la
1196 %attr(755,root,root) %{_libdir32}/libstdc++.so
1197 %endif
1198 %{_libdir}/libstdc++.la
1199 %attr(755,root,root) %{_libdir}/libstdc++.so
1200
1201 %files -n libstdc++-static
1202 %defattr(644,root,root,755)
1203 %if %{with multilib}
1204 %{_libdir32}/libstdc++.a
1205 %endif
1206 %{_libdir}/libstdc++.a
1207 %endif
1208
1209 %if %{with fortran}
1210 %files fortran
1211 %defattr(644,root,root,755)
1212 %doc gcc/fortran/ChangeLog
1213 %attr(755,root,root) %{_bindir}/g95
1214 %attr(755,root,root) %{_bindir}/gfortran
1215 %attr(755,root,root) %{_bindir}/*-gfortran
1216 %{_infodir}/gfortran*
1217 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1218 %{_libdir}/gcc/*/*/libgfortranbegin.a
1219 %if %{with multilib}
1220 %{_libdir}/gcc/*/*/32/libgfortranbegin.a
1221 %{_libdir32}/libgfortran.la
1222 %attr(755,root,root) %{_libdir32}/libgfortran.so
1223 %endif
1224 %{_libdir}/libgfortran.la
1225 %attr(755,root,root) %{_libdir}/libgfortran.so
1226 %{_mandir}/man1/g95.1*
1227 %{_mandir}/man1/gfortran.1*
1228
1229 %files -n libgfortran
1230 %defattr(644,root,root,755)
1231 %doc libgfortran/{AUTHORS,README,ChangeLog}
1232 %if %{with multilib}
1233 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1234 %endif
1235 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1236
1237 %files -n libgfortran-static
1238 %defattr(644,root,root,755)
1239 %if %{with multilib}
1240 %{_libdir32}/libgfortran.a
1241 %endif
1242 %{_libdir}/libgfortran.a
1243 %endif
1244
1245 %if %{with java}
1246 %files java
1247 %defattr(644,root,root,755)
1248 %doc gcc/java/ChangeLog java-doc/*
1249 %attr(755,root,root) %{_bindir}/gappletviewer
1250 %attr(755,root,root) %{_bindir}/gcj*
1251 %attr(755,root,root) %{_bindir}/gjarsigner
1252 %attr(755,root,root) %{_bindir}/gjnih
1253 %attr(755,root,root) %{_bindir}/gkeytool
1254 %attr(755,root,root) %{_bindir}/grmi*
1255 %attr(755,root,root) %{_bindir}/jar
1256 %attr(755,root,root) %{_bindir}/jcf-dump
1257 %attr(755,root,root) %{_bindir}/jv-*
1258 %attr(755,root,root) %{_bindir}/*-gcj*
1259 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1260 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1261 %{_infodir}/gcj*
1262 %{_mandir}/man1/gcj*
1263 %{_mandir}/man1/gjnih*
1264 %{_mandir}/man1/grmi*
1265 %{_mandir}/man1/jcf-*
1266 %{_mandir}/man1/jv-*
1267
1268 %files -n libgcj
1269 %defattr(644,root,root,755)
1270 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1271 %attr(755,root,root) %{_bindir}/addr2name.awk
1272 %attr(755,root,root) %{_bindir}/gij
1273 %attr(755,root,root) %{_libdir}/libgcj-tools.so.*.*.*
1274 %attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
1275 %attr(755,root,root) %{_libdir}/libgcj_bc.so
1276 %attr(755,root,root) %{_libdir}/libgcj_bc.so.*.*.*
1277 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1278 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*
1279 %dir %{_libdir}/gcj-%{version}
1280 %{_libdir}/gcj-%{version}/classmap.db
1281 %attr(755,root,root) %{_libdir}/gcj-%{version}/libgjsmalsa.so*
1282 %attr(755,root,root) %{_libdir}/gcj-%{version}/libgjsmdssi.so*
1283 %attr(755,root,root) %{_libdir}/gcj-%{version}/libgtkpeer.so
1284 %attr(755,root,root) %{_libdir}/gcj-%{version}/libjawt.so
1285 %attr(755,root,root) %{_libdir}/gcj-%{version}/libjvm.so
1286 %attr(755,root,root) %{_libdir}/gcj-%{version}/libqtpeer.so
1287 %attr(755,root,root) %{_libdir}/gcj-%{version}/libxmlj.so*
1288 %{_libdir}/logging.properties
1289 %{_javadir}/libgcj*.jar
1290 %{_mandir}/man1/gij*
1291
1292 %files -n libgcj-devel
1293 %defattr(644,root,root,755)
1294 %{_includedir}/c++/%{version}/java
1295 %{_includedir}/c++/%{version}/javax
1296 %{_includedir}/c++/%{version}/gcj
1297 %{_includedir}/c++/%{version}/gnu
1298 %{_libdir}/gcc/*/*/include/gcj
1299 %{_libdir}/gcc/*/*/include/jawt.h
1300 %{_libdir}/gcc/*/*/include/jawt_md.h
1301 %{_libdir}/gcc/*/*/include/jni.h
1302 %{_libdir}/gcc/*/*/include/jni_md.h
1303 %{_libdir}/gcc/*/*/include/jvmpi.h
1304 %{_libdir}/gcj-%{version}/libgjsmalsa.la
1305 %{_libdir}/gcj-%{version}/libgjsmdssi.la
1306 %{_libdir}/gcj-%{version}/libgtkpeer.la
1307 %{_libdir}/gcj-%{version}/libjawt.la
1308 %{_libdir}/gcj-%{version}/libjvm.la
1309 %{_libdir}/gcj-%{version}/libqtpeer.la
1310 %{_libdir}/gcj-%{version}/libxmlj.la
1311 %dir %{_libdir}/security
1312 %{_libdir}/security/*
1313 %{_libdir}/libgcj.spec
1314 %{_libdir}/libgcj-tools.la
1315 %attr(755,root,root) %{_libdir}/libgcj-tools.so
1316 %{_libdir}/libgcj.la
1317 %attr(755,root,root) %{_libdir}/libgcj.so
1318 %{_libdir}/libgij.la
1319 %attr(755,root,root) %{_libdir}/libgij.so
1320 %{_libdir}/lib-gnu-awt-xlib.la
1321 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
1322 %{_pkgconfigdir}/libgcj-%{_major_ver}.pc
1323
1324 %files -n libgcj-static
1325 %defattr(644,root,root,755)
1326 %{_libdir}/gcj-%{version}/libjvm.a
1327 %{_libdir}/libgcj-tools.a
1328 %{_libdir}/libgcj.a
1329 %{_libdir}/libgcj_bc.a
1330 %{_libdir}/libgij.a
1331
1332 %files -n libffi
1333 %defattr(644,root,root,755)
1334 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1335 %if %{with multilib}
1336 %attr(755,root,root) %{_libdir32}/libffi.so.*.*.*
1337 %endif
1338 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1339
1340 %files -n libffi-devel
1341 %defattr(644,root,root,755)
1342 %{_libdir}/gcc/*/*/include/ffi.h
1343 %{_libdir}/gcc/*/*/include/ffitarget.h
1344 %if %{with multilib}
1345 %attr(755,root,root) %{_libdir32}/libffi.so
1346 %{_libdir32}/libffi.la
1347 %endif
1348 %attr(755,root,root) %{_libdir}/libffi.so
1349 %{_libdir}/libffi.la
1350
1351 %files -n libffi-static
1352 %defattr(644,root,root,755)
1353 %if %{with multilib}
1354 %{_libdir32}/libffi.a
1355 %endif
1356 %{_libdir}/libffi.a
1357 %endif
1358
1359 %if %{with objc}
1360 %files objc
1361 %defattr(644,root,root,755)
1362 %doc gcc/objc/README
1363 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1364 %if %{with multilib}
1365 %attr(755,root,root) %{_libdir32}/libobjc.so
1366 %{_libdir32}/libobjc.la
1367 %endif
1368 %attr(755,root,root) %{_libdir}/libobjc.so
1369 %{_libdir}/libobjc.la
1370 %{_libdir}/gcc/*/*/include/objc
1371
1372 %files -n libobjc
1373 %defattr(644,root,root,755)
1374 %doc libobjc/{ChangeLog,README*}
1375 %if %{with multilib}
1376 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1377 %endif
1378 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1379
1380 %files -n libobjc-static
1381 %defattr(644,root,root,755)
1382 %if %{with multilib}
1383 %{_libdir32}/libobjc.a
1384 %endif
1385 %{_libdir}/libobjc.a
1386 %endif
1387
1388 %if %{with objcxx}
1389 %files objc++
1390 %defattr(644,root,root,755)
1391 %doc gcc/objcp/ChangeLog
1392 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus
1393 %endif
This page took 0.411931 seconds and 3 git commands to generate.