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