]> git.pld-linux.org Git - packages/gcc.git/blob - gcc.spec
- updated to 4.1.0-20051027T1624UTC, outdated patches removed.
[packages/gcc.git] / gcc.spec
1 #
2 # Conditional build:
3 %bcond_without  ada             # build without ADA support
4 %bcond_without  cxx             # build without C++ support
5 %bcond_without  fortran         # build without Fortran support
6 %bcond_without  java            # build without Java support
7 %bcond_without  objc            # build without Objective-C support
8 %bcond_without  objcxx          # build without Objective-C++ support
9 %bcond_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   20051027T1624UTC
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:  acf7417cdfad702aa4272ef3138d2be5
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 # PRs
59 Patch10:        %{name}-pr7776.patch
60 Patch11:        %{name}-pr20297.patch
61 Patch12:        %{name}-pr22429.patch
62 Patch13:        %{name}-pr22533.patch
63 Patch14:        %{name}-x87-mmx-switch.patch
64 Patch15:        %{name}-x87-mmx-eh.patch
65 Patch16:        %{name}-pr23948.patch
66 Patch17:        %{name}-pr19505.patch
67 Patch18:        %{name}-pr24419.patch
68 Patch19:        %{name}-pr24172.patch
69 Patch20:        %{name}-pr20928.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 # PRs
730 %patch10 -p1
731 %patch11 -p1
732 %patch12 -p1
733 %patch13 -p1
734 #patch14 -p1    NEEDS UPDATE
735 #patch15 -p1
736 %patch16 -p1
737 %patch17 -p1
738 %patch18 -p1
739 %patch19 -p1
740 %patch20 -p1
741
742 # because we distribute modified version of gcc...
743 perl -pi -e 's/(version.*)";/$1 (PLD Linux)";/' gcc/version.c
744 perl -pi -e 's@(bug_report_url.*<URL:).*";@$1http://bugs.pld-linux.org/>";@' gcc/version.c
745
746 mv ChangeLog ChangeLog.general
747
748 %build
749 cd gcc
750 %{__autoconf}
751 cd ..
752 cp -f /usr/share/automake/config.sub .
753
754 rm -rf obj-%{_target_platform}
755 install -d obj-%{_target_platform}
756 cd obj-%{_target_platform}
757
758 CFLAGS="%{rpmcflags}" \
759 CXXFLAGS="%{rpmcxxflags}" \
760 TEXCONFIG=false \
761 ../configure \
762         --prefix=%{_prefix} \
763         --libdir=%{_libdir} \
764         --libexecdir=%{_libdir} \
765         --infodir=%{_infodir} \
766         --mandir=%{_mandir} \
767         --enable-shared \
768         --enable-threads=posix \
769         --enable-__cxa_atexit \
770         --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,f95}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}" \
771         --enable-c99 \
772         --enable-long-long \
773         --%{?with_multilib:en}%{!?with_multilib:dis}able-multilib \
774         --enable-nls \
775         --disable-werror \
776         --with-gnu-as \
777         --with-gnu-ld \
778         --with-demangler-in-ld \
779         --with-system-zlib \
780         --with-slibdir=%{_slibdir} \
781         --without-x \
782         %{?with_fortran:--enable-cmath} \
783 %if %{with java}
784         --enable-libgcj \
785         --enable-libgcj-multifile \
786         --enable-libgcj-database \
787         --enable-gtk-cairo \
788 %endif
789         %{_target_platform}
790
791 cd ..
792
793 %{__make} -C obj-%{_target_platform} \
794         %{?with_bootstrap:%{?with_profiling:profiled}bootstrap} \
795         GCJFLAGS="%{rpmcflags}" \
796         BOOT_CFLAGS="%{rpmcflags}" \
797         STAGE1_CFLAGS="%{rpmcflags} -O0" \
798         LDFLAGS_FOR_TARGET="%{rpmldflags}" \
799         mandir=%{_mandir} \
800         infodir=%{_infodir}
801
802 %{?with_tests:%{__make} -k -C obj-%{_target_platform} check 2>&1 ||:}
803
804 %install
805 rm -rf $RPM_BUILD_ROOT
806 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
807
808 cd obj-%{_target_platform}
809
810 %{__make} -j1 install \
811         mandir=%{_mandir} \
812         infodir=%{_infodir} \
813         DESTDIR=$RPM_BUILD_ROOT
814
815 install gcc/specs $RPM_BUILD_ROOT%{_libdir}/gcc/%{_target_platform}/%{version}
816
817 %ifarch sparc64
818 ln -sf  %{_bindir}/sparc64-pld-linux-gcc \
819         $RPM_BUILD_ROOT%{_bindir}/sparc-pld-linux-gcc
820 %endif
821
822 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
823 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
824 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
825
826 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
827 mv $RPM_BUILD_ROOT{%{_libdir}/$libssp,%{_slibdir}}
828 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
829 %if %{with multilib}
830 libssp=$($RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*`)
831 mv $RPM_BUILD_ROOT{%{_libdir32}/$libssp,%{_slibdir32}}
832 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
833 %endif
834
835 %if %{with fortran}
836 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
837 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
838 %endif
839
840 %if %{with ada}
841 # move ada shared libraries to proper place...
842 mv -f   $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/adalib/*.so.1 \
843         $RPM_BUILD_ROOT%{_libdir}
844 # check if symlink to be made is valid
845 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so.1
846 ln -sf  libgnat-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-4.0.so
847 ln -sf  libgnarl-4.0.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-4.0.so
848 ln -sf  libgnat-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
849 ln -sf  libgnarl-4.0.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
850 %endif
851
852 cd ..
853
854 %if %{with java}
855 install -d java-doc
856 cp -f   libjava/READ* java-doc
857 cp -f   fastjar/README java-doc/README.fastjar
858 cp -f   libffi/README java-doc/README.libffi
859 cp -f   libffi/LICENSE java-doc/LICENSE.libffi
860 ln -sf  %{_javadir}/libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
861 %endif
862 %if %{with objc}
863 cp -f   libobjc/README gcc/objc/README.libobjc
864 %endif
865
866 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/*/%{version}
867 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
868 for f in libmudflap.la libmudflapth.la libssp.la \
869         %{?with_cxx:libstdc++.la libsupc++.la} \
870         %{?with_fortran:libgfortran.la libgfortranbegin.la} \
871         %{?with_java:libgcj.la libffi.la} \
872         %{?with_objc:libobjc.la};
873 do
874         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
875         mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
876 %if %{with multilib}
877         %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
878         mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
879 %endif
880 done
881
882 # include/ contains install-tools/include/* and headers that were fixed up
883 # by fixincludes, we don't want former
884 gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
885 mkdir   $gccdir/tmp
886
887 # we have to save these however
888 %{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
889 %{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
890 mv $gccdir/include/syslimits.h $gccdir/tmp
891 rm -rf $gccdir/include
892 mv $gccdir/tmp $gccdir/include
893 cp $gccdir/install-tools/include/*.h $gccdir/include
894 # but we don't want anything more from install-tools
895 rm -rf $gccdir/install-tools
896
897 %if %{with multilib}
898 ln -sf %{_slibdir32}/libgcc_s.so.1      $gccdir/32/libgcc_s.so
899 %endif
900 ln -sf %{_slibdir}/libgcc_s.so.1        $gccdir/libgcc_s.so
901
902 %find_lang gcc
903 %{?with_cxx:%find_lang libstdc\+\+}
904
905 # cvs snap doesn't contain (release does) below files,
906 # so let's create dummy entries to satisfy %%files.
907 [ ! -f NEWS ] && touch NEWS
908 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
909 [ ! -f libgfortran/README ] && touch libgfortran/README
910
911 %clean
912 rm -rf $RPM_BUILD_ROOT
913
914 %post
915 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
916
917 %postun
918 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
919
920 %post ada
921 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
922
923 %postun ada
924 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
925
926 %post fortran
927 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
928
929 %postun fortran
930 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
931
932 %post java
933 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
934
935 %postun java
936 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
937
938 %post   -p /sbin/ldconfig -n libgcc
939 %postun -p /sbin/ldconfig -n libgcc
940 %post   -p /sbin/ldconfig -n libmudflap
941 %postun -p /sbin/ldconfig -n libmudflap
942 %post   -p /sbin/ldconfig -n libgnat
943 %postun -p /sbin/ldconfig -n libgnat
944 %post   -p /sbin/ldconfig -n libstdc++
945 %postun -p /sbin/ldconfig -n libstdc++
946 %post   -p /sbin/ldconfig -n libgfortran
947 %postun -p /sbin/ldconfig -n libgfortran
948 %post   -p /sbin/ldconfig -n libgcj
949 %postun -p /sbin/ldconfig -n libgcj
950 %post   -p /sbin/ldconfig -n libffi
951 %postun -p /sbin/ldconfig -n libffi
952 %post   -p /sbin/ldconfig -n libobjc
953 %postun -p /sbin/ldconfig -n libobjc
954
955 %files -f gcc.lang
956 %defattr(644,root,root,755)
957 %doc ChangeLog.general MAINTAINERS NEWS
958 # bugs.html faq.html
959 %doc gcc/{ChangeLog,ONEWS,README.Portability}
960 %dir %{_libdir}/gcc
961 %dir %{_libdir}/gcc/*
962 %dir %{_libdir}/gcc/*/*
963 %dir %{_libdir}/gcc/*/*/include
964
965 %attr(755,root,root) %{_bindir}/*-gcc*
966 %attr(755,root,root) %{_bindir}/gcc
967 %attr(755,root,root) %{_bindir}/gccbug
968 %attr(755,root,root) %{_bindir}/gcov
969 %attr(755,root,root) %{_bindir}/cc
970 %attr(755,root,root) %{_bindir}/cpp
971
972 %{_includedir}/ssp
973
974 %{_mandir}/man1/cc.1*
975 %{_mandir}/man1/cpp.1*
976 %{_mandir}/man1/gcc.1*
977 %{_mandir}/man1/gcov.1*
978
979 %{_infodir}/cpp*
980 %{_infodir}/gcc*
981
982 %attr(755,root,root) /lib/cpp
983
984 %attr(755,root,root) %{_slibdir}/lib*.so
985 %{_libdir}/libssp.la
986 %attr(755,root,root) %{_libdir}/libssp.a
987 %attr(755,root,root) %{_libdir}/libssp.so
988 %{_libdir}/libssp_nonshared.a
989 %{_libdir}/libssp_nonshared.la
990 %if %{with multilib}
991 %dir %{_libdir}/gcc/*/*/32
992 %{_libdir}/gcc/*/*/32/libgcov.a
993 %{_libdir}/gcc/*/*/32/libgcc.a
994 %{_libdir}/gcc/*/*/32/libgcc_eh.a
995 %{_libdir}/gcc/*/*/32/libgcc_s.so
996 %{_libdir32}/libssp.la
997 %attr(755,root,root) %{_libdir32}/libssp.a
998 %attr(755,root,root) %{_libdir32}/libssp.so
999 %{_libdir32}/libssp_nonshared.a
1000 %{_libdir32}/libssp_nonshared.la
1001 %endif
1002 %{_libdir}/gcc/*/*/libgcov.a
1003 %{_libdir}/gcc/*/*/libgcc.a
1004 %{_libdir}/gcc/*/*/libgcc_eh.a
1005 %{_libdir}/gcc/*/*/libgcc_s.so
1006 %{_libdir}/gcc/*/*/specs
1007 %if %{with multilib}
1008 %{_libdir}/gcc/*/*/32/crt*.o
1009 %endif
1010 %{_libdir}/gcc/*/*/crt*.o
1011 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1
1012 %attr(755,root,root) %{_libdir}/gcc/*/*/collect2
1013
1014 %{_libdir}/gcc/*/*/include/*.h
1015
1016 %files -n libgcc
1017 %defattr(644,root,root,755)
1018 %if %{with multilib}
1019 %attr(755,root,root) %{_slibdir32}/lib*.so.*
1020 %endif
1021 %attr(755,root,root) %{_slibdir}/lib*.so.*
1022
1023 %files -n libmudflap
1024 %defattr(644,root,root,755)
1025 %if %{with multilib}
1026 %attr(755,root,root) %{_libdir32}/libmudflap*.so.*.*.*
1027 %endif
1028 %attr(755,root,root) %{_libdir}/libmudflap*.so.*.*.*
1029
1030 %files -n libmudflap-devel
1031 %defattr(644,root,root,755)
1032 %{_includedir}/mf-runtime.h
1033 %if %{with multilib}
1034 %{_libdir32}/libmudflap*.la
1035 %attr(755,root,root) %{_libdir32}/libmudflap*.so
1036 %endif
1037 %{_libdir}/libmudflap*.la
1038 %attr(755,root,root) %{_libdir}/libmudflap*.so
1039
1040 %files -n libmudflap-static
1041 %defattr(644,root,root,755)
1042 %if %{with multilib}
1043 %{_libdir32}/libmudflap*.a
1044 %endif
1045 %{_libdir}/libmudflap*.a
1046
1047 %if %{with ada}
1048 %files ada
1049 %defattr(644,root,root,755)
1050 %doc gcc/ada/ChangeLog
1051 %attr(755,root,root) %{_bindir}/gnat*
1052 %attr(755,root,root) %{_bindir}/gpr*
1053 %attr(755,root,root) %{_libdir}/libgnarl*.so
1054 %attr(755,root,root) %{_libdir}/libgnat*.so
1055 %attr(755,root,root) %{_libdir}/gcc/*/*/gnat1
1056 %{_libdir}/gcc/*/*/adainclude
1057 %dir %{_libdir}/gcc/*/*/adalib
1058 %{_libdir}/gcc/*/*/adalib/*.ali
1059 %{_libdir}/gcc/*/*/adalib/g-trasym.o
1060 %{_libdir}/gcc/*/*/adalib/libgccprefix.a
1061 %ifarch %{ix86}
1062 %{_libdir}/gcc/*/*/adalib/libgmem.a
1063 %endif
1064 %{_infodir}/gnat*
1065
1066 %files -n libgnat
1067 %defattr(644,root,root,755)
1068 %attr(755,root,root) %{_libdir}/libgnarl*.so.1
1069 %attr(755,root,root) %{_libdir}/libgnat*.so.1
1070
1071 %files -n libgnat-static
1072 %defattr(644,root,root,755)
1073 %{_libdir}/gcc/*/*/adalib/libgnarl.a
1074 %{_libdir}/gcc/*/*/adalib/libgnat.a
1075 %endif
1076
1077 %if %{with cxx}
1078 %files c++
1079 %defattr(644,root,root,755)
1080 %doc gcc/cp/{ChangeLog,NEWS}
1081 %attr(755,root,root) %{_bindir}/g++
1082 %attr(755,root,root) %{_bindir}/*-g++
1083 %attr(755,root,root) %{_bindir}/c++
1084 %attr(755,root,root) %{_bindir}/*-c++
1085 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1plus
1086 %if %{with multilib}
1087 %{_libdir32}/libsupc++.a
1088 %{_libdir32}/libsupc++.la
1089 %endif
1090 %{_libdir}/libsupc++.a
1091 %{_libdir}/libsupc++.la
1092 %{_mandir}/man1/g++.1*
1093
1094 %files -n libstdc++ -f libstdc++.lang
1095 %defattr(644,root,root,755)
1096 %doc libstdc++-v3/{ChangeLog,README}
1097 %if %{with multilib}
1098 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
1099 %endif
1100 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
1101
1102 %files -n libstdc++-devel
1103 %defattr(644,root,root,755)
1104 %doc libstdc++-v3/docs/html
1105 %dir %{_includedir}/c++
1106 %{_includedir}/c++/%{version}
1107 %if %{with java}
1108 %exclude %{_includedir}/c++/%{version}/java
1109 %exclude %{_includedir}/c++/%{version}/javax
1110 %exclude %{_includedir}/c++/%{version}/gcj
1111 %exclude %{_includedir}/c++/%{version}/gnu
1112 %endif
1113 %ifnarch sparc
1114 %exclude %{_includedir}/c++/%{version}/*/bits/stdc++.h.gch
1115 %endif
1116 %if %{with multilib}
1117 %{_libdir32}/libstdc++.la
1118 %attr(755,root,root) %{_libdir32}/libstdc++.so
1119 %endif
1120 %{_libdir}/libstdc++.la
1121 %attr(755,root,root) %{_libdir}/libstdc++.so
1122
1123 %files -n libstdc++-static
1124 %defattr(644,root,root,755)
1125 %if %{with multilib}
1126 %{_libdir32}/libstdc++.a
1127 %endif
1128 %{_libdir}/libstdc++.a
1129 %endif
1130
1131 %if %{with fortran}
1132 %files fortran
1133 %defattr(644,root,root,755)
1134 %doc gcc/fortran/ChangeLog
1135 %attr(755,root,root) %{_bindir}/g95
1136 %attr(755,root,root) %{_bindir}/gfortran
1137 %{_infodir}/gfortran*
1138 %attr(755,root,root) %{_libdir}/gcc/*/*/f951
1139 %if %{with multilib}
1140 %{_libdir32}/libgfortranbegin.a
1141 %{_libdir32}/libgfortranbegin.la
1142 %{_libdir32}/libgfortran.la
1143 %attr(755,root,root) %{_libdir32}/libgfortran.so
1144 %endif
1145 %{_libdir}/libgfortranbegin.a
1146 %{_libdir}/libgfortranbegin.la
1147 %{_libdir}/libgfortran.la
1148 %attr(755,root,root) %{_libdir}/libgfortran.so
1149 %{_mandir}/man1/g95.1*
1150 %{_mandir}/man1/gfortran.1*
1151
1152 %files -n libgfortran
1153 %defattr(644,root,root,755)
1154 %doc libgfortran/{AUTHORS,README,ChangeLog}
1155 %if %{with multilib}
1156 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
1157 %endif
1158 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
1159
1160 %files -n libgfortran-static
1161 %defattr(644,root,root,755)
1162 %if %{with multilib}
1163 %{_libdir32}/libgfortran.a
1164 %endif
1165 %{_libdir}/libgfortran.a
1166 %endif
1167
1168 %if %{with java}
1169 %files java
1170 %defattr(644,root,root,755)
1171 %doc gcc/java/ChangeLog java-doc/*
1172 %attr(755,root,root) %{_bindir}/fastjar
1173 %attr(755,root,root) %{_bindir}/gcj*
1174 %attr(755,root,root) %{_bindir}/gjnih
1175 %attr(755,root,root) %{_bindir}/grepjar
1176 %attr(755,root,root) %{_bindir}/grmi*
1177 %attr(755,root,root) %{_bindir}/jcf-dump
1178 %attr(755,root,root) %{_bindir}/jv-*
1179 %attr(755,root,root) %{_bindir}/*-gcj*
1180 %attr(755,root,root) %{_libdir}/gcc/*/*/jc1
1181 %attr(755,root,root) %{_libdir}/gcc/*/*/jvgenmain
1182 %{_infodir}/fastjar*
1183 %{_infodir}/gcj*
1184 %{_mandir}/man1/fastjar*
1185 %{_mandir}/man1/gcj*
1186 %{_mandir}/man1/gjnih*
1187 %{_mandir}/man1/grepjar*
1188 %{_mandir}/man1/grmi*
1189 %{_mandir}/man1/jcf-*
1190 %{_mandir}/man1/jv-*
1191
1192 %files -n libgcj
1193 %defattr(644,root,root,755)
1194 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
1195 %attr(755,root,root) %{_bindir}/addr2name.awk
1196 %attr(755,root,root) %{_bindir}/gij
1197 %dir %{_libdir}/gcj-%{version}
1198 %{_libdir}/gcj-%{version}/classmap.db
1199 %attr(755,root,root) %{_libdir}/lib*cj*.so.*.*.*
1200 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
1201 %{_libdir}/logging.properties
1202 %{_javadir}/libgcj*.jar
1203 %{_mandir}/man1/gij*
1204
1205 %files -n libgcj-devel
1206 %defattr(644,root,root,755)
1207 %{_includedir}/c++/%{version}/java
1208 %{_includedir}/c++/%{version}/javax
1209 %{_includedir}/c++/%{version}/gcj
1210 %{_includedir}/c++/%{version}/gnu
1211 %{_libdir}/gcc/*/*/include/gcj
1212 %{_libdir}/gcc/*/*/include/jawt.h
1213 %{_libdir}/gcc/*/*/include/jawt_md.h
1214 %{_libdir}/gcc/*/*/include/jni.h
1215 %{_libdir}/gcc/*/*/include/jvmpi.h
1216 %dir %{_libdir}/security
1217 %{_libdir}/security/*
1218 %{_libdir}/lib*cj.spec
1219 %{_libdir}/lib*cj*.la
1220 %attr(755,root,root) %{_libdir}/lib*cj*.so
1221 %{_libdir}/libgij.la
1222 %attr(755,root,root) %{_libdir}/libgij.so
1223 %{_pkgconfigdir}/libgcj.pc
1224
1225 %files -n libgcj-static
1226 %defattr(644,root,root,755)
1227 %{_libdir}/lib*cj*.a
1228 %{_libdir}/libgij.a
1229
1230 %files -n libffi
1231 %defattr(644,root,root,755)
1232 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
1233 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
1234
1235 %files -n libffi-devel
1236 %defattr(644,root,root,755)
1237 %{_libdir}/gcc/*/*/include/ffitarget.h
1238 %attr(755,root,root) %{_libdir}/libffi.so
1239 %{_libdir}/libffi.la
1240 %{_includedir}/ffi.h
1241
1242 %files -n libffi-static
1243 %defattr(644,root,root,755)
1244 %{_libdir}/libffi.a
1245 %endif
1246
1247 %if %{with objc}
1248 %files objc
1249 %defattr(644,root,root,755)
1250 %doc gcc/objc/README
1251 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1obj
1252 %if %{with multilib}
1253 %attr(755,root,root) %{_libdir32}/libobjc.so
1254 %{_libdir32}/libobjc.la
1255 %endif
1256 %attr(755,root,root) %{_libdir}/libobjc.so
1257 %{_libdir}/libobjc.la
1258 %{_libdir}/gcc/*/*/include/objc
1259
1260 %files -n libobjc
1261 %defattr(644,root,root,755)
1262 %doc libobjc/{ChangeLog,README*}
1263 %if %{with multilib}
1264 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
1265 %endif
1266 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
1267
1268 %files -n libobjc-static
1269 %defattr(644,root,root,755)
1270 %if %{with multilib}
1271 %{_libdir32}/libobjc.a
1272 %endif
1273 %{_libdir}/libobjc.a
1274 %endif
1275
1276 %if %{with objcxx}
1277 %files objc++
1278 %defattr(644,root,root,755)
1279 %doc gcc/objcp/ChangeLog
1280 %attr(755,root,root) %{_libdir}/gcc/*/*/cc1objplus
1281 %endif
This page took 0.165552 seconds and 4 git commands to generate.