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