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