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