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