]> git.pld-linux.org Git - packages/gcc4.git/blob - gcc4.spec
- testing new fixes (x87 fix, qt4 support).
[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   20051113r106863
43 Release:        0.%{_snap}.2
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:  22358f2ef6602d94b57635d1e4962e6c
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
63 # PRs
64 Patch10:        %{name}-pr7776.patch
65 Patch11:        %{name}-pr20297.patch
66 Patch12:        %{name}-pr24653.patch
67 Patch13:        %{name}-pr22533.patch
68 #Patch14:       %{name}-x87-mmx-switch.patch    NEEDS UPDATE
69 #Patch15:       %{name}-x87-mmx-eh.patch        NEEDS UPDATE
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
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
756 # PRs
757 %patch10 -p1
758 %patch11 -p1
759 %patch12 -p1
760 %patch13 -p1
761 #patch14 -p1    NEEDS UPDATE
762 #patch15 -p1    NEEDS UPDATE
763 %patch16 -p1
764 %patch17 -p1
765 %patch18 -p1
766 %patch19 -p1
767 %patch20 -p1
768
769 # because we distribute modified version of gcc...
770 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
771 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
772
773 mv ChangeLog ChangeLog.general
774
775 %build
776 cd gcc
777 %{__autoconf}
778 cd ..
779 cp -f /usr/share/automake/config.sub .
780
781 rm -rf obj-%{_target_platform}
782 install -d obj-%{_target_platform}
783 cd obj-%{_target_platform}
784
785 CFLAGS="%{rpmcflags}" \
786 CXXFLAGS="%{rpmcxxflags}" \
787 TEXCONFIG=false \
788 ../configure \
789         --prefix=%{_prefix} \
790         --libdir=%{_libdir} \
791         --libexecdir=%{_libdir} \
792         --infodir=%{_infodir} \
793         --mandir=%{_mandir} \
794         --enable-shared \
795         --enable-threads=posix \
796         --enable-__cxa_atexit \
797         --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,f95}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
798         --enable-c99 \
799         --enable-long-long \
800         --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
801         --enable-nls \
802         --disable-werror \
803         --with-gnu-as \
804         --with-gnu-ld \
805         --with-demangler-in-ld \
806         --with-system-zlib \
807         --with-slibdir=%{_slibdir} \
808         --without-x \
809         %{?with_fortran:--enable-cmath} \
810 %if %{with java}
811         --enable-libgcj \
812         --enable-libgcj-multifile \
813         --enable-libgcj-database \
814         --enable-gtk-cairo \
815         --enable-java-awt=qt \
816 %endif
817         %{_target_platform}
818
819 cd ..
820
821 %{__make} -C obj-%{_target_platform} \
822         %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
823         GCJFLAGS="%{rpmcflags}" \
824         BOOT_CFLAGS="%{rpmcflags}" \
825         STAGE1_CFLAGS="%{rpmcflags} -O0" \
826         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
827         mandir=%{_mandir} \
828         infodir=%{_infodir}
829
830 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
831
832 %install
833 rm -rf $RPM_BUILD_ROOT
834 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
835
836 cd obj-%{_target_platform}
837
838 %{__make} -j1 install \
839         mandir=%{_mandir} \
840         infodir=%{_infodir} \
841         DESTDIR=$RPM_BUILD_ROOT
842
843 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
844
845 %ifarch sparc64
846 ln -sf  %{_bindir}/sparc64-pld-linux-gcc \
847         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
848 %endif
849
850 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
851 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
852 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
853
854 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
855 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
856 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
857 %if %{with multilib}
858 libssp=$($RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*`)
859 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
860 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
861 %endif
862
863 %if %{with fortran}
864 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
865 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
866 %endif
867
868 %if %{with ada}
869 # move ada shared libraries to proper place...
870 mv -f   $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
871         $RPM_BUILD_ROOT%{_libdir}
872 # check if symlink to be made is valid
873 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so.1
874 ln -sf  libgnat-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so
875 ln -sf  libgnarl-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.0.so
876 ln -sf  libgnat-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
877 ln -sf  libgnarl-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
878 %endif
879
880 cd ..
881
882 %if %{with java}
883 install -d java-doc
884 cp -f   libjava/READ* java-doc
885 cp -f   fastjar/README java-doc/README.fastjar
886 cp -f   libffi/README java-doc/README.libffi
887 cp -f   libffi/LICENSE java-doc/LICENSE.libffi
888 ln -sf  %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
889 %endif
890 %if %{with objc}
891 cp -f   libobjc/README gcc/objc/README.libobjc
892 %endif
893
894 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
895 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
896 for f in libmudflap.la libmudflapth.la libssp.la \
897         %{?with_cxx:libstdc++.la libsupc++.la} \
898         %{?with_fortran:libgfortran.la libgfortranbegin.la} \
899         %{?with_java:libgcj.la libffi.la} \
900         %{?with_objc:libobjc.la};
901 do
902         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
903         mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
904 %if %{with multilib}
905         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
906         mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
907 %endif
908 done
909
910 # include/ contains install-tools/include/* and headers that were fixed up
911 # by fixincludes, we don't want former
912 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
913 mkdir   $gccdir/tmp
914
915 # we have to save these however
916 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
917 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
918 mv $gccdir/include/syslimits.h $gccdir/tmp
919 rm -rf $gccdir/include
920 mv $gccdir/tmp $gccdir/include
921 cp $gccdir/install-tools/include/*.h $gccdir/include
922 # but we don't want anything more from install-tools
923 rm -rf $gccdir/install-tools
924
925 %if %{with multilib}
926 ln -sf %{_slibdir32}/libgcc_s.so.1      $gccdir/32/libgcc_s.so
927 %endif
928 ln -sf %{_slibdir}/libgcc_s.so.1        $gccdir/libgcc_s.so
929
930 %find_lang gcc
931 %{?with_cxx:%find_lang libstdc\+\+}
932
933 # cvs snap doesn't contain (release does) below files,
934 # so let's create dummy entries to satisfy %%files.
935 [ ! -f NEWS ] && touch NEWS
936 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
937 [ ! -f libgfortran/README ] && touch libgfortran/README
938
939 %clean
940 rm -rf $RPM_BUILD_ROOT
941
942 %post
943 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
944
945 %postun
946 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
947
948 %post ada
949 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
950
951 %postun ada
952 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
953
954 %post fortran
955 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
956
957 %postun fortran
958 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
959
960 %post java
961 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
962
963 %postun java
964 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
965
966 %post   -p /sbin/ldconfig -n libgcc
967 %postun -p /sbin/ldconfig -n libgcc
968 %post   -p /sbin/ldconfig -n libmudflap
969 %postun -p /sbin/ldconfig -n libmudflap
970 %post   -p /sbin/ldconfig -n libgnat
971 %postun -p /sbin/ldconfig -n libgnat
972 %post   -p /sbin/ldconfig -n libstdc++
973 %postun -p /sbin/ldconfig -n libstdc++
974 %post   -p /sbin/ldconfig -n libgfortran
975 %postun -p /sbin/ldconfig -n libgfortran
976 %post   -p /sbin/ldconfig -n libgcj
977 %postun -p /sbin/ldconfig -n libgcj
978 %post   -p /sbin/ldconfig -n libffi
979 %postun -p /sbin/ldconfig -n libffi
980 %post   -p /sbin/ldconfig -n libobjc
981 %postun -p /sbin/ldconfig -n libobjc
982
983 %files -f gcc.lang
984 %defattr(644,root,root,755)
985 %doc ChangeLog.general MAINTAINERS NEWS
986 # bugs.html faq.html
987 %doc gcc/{ChangeLog,ONEWS,README.Portability}
988 %dir %{_libdir}/gcc
989 %dir %{_libdir}/gcc/*
990 %dir %{_libdir}/gcc/*/*
991 %dir %{_libdir}/gcc/*/*/include
992
993 %attr(755,root,root) %{_bindir}/*-gcc*
994 %attr(755,root,root) %{_bindir}/gcc
995 %attr(755,root,root) %{_bindir}/gccbug
996 %attr(755,root,root) %{_bindir}/gcov
997 %attr(755,root,root) %{_bindir}/cc
998 %attr(755,root,root) %{_bindir}/cpp
999
1000 %{_includedir}/ssp
1001
1002 %{_mandir}/man1/cc.1*
1003 %{_mandir}/man1/cpp.1*
1004 %{_mandir}/man1/gcc.1*
1005 %{_mandir}/man1/gcov.1*
1006
1007 %{_infodir}/cpp*
1008 %{_infodir}/gcc*
1009
1010 %attr(755,root,root) /lib/cpp
1011
1012 %attr(755,root,root) %{_slibdir}/lib*.so
1013 %{_libdir}/libssp.la
1014 %attr(755,root,root) %{_libdir}/libssp.a
1015 %attr(755,root,root) %{_libdir}/libssp.so
1016 %{_libdir}/libssp_nonshared.a
1017 %{_libdir}/libssp_nonshared.la
1018 %if %{with multilib}
1019 %dir %{_libdir}/gcc/*/*/32
1020 %{_libdir}/gcc/*/*/32/libgcov.a
1021 %{_libdir}/gcc/*/*/32/libgcc.a
1022 %{_libdir}/gcc/*/*/32/libgcc_eh.a
1023 %{_libdir}/gcc/*/*/32/libgcc_s.so
1024 %{_libdir32}/libssp.la
1025 %attr(755,root,root) %{_libdir32}/libssp.a
1026 %attr(755,root,root) %{_libdir32}/libssp.so
1027 %{_libdir32}/libssp_nonshared.a
1028 %{_libdir32}/libssp_nonshared.la
1029 %endif
1030 %{_libdir}/gcc/*/*/libgcov.a
1031 %{_libdir}/gcc/*/*/libgcc.a
1032 %{_libdir}/gcc/*/*/libgcc_eh.a
1033 %{_libdir}/gcc/*/*/libgcc_s.so
1034 %{_libdir}/gcc/*/*/specs
1035 %if %{with multilib}
1036 %{_libdir}/gcc/*/*/32/crt*.o
1037 %endif
1038 %{_libdir}/gcc/*/*/crt*.o
1039 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1040 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1041
1042 %{_libdir}/gcc/*/*/include/*.h
1043
1044 %files -n libgcc
1045 %defattr(644,root,root,755)
1046 %if %{with multilib}
1047 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1048 %endif
1049 %attr(755,root,root) %{_slibdir}/lib*.so.*
1050
1051 %files -n libmudflap
1052 %defattr(644,root,root,755)
1053 %if %{with multilib}
1054 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1055 %endif
1056 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1057
1058 %files -n libmudflap-devel
1059 %defattr(644,root,root,755)
1060 %{_includedir}/mf-runtime.h
1061 %if %{with multilib}
1062 %{_libdir32}/libmudflap*.la
1063 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1064 %endif
1065 %{_libdir}/libmudflap*.la
1066 %attr(755,root,root) %{_libdir}/libmudflap*.so
1067
1068 %files -n libmudflap-static
1069 %defattr(644,root,root,755)
1070 %if %{with multilib}
1071 %{_libdir32}/libmudflap*.a
1072 %endif
1073 %{_libdir}/libmudflap*.a
1074
1075 %if %{with ada}
1076 %files ada
1077 %defattr(644,root,root,755)
1078 %doc gcc/ada/ChangeLog
1079 %attr(755,root,root) %{_bindir}/gnat*
1080 %attr(755,root,root) %{_bindir}/gpr*
1081 %attr(755,root,root) %{_libdir}/libgnarl*.so
1082 %attr(755,root,root) %{_libdir}/libgnat*.so
1083 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1084 %{_libdir}/gcc/*/*/adainclude
1085 %dir %{_libdir}/gcc/*/*/adalib
1086 %{_libdir}/gcc/*/*/adalib/*.ali
1087 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1088 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1089 %ifarch %{ix86}
1090 %{_libdir}/gcc/*/*/adalib/libgmem.a
1091 %endif
1092 %{_infodir}/gnat*
1093
1094 %files -n libgnat
1095 %defattr(644,root,root,755)
1096 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1097 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1098
1099 %files -n libgnat-static
1100 %defattr(644,root,root,755)
1101 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1102 %{_libdir}/gcc/*/*/adalib/libgnat.a
1103 %endif
1104
1105 %if %{with cxx}
1106 %files c++
1107 %defattr(644,root,root,755)
1108 %doc gcc/cp/{ChangeLog,NEWS}
1109 %attr(755,root,root) %{_bindir}/g++
1110 %attr(755,root,root) %{_bindir}/*-g++
1111 %attr(755,root,root) %{_bindir}/c++
1112 %attr(755,root,root) %{_bindir}/*-c++
1113 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1114 %if %{with multilib}
1115 %{_libdir32}/libsupc++.a
1116 %{_libdir32}/libsupc++.la
1117 %endif
1118 %{_libdir}/libsupc++.a
1119 %{_libdir}/libsupc++.la
1120 %{_mandir}/man1/g++.1*
1121
1122 %files -n libstdc++ -f libstdc++.lang
1123 %defattr(644,root,root,755)
1124 %doc libstdc++-v3/{ChangeLog,README}
1125 %if %{with multilib}
1126 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1127 %endif
1128 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1129
1130 %files -n libstdc++-devel
1131 %defattr(644,root,root,755)
1132 %doc libstdc++-v3/docs/html
1133 %dir %{_includedir}/c++
1134 %{_includedir}/c++/%{version}
1135 %if %{with java}
1136 %exclude %{_includedir}/c++/%{version}/java
1137 %exclude %{_includedir}/c++/%{version}/javax
1138 %exclude %{_includedir}/c++/%{version}/gcj
1139 %exclude %{_includedir}/c++/%{version}/gnu
1140 %endif
1141 %ifnarch sparc
1142 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
1143 %endif
1144 %if %{with multilib}
1145 %{_libdir32}/libstdc++.la
1146 %attr(755,root,root) %{_libdir32}/libstdc++.so
1147 %endif
1148 %{_libdir}/libstdc++.la
1149 %attr(755,root,root) %{_libdir}/libstdc++.so
1150
1151 %files -n libstdc++-static
1152 %defattr(644,root,root,755)
1153 %if %{with multilib}
1154 %{_libdir32}/libstdc++.a
1155 %endif
1156 %{_libdir}/libstdc++.a
1157 %endif
1158
1159 %if %{with fortran}
1160 %files fortran
1161 %defattr(644,root,root,755)
1162 %doc gcc/fortran/ChangeLog
1163 %attr(755,root,root) %{_bindir}/g95
1164 %attr(755,root,root) %{_bindir}/gfortran
1165 %{_infodir}/gfortran*
1166 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1167 %if %{with multilib}
1168 %{_libdir32}/libgfortranbegin.a
1169 %{_libdir32}/libgfortranbegin.la
1170 %{_libdir32}/libgfortran.la
1171 %attr(755,root,root) %{_libdir32}/libgfortran.so
1172 %endif
1173 %{_libdir}/libgfortranbegin.a
1174 %{_libdir}/libgfortranbegin.la
1175 %{_libdir}/libgfortran.la
1176 %attr(755,root,root) %{_libdir}/libgfortran.so
1177 %{_mandir}/man1/g95.1*
1178 %{_mandir}/man1/gfortran.1*
1179
1180 %files -n libgfortran
1181 %defattr(644,root,root,755)
1182 %doc libgfortran/{AUTHORS,README,ChangeLog}
1183 %if %{with multilib}
1184 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1185 %endif
1186 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1187
1188 %files -n libgfortran-static
1189 %defattr(644,root,root,755)
1190 %if %{with multilib}
1191 %{_libdir32}/libgfortran.a
1192 %endif
1193 %{_libdir}/libgfortran.a
1194 %endif
1195
1196 %if %{with java}
1197 %files java
1198 %defattr(644,root,root,755)
1199 %doc gcc/java/ChangeLog java-doc/*
1200 %attr(755,root,root) %{_bindir}/fastjar
1201 %attr(755,root,root) %{_bindir}/gcj*
1202 %attr(755,root,root) %{_bindir}/gjnih
1203 %attr(755,root,root) %{_bindir}/grepjar
1204 %attr(755,root,root) %{_bindir}/grmi*
1205 %attr(755,root,root) %{_bindir}/jcf-dump
1206 %attr(755,root,root) %{_bindir}/jv-*
1207 %attr(755,root,root) %{_bindir}/*-gcj*
1208 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1209 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1210 %{_infodir}/fastjar*
1211 %{_infodir}/gcj*
1212 %{_mandir}/man1/fastjar*
1213 %{_mandir}/man1/gcj*
1214 %{_mandir}/man1/gjnih*
1215 %{_mandir}/man1/grepjar*
1216 %{_mandir}/man1/grmi*
1217 %{_mandir}/man1/jcf-*
1218 %{_mandir}/man1/jv-*
1219
1220 %files -n libgcj
1221 %defattr(644,root,root,755)
1222 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1223 %attr(755,root,root) %{_bindir}/addr2name.awk
1224 %attr(755,root,root) %{_bindir}/gij
1225 %dir %{_libdir}/gcj-%{version}
1226 %{_libdir}/gcj-%{version}/classmap.db
1227 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1228 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1229 %{_libdir}/logging.properties
1230 %{_javadir}/libgcj*.jar
1231 %{_mandir}/man1/gij*
1232
1233 %files -n libgcj-devel
1234 %defattr(644,root,root,755)
1235 %{_includedir}/c++/%{version}/java
1236 %{_includedir}/c++/%{version}/javax
1237 %{_includedir}/c++/%{version}/gcj
1238 %{_includedir}/c++/%{version}/gnu
1239 %{_libdir}/gcc/*/*/include/gcj
1240 %{_libdir}/gcc/*/*/include/jawt.h
1241 %{_libdir}/gcc/*/*/include/jawt_md.h
1242 %{_libdir}/gcc/*/*/include/jni.h
1243 %{_libdir}/gcc/*/*/include/jvmpi.h
1244 %dir %{_libdir}/security
1245 %{_libdir}/security/*
1246 %{_libdir}/lib*cj.spec
1247 %{_libdir}/lib*cj*.la
1248 %attr(755,root,root) %{_libdir}/lib*cj*.so
1249 %{_libdir}/libgij.la
1250 %attr(755,root,root) %{_libdir}/libgij.so
1251 %{_pkgconfigdir}/libgcj.pc
1252
1253 %files -n libgcj-static
1254 %defattr(644,root,root,755)
1255 %{_libdir}/lib*cj*.a
1256 %{_libdir}/libgij.a
1257
1258 %files -n libffi
1259 %defattr(644,root,root,755)
1260 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1261 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1262
1263 %files -n libffi-devel
1264 %defattr(644,root,root,755)
1265 %{_libdir}/gcc/*/*/include/ffitarget.h
1266 %attr(755,root,root) %{_libdir}/libffi.so
1267 %{_libdir}/libffi.la
1268 %{_includedir}/ffi.h
1269
1270 %files -n libffi-static
1271 %defattr(644,root,root,755)
1272 %{_libdir}/libffi.a
1273 %endif
1274
1275 %if %{with objc}
1276 %files objc
1277 %defattr(644,root,root,755)
1278 %doc gcc/objc/README
1279 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1280 %if %{with multilib}
1281 %attr(755,root,root) %{_libdir32}/libobjc.so
1282 %{_libdir32}/libobjc.la
1283 %endif
1284 %attr(755,root,root) %{_libdir}/libobjc.so
1285 %{_libdir}/libobjc.la
1286 %{_libdir}/gcc/*/*/include/objc
1287
1288 %files -n libobjc
1289 %defattr(644,root,root,755)
1290 %doc libobjc/{ChangeLog,README*}
1291 %if %{with multilib}
1292 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1293 %endif
1294 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1295
1296 %files -n libobjc-static
1297 %defattr(644,root,root,755)
1298 %if %{with multilib}
1299 %{_libdir32}/libobjc.a
1300 %endif
1301 %{_libdir}/libobjc.a
1302 %endif
1303
1304 %if %{with objcxx}
1305 %files objc++
1306 %defattr(644,root,root,755)
1307 %doc gcc/objcp/ChangeLog
1308 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus
1309 %endif
This page took 0.213304 seconds and 4 git commands to generate.