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