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