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