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