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