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