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