]> git.pld-linux.org Git - packages/gcc.git/blob - gcc.spec
- fix detection of overflow from multiply expressions.
[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.1
37 %define         _snap   20060501r113407
38 Release:        0.%{_snap}.4
39 #Release:       2
40 Epoch:          5
41 License:        GPL v2+
42 Group:          Development/Languages
43 #Source0:       ftp://gcc.gnu.org/pub/gcc/prerelease-%{version}-%{_snap}/gcc-%{version}-%{_snap}.tar.bz2
44 #Source0:       ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
45 #Source0:       ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-%{_snap}/gcc-4.1-%{_snap}.tar.bz2
46 Source0:        gcc-4.1-%{_snap}.tar.bz2
47 # Source0-md5:  d123391fc5f1ab1c37ee8bd1a714b322
48 Source1:        %{name}-optimize-la.pl
49 Patch0:         %{name}-info.patch
50 Patch1:         %{name}-nolocalefiles.patch
51 Patch2:         %{name}-nodebug.patch
52 Patch3:         %{name}-ada-link.patch
53 Patch4:         %{name}-sparc64-ada_fix.patch
54 Patch5:         %{name}-alpha-ada_fix.patch
55 # -fvisibility fixes...
56 Patch6:         %{name}-pr19664_gnu_internal.patch
57 Patch7:         %{name}-pr19664_libstdc++.patch
58 Patch8:         %{name}-pr20218.patch
59
60 # PRs
61 Patch10:        %{name}-pr7776.patch
62 Patch11:        %{name}-pr26565.patch
63 Patch12:        %{name}-pr19606.patch
64 Patch13:        %{name}-pr24879.patch
65 Patch14:        %{name}-pr26912.patch
66 Patch15:        %{name}-pr27364.patch
67
68 Patch17:        %{name}-pr19505.patch
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-devel
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 -p1
779 %patch12 -p0
780 %patch13 -p0
781 %patch14 -p1
782 %patch15 -p1
783
784 %patch17 -p1
785 %patch18 -p1
786 %patch19 -p1
787 %patch20 -p1
788 %patch21 -p1
789 %patch22 -p1
790 %patch23 -p1
791
792 %patch25 -p1
793 %patch26 -p1
794 %patch27 -p1
795
796 %patch30 -p0
797 %patch31 -p0
798
799 # because we distribute modified version of gcc...
800 sed -i 's:#define VERSUFFIX.*:#define VERSUFFIX " (PLD-Linux)":' gcc/version.c
801 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
802
803 mv ChangeLog ChangeLog.general
804
805 %build
806 cd gcc
807 %{__autoconf}
808 cd ..
809 cd libjava
810 %{__autoconf}
811 cd classpath
812 %{__autoconf}
813 cd ../..
814 cp -f /usr/share/automake/config.sub .
815
816 rm -rf builddir && install -d builddir && cd builddir
817
818 CFLAGS="%{rpmcflags}" \
819 CXXFLAGS="%{rpmcxxflags}" \
820 TEXCONFIG=false \
821 ../configure \
822         --prefix=%{_prefix} \
823         --with-local-prefix=%{_prefix}/local \
824         --libdir=%{_libdir} \
825         --libexecdir=%{_libdir} \
826         --infodir=%{_infodir} \
827         --mandir=%{_mandir} \
828         --x-libraries=%{_libdir} \
829         --enable-shared \
830         --enable-threads=posix \
831         --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
832         --enable-c99 \
833         --enable-long-long \
834         --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
835         --enable-nls \
836         --disable-werror \
837         --with-gnu-as \
838         --with-gnu-ld \
839         --with-demangler-in-ld \
840         --with-system-zlib \
841         --with-slibdir=%{_slibdir} \
842 %ifnarch ia64
843         --without-system-libunwind \
844 %else
845         --with-system-libunwind \
846 %endif
847         %{!?with_java:--without-x} \
848         %{?with_fortran:--enable-cmath} \
849         --with-long-double-128 \
850 %ifarch ppc ppc64
851         --enable-secureplt \
852 %endif
853 %if %{with cxx}
854         --with-gxx-include-dir=%{_includedir}/c++/%{version} \
855         --disable-libstdcxx-pch \
856         --enable-__cxa_atexit \
857         --enable-libstdcxx-allocator=new \
858 %endif
859 %if %{with java}
860         --with-qt4dir=%{_libdir}/qt4 \
861         --disable-libjava-multilib \
862         --enable-libgcj \
863         --enable-libgcj-multifile \
864         --enable-libgcj-database \
865         --enable-gtk-cairo \
866         --enable-java-awt=qt,gtk,xlib \
867         --enable-jni \
868         --enable-xmlj \
869         --enable-alsa \
870         --enable-dssi \
871 %endif
872         %{_target_platform}
873
874 cd ..
875
876 %{__make} -C builddir \
877         %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
878         GCJFLAGS="%{rpmcflags}" \
879         BOOT_CFLAGS="%{rpmcflags}" \
880         STAGE1_CFLAGS="%{rpmcflags} -O0" \
881         GNATLIBCFLAGS="%{rpmcflags}" \
882         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
883         mandir=%{_mandir} \
884         infodir=%{_infodir}
885
886 %{?with_tests:%{__make} -k -C builddir check 2>&1 ||:}
887
888 %install
889 rm -rf $RPM_BUILD_ROOT
890 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
891
892 cd builddir
893
894 %{__make} -j1 install \
895         mandir=%{_mandir} \
896         infodir=%{_infodir} \
897         DESTDIR=$RPM_BUILD_ROOT
898
899 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
900
901 %ifarch sparc64
902 ln -sf  %{_bindir}/sparc64-pld-linux-gcc \
903         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
904 %endif
905
906 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
907 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
908 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
909
910 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
911 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
912 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
913 %if %{with multilib}
914 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
915 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
916 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
917 %endif
918
919 %if %{with fortran}
920 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
921 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
922 %endif
923
924 %if %{with ada}
925 # move ada shared libraries to proper place...
926 mv -f   $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
927         $RPM_BUILD_ROOT%{_libdir}
928 # check if symlink to be made is valid
929 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so.1
930 ln -sf  libgnat-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.1.so
931 ln -sf  libgnarl-4.1.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.1.so
932 ln -sf  libgnat-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
933 ln -sf  libgnarl-4.1.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
934 %endif
935
936 cd ..
937
938 %if %{with java}
939 install -d java-doc
940 cp -f   libjava/READ* java-doc
941 cp -f   fastjar/README java-doc/README.fastjar
942 cp -f   libffi/README java-doc/README.libffi
943 cp -f   libffi/LICENSE java-doc/LICENSE.libffi
944 ln -sf  %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
945 rm -f $RPM_BUILD_ROOT%{_libdir}/classpath/libgjs*.la
946 %endif
947 %if %{with objc}
948 cp -f   libobjc/README gcc/objc/README.libobjc
949 %endif
950
951 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
952 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
953 for f in libmudflap.la libmudflapth.la libssp.la \
954         %{?with_cxx:libstdc++.la libsupc++.la} \
955         %{?with_fortran:libgfortran.la libgfortranbegin.la} \
956         %{?with_java:libgcj.la libffi.la} \
957         %{?with_objc:libobjc.la};
958 do
959         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
960         mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
961 done
962 %if %{with multilib}
963 for f in libmudflap.la libmudflapth.la libssp.la \
964         %{?with_cxx:libstdc++.la libsupc++.la} \
965         %{?with_fortran:libgfortran.la libgfortranbegin.la} \
966         %{?with_objc:libobjc.la};
967 do
968         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
969         mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
970 done
971 %endif
972
973 # include/ contains install-tools/include/* and headers that were fixed up
974 # by fixincludes, we don't want former
975 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
976 mkdir   $gccdir/tmp
977
978 # we have to save these however
979 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
980 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
981 mv $gccdir/include/syslimits.h $gccdir/tmp
982 mv $gccdir/include/ssp $gccdir/tmp
983 rm -rf $gccdir/include
984 mv $gccdir/tmp $gccdir/include
985 cp $gccdir/install-tools/include/*.h $gccdir/include
986 # but we don't want anything more from install-tools
987 rm -rf $gccdir/install-tools
988
989 %find_lang gcc
990 %find_lang cpplib
991 cat cpplib.lang >> gcc.lang
992
993 %if %{with cxx}
994 %find_lang libstdc\+\+
995 install libstdc++-v3/include/stdc++.h $RPM_BUILD_ROOT%{_includedir}
996 %endif
997
998 # cvs snap doesn't contain (release does) below files,
999 # so let's create dummy entries to satisfy %%files.
1000 [ ! -f NEWS ] && touch NEWS
1001 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
1002 [ ! -f libgfortran/README ] && touch libgfortran/README
1003
1004 %clean
1005 rm -rf $RPM_BUILD_ROOT
1006
1007 %post
1008 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1009
1010 %postun
1011 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1012
1013 %post ada
1014 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1015
1016 %postun ada
1017 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1018
1019 %post fortran
1020 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1021
1022 %postun fortran
1023 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1024
1025 %post java
1026 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1027
1028 %postun java
1029 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1030
1031 %post   -p /sbin/ldconfig -n libgcc
1032 %postun -p /sbin/ldconfig -n libgcc
1033 %post   -p /sbin/ldconfig -n libmudflap
1034 %postun -p /sbin/ldconfig -n libmudflap
1035 %post   -p /sbin/ldconfig -n libgnat
1036 %postun -p /sbin/ldconfig -n libgnat
1037 %post   -p /sbin/ldconfig -n libstdc++
1038 %postun -p /sbin/ldconfig -n libstdc++
1039 %post   -p /sbin/ldconfig -n libgfortran
1040 %postun -p /sbin/ldconfig -n libgfortran
1041 %post   -p /sbin/ldconfig -n libgcj
1042 %postun -p /sbin/ldconfig -n libgcj
1043 %post   -p /sbin/ldconfig -n libffi
1044 %postun -p /sbin/ldconfig -n libffi
1045 %post   -p /sbin/ldconfig -n libobjc
1046 %postun -p /sbin/ldconfig -n libobjc
1047
1048 %files -f gcc.lang
1049 %defattr(644,root,root,755)
1050 %doc ChangeLog.general MAINTAINERS NEWS
1051 # bugs.html faq.html
1052 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1053 %dir %{_libdir}/gcc
1054 %dir %{_libdir}/gcc/*
1055 %dir %{_libdir}/gcc/*/*
1056 %dir %{_libdir}/gcc/*/*/include
1057 %dir %{_libdir}/gcc/*/*/include/ssp
1058
1059 %attr(755,root,root) %{_bindir}/*-gcc*
1060 %attr(755,root,root) %{_bindir}/gcc
1061 %attr(755,root,root) %{_bindir}/gccbug
1062 %attr(755,root,root) %{_bindir}/gcov
1063 %attr(755,root,root) %{_bindir}/cc
1064 %attr(755,root,root) %{_bindir}/cpp
1065
1066 %{_mandir}/man1/cc.1*
1067 %{_mandir}/man1/cpp.1*
1068 %{_mandir}/man1/gcc.1*
1069 %{_mandir}/man1/gcov.1*
1070
1071 %{_infodir}/cpp*
1072 %{_infodir}/gcc*
1073
1074 %attr(755,root,root) /lib/cpp
1075
1076 %attr(755,root,root) %{_slibdir}/lib*.so
1077 %{_libdir}/libssp.a
1078 %{_libdir}/libssp.la
1079 %attr(755,root,root) %{_libdir}/libssp.so
1080 %{_libdir}/libssp_nonshared.a
1081 %{_libdir}/libssp_nonshared.la
1082 %if %{with multilib}
1083 %attr(755,root,root) %{_slibdir32}/lib*.so
1084 %dir %{_libdir}/gcc/*/*/32
1085 %{_libdir}/gcc/*/*/32/libgcov.a
1086 %{_libdir}/gcc/*/*/32/libgcc.a
1087 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1088 %{_libdir32}/libssp.a
1089 %{_libdir32}/libssp.la
1090 %attr(755,root,root) %{_libdir32}/libssp.so
1091 %{_libdir32}/libssp_nonshared.a
1092 %{_libdir32}/libssp_nonshared.la
1093 %endif
1094 %{_libdir}/gcc/*/*/libgcov.a
1095 %{_libdir}/gcc/*/*/libgcc.a
1096 %{_libdir}/gcc/*/*/libgcc_eh.a
1097 %{_libdir}/gcc/*/*/specs
1098 %if %{with multilib}
1099 %{_libdir}/gcc/*/*/32/crt*.o
1100 %endif
1101 %{_libdir}/gcc/*/*/crt*.o
1102 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1103 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1104
1105 %{_libdir}/gcc/*/*/include/*.h
1106 %{_libdir}/gcc/*/*/include/ssp/*.h
1107
1108 %files -n libgcc
1109 %defattr(644,root,root,755)
1110 %if %{with multilib}
1111 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1112 %endif
1113 %attr(755,root,root) %{_slibdir}/lib*.so.*
1114
1115 %files -n libmudflap
1116 %defattr(644,root,root,755)
1117 %if %{with multilib}
1118 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1119 %endif
1120 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1121
1122 %files -n libmudflap-devel
1123 %defattr(644,root,root,755)
1124 %{_includedir}/mf-runtime.h
1125 %if %{with multilib}
1126 %{_libdir32}/libmudflap*.la
1127 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1128 %endif
1129 %{_libdir}/libmudflap*.la
1130 %attr(755,root,root) %{_libdir}/libmudflap*.so
1131
1132 %files -n libmudflap-static
1133 %defattr(644,root,root,755)
1134 %if %{with multilib}
1135 %{_libdir32}/libmudflap*.a
1136 %endif
1137 %{_libdir}/libmudflap*.a
1138
1139 %if %{with ada}
1140 %files ada
1141 %defattr(644,root,root,755)
1142 %doc gcc/ada/ChangeLog
1143 %attr(755,root,root) %{_bindir}/gnat*
1144 %attr(755,root,root) %{_bindir}/gpr*
1145 %attr(755,root,root) %{_libdir}/libgnarl*.so
1146 %attr(755,root,root) %{_libdir}/libgnat*.so
1147 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1148 %{_libdir}/gcc/*/*/adainclude
1149 %dir %{_libdir}/gcc/*/*/adalib
1150 %{_libdir}/gcc/*/*/adalib/*.ali
1151 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1152 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1153 %ifarch %{ix86}
1154 %{_libdir}/gcc/*/*/adalib/libgmem.a
1155 %endif
1156 %{_infodir}/gnat*
1157
1158 %files -n libgnat
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1161 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1162
1163 %files -n libgnat-static
1164 %defattr(644,root,root,755)
1165 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1166 %{_libdir}/gcc/*/*/adalib/libgnat.a
1167 %endif
1168
1169 %if %{with cxx}
1170 %files c++
1171 %defattr(644,root,root,755)
1172 %doc gcc/cp/{ChangeLog,NEWS}
1173 %attr(755,root,root) %{_bindir}/g++
1174 %attr(755,root,root) %{_bindir}/*-g++
1175 %attr(755,root,root) %{_bindir}/c++
1176 %attr(755,root,root) %{_bindir}/*-c++
1177 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1178 %if %{with multilib}
1179 %{_libdir32}/libsupc++.a
1180 %{_libdir32}/libsupc++.la
1181 %endif
1182 %{_libdir}/libsupc++.a
1183 %{_libdir}/libsupc++.la
1184 %{_mandir}/man1/g++.1*
1185
1186 %files -n libstdc++ -f libstdc++.lang
1187 %defattr(644,root,root,755)
1188 %doc libstdc++-v3/{ChangeLog,README}
1189 %if %{with multilib}
1190 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1191 %endif
1192 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1193
1194 %files -n libstdc++-devel
1195 %defattr(644,root,root,755)
1196 %doc libstdc++-v3/docs/html
1197 %dir %{_includedir}/c++
1198 %{_includedir}/stdc++.h
1199 %{_includedir}/c++/%{version}
1200 %if %{with java}
1201 %exclude %{_includedir}/c++/%{version}/java
1202 %exclude %{_includedir}/c++/%{version}/javax
1203 %exclude %{_includedir}/c++/%{version}/gcj
1204 %exclude %{_includedir}/c++/%{version}/gnu
1205 %endif
1206 %if %{with multilib}
1207 %{_libdir32}/libstdc++.la
1208 %attr(755,root,root) %{_libdir32}/libstdc++.so
1209 %endif
1210 %{_libdir}/libstdc++.la
1211 %attr(755,root,root) %{_libdir}/libstdc++.so
1212
1213 %files -n libstdc++-static
1214 %defattr(644,root,root,755)
1215 %if %{with multilib}
1216 %{_libdir32}/libstdc++.a
1217 %endif
1218 %{_libdir}/libstdc++.a
1219 %endif
1220
1221 %if %{with fortran}
1222 %files fortran
1223 %defattr(644,root,root,755)
1224 %doc gcc/fortran/ChangeLog
1225 %attr(755,root,root) %{_bindir}/g95
1226 %attr(755,root,root) %{_bindir}/gfortran
1227 %attr(755,root,root) %{_bindir}/*-gfortran
1228 %{_infodir}/gfortran*
1229 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1230 %if %{with multilib}
1231 %{_libdir32}/libgfortranbegin.a
1232 %{_libdir32}/libgfortranbegin.la
1233 %{_libdir32}/libgfortran.la
1234 %attr(755,root,root) %{_libdir32}/libgfortran.so
1235 %endif
1236 %{_libdir}/libgfortranbegin.a
1237 %{_libdir}/libgfortranbegin.la
1238 %{_libdir}/libgfortran.la
1239 %attr(755,root,root) %{_libdir}/libgfortran.so
1240 %{_mandir}/man1/g95.1*
1241 %{_mandir}/man1/gfortran.1*
1242
1243 %files -n libgfortran
1244 %defattr(644,root,root,755)
1245 %doc libgfortran/{AUTHORS,README,ChangeLog}
1246 %if %{with multilib}
1247 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1248 %endif
1249 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1250
1251 %files -n libgfortran-static
1252 %defattr(644,root,root,755)
1253 %if %{with multilib}
1254 %{_libdir32}/libgfortran.a
1255 %endif
1256 %{_libdir}/libgfortran.a
1257 %endif
1258
1259 %if %{with java}
1260 %files java
1261 %defattr(644,root,root,755)
1262 %doc gcc/java/ChangeLog java-doc/*
1263 %attr(755,root,root) %{_bindir}/fastjar
1264 %attr(755,root,root) %{_bindir}/gcj*
1265 %attr(755,root,root) %{_bindir}/gjnih
1266 %attr(755,root,root) %{_bindir}/grepjar
1267 %attr(755,root,root) %{_bindir}/grmi*
1268 %attr(755,root,root) %{_bindir}/jcf-dump
1269 %attr(755,root,root) %{_bindir}/jv-*
1270 %attr(755,root,root) %{_bindir}/*-gcj*
1271 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1272 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1273 %{_infodir}/fastjar*
1274 %{_infodir}/gcj*
1275 %{_mandir}/man1/fastjar*
1276 %{_mandir}/man1/gcj*
1277 %{_mandir}/man1/gjnih*
1278 %{_mandir}/man1/grepjar*
1279 %{_mandir}/man1/grmi*
1280 %{_mandir}/man1/jcf-*
1281 %{_mandir}/man1/jv-*
1282
1283 %files -n libgcj
1284 %defattr(644,root,root,755)
1285 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1286 %attr(755,root,root) %{_bindir}/addr2name.awk
1287 %attr(755,root,root) %{_bindir}/gij
1288 %attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
1289 # R: lib-gnu-java-awt-peer-gtk/qt (see below)
1290 %attr(755,root,root) %{_libdir}/libgcjawt.so.*.*.*
1291 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1292 # R: xorg libs
1293 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*
1294 # R: gtk+2
1295 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so.*.*.*
1296 # R: QtGui
1297 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-qt.so.7.0.0
1298 %dir %{_libdir}/classpath
1299 # R: alsa-libs
1300 %attr(755,root,root) %{_libdir}/classpath/libgjsmalsa.so*
1301 # R: jack
1302 %attr(755,root,root) %{_libdir}/classpath/libgjsmdssi.so*
1303 %dir %{_libdir}/gcj-%{version}
1304 %{_libdir}/gcj-%{version}/classmap.db
1305 %{_libdir}/logging.properties
1306 %{_javadir}/libgcj*.jar
1307 %{_mandir}/man1/gij*
1308
1309 %files -n libgcj-devel
1310 %defattr(644,root,root,755)
1311 %{_includedir}/c++/%{version}/java
1312 %{_includedir}/c++/%{version}/javax
1313 %{_includedir}/c++/%{version}/gcj
1314 %{_includedir}/c++/%{version}/gnu
1315 %{_libdir}/gcc/*/*/include/gcj
1316 %{_libdir}/gcc/*/*/include/jawt.h
1317 %{_libdir}/gcc/*/*/include/jawt_md.h
1318 %{_libdir}/gcc/*/*/include/jni.h
1319 %{_libdir}/gcc/*/*/include/jvmpi.h
1320 %dir %{_libdir}/security
1321 %{_libdir}/security/*
1322 %{_libdir}/libgcj.spec
1323 %attr(755,root,root) %{_libdir}/libgcj.so
1324 %{_libdir}/libgcj.la
1325 %attr(755,root,root) %{_libdir}/libgcjawt.so
1326 %{_libdir}/libgcjawt.la
1327 %attr(755,root,root) %{_libdir}/libgij.so
1328 %{_libdir}/libgij.la
1329 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
1330 %{_libdir}/lib-gnu-awt-xlib.la
1331 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-gtk.so
1332 %{_libdir}/lib-gnu-java-awt-peer-gtk.la
1333 %attr(755,root,root) %{_libdir}/lib-gnu-java-awt-peer-qt.so
1334 %{_libdir}/lib-gnu-java-awt-peer-qt.la
1335 %{_pkgconfigdir}/libgcj.pc
1336
1337 %files -n libgcj-static
1338 %defattr(644,root,root,755)
1339 %{_libdir}/libgcj.a
1340 %{_libdir}/libgcjawt.a
1341 %{_libdir}/libgij.a
1342 %{_libdir}/lib-gnu-awt-xlib.a
1343 %{_libdir}/lib-gnu-java-awt-peer-gtk.a
1344 %{_libdir}/lib-gnu-java-awt-peer-qt.a
1345
1346 %files -n libffi
1347 %defattr(644,root,root,755)
1348 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1349 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1350
1351 %files -n libffi-devel
1352 %defattr(644,root,root,755)
1353 %{_libdir}/gcc/*/*/include/ffitarget.h
1354 %attr(755,root,root) %{_libdir}/libffi.so
1355 %{_libdir}/libffi.la
1356 %{_includedir}/ffi.h
1357
1358 %files -n libffi-static
1359 %defattr(644,root,root,755)
1360 %{_libdir}/libffi.a
1361 %endif
1362
1363 %if %{with objc}
1364 %files objc
1365 %defattr(644,root,root,755)
1366 %doc gcc/objc/README
1367 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1368 %if %{with multilib}
1369 %attr(755,root,root) %{_libdir32}/libobjc.so
1370 %{_libdir32}/libobjc.la
1371 %endif
1372 %attr(755,root,root) %{_libdir}/libobjc.so
1373 %{_libdir}/libobjc.la
1374 %{_libdir}/gcc/*/*/include/objc
1375
1376 %files -n libobjc
1377 %defattr(644,root,root,755)
1378 %doc libobjc/{ChangeLog,README*}
1379 %if %{with multilib}
1380 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1381 %endif
1382 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1383
1384 %files -n libobjc-static
1385 %defattr(644,root,root,755)
1386 %if %{with multilib}
1387 %{_libdir32}/libobjc.a
1388 %endif
1389 %{_libdir}/libobjc.a
1390 %endif
1391
1392 %if %{with objcxx}
1393 %files objc++
1394 %defattr(644,root,root,755)
1395 %doc gcc/objcp/ChangeLog
1396 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus
1397 %endif
This page took 0.116041 seconds and 4 git commands to generate.