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