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