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