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