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