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