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