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