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