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