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