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