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