]> TLD Linux GIT Repositories - packages/gcc.git/blob - gcc.spec
- __i686.get_pc_thunk.bx undefined in libgo on i586
[packages/gcc.git] / gcc.spec
1 # NOTE: despite lower soname, libffi is newer than standalone 3.0.9
2 #
3 # TODO:
4 # - gconf peer? (but libgcj needs split anyway)
5 # - package?
6 #   /usr/bin/gjdoc [BR: antlr.jar] (but see gjdoc package, there are some additional jars?)
7 #   /usr/share/man/man1/gjdoc.1.gz
8 #
9 # Conditional build:
10 # - languages:
11 %bcond_without  ada             # build without ADA support
12 %bcond_without  cxx             # build without C++ support
13 %bcond_without  fortran         # build without Fortran support
14 %bcond_without  go              # build without Go support
15 %bcond_without  java            # build without Java support
16 %bcond_without  objc            # build without Objective-C support
17 %bcond_without  objcxx          # build without Objective-C++ support
18 # - features:
19 %bcond_without  gomp            # build without OpenMP support
20 %bcond_without  mudflap         # build without Mudflap pointer debugging support
21 %bcond_without  multilib        # build without multilib support (it needs glibc[32&64]-devel)
22 %bcond_with     profiling       # build with profiling
23 %bcond_without  python          # build without libstdc++ printers for gdb and aot-compile for java
24 # - libgcj options:
25 %bcond_without  alsa            # don't build libgcj ALSA MIDI interface
26 %bcond_without  dssi            # don't build libgcj DSSI MIDI interface
27 %bcond_without  gtk             # don't build libgcj GTK peer
28 %bcond_without  apidocs         # do not build and package API docs
29 %bcond_with     mozilla         # build libgcjwebplugin (needs fix for new xulrunner)
30 %bcond_with     qt              # build libgcj Qt peer (currently doesn't build with libtool-2.x)
31 %bcond_without  x               # don't build libgcj Xlib-dependent AWTs (incl. GTK/Qt)
32 # - other:
33 %bcond_without  bootstrap       # omit 3-stage bootstrap
34 %bcond_with     tests           # torture gcc
35
36 %if %{without cxx}
37 %undefine       with_go
38 %undefine       with_java
39 %undefine       with_objcxx
40 %endif
41
42 %if %{without objc}
43 %undefine       with_objcxx
44 %endif
45
46 %if %{without bootstrap}
47 %undefine       with_profiling
48 %endif
49
50 %if %{without x}
51 %undefine       with_gtk
52 %undefine       with_qt
53 %endif
54
55 %ifnarch %{x8664}
56 %undefine       with_multilib
57 %endif
58
59 %ifarch i386 i486 i586
60 # __i686.get_pc_thunk.bx undefined in libgo (TODO: recheck on gcc updates)
61 %undefine       with_go
62 %endif
63
64 %define         major_ver       4.6
65 %define         minor_ver       3
66 %define         major_ecj_ver   4.5
67 # class data version seen with file(1) that this jvm is able to load
68 %define         _classdataversion 50.0
69 %define         gcj_soname_ver  12
70
71 Summary:        GNU Compiler Collection: the C compiler and shared files
72 Summary(es.UTF-8):      Colección de compiladores GNU: el compilador C y ficheros compartidos
73 Summary(pl.UTF-8):      Kolekcja kompilatorów GNU: kompilator C i pliki współdzielone
74 Summary(pt_BR.UTF-8):   Coleção dos compiladores GNU: o compilador C e arquivos compartilhados
75 Name:           gcc
76 Version:        %{major_ver}.%{minor_ver}
77 Release:        5
78 Epoch:          6
79 License:        GPL v3+
80 Group:          Development/Languages
81 Source0:        ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
82 # Source0-md5:  773092fe5194353b02bb0110052a972e
83 Source1:        %{name}-optimize-la.pl
84 Source2:        ftp://sourceware.org/pub/java/ecj-%{major_ecj_ver}.jar
85 # Source2-md5:  d7cd6a27c8801e66cbaa964a039ecfdb
86 # check libffi version with libffi/configure.ac
87 Source3:        libffi.pc.in
88 # svn diff -x --ignore-eol-style svn://gcc.gnu.org/svn/gcc/tags/gcc_4_6_3_release svn://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch > gcc-branch.diff
89 Patch100:       %{name}-branch.diff
90 Patch0:         %{name}-info.patch
91 Patch2:         %{name}-nodebug.patch
92 Patch3:         %{name}-ada-link.patch
93 Patch7:         %{name}-libjava-multilib.patch
94 Patch8:         %{name}-enable-java-awt-qt.patch
95 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41757
96 Patch12:        %{name}-plugin-decl-hook.patch
97 Patch13:        issue4664051.patch
98 Patch14:        %{name}-extern-template-sed.patch
99 URL:            http://gcc.gnu.org/
100 BuildRequires:  autoconf >= 2.64
101 %{?with_tests:BuildRequires:    autogen}
102 BuildRequires:  automake >= 1:1.9.3
103 # binutils 2.17.50.0.9 or newer are required for fixing PR middle-end/20218.
104 BuildRequires:  binutils >= 3:2.17.50.0.9-1
105 BuildRequires:  bison
106 BuildRequires:  chrpath >= 0.13-2
107 BuildRequires:  cloog-ppl-devel
108 %{?with_tests:BuildRequires:    dejagnu}
109 BuildRequires:  elfutils-devel >= 0.145-1
110 BuildRequires:  fileutils >= 4.0.41
111 BuildRequires:  flex
112 %if %{with ada}
113 BuildRequires:  gcc(ada)
114 BuildRequires:  gcc-ada
115 %endif
116 BuildRequires:  gettext-devel
117 BuildRequires:  glibc-devel >= 6:2.4-1
118 %if %{with multilib}
119 BuildRequires:  gcc(multilib)
120 %ifarch %{x8664}
121 BuildRequires:  glibc-devel(i686)
122 %endif
123 %endif
124 BuildRequires:  gmp-devel >= 4.1
125 BuildRequires:  libmpc-devel
126 BuildRequires:  mpfr-devel >= 2.3.0
127 BuildRequires:  ppl-devel
128 %if %{with python}
129 BuildRequires:  python-devel
130 BuildRequires:  rpm-pythonprov
131 %endif
132 BuildRequires:  rpmbuild(macros) >= 1.211
133 BuildRequires:  texinfo >= 4.1
134 BuildRequires:  zlib-devel
135 %if %{with java}
136 %{?with_alsa:BuildRequires:     alsa-lib-devel}
137 %if %{with dssi}
138 BuildRequires:  dssi-devel
139 BuildRequires:  jack-audio-connection-kit-devel
140 %endif
141 BuildRequires:  libxml2-devel >= 1:2.6.8
142 BuildRequires:  libxslt-devel >= 1.1.11
143 BuildRequires:  perl-base
144 BuildRequires:  perl-tools-pod
145 BuildRequires:  pkgconfig
146 BuildRequires:  sed >= 4.0
147 BuildRequires:  unzip
148 BuildRequires:  zip
149 %if %{with gtk}
150 BuildRequires:  cairo-devel >= 0.5.0
151 BuildRequires:  gtk+2-devel >= 2:2.4.0
152 BuildRequires:  libart_lgpl-devel
153 BuildRequires:  pango-devel
154 BuildRequires:  xorg-lib-libXt-devel
155 BuildRequires:  xorg-lib-libXtst-devel
156 %endif
157 %if %{with qt}
158 BuildRequires:  QtGui-devel >= 4.0.1
159 BuildRequires:  qt4-build >= 4.0.1
160 %endif
161 %{?with_mozilla:BuildRequires:  xulrunner-devel >= 1.8.1.3-1.20070321.5}
162 %endif
163 BuildConflicts: pdksh < 5.2.14-50
164 Requires:       binutils >= 3:2.20.51.0.2
165 Requires:       libgcc = %{epoch}:%{version}-%{release}
166 Provides:       cpp = %{epoch}:%{version}-%{release}
167 %{?with_ada:Provides:   gcc(ada)}
168 Obsoletes:      cpp
169 Obsoletes:      egcs-cpp
170 Obsoletes:      gcc-chill
171 Obsoletes:      gcc-cpp
172 Obsoletes:      gcc-ksi
173 Obsoletes:      gcc4
174 Obsoletes:      gont
175 Conflicts:      glibc-devel < 2.2.5-20
176 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
177
178 %define         _slibdir        /%{_lib}
179 %if %{with multilib}
180 # 32-bit environment on x86-64
181 %define         _slibdir32      /lib
182 %define         _libdir32       /usr/lib
183 %define         _pkgconfigdir32 %{_libdir32}/pkgconfig
184 %endif
185 %define         gcclibdir       %{_libdir}/gcc/%{_target_platform}/%{version}
186 %define         gcjdbexecdir    gcj-%{version}-%{gcj_soname_ver}
187
188 %define         filterout       -fwrapv -fno-strict-aliasing -fsigned-char
189 %define         filterout_ld    -Wl,--as-needed
190
191 %define         skip_post_check_so      '.*(libmudflap|libmudflapth|libxmlj|lib-gnu-awt-xlib)\.so.*'
192
193 %description
194 A compiler aimed at integrating all the optimizations and features
195 necessary for a high-performance and stable development environment.
196
197 This package contains the C compiler and some files shared by various
198 parts of the GNU Compiler Collection. In order to use another GCC
199 compiler you will need to install the appropriate subpackage.
200
201 %description -l es.UTF-8
202 Un compilador que intenta integrar todas las optimalizaciones y
203 características necesarias para un entorno de desarrollo eficaz y
204 estable.
205
206 Este paquete contiene el compilador de C y unos ficheros compartidos
207 por varias partes de la colección de compiladores GNU (GCC). Para usar
208 otro compilador de GCC será necesario que instale el subpaquete
209 adecuado.
210
211 %description -l pl.UTF-8
212 Kompilator, posiadający duże możliwości optymalizacyjne niezbędne do
213 wyprodukowania szybkiego i stabilnego kodu wynikowego.
214
215 Ten pakiet zawiera kompilator C i pliki współdzielone przez różne
216 części kolekcji kompilatorów GNU (GCC). Żeby używać innego kompilatora
217 z GCC, trzeba zainstalować odpowiedni podpakiet.
218
219 %description -l pt_BR.UTF-8
220 Este pacote adiciona infraestrutura básica e suporte a linguagem C ao
221 GNU Compiler Collection.
222
223 %package multilib
224 Summary:        GNU Compiler Collection: the C compiler 32-bit support
225 Summary(pl.UTF-8):      Kolekcja kompilatorów GNU: obsługa binariów 32-bitowych dla kompilatora C
226 License:        GPL v3+
227 Group:          Development/Languages
228 Requires:       %{name}
229 Requires:       libgcc-multilib = %{epoch}:%{version}-%{release}
230 %{?with_multilib:Provides:      gcc(multilib)}
231 Obsoletes:      libgcc32
232 %ifarch %{x8664}
233 Requires:       glibc-devel(i686)
234 %endif
235
236 %description multilib
237 A compiler aimed at integrating all the optimizations and features
238 necessary for a high-performance and stable development environment.
239
240 This package contains the C compiler support for producing 32-bit
241 programs on 64-bit host.
242
243 %description multilib -l pl.UTF-8
244 Kompilator, posiadający duże możliwości optymalizacyjne niezbędne do
245 wyprodukowania szybkiego i stabilnego kodu wynikowego.
246
247 Ten pakiet zawiera rozszerzenie kompilatora C o obsługę tworzenia
248 programów 32-bitowych na maszynie 64-bitowej.
249
250 %package -n libgcc
251 Summary:        Shared gcc library
252 Summary(es.UTF-8):      Biblioteca compartida de gcc
253 Summary(pl.UTF-8):      Biblioteka gcc
254 Summary(pt_BR.UTF-8):   Biblioteca runtime para o GCC
255 License:        GPL v2+ with unlimited link permission
256 Group:          Libraries
257 Obsoletes:      libgcc1
258 Obsoletes:      libgcc4
259
260 %description -n libgcc
261 Shared gcc library.
262
263 %description -n libgcc -l es.UTF-8
264 Biblioteca compartida de gcc.
265
266 %description -n libgcc -l pl.UTF-8
267 Biblioteka dynamiczna gcc.
268
269 %description -n libgcc -l pt_BR.UTF-8
270 Biblioteca runtime para o GCC.
271
272 %package -n libgcc-multilib
273 Summary:        Shared gcc library - 32-bit version
274 Summary(pl.UTF-8):      Biblioteka gcc - wersja 32-bitowa
275 License:        GPL v2+ with unlimited link permission
276 Group:          Libraries
277
278 %description -n libgcc-multilib
279 Shared gcc library - 32-bit version.
280
281 %description -n libgcc-multilib -l pl.UTF-8
282 Biblioteka dynamiczna gcc - wersja 32-bitowa.
283
284 %package -n libgomp
285 Summary:        GNU OpenMP library
286 Summary(pl.UTF-8):      Biblioteka GNU OpenMP
287 License:        LGPL v2.1+ with unlimited link permission
288 Group:          Libraries
289
290 %description -n libgomp
291 GNU OpenMP library.
292
293 %description -n libgomp -l pl.UTF-8
294 Biblioteka GNU OpenMP.
295
296 %package -n libgomp-multilib
297 Summary:        GNU OpenMP library - 32-bit version
298 Summary(pl.UTF-8):      Biblioteka GNU OpenMP - wersja 32-bitowa
299 License:        LGPL v2.1+ with unlimited link permission
300 Group:          Libraries
301
302 %description -n libgomp-multilib
303 GNU OpenMP library - 32-bit version.
304
305 %description -n libgomp-multilib -l pl.UTF-8
306 Biblioteka GNU OpenMP - wersja 32-bitowa.
307
308 %package -n libgomp-devel
309 Summary:        Development files for GNU OpenMP library
310 Summary(pl.UTF-8):      Pliki programistyczne biblioteki GNU OpenMP
311 License:        LGPL v2.1+ with unlimited link permission
312 Group:          Development/Libraries
313 Requires:       %{name} = %{epoch}:%{version}-%{release}
314 Requires:       libgomp = %{epoch}:%{version}-%{release}
315
316 %description -n libgomp-devel
317 Development files for GNU OpenMP library.
318
319 %description -n libgomp-devel -l pl.UTF-8
320 Pliki programistyczne biblioteki GNU OpenMP.
321
322 %package -n libgomp-multilib-devel
323 Summary:        Development files for 32-bit version of GNU OpenMP library
324 Summary(pl.UTF-8):      Pliki programistyczne wersji 32-bitowej biblioteki GNU OpenMP
325 License:        LGPL v2.1+ with unlimited link permission
326 Group:          Development/Libraries
327 Requires:       libgomp-devel = %{epoch}:%{version}-%{release}
328
329 %description -n libgomp-multilib-devel
330 Development files for 32-bit version of GNU OpenMP library.
331
332 %description -n libgomp-multilib-devel -l pl.UTF-8
333 Pliki programistyczne wersji 32-bitowej biblioteki GNU OpenMP.
334
335 %package -n libgomp-static
336 Summary:        Static GNU OpenMP library
337 Summary(pl.UTF-8):      Statyczna biblioteka GNU OpenMP
338 License:        LGPL v2.1+ with unlimited link permission
339 Group:          Development/Libraries
340 Requires:       libgomp-devel = %{epoch}:%{version}-%{release}
341
342 %description -n libgomp-static
343 Static GNU OpenMP library.
344
345 %description -n libgomp-static -l pl.UTF-8
346 Statyczna biblioteka GNU OpenMP.
347
348 %package -n libgomp-multilib-static
349 Summary:        Static GNU OpenMP library - 32-bit version
350 Summary(pl.UTF-8):      Statyczna biblioteka GNU OpenMP - wersja 32-bitowa
351 License:        LGPL v2.1+ with unlimited link permission
352 Group:          Development/Libraries
353 Requires:       libgomp-multilib-devel
354
355 %description -n libgomp-multilib-static
356 Static GNU OpenMP library - 32-bit version.
357
358 %description -n libgomp-multilib-static -l pl.UTF-8
359 Statyczna biblioteka GNU OpenMP - wersja 32-bitowa.
360
361 %package -n libmudflap
362 Summary:        GCC mudflap shared support libraries
363 Summary(pl.UTF-8):      Współdzielone biblioteki wspomagająca GCC mudflap
364 License:        GPL v2+ with unlimited link permission
365 Group:          Libraries
366
367 %description -n libmudflap
368 The libmudflap libraries are used by GCC for instrumenting pointer and
369 array dereferencing operations.
370
371 %description -n libmudflap -l pl.UTF-8
372 Biblioteki libmudflap są używane przez GCC do obsługi operacji
373 dereferencji wspaźników i tablic.
374
375 %package -n libmudflap-multilib
376 Summary:        GCC mudflap shared support libraries - 32-bit version
377 Summary(pl.UTF-8):      Współdzielone biblioteki wspomagająca GCC mudflap - wersja 32-bitowa
378 License:        GPL v2+ with unlimited link permission
379 Group:          Libraries
380
381 %description -n libmudflap-multilib
382 The libmudflap libraries are used by GCC for instrumenting pointer and
383 array dereferencing operations. This package contains 32-bit version.
384
385 %description -n libmudflap-multilib -l pl.UTF-8
386 Biblioteki libmudflap są używane przez GCC do obsługi operacji
387 dereferencji wspaźników i tablic. Ten pakiet zawiera wersje 32-bitowe.
388
389 %package -n libmudflap-devel
390 Summary:        Development files for GCC mudflap libraries
391 Summary(pl.UTF-8):      Pliki programistyczne bibliotek GCC mudflap
392 License:        GPL v2+ with unlimited link permission
393 Group:          Development/Libraries
394 Requires:       libmudflap = %{epoch}:%{version}-%{release}
395
396 %description -n libmudflap-devel
397 The libmudflap libraries are used by GCC for instrumenting pointer and
398 array dereferencing operations. This package contains development
399 files.
400
401 %description -n libmudflap-devel -l pl.UTF-8
402 Biblioteki libmudflap są używane przez GCC do obsługi operacji
403 dereferencji wspaźników i tablic. Ten pakiet zawiera pliki
404 programistyczne.
405
406 %package -n libmudflap-multilib-devel
407 Summary:        Development files for 32-bit version of GCC mudflap libraries
408 Summary(pl.UTF-8):      Pliki programistyczne wersji 32-bitowych bibliotek GCC mudflap
409 License:        GPL v2+ with unlimited link permission
410 Group:          Development/Libraries
411 Requires:       libmudflap-devel = %{epoch}:%{version}-%{release}
412
413 %description -n libmudflap-multilib-devel
414 The libmudflap libraries are used by GCC for instrumenting pointer and
415 array dereferencing operations. This package contains development
416 files for 32-bit version of the libraries.
417
418 %description -n libmudflap-multilib-devel -l pl.UTF-8
419 Biblioteki libmudflap są używane przez GCC do obsługi operacji
420 dereferencji wspaźników i tablic. Ten pakiet zawiera pliki
421 programistyczne wersji 32-bitowych bibliotek.
422
423 %package -n libmudflap-static
424 Summary:        Static GCC mudflap libraries
425 Summary(pl.UTF-8):      Statyczne biblioteki GCC mudflap
426 License:        GPL v2+ with unlimited link permission
427 Group:          Development/Libraries
428 Requires:       libmudflap-devel = %{epoch}:%{version}-%{release}
429
430 %description -n libmudflap-static
431 The libmudflap libraries are used by GCC for instrumenting pointer and
432 array dereferencing operations. This package contains static
433 libraries.
434
435 %description -n libmudflap-static -l pl.UTF-8
436 Biblioteki libmudflap są używane przez GCC do obsługi operacji
437 dereferencji wspaźników i tablic. Ten pakiet zawiera biblioteki
438 statyczne.
439
440 %package -n libmudflap-multilib-static
441 Summary:        Static GCC mudflap libraries - 32-bit version
442 Summary(pl.UTF-8):      Statyczne biblioteki GCC mudflap - wersje 32-bitowa
443 License:        GPL v2+ with unlimited link permission
444 Group:          Development/Libraries
445 Requires:       libmudflap-multilib-devel = %{epoch}:%{version}-%{release}
446
447 %description -n libmudflap-multilib-static
448 The libmudflap libraries are used by GCC for instrumenting pointer and
449 array dereferencing operations. This package contains 32-bit static
450 libraries.
451
452 %description -n libmudflap-multilib-static -l pl.UTF-8
453 Biblioteki libmudflap są używane przez GCC do obsługi operacji
454 dereferencji wspaźników i tablic. Ten pakiet zawiera biblioteki
455 statyczne 32-bitowe.
456
457 %package ada
458 Summary:        Ada support for gcc
459 Summary(es.UTF-8):      Soporte de Ada para gcc
460 Summary(pl.UTF-8):      Obsługa Ady do gcc
461 Group:          Development/Languages
462 Requires:       %{name} = %{epoch}:%{version}-%{release}
463 Requires:       libgnat = %{epoch}:%{version}-%{release}
464 Obsoletes:      gcc-gnat
465 Obsoletes:      gnat-devel
466
467 %description ada
468 This package adds experimental support for compiling Ada programs.
469
470 %description ada -l es.UTF-8
471 Este paquete añade soporte experimental para compilar programas en
472 Ada.
473
474 %description ada -l pl.UTF-8
475 Ten pakiet dodaje eksperymentalne wsparcie dla kompilacji programów w
476 Adzie.
477
478 %package ada-multilib
479 Summary:        Ada 32-bit support for gcc
480 Summary(pl.UTF-8):      Obsługa 32-bitowych binariów Ady dla gcc
481 Group:          Development/Languages
482 Requires:       %{name}-ada = %{epoch}:%{version}-%{release}
483 Requires:       libgnat-multilib = %{epoch}:%{version}-%{release}
484
485 %description ada-multilib
486 This package adds experimental support for compiling 32-bit Ada
487 programs on 64-bit host.
488
489 %description ada-multilib -l pl.UTF-8
490 Ten pakiet dodaje eksperymentalną obsługę kompilacji programów
491 32-bitowych w Adzie na maszynie 64-bitowej.
492
493 %package -n libgnat
494 Summary:        Ada standard libraries
495 Summary(es.UTF-8):      Bibliotecas estándares de Ada
496 Summary(pl.UTF-8):      Biblioteki standardowe dla Ady
497 License:        GPL v2+ with linking exception
498 Group:          Libraries
499 Obsoletes:      gnat
500 Obsoletes:      libgnat1
501
502 %description -n libgnat
503 This package contains shared libraries needed to run programs written
504 in Ada.
505
506 %description -n libgnat -l es.UTF-8
507 Este paquete contiene las bibliotecas compartidas necesarias para
508 ejecutar programas escritos en Ada.
509
510 %description -n libgnat -l pl.UTF-8
511 Ten pakiet zawiera biblioteki potrzebne do uruchamiania programów
512 napisanych w Adzie.
513
514 %package -n libgnat-multilib
515 Summary:        Ada standard libraries - 32-bit version
516 Summary(pl.UTF-8):      Biblioteki standardowe dla Ady - wersja 32-bitowa
517 License:        GPL v2+ with linking exception
518 Group:          Libraries
519
520 %description -n libgnat-multilib
521 This package contains 32-bit version of shared libraries needed to run
522 programs written in Ada.
523
524 %description -n libgnat-multilib -l pl.UTF-8
525 Ten pakiet zawiera wersje 32-bitowe bibliotek potrzebnych do
526 uruchamiania programów napisanych w Adzie.
527
528 %package -n libgnat-static
529 Summary:        Static Ada standard libraries
530 Summary(pl.UTF-8):      Statyczne biblioteki standardowe dla Ady
531 License:        GPL v2+ with linking exception
532 Group:          Development/Libraries
533 Obsoletes:      gnat-static
534
535 %description -n libgnat-static
536 This package contains static libraries for programs written in Ada.
537
538 %description -n libgnat-static -l pl.UTF-8
539 Ten pakiet zawiera biblioteki statyczne dla programów napisanych w
540 Adzie.
541
542 %package -n libgnat-multilib-static
543 Summary:        Static Ada standard libraries - 32-bit version
544 Summary(pl.UTF-8):      Statyczne biblioteki standardowe dla Ady - wersje 32-bitowe
545 License:        GPL v2+ with linking exception
546 Group:          Development/Libraries
547
548 %description -n libgnat-multilib-static
549 This package contains 32-bit version of static libraries for programs
550 written in Ada.
551
552 %description -n libgnat-multilib-static -l pl.UTF-8
553 Ten pakiet zawiera 32-bitowe wersje bibliotek statycznych dla
554 programów napisanych w Adzie.
555
556 %package c++
557 Summary:        C++ support for gcc
558 Summary(es.UTF-8):      Soporte de C++ para gcc
559 Summary(pl.UTF-8):      Obsługa C++ dla gcc
560 Summary(pt_BR.UTF-8):   Suporte C++ para o gcc
561 Group:          Development/Languages
562 Requires:       %{name} = %{epoch}:%{version}-%{release}
563 Obsoletes:      egcc-c++
564 Obsoletes:      egcs-c++
565 Obsoletes:      gcc4-c++
566
567 %description c++
568 This package adds C++ support to the GNU Compiler Collection. It
569 includes support for most of the current C++ specification, including
570 templates and exception handling. It does not include a standard C++
571 library, which is available separately.
572
573 %description c++ -l de.UTF-8
574 Dieses Paket enthält die C++-Unterstützung für den
575 GNU-Compiler-Collection. Es unterstützt die aktuelle
576 C++-Spezifikation, inkl. Templates und Ausnahmeverarbeitung. Eine
577 C++-Standard-Library ist nicht enthalten - sie ist getrennt
578 erhältlich.
579
580 %description c++ -l es.UTF-8
581 Este paquete añade soporte de C++ al GCC (colección de compiladores
582 GNU). Ello incluye el soporte para la mayoría de la especificación
583 actual de C++, incluyendo plantillas y manejo de excepciones. No
584 incluye la biblioteca estándar de C++, la que es disponible separada.
585
586 %description c++ -l fr.UTF-8
587 Ce package ajoute un support C++ a la collection de compilateurs GNU.
588 Il comprend un support pour la plupart des spécifications actuelles de
589 C++, dont les modéles et la gestion des exceptions. Il ne comprend pas
590 une bibliothéque C++ standard, qui est disponible séparément.
591
592 %description c++ -l pl.UTF-8
593 Ten pakiet dodaje obsługę C++ do kompilatora gcc. Ma wsparcie dla
594 dużej ilości obecnych specyfikacji C++, nie zawiera natomiast
595 standardowych bibliotek C++, które są w oddzielnym pakiecie.
596
597 %description c++ -l pt_BR.UTF-8
598 Este pacote adiciona suporte C++ para o gcc.
599
600 %description c++ -l tr.UTF-8
601 Bu paket, GNU C derleyicisine C++ desteği ekler. 'Template'ler ve
602 aykırı durum işleme gibi çoğu güncel C++ tanımlarına uyar. Standart
603 C++ kitaplığı bu pakette yer almaz.
604
605 %package c++-multilib
606 Summary:        C++ 32-bit support for gcc
607 Summary(pl.UTF-8):      Obsługa 32-bitowych binariów C++ dla gcc
608 Group:          Development/Languages
609 Requires:       %{name}-c++ = %{epoch}:%{version}-%{release}
610 Requires:       %{name}-multilib = %{epoch}:%{version}-%{release}
611
612 %description c++-multilib
613 This package adds 32-bit C++ support to the GNU Compiler Collection.
614
615 %description c++-multilib -l pl.UTF-8
616 Ten pakiet dodaje obsługę 32-bitowych binariów C++ do kompilatora gcc.
617
618 %package -n libstdc++
619 Summary:        GNU C++ library
620 Summary(es.UTF-8):      Biblioteca C++ de GNU
621 Summary(pl.UTF-8):      Biblioteki GNU C++
622 Summary(pt_BR.UTF-8):   Biblioteca C++ GNU
623 License:        GPL v2+ with free software exception
624 Group:          Libraries
625 # >= instead of = to allow keeping older libstdc++ (with different soname)
626 Requires:       libgcc >= %{epoch}:%{version}-%{release}
627 Obsoletes:      libg++
628 Obsoletes:      libstdc++3
629 Obsoletes:      libstdc++4
630
631 %description -n libstdc++
632 This is the GNU implementation of the standard C++ libraries, along
633 with additional GNU tools. This package includes the shared libraries
634 necessary to run C++ applications.
635
636 %description -n libstdc++ -l de.UTF-8
637 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
638 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
639 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
640
641 %description -n libstdc++ -l es.UTF-8
642 Este es el soporte de las bibliotecas padrón del C++, junto con
643 herramientas GNU adicionales. El paquete incluye las bibliotecas
644 compartidas necesarias para ejecutar aplicaciones C++.
645
646 %description -n libstdc++ -l fr.UTF-8
647 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
648 des outils GNU supplémentaires. Ce package comprend les librairies
649 partagées nécessaires à l'exécution d'application C++.
650
651 %description -n libstdc++ -l pl.UTF-8
652 Pakiet ten zawiera biblioteki będące implementacją standardowych
653 bibliotek C++. Znajdują się w nim biblioteki dynamiczne niezbędne do
654 uruchomienia aplikacji napisanych w C++.
655
656 %description -n libstdc++ -l pt_BR.UTF-8
657 Este pacote é uma implementação da biblioteca padrão C++ v3, um
658 subconjunto do padrão ISO 14882.
659
660 %description -n libstdc++ -l tr.UTF-8
661 Bu paket, standart C++ kitaplıklarının GNU gerçeklemesidir ve C++
662 uygulamalarının koşturulması için gerekli kitaplıkları içerir.
663
664 %package -n libstdc++-multilib
665 Summary:        GNU C++ library - 32-bit version
666 Summary(pl.UTF-8):      Biblioteka GNU C++ - wersja 32-bitowa
667 License:        GPL v2+ with free software exception
668 Group:          Libraries
669 # >= instead of = to allow keeping older libstdc++ (with different soname)
670 Requires:       libgcc-multilib >= %{epoch}:%{version}-%{release}
671
672 %description -n libstdc++-multilib
673 This is 32-bit version of the GNU implementation of the standard C++
674 library.
675
676 %description -n libstdc++-multilib -l pl.UTF-8
677 Ten pakiet ten zawiera 32-bitową wersję implementacji GNU biblioteki
678 standardowej C++.
679
680 %package -n libstdc++-gdb
681 Summary:        libstdc++ pretty printers for GDB
682 Summary(pl.UTF-8):      Funkcje wypisujące dane libstdc++ dla GDB
683 Group:          Development/Debuggers
684
685 %description -n libstdc++-gdb
686 This package contains Python scripts for GDB pretty printing of the
687 libstdc++ types/containers.
688
689 %description -n libstdc++-gdb -l pl.UTF-8
690 Ten pakiet zawiera skrypty Pythona dla GDB służące do ładnego
691 wypisywania typów i kontenerów libstdc++.
692
693 %package -n libstdc++-devel
694 Summary:        Header files and documentation for C++ development
695 Summary(de.UTF-8):      Header-Dateien zur Entwicklung mit C++
696 Summary(es.UTF-8):      Ficheros de cabecera y documentación para desarrollo C++
697 Summary(fr.UTF-8):      Fichiers d'en-tête et biblitothèques pour développer en C++
698 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja do biblioteki standardowej C++
699 Summary(pt_BR.UTF-8):   Arquivos de inclusão e bibliotecas para o desenvolvimento em C++
700 Summary(tr.UTF-8):      C++ ile program geliştirmek için gerekli dosyalar
701 License:        GPL v2+ with free software exception
702 Group:          Development/Libraries
703 Requires:       %{name}-c++ = %{epoch}:%{version}-%{release}
704 Requires:       glibc-devel
705 Requires:       libstdc++ = %{epoch}:%{version}-%{release}
706 Obsoletes:      libg++-devel
707 Obsoletes:      libstdc++3-devel
708 Obsoletes:      libstdc++4-devel
709
710 %description -n libstdc++-devel
711 This is the GNU implementation of the standard C++ libraries. This
712 package includes the header files needed for C++ development and
713 library documentation.
714
715 %description -n libstdc++-devel -l es.UTF-8
716 Este es el soporte de las bibliotecas padrón del lenguaje C++. Este
717 paquete incluye los archivos de inclusión y bibliotecas necesarios
718 para desarrollo de programas en lenguaje C++.
719
720 %description -n libstdc++-devel -l pl.UTF-8
721 Pakiet ten zawiera biblioteki będące implementacją standardowych
722 bibliotek C++. Znajdują się w nim pliki nagłówkowe wykorzystywane przy
723 programowaniu w języku C++ oraz dokumentacja biblioteki standardowej.
724
725 %description -n libstdc++-devel -l pt_BR.UTF-8
726 Este pacote inclui os arquivos de inclusão e bibliotecas necessárias
727 para desenvolvimento de programas C++.
728
729 %package -n libstdc++-multilib-devel
730 Summary:        Development files for C++ development - 32-bit version
731 Summary(pl.UTF-8):      Pliki programistyczne biblioteki standardowej C++ - wersja 32-bitowa
732 License:        GPL v2+ with free software exception
733 Group:          Development/Libraries
734 Requires:       %{name}-c++-multilib = %{epoch}:%{version}-%{release}
735 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
736 Requires:       libstdc++-multilib = %{epoch}:%{version}-%{release}
737
738 %description -n libstdc++-multilib-devel
739 This package contains the development files for 32-bit version of the
740 GNU implementation of the standard C++ library.
741
742 %description -n libstdc++-multilib-devel -l pl.UTF-8
743 Ten pakiet zawiera pliki programistyczne 32-bitowej wersji
744 implementacji GNU biblioteki standardowej C++.
745
746 %package -n libstdc++-static
747 Summary:        Static C++ standard library
748 Summary(es.UTF-8):      Biblioteca estándar estática de C++
749 Summary(pl.UTF-8):      Statyczna biblioteka standardowa C++
750 License:        GPL v2+ with free software exception
751 Group:          Development/Libraries
752 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
753 Obsoletes:      libstdc++4-static
754
755 %description -n libstdc++-static
756 Static C++ standard library.
757
758 %description -n libstdc++-static -l es.UTF-8
759 Biblioteca estándar estática de C++.
760
761 %description -n libstdc++-static -l pl.UTF-8
762 Statyczna biblioteka standardowa C++.
763
764 %package -n libstdc++-multilib-static
765 Summary:        Static C++ standard library - 32-bit version
766 Summary(pl.UTF-8):      Statyczna biblioteka standardowa C++ - wersja 32-bitowa
767 License:        GPL v2+ with free software exception
768 Group:          Development/Libraries
769 Requires:       libstdc++-multilib-devel = %{epoch}:%{version}-%{release}
770
771 %description -n libstdc++-multilib-static
772 Static C++ standard library - 32-bit version.
773
774 %description -n libstdc++-multilib-static -l pl.UTF-8
775 Statyczna biblioteka standardowa C++ - wersja 32-bitowa.
776
777 %package -n libstdc++-apidocs
778 Summary:        C++ standard library API documentation
779 Summary(pl.UTF-8):      Dokumentacja API biblioteki standardowej C++
780 Group:          Documentation
781
782 %description -n libstdc++-apidocs
783 API and internal documentation for C++ standard library.
784
785 %description -n libstdc++-apidocs -l pl.UTF-8
786 Dokumentacja API i wewnętrzna biblioteki standardowej C++.
787
788 %package fortran
789 Summary:        Fortran 95 support for gcc
790 Summary(es.UTF-8):      Soporte de Fortran 95 para gcc
791 Summary(pl.UTF-8):      Obsługa Fortranu 95 dla gcc
792 Summary(pt_BR.UTF-8):   Suporte Fortran 95 para o GCC
793 Group:          Development/Languages/Fortran
794 Requires:       %{name} = %{epoch}:%{version}-%{release}
795 Requires:       libgfortran = %{epoch}:%{version}-%{release}
796 Requires:       libquadmath-devel = %{epoch}:%{version}-%{release}
797 Provides:       gcc-g77 = %{epoch}:%{version}-%{release}
798 Obsoletes:      egcs-g77
799 Obsoletes:      gcc-g77
800
801 %description fortran
802 This package adds support for compiling Fortran 95 programs with the
803 GNU compiler.
804
805 %description fortran -l es.UTF-8
806 Este paquete añade soporte para compilar programas escritos en Fortran
807 95 con el compilador GNU.
808
809 %description fortran -l pl.UTF-8
810 Ten pakiet dodaje obsługę Fortranu 95 do kompilatora gcc. Jest
811 potrzebny do kompilowania programów pisanych w języku Fortran 95.
812
813 %description fortran -l pt_BR.UTF-8
814 Suporte Fortran 95 para o GCC.
815
816 %package fortran-multilib
817 Summary:        Fortran 95 32-bit support for gcc
818 Summary(pl.UTF-8):      Obsługa binariów 32-bitowych Fortrana 95 dla gcc
819 Group:          Development/Languages/Fortran
820 Requires:       %{name}-fortran = %{epoch}:%{version}-%{release}
821 Requires:       libgfortran-multilib = %{epoch}:%{version}-%{release}
822 Requires:       libquadmath-multilib-devel = %{epoch}:%{version}-%{release}
823
824 %description fortran-multilib
825 This package adds support for compiling 32-bit Fortran 95 programs
826 with the GNU compiler.
827
828 %description fortran-multilib -l pl.UTF-8
829 Ten pakiet dodaje obsługę 32-bitowych programów w Fortranie 95 do
830 kompilatora gcc.
831
832 %package -n libgfortran
833 Summary:        Fortran 95 Library
834 Summary(es.UTF-8):      Biblioteca de Fortran 95
835 Summary(pl.UTF-8):      Biblioteka Fortrana 95
836 License:        GPL v2+ with unlimited link permission
837 Group:          Libraries
838 Requires:       libquadmath = %{epoch}:%{version}-%{release}
839 Obsoletes:      libg2c
840
841 %description -n libgfortran
842 Fortran 95 Library.
843
844 %description -n libgfortran -l es.UTF-8
845 Biblioteca de Fortran 95.
846
847 %description -n libgfortran -l pl.UTF-8
848 Biblioteka Fortrana 95.
849
850 %package -n libgfortran-multilib
851 Summary:        Fortran 95 Library - 32-bit version
852 Summary(pl.UTF-8):      Biblioteka Fortrana 95 - wersja 32-bitowa
853 License:        GPL v2+ with unlimited link permission
854 Group:          Libraries
855 Requires:       libquadmath-multilib = %{epoch}:%{version}-%{release}
856
857 %description -n libgfortran-multilib
858 Fortran 95 Library - 32-bit version.
859
860 %description -n libgfortran-multilib -l pl.UTF-8
861 Biblioteka Fortrana 95 - wersja 32-bitowa.
862
863 %package -n libgfortran-static
864 Summary:        Static Fortran 95 Library
865 Summary(es.UTF-8):      Bibliotecas estáticas de Fortran 95
866 Summary(pl.UTF-8):      Statyczna Biblioteka Fortrana 95
867 License:        GPL v2+ with unlimited link permission
868 Group:          Development/Libraries
869 Requires:       libgfortran = %{epoch}:%{version}-%{release}
870 Obsoletes:      libg2c-static
871
872 %description -n libgfortran-static
873 Static Fortran 95 Library.
874
875 %description -n libgfortran-static -l es.UTF-8
876 Bibliotecas estáticas de Fortran 95.
877
878 %description -n libgfortran-static -l pl.UTF-8
879 Statyczna biblioteka Fortrana 95.
880
881 %package -n libgfortran-multilib-static
882 Summary:        Static Fortran 95 Library - 32-bit version
883 Summary(pl.UTF-8):      Statyczna Biblioteka Fortrana 95 - wersja 32-bitowa
884 License:        GPL v2+ with unlimited link permission
885 Group:          Development/Libraries
886 Requires:       libgfortran-multilib = %{epoch}:%{version}-%{release}
887
888 %description -n libgfortran-multilib-static
889 Static Fortran 95 Library - 32-bit version.
890
891 %description -n libgfortran-multilib-static -l pl.UTF-8
892 Statyczna biblioteka Fortrana 95 - wersja 32-bitowa.
893
894 %package -n libquadmath
895 Summary:        GCC __float128 shared support library
896 Summary(pl.UTF-8):      Biblioteka współdzielona do obsługi typu __float128
897 License:        GPL v2+ with linking exception
898 Group:          Libraries
899
900 %description -n libquadmath
901 This package contains GCC shared support library which is needed for
902 __float128 math support and for Fortran REAL*16 support.
903
904 %description -n libquadmath -l pl.UTF-8
905 Ten pakiet zawiera bibliotekę współdzieloną GCC do obsługi operacji
906 matematycznych na zmiennych typu __float128 oraz typu REAL*16 w
907 Fortranie.
908
909 %package -n libquadmath-multilib
910 Summary:        GCC __float128 shared support library - 32-bit version
911 Summary(pl.UTF-8):      Biblioteka współdzielona GCC do obsługi typu __float128 - wersja 32-bitowa
912 License:        GPL v2+ with linking exception
913 Group:          Libraries
914
915 %description -n libquadmath-multilib
916 This package contains 32-bit version of GCC shared support library
917 which is needed for __float128 math support and for Fortran REAL*16
918 support.
919
920 %description -n libquadmath-multilib -l pl.UTF-8
921 Ten pakiet zawiera 32-bitową bibliotekę współdzieloną GCC do obsługi
922 operacji matematycznych na zmiennych typu __float128 oraz typu REAL*16
923 w Fortranie.
924
925 %package -n libquadmath-devel
926 Summary:        Header files for GCC __float128 support library
927 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteka GCC do obsługi typu __float128
928 License:        GPL v2+ with linking exception
929 Group:          Development/Libraries
930 Requires:       libquadmath = %{epoch}:%{version}-%{release}
931
932 %description -n libquadmath-devel
933 This package contains header files for GCC support library which is
934 needed for __float128 math support and for Fortran REAL*16 support.
935
936 %description -n libquadmath-devel -l pl.UTF-8
937 Ten pakiet zawiera pliki nagłówkowe biblioteki GCC do obsługi operacji
938 matematycznych na zmiennych typu __float128 oraz typu REAL*16 w
939 Fortranie.
940
941 %package -n libquadmath-multilib-devel
942 Summary:        Development files for 32-bit GCC __float128 support library
943 Summary(pl.UTF-8):      Pliki programistyczne 32-bitowej biblioteki do obsługi typu __float128
944 License:        GPL v2+ with linking exception
945 Group:          Development/Libraries
946 Requires:       libquadmath-devel = %{epoch}:%{version}-%{release}
947 Requires:       libquadmath-multilib = %{epoch}:%{version}-%{release}
948
949 %description -n libquadmath-multilib-devel
950 This package contains development files for 32-bit GCC support library
951 which is needed for __float128 math support and for Fortran REAL*16
952 support.
953
954 %description -n libquadmath-multilib-devel -l pl.UTF-8
955 Ten pakiet zawiera pliki programistyczne 32-bitowej biblioteki GCC do
956 obsługi operacji matematycznych na zmiennych typu __float128 oraz typu
957 REAL*16 w Fortranie.
958
959 %package -n libquadmath-static
960 Summary:        Static GCC __float128 support library
961 Summary(pl.UTF-8):      Biblioteka statyczna GCC do obsługi typu __float128
962 License:        GPL v2+ with linking exception
963 Group:          Development/Libraries
964 Requires:       libquadmath-devel = %{epoch}:%{version}-%{release}
965
966 %description -n libquadmath-static
967 Static GCC __float128 support library.
968
969 %description -n libquadmath-static -l pl.UTF-8
970 Biblioteka statyczna GCC do obsługi typu __float128.
971
972 %package -n libquadmath-multilib-static
973 Summary:        Static GCC __float128 support library - 32-bit version
974 Summary(pl.UTF-8):      32-bitowa biblioteka statyczna GCC do obsługi typu __float128
975 License:        GPL v2+ with linking exception
976 Group:          Development/Libraries
977 Requires:       libquadmath-multilib-devel = %{epoch}:%{version}-%{release}
978
979 %description -n libquadmath-multilib-static
980 Static GCC __float128 support library - 32-bit version.
981
982 %description -n libquadmath-multilib-static -l pl.UTF-8
983 32-bitowa biblioteka statyczna GCC do obsługi typu __float128.
984
985 %package java
986 Summary:        Java support for gcc
987 Summary(es.UTF-8):      Soporte de Java para gcc
988 Summary(pl.UTF-8):      Obsługa Javy dla gcc
989 Group:          Development/Languages/Java
990 Requires:       %{name} = %{epoch}:%{version}-%{release}
991 Requires:       libgcj-devel = %{epoch}:%{version}-%{release}
992 Provides:       gcc-java-tools
993 Provides:       gcj = %{epoch}:%{version}-%{release}
994 Obsoletes:      eclipse-ecj
995 Obsoletes:      gcc-java-tools
996 Obsoletes:      java-gnu-classpath-tools
997
998 %description java
999 This package adds experimental support for compiling Java(TM) programs
1000 and bytecode into native code. To use this you will also need the
1001 libgcj package.
1002
1003 %description java -l es.UTF-8
1004 Este paquete añade soporte experimental para compilar programas
1005 Java(tm) y su bytecode en código nativo. Para usarlo también va a
1006 necesitar el paquete libgcj.
1007
1008 %description java -l pl.UTF-8
1009 Ten pakiet dodaje możliwość kompilowania programów w języku Java(TM)
1010 oraz bajtkodu do kodu natywnego. Do używania go wymagany jest
1011 dodatkowo pakiet libgcj.
1012
1013 %package java-aotcompile
1014 Summary:        Java AOT-compiler - compiling bytecode to native
1015 Summary(pl.UTF-8):      Kompilator AOT dla Javy - kompilacja bajtkodu do kodu natywnego
1016 License:        GPL v2+
1017 Group:          Development/Tools
1018 Requires:       %{name}-java = %{epoch}:%{version}-%{release}
1019
1020 %description java-aotcompile
1021 aot-compile is a script that searches a directory for Java bytecode
1022 (as class files, or in jars) and uses gcj to compile it to native code
1023 and generate the databases from it.
1024
1025 %description java-aotcompile -l pl.UTF-8
1026 aot-compile to skrypt wyszukujący w katalogu bajtkod Javy (w plikach
1027 class lub jarach) i kompilujący go przy użyciu gcj, a następnie
1028 generujący z niego bazy danych.
1029
1030 %package -n libgcj
1031 Summary:        Java Class Libraries
1032 Summary(es.UTF-8):      Bibliotecas de clases de Java
1033 Summary(pl.UTF-8):      Biblioteki Klas Javy
1034 License:        GPL v2+ with limited linking exception
1035 Group:          Libraries
1036 Requires:       jpackage-utils
1037 Requires:       libstdc++ = %{epoch}:%{version}-%{release}
1038 Provides:       java(ClassDataVersion) = %{_classdataversion}
1039 Obsoletes:      libgcj3
1040
1041 %description -n libgcj
1042 Java Class Libraries.
1043
1044 %description -n libgcj -l es.UTF-8
1045 Bibliotecas de clases de Java.
1046
1047 %description -n libgcj -l pl.UTF-8
1048 Biblioteki Klas Javy.
1049
1050 %package -n libgcj-devel
1051 Summary:        Development files for Java Class Libraries
1052 Summary(es.UTF-8):      Ficheros de desarrollo para las bibliotecas de clases de Java
1053 Summary(pl.UTF-8):      Pliki nagłówkowe dla Bibliotek Klas Javy
1054 License:        GPL v2+ with limited linking exception
1055 Group:          Development/Libraries
1056 Requires:       libgcj = %{epoch}:%{version}-%{release}
1057 Requires:       libstdc++-devel = %{epoch}:%{version}-%{release}
1058 Requires:       zlib-devel
1059 Obsoletes:      libgcj3-devel
1060
1061 %description -n libgcj-devel
1062 Development files for Java Class Libraries.
1063
1064 %description -n libgcj-devel -l es.UTF-8
1065 Ficheros de desarrollo para las bibliotecas de clases de Java.
1066
1067 %description -n libgcj-devel -l pl.UTF-8
1068 Pliki nagłówkowe dla Bibliotek Klas Javy.
1069
1070 %package -n libgcj-static
1071 Summary:        Static Java Class Libraries
1072 Summary(es.UTF-8):      Bibliotecas estáticas de clases de Java
1073 Summary(pl.UTF-8):      Statyczne Biblioteki Klas Javy
1074 License:        GPL v2+ with limited linking exception
1075 Group:          Development/Libraries
1076 Requires:       libgcj-devel = %{epoch}:%{version}-%{release}
1077
1078 %description -n libgcj-static
1079 Static Java Class Libraries.
1080
1081 %description -n libgcj-static -l es.UTF-8
1082 Bibliotecas estáticas de clases de Java.
1083
1084 %description -n libgcj-static -l pl.UTF-8
1085 Statyczne Biblioteki Klas Javy.
1086
1087 %package -n libffi
1088 Summary:        Foreign Function Interface library
1089 Summary(es.UTF-8):      Biblioteca de interfaz de funciones ajenas
1090 Summary(pl.UTF-8):      Biblioteka zewnętrznych wywołań funkcji
1091 License:        BSD-like
1092 Group:          Libraries
1093
1094 %description -n libffi
1095 The libffi library provides a portable, high level programming
1096 interface to various calling conventions. This allows a programmer to
1097 call any function specified by a call interface description at run
1098 time.
1099
1100 %description -n libffi -l es.UTF-8
1101 La biblioteca libffi provee una interfaz portable de programación de
1102 alto nivel para varias convenciones de llamada. Ello permite que un
1103 programador llame una función cualquiera especificada por una
1104 descripción de interfaz de llamada en el tiempo de ejecución.
1105
1106 %description -n libffi -l pl.UTF-8
1107 Biblioteka libffi dostarcza przenośnego, wysokopoziomowego
1108 międzymordzia do różnych konwencji wywołań funkcji. Pozwala to
1109 programiście wywoływać dowolne funkcje podając konwencję wywołania w
1110 czasie wykonania.
1111
1112 %package -n libffi-multilib
1113 Summary:        Foreign Function Interface library - 32-bit version
1114 Summary(pl.UTF-8):      Biblioteka zewnętrznych wywołań funkcji - wersja 32-bitowa
1115 License:        BSD-like
1116 Group:          Libraries
1117
1118 %description -n libffi-multilib
1119 The libffi library provides a portable, high level programming
1120 interface to various calling conventions. This allows a programmer to
1121 call any function specified by a call interface description at run
1122 time. This package contains 32-bit version of the library.
1123
1124 %description -n libffi-multilib -l pl.UTF-8
1125 Biblioteka libffi dostarcza przenośnego, wysokopoziomowego
1126 międzymordzia do różnych konwencji wywołań funkcji. Pozwala to
1127 programiście wywoływać dowolne funkcje podając konwencję wywołania w
1128 czasie wykonania. Ten pakiet zawiera wersję 32-bitową biblioteki.
1129
1130 %package -n libffi-devel
1131 Summary:        Development files for Foreign Function Interface library
1132 Summary(es.UTF-8):      Ficheros de desarrollo para libffi
1133 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libffi
1134 License:        BSD-like
1135 Group:          Development/Libraries
1136 Requires:       %{name} = %{epoch}:%{version}-%{release}
1137 Requires:       libffi = %{epoch}:%{version}-%{release}
1138
1139 %description -n libffi-devel
1140 Development files for Foreign Function Interface library.
1141
1142 %description -n libffi-devel -l es.UTF-8
1143 Ficheros de desarrollo para libffi.
1144
1145 %description -n libffi-devel -l pl.UTF-8
1146 Pliki nagłówkowe biblioteki libffi.
1147
1148 %package -n libffi-multilib-devel
1149 Summary:        Development files for 32-bit version of Foreign Function Interface library
1150 Summary(pl.UTF-8):      Pliki programistyczne 32-bitowej wersji biblioteki libffi
1151 License:        BSD-like
1152 Group:          Development/Libraries
1153 Requires:       libffi-devel = %{epoch}:%{version}-%{release}
1154 Requires:       libffi-multilib = %{epoch}:%{version}-%{release}
1155
1156 %description -n libffi-multilib-devel
1157 Development files for 32-bit version of Foreign Function Interface
1158 library.
1159
1160 %description -n libffi-multilib-devel -l pl.UTF-8
1161 Pliki programistyczne 32-bitowej wersji biblioteki libffi.
1162
1163 %package -n libffi-static
1164 Summary:        Static Foreign Function Interface library
1165 Summary(es.UTF-8):      Biblioteca libffi estática
1166 Summary(pl.UTF-8):      Statyczna biblioteka libffi
1167 License:        BSD-like
1168 Group:          Development/Libraries
1169 Requires:       libffi-devel = %{epoch}:%{version}-%{release}
1170
1171 %description -n libffi-static
1172 Static Foreign Function Interface library.
1173
1174 %description -n libffi-static -l es.UTF-8
1175 Biblioteca libffi estática.
1176
1177 %description -n libffi-static -l pl.UTF-8
1178 Statyczna biblioteka libffi.
1179
1180 %package -n libffi-multilib-static
1181 Summary:        Static Foreign Function Interface library - 32-bit version
1182 Summary(pl.UTF-8):      Statyczna biblioteka libffi - wersja 32-bitowa
1183 License:        BSD-like
1184 Group:          Development/Libraries
1185 Requires:       libffi-multilib-devel = %{epoch}:%{version}-%{release}
1186
1187 %description -n libffi-multilib-static
1188 Static Foreign Function Interface library - 32-bit version.
1189
1190 %description -n libffi-multilib-static -l pl.UTF-8
1191 Statyczna biblioteka libffi - wersja 32-bitowa.
1192
1193 %package objc
1194 Summary:        Objective C support for gcc
1195 Summary(de.UTF-8):      Objektive C-Unterstützung für gcc
1196 Summary(es.UTF-8):      Soporte de Objective C para gcc
1197 Summary(fr.UTF-8):      Gestion d'Objective C pour gcc
1198 Summary(pl.UTF-8):      Obsługa obiektowego C dla kompilatora gcc
1199 Summary(tr.UTF-8):      gcc için Objective C desteği
1200 Group:          Development/Languages
1201 Requires:       %{name} = %{epoch}:%{version}-%{release}
1202 Requires:       libobjc = %{epoch}:%{version}-%{release}
1203 Obsoletes:      egcc-objc
1204 Obsoletes:      egcs-objc
1205
1206 %description objc
1207 This package adds Objective C support to the GNU Compiler Collection.
1208 Objective C is a object oriented derivative of the C language, mainly
1209 used on systems running NeXTSTEP. This package does not include the
1210 standard objective C object library.
1211
1212 %description objc -l de.UTF-8
1213 Dieses Paket ergänzt den GNU-Compiler-Collection durch
1214 Objective-C-Support. Objective C ist ein objektorientiertes Derivat
1215 von C, das zur Hauptsache auf Systemen mit NeXTSTEP zum Einsatz kommt.
1216 Die Standard-Objective-C-Objekt-Library ist nicht Teil des Pakets.
1217
1218 %description objc -l es.UTF-8
1219 Este paquete añade soporte de Objective C al GCC (colección de
1220 compiladores GNU). Objective C es un lenguaje orientado a objetos
1221 derivado de C, principalmente usado en sistemas que funcionan bajo
1222 NeXTSTEP. El paquete no incluye la biblioteca de objetos estándar de
1223 Objective C.
1224
1225 %description objc -l fr.UTF-8
1226 Ce package ajoute un support Objective C a la collection de
1227 compilateurs GNU. L'Objective C est un langage orienté objetdérivé du
1228 langage C, principalement utilisé sur les systèmes NeXTSTEP. Ce
1229 package n'inclue pas la bibliothéque Objective C standard.
1230
1231 %description objc -l pl.UTF-8
1232 Ten pakiet dodaje obsługę obiektowego C do kompilatora gcc. Obiektowe
1233 C (objc) jest zorientowaną obiektowo pochodną języka C, używaną
1234 głównie w systemach używających NeXTSTEP. W pakiecie nie ma
1235 standardowej biblioteki objc (która znajduje się w osobnym pakiecie).
1236
1237 %description objc -l tr.UTF-8
1238 Bu paket, GNU C derleyicisine Objective C desteği ekler. Objective C,
1239 C dilinin nesne yönelik bir türevidir ve NeXTSTEP altında çalışan
1240 sistemlerde yaygın olarak kullanılır. Standart Objective C nesne
1241 kitaplığı bu pakette yer almaz.
1242
1243 %package objc-multilib
1244 Summary:        32-bit Objective C support for gcc
1245 Summary(pl.UTF-8):      Obsługa 32-bitowych binariów Objective C dla kompilatora gcc
1246 Group:          Development/Languages
1247 Requires:       %{name}-multilib = %{epoch}:%{version}-%{release}
1248 Requires:       libobjc-multilib = %{epoch}:%{version}-%{release}
1249
1250 %description objc-multilib
1251 This package adds 32-bit Objective C support to the GNU Compiler
1252 Collection.
1253
1254 %description objc-multilib -l pl.UTF-8
1255 Ten pakiet dodaje obsługę 32-bitowych binariów Objective C do
1256 kompilatora gcc.
1257
1258 %package objc++
1259 Summary:        Objective C++ support for gcc
1260 Summary(pl.UTF-8):      Obsługa języka Objective C++ dla gcc
1261 Group:          Development/Languages
1262 Requires:       %{name}-c++ = %{epoch}:%{version}-%{release}
1263 Requires:       %{name}-objc = %{epoch}:%{version}-%{release}
1264
1265 %description objc++
1266 This package adds Objective C++ support to the GNU Compiler
1267 Collection.
1268
1269 %description objc++ -l pl.UTF-8
1270 Ten pakiet dodaje obsługę języka Objective C++ do zestawu kompilatorów
1271 GNU Compiler Collection.
1272
1273 %package -n libobjc
1274 Summary:        Objective C Library
1275 Summary(es.UTF-8):      Biblioteca de Objective C
1276 Summary(pl.UTF-8):      Biblioteka Obiektowego C
1277 License:        GPL v2+ with linking exception
1278 Group:          Libraries
1279 Obsoletes:      libobjc1
1280
1281 %description -n libobjc
1282 Objective C Library.
1283
1284 %description -n libobjc -l es.UTF-8
1285 Bibliotecas de Objective C.
1286
1287 %description -n libobjc -l pl.UTF-8
1288 Biblioteka Obiektowego C.
1289
1290 %package -n libobjc-multilib
1291 Summary:        Objective C Library - 32-bit version
1292 Summary(pl.UTF-8):      Biblioteka Obiektowego C - wersja 32-bitowa
1293 License:        GPL v2+ with linking exception
1294 Group:          Libraries
1295
1296 %description -n libobjc-multilib
1297 Objective C Library - 32-bit version.
1298
1299 %description -n libobjc-multilib -l pl.UTF-8
1300 Biblioteka Obiektowego C - wersja 32-bitowa.
1301
1302 %package -n libobjc-static
1303 Summary:        Static Objective C Library
1304 Summary(es.UTF-8):      Bibliotecas estáticas de Objective C
1305 Summary(pl.UTF-8):      Statyczna Biblioteka Obiektowego C
1306 License:        GPL v2+ with linking exception
1307 Group:          Development/Libraries
1308 Requires:       libobjc = %{epoch}:%{version}-%{release}
1309
1310 %description -n libobjc-static
1311 Static Objective C Library.
1312
1313 %description -n libobjc-static -l es.UTF-8
1314 Bibliotecas estáticas de Objective C.
1315
1316 %description -n libobjc-static -l pl.UTF-8
1317 Statyczna biblioteka Obiektowego C.
1318
1319 %package -n libobjc-multilib-static
1320 Summary:        Static Objective C Library - 32-bit version
1321 Summary(pl.UTF-8):      Statyczna Biblioteka Obiektowego C - wersja 32-bitowa
1322 License:        GPL v2+ with linking exception
1323 Group:          Development/Libraries
1324 Requires:       libobjc-multilib = %{epoch}:%{version}-%{release}
1325
1326 %description -n libobjc-multilib-static
1327 Static Objective C Library - 32-bit version.
1328
1329 %description -n libobjc-multilib-static -l pl.UTF-8
1330 Statyczna biblioteki Obiektowego C - wersja 32-bitowa.
1331
1332 %package go
1333 Summary:        Go language support for gcc
1334 Summary(pl.UTF-8):      Obsługa języka Go dla kompilatora gcc
1335 License:        GPL v3+ (gcc), BSD (Go-specific part)
1336 Group:          Development/Languages
1337 Requires:       %{name} = %{epoch}:%{version}-%{release}
1338 Requires:       libgo-devel = %{epoch}:%{version}-%{release}
1339
1340 %description go
1341 This package adds Go language support to the GNU Compiler Collection.
1342
1343 %description go -l pl.UTF-8
1344 Ten pakiet dodaje obsługę języka Go do kompilatora gcc.
1345
1346 %package go-multilib
1347 Summary:        32-bit Go language support for gcc
1348 Summary(pl.UTF-8):      Obsługa 32-bitowych binariów języka Go dla kompilatora gcc
1349 License:        GPL v3+ (gcc), BSD (Go-specific part)
1350 Group:          Development/Languages
1351 Requires:       %{name} = %{epoch}:%{version}-%{release}
1352 Requires:       libgo-multilib-devel = %{epoch}:%{version}-%{release}
1353
1354 %description go-multilib
1355 This package adds 32-bit Go language support to the GNU Compiler
1356 Collection.
1357
1358 %description go-multilib -l pl.UTF-8
1359 Ten pakiet dodaje obsługę 32-bitowych binariów języka Go do
1360 kompilatora gcc.
1361
1362 %package -n libgo
1363 Summary:        Go language library
1364 Summary(pl.UTF-8):      Biblioteka języka Go
1365 License:        BSD
1366 Group:          Libraries
1367 Requires:       libgcc >= %{epoch}:%{version}-%{release}
1368
1369 %description -n libgo
1370 Go language library.
1371
1372 %description -n libgo -l pl.UTF-8
1373 Biblioteka języka Go.
1374
1375 %package -n libgo-multilib
1376 Summary:        Go language library - 32-bit version
1377 Summary(pl.UTF-8):      Biblioteka języka Go - wersja 32-bitowa
1378 License:        BSD
1379 Group:          Libraries
1380 Requires:       libgcc-multilib >= %{epoch}:%{version}-%{release}
1381
1382 %description -n libgo-multilib
1383 Go language library - 32-bit version.
1384
1385 %description -n libgo-multilib -l pl.UTF-8
1386 Biblioteka języka Go - wersja 32-bitowa.
1387
1388 %package -n libgo-devel
1389 Summary:        Development files for Go language library
1390 Summary(pl.UTF-8):      Pliki programistyczne biblioteki języka Go
1391 License:        BSD
1392 Group:          Development/Libraries
1393 Requires:       glibc-devel
1394 Requires:       libgo = %{epoch}:%{version}-%{release}
1395
1396 %description -n libgo-devel
1397 Development files for Go language library.
1398
1399 %description -n libgo-devel -l pl.UTF-8
1400 Pliki programistyczne biblioteki języka Go.
1401
1402 %package -n libgo-multilib-devel
1403 Summary:        Development files for Go language library - 32-bit version
1404 Summary(pl.UTF-8):      Pliki programistyczne biblioteki języka Go - wersja 32-bitowa
1405 License:        BSD
1406 Group:          Development/Libraries
1407 Requires:       glibc-devel
1408 Requires:       libgo-multilib = %{epoch}:%{version}-%{release}
1409
1410 %description -n libgo-multilib-devel
1411 Development files for Go language library - 32-bit version.
1412
1413 %description -n libgo-multilib-devel -l pl.UTF-8
1414 Pliki programistyczne biblioteki języka Go - wersja 32-bitowa.
1415
1416 %package -n libgo-static
1417 Summary:        Static Go language library
1418 Summary(pl.UTF-8):      Statyczna biblioteka języka Go
1419 License:        BSD
1420 Group:          Development/Libraries
1421 Requires:       libgo-devel = %{epoch}:%{version}-%{release}
1422
1423 %description -n libgo-static
1424 Static Go language library.
1425
1426 %description -n libgo-static -l pl.UTF-8
1427 Statyczna biblioteka języka Go.
1428
1429 %package -n libgo-multilib-static
1430 Summary:        Static Go language library - 32-bit version
1431 Summary(pl.UTF-8):      Statyczna biblioteka języka Go - wersja 32-bitowa
1432 License:        BSD
1433 Group:          Development/Libraries
1434 Requires:       libgo-multilib-devel = %{epoch}:%{version}-%{release}
1435
1436 %description -n libgo-multilib-static
1437 Static Go language library - 32-bit version.
1438
1439 %description -n libgo-multilib-static -l pl.UTF-8
1440 Statyczna biblioteka języka Go - wersja 32-bitowa.
1441
1442 %prep
1443 %setup -q
1444 %patch100 -p0
1445 %patch0 -p1
1446 %patch2 -p1
1447 %patch3 -p1
1448
1449 %patch7 -p0
1450 %if %{with qt}
1451 %patch8 -p1
1452 %endif
1453 %patch12 -p1
1454 %patch13 -p0
1455 %patch14 -p1
1456
1457 mv ChangeLog ChangeLog.general
1458
1459 %if %{with java}
1460 # see contrib/download_ecj
1461 cp -p %{SOURCE2} ecj.jar
1462 %endif
1463
1464 # override snapshot version.
1465 echo %{version} > gcc/BASE-VER
1466 echo "release" > gcc/DEV-PHASE
1467
1468 %build
1469 cd gcc
1470 #{__autoconf}
1471 cd ..
1472 %if %{with qt}
1473 cd libjava/classpath
1474 %{__autoconf}
1475 cd ../..
1476 %endif
1477 cp -f /usr/share/automake/config.sub .
1478
1479 rm -rf builddir && install -d builddir && cd builddir
1480
1481 # http://www.mailinglistarchive.com/java%40gcc.gnu.org/msg02751.html
1482 export JAR=no
1483
1484 CC="%{__cc}" \
1485 CFLAGS="%{rpmcflags}" \
1486 CXXFLAGS="%{rpmcxxflags}" \
1487 TEXCONFIG=false \
1488 ../configure \
1489         --prefix=%{_prefix} \
1490         --with-local-prefix=%{_prefix}/local \
1491         --libdir=%{_libdir} \
1492         --libexecdir=%{_libdir} \
1493         --infodir=%{_infodir} \
1494         --mandir=%{_mandir} \
1495         --x-libraries=%{_libdir} \
1496         --enable-checking=release \
1497         --enable-gnu-unique-object \
1498         --with-linker-hash-style=gnu \
1499         --enable-shared \
1500         --enable-threads=posix \
1501         --enable-linker-build-id \
1502         --enable-linux-futex \
1503         --enable-languages="c%{?with_cxx:,c++}%{?with_fortran:,fortran}%{?with_objc:,objc}%{?with_objcxx:,obj-c++}%{?with_ada:,ada}%{?with_java:,java}%{?with_go:,go}" \
1504         --%{?with_gomp:en}%{!?with_gomp:dis}able-libgomp \
1505         --%{?with_mudflap:en}%{!?with_mudflap:dis}able-libmudflap \
1506         --enable-c99 \
1507         --enable-long-long \
1508         --enable-decimal-float=yes \
1509         %{!?with_multilib:--disable-multilib} \
1510         --enable-nls \
1511         --disable-werror \
1512         --enable-lto \
1513         --enable-plugin \
1514 %ifarch %{ix86} %{x8664}
1515         --disable-cld \
1516 %endif
1517         --with-gnu-as \
1518         --with-gnu-ld \
1519         --with-demangler-in-ld \
1520         --with-system-zlib \
1521         --with-slibdir=%{_slibdir} \
1522 %ifnarch ia64
1523         --without-system-libunwind \
1524 %else
1525         --with-system-libunwind \
1526 %endif
1527         %{!?with_java:--without-x} \
1528         %{?with_fortran:--enable-cmath} \
1529         --with-long-double-128 \
1530         --with-ppl \
1531         --with-cloog-ppl \
1532 %if %{with cxx}
1533         --with-gxx-include-dir=%{_includedir}/c++/%{version} \
1534         --disable-libstdcxx-pch \
1535         --enable-__cxa_atexit \
1536         --enable-libstdcxx-allocator=new \
1537 %endif
1538 %if %{with java}
1539         --enable-libjava-multilib=no \
1540         %{!?with_alsa:--disable-alsa} \
1541         %{!?with_dssi:--disable-dssi} \
1542         --disable-gconf-peer \
1543 %if %{with x}
1544         --enable-java-awt="xlib%{?with_gtk:,gtk}%{?with_qt:,qt}" \
1545 %endif
1546         %{?with_mozilla:--enable-plugin} \
1547         --enable-libgcj \
1548         --enable-libgcj-multifile \
1549         --enable-libgcj-database \
1550         %{?with_gtk:--enable-gtk-cairo} \
1551         --enable-jni \
1552         --enable-xmlj \
1553 %endif
1554         --%{?with_bootstrap:en}%{!?with_bootstrap:dis}able-bootstrap \
1555         --with-pkgversion="TLD-Linux" \
1556         --with-bugurl="http://www.tld-linux.org" \
1557         %{_target_platform}
1558
1559 cd ..
1560
1561 cat << 'EOF' > Makefile
1562 all := $(filter-out all Makefile,$(MAKECMDGOALS))
1563
1564 all $(all):
1565         $(MAKE) -C builddir $(MAKE_OPTS) $(all) \
1566                 %{?with_bootstrap:%{?with_profiling:profiledbootstrap}} \
1567                 GCJFLAGS="%{rpmcflags}" \
1568                 BOOT_CFLAGS="%{rpmcflags}" \
1569                 STAGE1_CFLAGS="%{rpmcflags} -O0" \
1570                 GNATLIBCFLAGS="%{rpmcflags}" \
1571                 LDFLAGS_FOR_TARGET="%{rpmldflags}" \
1572                 mandir=%{_mandir} \
1573                 infodir=%{_infodir}
1574 EOF
1575
1576 %{__make}
1577
1578 %if %{with tests}
1579 if [ ! -r /dev/pts/0 ]; then
1580         echo "You need to have /dev/pts mounted to avoid expect's spawn failures!"
1581         exit 1
1582 fi
1583 %{__make} -k -C builddir check 2>&1 ||:
1584 %endif
1585
1586 %install
1587 rm -rf $RPM_BUILD_ROOT
1588 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
1589
1590 cd builddir
1591
1592 %{__make} -j1 install \
1593         mandir=%{_mandir} \
1594         infodir=%{_infodir} \
1595         DESTDIR=$RPM_BUILD_ROOT
1596
1597 cp -p gcc/specs $RPM_BUILD_ROOT%{gcclibdir}
1598
1599 ln -sf %{_bindir}/cpp $RPM_BUILD_ROOT/lib/cpp
1600 ln -sf gcc $RPM_BUILD_ROOT%{_bindir}/cc
1601 echo ".so gcc.1" > $RPM_BUILD_ROOT%{_mandir}/man1/cc.1
1602
1603 libssp=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libssp.so.*.*.*)
1604 mv $RPM_BUILD_ROOT%{_libdir}/libssp.so.* $RPM_BUILD_ROOT%{_slibdir}
1605 ln -sf %{_slibdir}/$libssp $RPM_BUILD_ROOT%{_libdir}/libssp.so
1606 %if %{with multilib}
1607 libssp=$(cd $RPM_BUILD_ROOT%{_libdir32}; echo libssp.so.*.*.*)
1608 mv $RPM_BUILD_ROOT%{_libdir32}/libssp.so.* $RPM_BUILD_ROOT%{_slibdir32}
1609 ln -sf %{_slibdir32}/$libssp $RPM_BUILD_ROOT%{_libdir32}/libssp.so
1610 %endif
1611
1612 %if %{with fortran}
1613 ln -sf gfortran $RPM_BUILD_ROOT%{_bindir}/g95
1614 echo ".so gfortran.1" > $RPM_BUILD_ROOT%{_mandir}/man1/g95.1
1615 %endif
1616
1617 %if %{with ada}
1618 # move ada shared libraries to proper place...
1619 mv -f   $RPM_BUILD_ROOT%{gcclibdir}/adalib/*.so.1 \
1620         $RPM_BUILD_ROOT%{_libdir}
1621 # check if symlink to be made is valid
1622 test -f $RPM_BUILD_ROOT%{_libdir}/libgnat-%{major_ver}.so.1
1623 ln -sf  libgnat-%{major_ver}.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnat-%{major_ver}.so
1624 ln -sf  libgnarl-%{major_ver}.so.1 $RPM_BUILD_ROOT%{_libdir}/libgnarl-%{major_ver}.so
1625 ln -sf  libgnat-%{major_ver}.so $RPM_BUILD_ROOT%{_libdir}/libgnat.so
1626 ln -sf  libgnarl-%{major_ver}.so $RPM_BUILD_ROOT%{_libdir}/libgnarl.so
1627 %if %{with multilib}
1628 mv -f   $RPM_BUILD_ROOT%{gcclibdir}/32/adalib/*.so.1 \
1629         $RPM_BUILD_ROOT%{_libdir32}
1630 # check if symlink to be made is valid
1631 test -f $RPM_BUILD_ROOT%{_libdir32}/libgnat-%{major_ver}.so.1
1632 ln -sf  libgnat-%{major_ver}.so.1 $RPM_BUILD_ROOT%{_libdir32}/libgnat-%{major_ver}.so
1633 ln -sf  libgnarl-%{major_ver}.so.1 $RPM_BUILD_ROOT%{_libdir32}/libgnarl-%{major_ver}.so
1634 ln -sf  libgnat-%{major_ver}.so $RPM_BUILD_ROOT%{_libdir32}/libgnat.so
1635 ln -sf  libgnarl-%{major_ver}.so $RPM_BUILD_ROOT%{_libdir32}/libgnarl.so
1636 %endif
1637 %endif
1638
1639 cd ..
1640
1641 %if %{with java}
1642 install -d java-doc
1643 cp -f libjava/READ* java-doc
1644 ln -sf libgcj-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/libgcj.jar
1645
1646 # still not installed by gcc?
1647 [ ! -f $RPM_BUILD_ROOT%{_pkgconfigdir}/libffi.pc ] || exit 1
1648 sed -e 's,@prefix@,%{_prefix},
1649         s,@exec_prefix@,%{_exec_prefix},
1650         s,@libdir@,%{_libdir},
1651         s,@gcclibdir@,%{gcclibdir},' %{SOURCE3} >$RPM_BUILD_ROOT%{_pkgconfigdir}/libffi.pc
1652 %if %{with multilib}
1653 [ ! -f $RPM_BUILD_ROOT%{_pkgconfigdir32}/libffi.pc ] || exit 1
1654 install -d $RPM_BUILD_ROOT%{_pkgconfigdir32}
1655 sed -e 's,@prefix@,%{_prefix},
1656         s,@exec_prefix@,%{_exec_prefix},
1657         s,@libdir@,%{_libdir32},
1658         s,@gcclibdir@,%{gcclibdir},' %{SOURCE3} >$RPM_BUILD_ROOT%{_pkgconfigdir32}/libffi.pc
1659 %endif
1660 %endif
1661
1662 %if %{with objc}
1663 cp -f libobjc/README gcc/objc/README.libobjc
1664 %endif
1665
1666 # avoid -L poisoning in *.la - there should be only -L%{_libdir}/gcc/%{_target_platform}/%{version}
1667 # normalize libdir, to avoid propagation of unnecessary RPATHs by libtool
1668 for f in libssp.la libssp_nonshared.la \
1669         %{?with_cxx:libstdc++.la libsupc++.la} \
1670         %{?with_fortran:libgfortran.la libquadmath.la} \
1671         %{?with_gomp:libgomp.la} \
1672         %{?with_mudflap:libmudflap.la libmudflapth.la} \
1673 %if %{with java}
1674         libffi.la libgcj.la libgcj-tools.la libgij.la \
1675         %{gcjdbexecdir}/libjvm.la \
1676         %{gcjdbexecdir}/libxmlj.la \
1677         %{?with_x:lib-gnu-awt-xlib.la} \
1678         %{?with_gtk:%{gcjdbexecdir}/libgtkpeer.la %{gcjdbexecdir}/libjawt.la} \
1679         %{?with_qt:%{gcjdbexecdir}/libqtpeer.la} \
1680         %{?with_alsa:%{gcjdbexecdir}/libgjsmalsa.la} \
1681         %{?with_dssi:%{gcjdbexecdir}/libgjsmdssi.la} \
1682 %endif
1683         %{?with_objc:libobjc.la};
1684 do
1685         %{__perl} %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
1686         mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
1687 done
1688 %if %{with multilib}
1689 for f in libssp.la libssp_nonshared.la \
1690         %{?with_cxx:libstdc++.la libsupc++.la} \
1691         %{?with_fortran:libgfortran.la libquadmath.la} \
1692         %{?with_gomp:libgomp.la} \
1693         %{?with_mudflap:libmudflap.la libmudflapth.la} \
1694         %{?with_java:libffi.la} \
1695         %{?with_objc:libobjc.la};
1696 do
1697         %{__perl} %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
1698         mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
1699 done
1700 %endif
1701
1702 cp -p $RPM_BUILD_ROOT%{gcclibdir}/install-tools/include/*.h $RPM_BUILD_ROOT%{gcclibdir}/include
1703 cp -p $RPM_BUILD_ROOT%{gcclibdir}/include-fixed/syslimits.h $RPM_BUILD_ROOT%{gcclibdir}/include
1704 %{__rm} -r $RPM_BUILD_ROOT%{gcclibdir}/install-tools
1705 %{__rm} -r $RPM_BUILD_ROOT%{gcclibdir}/include-fixed
1706
1707 %if %{with python}
1708 for LIB in lib lib64; do
1709         LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_prefix}/$LIB"
1710         install -d $LIBPATH
1711         # basename is being run only for the native (non-biarch) file.
1712         sed -e 's,@pythondir@,%{_datadir}/gdb,' \
1713           -e 's,@toolexeclibdir@,%{_prefix}/'"$LIB," \
1714           < libstdc++-v3/python/hook.in \
1715           > $LIBPATH/$(basename $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libstdc++.so.*.*.*)-gdb.py
1716 done
1717 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
1718 mv $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libstdcxx $RPM_BUILD_ROOT%{py_sitescriptdir}
1719 %if %{with java}
1720 mv $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libjava $RPM_BUILD_ROOT%{py_sitescriptdir}
1721 %endif
1722 %{__sed} -i -e '1s,#!/usr/bin/env python,#!/usr/bin/python,' $RPM_BUILD_ROOT%{_bindir}/aot-compile
1723 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
1724 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
1725 %py_postclean
1726 %else
1727 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libstdcxx
1728 %if %{with java}
1729 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python/libjava
1730 %endif
1731 %endif
1732 # script(s) always installed; see above for builds with python; if no python, just don't package
1733 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libstdc++.so.*-gdb.py
1734 %if %{with multilib}
1735 %{__rm} $RPM_BUILD_ROOT%{_libdir32}/libstdc++.so.*-gdb.py
1736 %endif
1737
1738 %find_lang gcc
1739 %find_lang cpplib
1740 cat cpplib.lang >> gcc.lang
1741
1742 %if %{with cxx}
1743 %find_lang libstdc\+\+
1744 cp -p libstdc++-v3/include/precompiled/* $RPM_BUILD_ROOT%{_includedir}
1745 %endif
1746
1747 # always -f, as "dir" is created depending which texlive version is installed
1748 %{__rm} -f $RPM_BUILD_ROOT%{_infodir}/dir
1749
1750 # svn snap doesn't contain (release does) below files,
1751 # so let's create dummy entries to satisfy %%files.
1752 [ ! -f NEWS ] && touch NEWS
1753 [ ! -f libgfortran/AUTHORS ] && touch libgfortran/AUTHORS
1754 [ ! -f libgfortran/README ] && touch libgfortran/README
1755
1756 %clean
1757 rm -rf $RPM_BUILD_ROOT
1758
1759 %post   -p /sbin/postshell
1760 -/usr/sbin/fix-info-dir -c %{_infodir}
1761
1762 %postun -p /sbin/postshell
1763 -/usr/sbin/fix-info-dir -c %{_infodir}
1764
1765 %post   ada -p /sbin/postshell
1766 -/usr/sbin/fix-info-dir -c %{_infodir}
1767
1768 %postun ada -p /sbin/postshell
1769 -/usr/sbin/fix-info-dir -c %{_infodir}
1770
1771 %post   fortran -p /sbin/postshell
1772 -/usr/sbin/fix-info-dir -c %{_infodir}
1773
1774 %postun fortran -p /sbin/postshell
1775 -/usr/sbin/fix-info-dir -c %{_infodir}
1776
1777 %post   java -p /sbin/postshell
1778 -/usr/sbin/fix-info-dir -c %{_infodir}
1779
1780 %postun java -p /sbin/postshell
1781 -/usr/sbin/fix-info-dir -c %{_infodir}
1782
1783 %post   go -p /sbin/postshell
1784 -/usr/sbin/fix-info-dir -c %{_infodir}
1785
1786 %postun go -p /sbin/postshell
1787 -/usr/sbin/fix-info-dir -c %{_infodir}
1788
1789 %post   -p /sbin/ldconfig -n libgcc
1790 %postun -p /sbin/ldconfig -n libgcc
1791 %post   -p /sbin/ldconfig -n libgcc-multilib
1792 %postun -p /sbin/ldconfig -n libgcc-multilib
1793 %post   -p /sbin/ldconfig -n libgomp
1794 %postun -p /sbin/ldconfig -n libgomp
1795 %post   -p /sbin/ldconfig -n libgomp-multilib
1796 %postun -p /sbin/ldconfig -n libgomp-multilib
1797 %post   -p /sbin/ldconfig -n libmudflap
1798 %postun -p /sbin/ldconfig -n libmudflap
1799 %post   -p /sbin/ldconfig -n libmudflap-multilib
1800 %postun -p /sbin/ldconfig -n libmudflap-multilib
1801 %post   -p /sbin/ldconfig -n libgnat
1802 %postun -p /sbin/ldconfig -n libgnat
1803 %post   -p /sbin/ldconfig -n libgnat-multilib
1804 %postun -p /sbin/ldconfig -n libgnat-multilib
1805 %post   -p /sbin/ldconfig -n libstdc++
1806 %postun -p /sbin/ldconfig -n libstdc++
1807 %post   -p /sbin/ldconfig -n libstdc++-multilib
1808 %postun -p /sbin/ldconfig -n libstdc++-multilib
1809 %post   -p /sbin/ldconfig -n libgfortran
1810 %postun -p /sbin/ldconfig -n libgfortran
1811 %post   -p /sbin/ldconfig -n libgfortran-multilib
1812 %postun -p /sbin/ldconfig -n libgfortran-multilib
1813 %post   -p /sbin/ldconfig -n libgcj
1814 %postun -p /sbin/ldconfig -n libgcj
1815 %post   -p /sbin/ldconfig -n libffi
1816 %postun -p /sbin/ldconfig -n libffi
1817 %post   -p /sbin/ldconfig -n libffi-multilib
1818 %postun -p /sbin/ldconfig -n libffi-multilib
1819 %post   -p /sbin/ldconfig -n libobjc
1820 %postun -p /sbin/ldconfig -n libobjc
1821 %post   -p /sbin/ldconfig -n libobjc-multilib
1822 %postun -p /sbin/ldconfig -n libobjc-multilib
1823 %post -n libquadmath
1824 /sbin/ldconfig
1825 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1826 %postun -n libquadmath
1827 /sbin/ldconfig
1828 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
1829 %post   -p /sbin/ldconfig -n libquadmath-multilib
1830 %postun -p /sbin/ldconfig -n libquadmath-multilib
1831 %post   -p /sbin/ldconfig -n libgo
1832 %postun -p /sbin/ldconfig -n libgo
1833 %post   -p /sbin/ldconfig -n libgo-multilib
1834 %postun -p /sbin/ldconfig -n libgo-multilib
1835
1836 %files -f gcc.lang
1837 %defattr(644,root,root,755)
1838 %doc ChangeLog.general MAINTAINERS NEWS
1839 # bugs.html faq.html
1840 %doc gcc/{ChangeLog,ONEWS,README.Portability}
1841 %attr(755,root,root) %{_bindir}/*-gcc*
1842 %attr(755,root,root) %{_bindir}/cc
1843 %attr(755,root,root) %{_bindir}/cpp
1844 %attr(755,root,root) %{_bindir}/gcc
1845 #%attr(755,root,root) %{_bindir}/gccbug
1846 %attr(755,root,root) %{_bindir}/gcov
1847 %{_mandir}/man1/cc.1*
1848 %{_mandir}/man1/cpp.1*
1849 %{_mandir}/man1/gcc.1*
1850 %{_mandir}/man1/gcov.1*
1851 %{_infodir}/cpp.info*
1852 %{_infodir}/cppinternals.info*
1853 %{_infodir}/gcc.info*
1854 %{_infodir}/gccinstall.info*
1855 %{_infodir}/gccint.info*
1856 %attr(755,root,root) /lib/cpp
1857 %attr(755,root,root) %{_slibdir}/libgcc_s.so
1858 %attr(755,root,root) %{_libdir}/libssp.so
1859 %{_libdir}/libssp.la
1860 %{_libdir}/libssp.a
1861 %{_libdir}/libssp_nonshared.la
1862 %{_libdir}/libssp_nonshared.a
1863 %dir %{_libdir}/gcc
1864 %dir %{_libdir}/gcc/%{_target_platform}
1865 %dir %{gcclibdir}
1866 %{gcclibdir}/libgcc.a
1867 %{gcclibdir}/libgcc_eh.a
1868 %{gcclibdir}/libgcov.a
1869 %{gcclibdir}/specs
1870 %{gcclibdir}/crt*.o
1871 %attr(755,root,root) %{gcclibdir}/cc1
1872 %attr(755,root,root) %{gcclibdir}/collect2
1873 %attr(755,root,root) %{gcclibdir}/lto-wrapper
1874 %attr(755,root,root) %{gcclibdir}/lto1
1875 %attr(755,root,root) %{gcclibdir}/liblto_plugin.so*
1876 %{gcclibdir}/plugin
1877 %dir %{gcclibdir}/include
1878 %dir %{gcclibdir}/include/ssp
1879 %{gcclibdir}/include/ssp/*.h
1880 %{gcclibdir}/include/float.h
1881 %{gcclibdir}/include/iso646.h
1882 %{gcclibdir}/include/limits.h
1883 %{gcclibdir}/include/stdarg.h
1884 %{gcclibdir}/include/stdbool.h
1885 %{gcclibdir}/include/stddef.h
1886 %{gcclibdir}/include/stdfix.h
1887 %{gcclibdir}/include/stdint.h
1888 %{gcclibdir}/include/stdint-gcc.h
1889 %{gcclibdir}/include/syslimits.h
1890 %{gcclibdir}/include/unwind.h
1891 %{gcclibdir}/include/varargs.h
1892 %ifarch %{ix86} %{x8664}
1893 %{gcclibdir}/include/abmintrin.h
1894 %{gcclibdir}/include/ammintrin.h
1895 %{gcclibdir}/include/avxintrin.h
1896 %{gcclibdir}/include/bmiintrin.h
1897 %{gcclibdir}/include/bmmintrin.h
1898 %{gcclibdir}/include/cpuid.h
1899 %{gcclibdir}/include/cross-stdarg.h
1900 %{gcclibdir}/include/emmintrin.h
1901 %{gcclibdir}/include/fma4intrin.h
1902 %{gcclibdir}/include/ia32intrin.h
1903 %{gcclibdir}/include/immintrin.h
1904 %{gcclibdir}/include/lwpintrin.h
1905 %{gcclibdir}/include/mm3dnow.h
1906 %{gcclibdir}/include/mm_malloc.h
1907 %{gcclibdir}/include/mmintrin.h
1908 %{gcclibdir}/include/nmmintrin.h
1909 %{gcclibdir}/include/popcntintrin.h
1910 %{gcclibdir}/include/pmmintrin.h
1911 %{gcclibdir}/include/smmintrin.h
1912 %{gcclibdir}/include/tbmintrin.h
1913 %{gcclibdir}/include/tmmintrin.h
1914 %{gcclibdir}/include/wmmintrin.h
1915 %{gcclibdir}/include/x86intrin.h
1916 %{gcclibdir}/include/xmmintrin.h
1917 %{gcclibdir}/include/xopintrin.h
1918 %endif
1919 %ifarch arm
1920 %{gcclibdir}/include/arm_neon.h
1921 %{gcclibdir}/include/mmintrin.h
1922 %endif
1923 %ifarch ia64
1924 %{gcclibdir}/include/ia64intrin.h
1925 %endif
1926 %ifarch m68k
1927 %{gcclibdir}/include/math-68881.h
1928 %endif
1929 %ifarch mips
1930 %{gcclibdir}/include/loongson.h
1931 %endif
1932
1933 %if %{with multilib}
1934 %files multilib
1935 %defattr(644,root,root,755)
1936 %attr(755,root,root) %{_slibdir32}/libgcc_s.so
1937 %dir %{gcclibdir}/32
1938 %{gcclibdir}/32/crt*.o
1939 %{gcclibdir}/32/libgcc.a
1940 %{gcclibdir}/32/libgcc_eh.a
1941 %{gcclibdir}/32/libgcov.a
1942 %attr(755,root,root) %{_libdir32}/libssp.so
1943 %{_libdir32}/libssp.la
1944 %{_libdir32}/libssp.a
1945 %{_libdir32}/libssp_nonshared.la
1946 %{_libdir32}/libssp_nonshared.a
1947 %endif
1948
1949 %files -n libgcc
1950 %defattr(644,root,root,755)
1951 %attr(755,root,root) %{_slibdir}/libgcc_s.so.1
1952 %attr(755,root,root) %{_slibdir}/libssp.so.*.*.*
1953 %attr(755,root,root) %ghost %{_slibdir}/libssp.so.0
1954
1955 %if %{with multilib}
1956 %files -n libgcc-multilib
1957 %defattr(644,root,root,755)
1958 %attr(755,root,root) %{_slibdir32}/libgcc_s.so.1
1959 %attr(755,root,root) %{_slibdir32}/libssp.so.*.*.*
1960 %attr(755,root,root) %ghost %{_slibdir32}/libssp.so.0
1961 %endif
1962
1963 %if %{with gomp}
1964 %files -n libgomp
1965 %defattr(644,root,root,755)
1966 %attr(755,root,root) %{_libdir}/libgomp.so.*.*.*
1967 %attr(755,root,root) %ghost %{_libdir}/libgomp.so.1
1968
1969 %if %{with multilib}
1970 %files -n libgomp-multilib
1971 %defattr(644,root,root,755)
1972 %attr(755,root,root) %{_libdir32}/libgomp.so.*.*.*
1973 %attr(755,root,root) %ghost %{_libdir32}/libgomp.so.1
1974 %endif
1975
1976 %files -n libgomp-devel
1977 %defattr(644,root,root,755)
1978 %attr(755,root,root) %{_libdir}/libgomp.so
1979 %{_libdir}/libgomp.la
1980 %{_libdir}/libgomp.spec
1981 %{gcclibdir}/finclude
1982 %{gcclibdir}/include/omp.h
1983 %{_infodir}/libgomp.info*
1984
1985 %if %{with multilib}
1986 %files -n libgomp-multilib-devel
1987 %defattr(644,root,root,755)
1988 %attr(755,root,root) %{_libdir32}/libgomp.so
1989 %{_libdir32}/libgomp.la
1990 %{_libdir32}/libgomp.spec
1991 %endif
1992
1993 %files -n libgomp-static
1994 %defattr(644,root,root,755)
1995 %{_libdir}/libgomp.a
1996
1997 %if %{with multilib}
1998 %files -n libgomp-multilib-static
1999 %defattr(644,root,root,755)
2000 %{_libdir32}/libgomp.a
2001 %endif
2002 %endif
2003
2004 %if %{with mudflap}
2005 %files -n libmudflap
2006 %defattr(644,root,root,755)
2007 %attr(755,root,root) %{_libdir}/libmudflap.so.*.*.*
2008 %attr(755,root,root) %ghost %{_libdir}/libmudflap.so.0
2009 %attr(755,root,root) %{_libdir}/libmudflapth.so.*.*.*
2010 %attr(755,root,root) %ghost %{_libdir}/libmudflapth.so.0
2011
2012 %if %{with multilib}
2013 %files -n libmudflap-multilib
2014 %defattr(644,root,root,755)
2015 %attr(755,root,root) %{_libdir32}/libmudflap.so.*.*.*
2016 %attr(755,root,root) %ghost %{_libdir32}/libmudflap.so.0
2017 %attr(755,root,root) %{_libdir32}/libmudflapth.so.*.*.*
2018 %attr(755,root,root) %ghost %{_libdir32}/libmudflapth.so.0
2019 %endif
2020
2021 %files -n libmudflap-devel
2022 %defattr(644,root,root,755)
2023 %attr(755,root,root) %{_libdir}/libmudflap.so
2024 %attr(755,root,root) %{_libdir}/libmudflapth.so
2025 %{_libdir}/libmudflap.la
2026 %{_libdir}/libmudflapth.la
2027 %{gcclibdir}/include/mf-runtime.h
2028
2029 %if %{with multilib}
2030 %files -n libmudflap-multilib-devel
2031 %defattr(644,root,root,755)
2032 %attr(755,root,root) %{_libdir32}/libmudflap.so
2033 %attr(755,root,root) %{_libdir32}/libmudflapth.so
2034 %{_libdir32}/libmudflap.la
2035 %{_libdir32}/libmudflapth.la
2036 %endif
2037
2038 %files -n libmudflap-static
2039 %defattr(644,root,root,755)
2040 %{_libdir}/libmudflap.a
2041 %{_libdir}/libmudflapth.a
2042
2043 %if %{with multilib}
2044 %files -n libmudflap-multilib-static
2045 %defattr(644,root,root,755)
2046 %{_libdir32}/libmudflap.a
2047 %{_libdir32}/libmudflapth.a
2048 %endif
2049 %endif
2050
2051 %if %{with ada}
2052 %files ada
2053 %defattr(644,root,root,755)
2054 %doc gcc/ada/ChangeLog
2055 %attr(755,root,root) %{_bindir}/gnat*
2056 %if %{with java}
2057 %exclude %{_bindir}/gnative2ascii
2058 %endif
2059 %attr(755,root,root) %{_libdir}/libgnarl-*.so
2060 %attr(755,root,root) %{_libdir}/libgnarl.so
2061 %attr(755,root,root) %{_libdir}/libgnat-*.so
2062 %attr(755,root,root) %{_libdir}/libgnat.so
2063 %attr(755,root,root) %{gcclibdir}/gnat1
2064 %{gcclibdir}/adainclude
2065 %dir %{gcclibdir}/adalib
2066 %{gcclibdir}/adalib/*.ali
2067 %{gcclibdir}/adalib/g-trasym.o
2068 %ifarch %{ix86} %{x8664}
2069 %{gcclibdir}/adalib/libgmem.a
2070 %endif
2071 %{_infodir}/gnat-style.info*
2072 %{_infodir}/gnat_rm.info*
2073 %{_infodir}/gnat_ugn.info*
2074
2075 %if %{with multilib}
2076 %files ada-multilib
2077 %defattr(644,root,root,755)
2078 %attr(755,root,root) %{_libdir32}/libgnarl-*.so
2079 %attr(755,root,root) %{_libdir32}/libgnarl.so
2080 %attr(755,root,root) %{_libdir32}/libgnat-*.so
2081 %attr(755,root,root) %{_libdir32}/libgnat.so
2082 %{gcclibdir}/32/adainclude
2083 %dir %{gcclibdir}/32/adalib
2084 %{gcclibdir}/32/adalib/*.ali
2085 %{gcclibdir}/32/adalib/g-trasym.o
2086 %ifarch %{ix86} %{x8664}
2087 %{gcclibdir}/32/adalib/libgmem.a
2088 %endif
2089 %endif
2090
2091 %files -n libgnat
2092 %defattr(644,root,root,755)
2093 %attr(755,root,root) %{_libdir}/libgnarl-*.so.1
2094 %attr(755,root,root) %{_libdir}/libgnarl.so.1
2095 %attr(755,root,root) %{_libdir}/libgnat-*.so.1
2096 %attr(755,root,root) %{_libdir}/libgnat.so.1
2097
2098 %if %{with multilib}
2099 %files -n libgnat-multilib
2100 %defattr(644,root,root,755)
2101 %attr(755,root,root) %{_libdir32}/libgnarl-*.so.1
2102 %attr(755,root,root) %{_libdir32}/libgnarl.so.1
2103 %attr(755,root,root) %{_libdir32}/libgnat-*.so.1
2104 %attr(755,root,root) %{_libdir32}/libgnat.so.1
2105 %endif
2106
2107 %files -n libgnat-static
2108 %defattr(644,root,root,755)
2109 %{gcclibdir}/adalib/libgnala.a
2110 %{gcclibdir}/adalib/libgnarl.a
2111 %{gcclibdir}/adalib/libgnat.a
2112
2113 %if %{with multilib}
2114 %files -n libgnat-multilib-static
2115 %defattr(644,root,root,755)
2116 %{gcclibdir}/32/adalib/libgnala.a
2117 %{gcclibdir}/32/adalib/libgnarl.a
2118 %{gcclibdir}/32/adalib/libgnat.a
2119 %endif
2120 %endif
2121
2122 %if %{with cxx}
2123 %files c++
2124 %defattr(644,root,root,755)
2125 %doc gcc/cp/{ChangeLog,NEWS}
2126 %attr(755,root,root) %{_bindir}/g++
2127 %attr(755,root,root) %{_bindir}/*-g++
2128 %attr(755,root,root) %{_bindir}/c++
2129 %attr(755,root,root) %{_bindir}/*-c++
2130 %attr(755,root,root) %{gcclibdir}/cc1plus
2131 %{_libdir}/libsupc++.la
2132 %{_libdir}/libsupc++.a
2133 %{_mandir}/man1/g++.1*
2134
2135 %if %{with multilib}
2136 %files c++-multilib
2137 %defattr(644,root,root,755)
2138 %{_libdir32}/libsupc++.la
2139 %{_libdir32}/libsupc++.a
2140 %endif
2141
2142 %files -n libstdc++ -f libstdc++.lang
2143 %defattr(644,root,root,755)
2144 %doc libstdc++-v3/{ChangeLog,README}
2145 %attr(755,root,root) %{_libdir}/libstdc++.so.*.*.*
2146 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.6
2147
2148 %if %{with multilib}
2149 %files -n libstdc++-multilib
2150 %defattr(644,root,root,755)
2151 %attr(755,root,root) %{_libdir32}/libstdc++.so.*.*.*
2152 %attr(755,root,root) %ghost %{_libdir32}/libstdc++.so.6
2153 %endif
2154
2155 %if %{with python}
2156 %files -n libstdc++-gdb
2157 %defattr(644,root,root,755)
2158 %dir %{py_sitescriptdir}/libstdcxx
2159 %{py_sitescriptdir}/libstdcxx/*.py[co]
2160 %dir %{py_sitescriptdir}/libstdcxx/v6
2161 %{py_sitescriptdir}/libstdcxx/v6/*.py[co]
2162 %{_datadir}/gdb/auto-load/usr/lib*/libstdc++.so.6.0.16-gdb.py
2163 %endif
2164
2165 %files -n libstdc++-devel
2166 %defattr(644,root,root,755)
2167 %attr(755,root,root) %{_libdir}/libstdc++.so
2168 %{_libdir}/libstdc++.la
2169 %dir %{_includedir}/c++
2170 %{_includedir}/c++/%{version}
2171 %{_includedir}/extc++.h
2172 %{_includedir}/stdc++.h
2173 %{_includedir}/stdtr1c++.h
2174 %if %{with java}
2175 %exclude %{_includedir}/c++/%{version}/java
2176 %exclude %{_includedir}/c++/%{version}/javax
2177 %exclude %{_includedir}/c++/%{version}/gcj
2178 %exclude %{_includedir}/c++/%{version}/gnu
2179 %exclude %{_includedir}/c++/%{version}/org
2180 %exclude %{_includedir}/c++/%{version}/sun
2181 %endif
2182
2183 %if %{with apidocs}
2184 %files -n libstdc++-apidocs
2185 %defattr(644,root,root,755)
2186 %doc libstdc++-v3/doc/html/*
2187 %endif
2188
2189 %if %{with multilib}
2190 %files -n libstdc++-multilib-devel
2191 %defattr(644,root,root,755)
2192 %attr(755,root,root) %{_libdir32}/libstdc++.so
2193 %{_libdir32}/libstdc++.la
2194 %endif
2195
2196 %files -n libstdc++-static
2197 %defattr(644,root,root,755)
2198 %{_libdir}/libstdc++.a
2199
2200 %if %{with multilib}
2201 %files -n libstdc++-multilib-static
2202 %defattr(644,root,root,755)
2203 %{_libdir32}/libstdc++.a
2204 %endif
2205 %endif
2206
2207 %if %{with fortran}
2208 %files fortran
2209 %defattr(644,root,root,755)
2210 %doc gcc/fortran/ChangeLog
2211 %attr(755,root,root) %{_bindir}/g95
2212 %attr(755,root,root) %{_bindir}/gfortran
2213 %attr(755,root,root) %{_bindir}/*-gfortran
2214 %attr(755,root,root) %{gcclibdir}/f951
2215 %attr(755,root,root) %{_libdir}/libgfortran.so
2216 %{_libdir}/libgfortran.spec
2217 %{_libdir}/libgfortran.la
2218 %{gcclibdir}/libgfortranbegin.la
2219 %{gcclibdir}/libgfortranbegin.a
2220 %{_infodir}/gfortran.info*
2221 %{_mandir}/man1/g95.1*
2222 %{_mandir}/man1/gfortran.1*
2223
2224 %if %{with multilib}
2225 %files fortran-multilib
2226 %defattr(644,root,root,755)
2227 %attr(755,root,root) %{_libdir32}/libgfortran.so
2228 %{_libdir32}/libgfortran.spec
2229 %{_libdir32}/libgfortran.la
2230 %{gcclibdir}/32/libgfortranbegin.la
2231 %{gcclibdir}/32/libgfortranbegin.a
2232 %endif
2233
2234 %files -n libgfortran
2235 %defattr(644,root,root,755)
2236 %doc libgfortran/{AUTHORS,README,ChangeLog}
2237 %attr(755,root,root) %{_libdir}/libgfortran.so.*.*.*
2238 %attr(755,root,root) %ghost %{_libdir}/libgfortran.so.3
2239
2240 %if %{with multilib}
2241 %files -n libgfortran-multilib
2242 %defattr(644,root,root,755)
2243 %attr(755,root,root) %{_libdir32}/libgfortran.so.*.*.*
2244 %attr(755,root,root) %ghost %{_libdir32}/libgfortran.so.3
2245 %endif
2246
2247 %files -n libgfortran-static
2248 %defattr(644,root,root,755)
2249 %{_libdir}/libgfortran.a
2250
2251 %if %{with multilib}
2252 %files -n libgfortran-multilib-static
2253 %defattr(644,root,root,755)
2254 %{_libdir32}/libgfortran.a
2255 %endif
2256
2257 %files -n libquadmath
2258 %defattr(644,root,root,755)
2259 %attr(755,root,root) %{_libdir}/libquadmath.so.*.*.*
2260 %attr(755,root,root) %ghost %{_libdir}/libquadmath.so.0
2261
2262 %if %{with multilib}
2263 %files -n libquadmath-multilib
2264 %defattr(644,root,root,755)
2265 %attr(755,root,root) %{_libdir32}/libquadmath.so.*.*.*
2266 %attr(755,root,root) %ghost %{_libdir32}/libquadmath.so.0
2267 %endif
2268
2269 %files -n libquadmath-devel
2270 %defattr(644,root,root,755)
2271 %{gcclibdir}/include/quadmath.h
2272 %{gcclibdir}/include/quadmath_weak.h
2273 %attr(755,root,root) %{_libdir}/libquadmath.so
2274 %{_libdir}/libquadmath.la
2275 %{_infodir}/libquadmath.info*
2276
2277 %if %{with multilib}
2278 %files -n libquadmath-multilib-devel
2279 %defattr(644,root,root,755)
2280 %attr(755,root,root) %{_libdir32}/libquadmath.so
2281 %{_libdir32}/libquadmath.la
2282 %endif
2283
2284 %files -n libquadmath-static
2285 %defattr(644,root,root,755)
2286 %{_libdir}/libquadmath.a
2287
2288 %if %{with multilib}
2289 %files -n libquadmath-multilib-static
2290 %defattr(644,root,root,755)
2291 %{_libdir32}/libquadmath.a
2292 %endif
2293 %endif
2294
2295 %if %{with java}
2296 %files java
2297 %defattr(644,root,root,755)
2298 %doc gcc/java/ChangeLog java-doc/*
2299 %attr(755,root,root) %{_bindir}/gappletviewer
2300 %attr(755,root,root) %{_bindir}/gc-analyze
2301 %attr(755,root,root) %{_bindir}/gcj
2302 %attr(755,root,root) %{_bindir}/gcj-dbtool
2303 %attr(755,root,root) %{_bindir}/gcjh
2304 %attr(755,root,root) %{_bindir}/gjar
2305 %attr(755,root,root) %{_bindir}/gjarsigner
2306 %attr(755,root,root) %{_bindir}/gjavah
2307 %attr(755,root,root) %{_bindir}/gkeytool
2308 %attr(755,root,root) %{_bindir}/gnative2ascii
2309 %attr(755,root,root) %{_bindir}/gorbd
2310 %attr(755,root,root) %{_bindir}/grmic
2311 %attr(755,root,root) %{_bindir}/grmid
2312 %attr(755,root,root) %{_bindir}/grmiregistry
2313 %attr(755,root,root) %{_bindir}/gserialver
2314 %attr(755,root,root) %{_bindir}/gtnameserv
2315 %attr(755,root,root) %{_bindir}/jcf-dump
2316 %attr(755,root,root) %{_bindir}/jv-convert
2317 %attr(755,root,root) %{_bindir}/rebuild-gcj-db
2318 %attr(755,root,root) %{_bindir}/*-gcj
2319 %attr(755,root,root) %{gcclibdir}/ecj1
2320 %attr(755,root,root) %{gcclibdir}/jc1
2321 %attr(755,root,root) %{gcclibdir}/jvgenmain
2322 %{_infodir}/cp-tools.info*
2323 %{_infodir}/gcj.info*
2324 %{_mandir}/man1/gappletviewer.1*
2325 %{_mandir}/man1/gc-analyze.1*
2326 %{_mandir}/man1/gcj.1*
2327 %{_mandir}/man1/gcj-dbtool.1*
2328 %{_mandir}/man1/gcjh.1*
2329 %{_mandir}/man1/gjar.1*
2330 %{_mandir}/man1/gjarsigner.1*
2331 %{_mandir}/man1/gjavah.1*
2332 %{_mandir}/man1/gkeytool.1*
2333 %{_mandir}/man1/gnative2ascii.1*
2334 %{_mandir}/man1/gorbd.1*
2335 %{_mandir}/man1/grmic.1*
2336 %{_mandir}/man1/grmid.1*
2337 %{_mandir}/man1/grmiregistry.1*
2338 %{_mandir}/man1/gserialver.1*
2339 %{_mandir}/man1/gtnameserv.1*
2340 %{_mandir}/man1/jcf-dump.1*
2341 %{_mandir}/man1/jv-convert.1*
2342 %{_mandir}/man1/rebuild-gcj-db*
2343
2344 %if %{with python}
2345 %files java-aotcompile
2346 %defattr(644,root,root,755)
2347 %attr(755,root,root) %{_bindir}/aot-compile
2348 %dir %{py_sitescriptdir}/libjava
2349 %{py_sitescriptdir}/libjava/*.py[co]
2350 %{_mandir}/man1/aot-compile.1*
2351 %endif
2352
2353 %files -n libgcj
2354 %defattr(644,root,root,755)
2355 %doc libjava/{ChangeLog,LIBGCJ_LICENSE,NEWS,README,THANKS}
2356 %attr(755,root,root) %{_bindir}/gij
2357 %attr(755,root,root) %{_libdir}/libgcj-tools.so.*.*.*
2358 %attr(755,root,root) %ghost %{_libdir}/libgcj-tools.so.%{gcj_soname_ver}
2359 %attr(755,root,root) %{_libdir}/libgcj.so.*.*.*
2360 %attr(755,root,root) %ghost %{_libdir}/libgcj.so.%{gcj_soname_ver}
2361 %attr(755,root,root) %{_libdir}/libgcj_bc.so.*.*.*
2362 %attr(755,root,root) %ghost %{_libdir}/libgcj_bc.so.1
2363 %attr(755,root,root) %{_libdir}/libgcj_bc.so
2364 %attr(755,root,root) %{_libdir}/libgij.so.*.*.*
2365 %attr(755,root,root) %ghost %{_libdir}/libgij.so.%{gcj_soname_ver}
2366 %{?with_x:%attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so.*.*.*}
2367 %{?with_x:%attr(755,root,root) %ghost %{_libdir}/lib-gnu-awt-xlib.so.%{gcj_soname_ver}}
2368 %dir %{_libdir}/%{gcjdbexecdir}
2369 %{_libdir}/%{gcjdbexecdir}/classmap.db
2370 %{?with_mozilla:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libgcjwebplugin.so}
2371 %{?with_alsa:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libgjsmalsa.so*}
2372 %{?with_dssi:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libgjsmdssi.so*}
2373 %{?with_gtk:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libgtkpeer.so}
2374 %{?with_gtk:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libjawt.so}
2375 %attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libjavamath.so
2376 %attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libjvm.so
2377 %{?with_qt:%attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libqtpeer.so}
2378 %attr(755,root,root) %{_libdir}/%{gcjdbexecdir}/libxmlj.so*
2379 %{_libdir}/logging.properties
2380 %{_javadir}/libgcj*.jar
2381 %{_javadir}/ecj.jar
2382 %{_mandir}/man1/gij.1*
2383
2384 %files -n libgcj-devel
2385 %defattr(644,root,root,755)
2386 %attr(755,root,root) %{_libdir}/libgcj-tools.so
2387 %{_libdir}/libgcj-tools.la
2388 %attr(755,root,root) %{_libdir}/libgcj.so
2389 %{_libdir}/libgcj.la
2390 %attr(755,root,root) %{_libdir}/libgij.so
2391 %{_libdir}/libgij.la
2392 %if %{with x}
2393 %attr(755,root,root) %{_libdir}/lib-gnu-awt-xlib.so
2394 %{_libdir}/lib-gnu-awt-xlib.la
2395 %endif
2396 %{_libdir}/libgcj.spec
2397 %dir %{_libdir}/security
2398 %{_libdir}/security/*
2399 %{?with_alsa:%{_libdir}/%{gcjdbexecdir}/libgjsmalsa.la}
2400 %{?with_dssi:%{_libdir}/%{gcjdbexecdir}/libgjsmdssi.la}
2401 %{?with_gtk:%{_libdir}/%{gcjdbexecdir}/libgtkpeer.la}
2402 %{?with_gtk:%{_libdir}/%{gcjdbexecdir}/libjawt.la}
2403 %{_libdir}/%{gcjdbexecdir}/libjavamath.la
2404 %{_libdir}/%{gcjdbexecdir}/libjvm.la
2405 %{?with_qt:%{_libdir}/%{gcjdbexecdir}/libqtpeer.la}
2406 %{?with_mozilla:%{_libdir}/%{gcjdbexecdir}/libgcjwebplugin.la}
2407 %{_libdir}/%{gcjdbexecdir}/libxmlj.la
2408 %{gcclibdir}/include/gcj
2409 %{gcclibdir}/include/jawt.h
2410 %{gcclibdir}/include/jawt_md.h
2411 %{gcclibdir}/include/jni.h
2412 %{gcclibdir}/include/jni_md.h
2413 %{gcclibdir}/include/jvmpi.h
2414 %{_includedir}/c++/%{version}/java
2415 %{_includedir}/c++/%{version}/javax
2416 %{_includedir}/c++/%{version}/gcj
2417 %{_includedir}/c++/%{version}/gnu
2418 %{_includedir}/c++/%{version}/org
2419 %{_includedir}/c++/%{version}/sun
2420 %{_pkgconfigdir}/libgcj-%{major_ver}.pc
2421
2422 %files -n libgcj-static
2423 %defattr(644,root,root,755)
2424 %{_libdir}/libgcj-tools.a
2425 %{_libdir}/libgcj.a
2426 %{_libdir}/libgcj_bc.a
2427 %{_libdir}/libgij.a
2428 %{?with_x:%{_libdir}/lib-gnu-awt-xlib.a}
2429 %{_libdir}/%{gcjdbexecdir}/libjvm.a
2430
2431 %files -n libffi
2432 %defattr(644,root,root,755)
2433 %doc libffi/{ChangeLog,ChangeLog.libgcj,LICENSE,README}
2434 %attr(755,root,root) %{_libdir}/libffi.so.*.*.*
2435 %attr(755,root,root) %ghost %{_libdir}/libffi.so.4
2436
2437 %if %{with multilib}
2438 %files -n libffi-multilib
2439 %defattr(644,root,root,755)
2440 %attr(755,root,root) %{_libdir32}/libffi.so.*.*.*
2441 %attr(755,root,root) %ghost %{_libdir32}/libffi.so.4
2442 %endif
2443
2444 %files -n libffi-devel
2445 %defattr(644,root,root,755)
2446 %attr(755,root,root) %{_libdir}/libffi.so
2447 %{_libdir}/libffi.la
2448 %{gcclibdir}/include/ffi.h
2449 %{gcclibdir}/include/ffitarget.h
2450 %{_pkgconfigdir}/libffi.pc
2451 %{_mandir}/man3/ffi*.3*
2452
2453 %if %{with multilib}
2454 %files -n libffi-multilib-devel
2455 %defattr(644,root,root,755)
2456 %attr(755,root,root) %{_libdir32}/libffi.so
2457 %{_libdir32}/libffi.la
2458 %{_pkgconfigdir32}/libffi.pc
2459 %endif
2460
2461 %files -n libffi-static
2462 %defattr(644,root,root,755)
2463 %{_libdir}/libffi.a
2464
2465 %if %{with multilib}
2466 %files -n libffi-multilib-static
2467 %defattr(644,root,root,755)
2468 %{_libdir32}/libffi.a
2469 %endif
2470 %endif
2471
2472 %if %{with objc}
2473 %files objc
2474 %defattr(644,root,root,755)
2475 %doc gcc/objc/README.libobjc
2476 %attr(755,root,root) %{gcclibdir}/cc1obj
2477 %attr(755,root,root) %{_libdir}/libobjc.so
2478 %{_libdir}/libobjc.la
2479 %{gcclibdir}/include/objc
2480
2481 %if %{with objcxx}
2482 %files objc++
2483 %defattr(644,root,root,755)
2484 %doc gcc/objcp/ChangeLog
2485 %attr(755,root,root) %{gcclibdir}/cc1objplus
2486 %endif
2487
2488 %if %{with multilib}
2489 %files objc-multilib
2490 %defattr(644,root,root,755)
2491 %attr(755,root,root) %{_libdir32}/libobjc.so
2492 %{_libdir32}/libobjc.la
2493 %endif
2494
2495 %files -n libobjc
2496 %defattr(644,root,root,755)
2497 %doc libobjc/{ChangeLog,README*}
2498 %attr(755,root,root) %{_libdir}/libobjc.so.*.*.*
2499 %attr(755,root,root) %ghost %{_libdir}/libobjc.so.3
2500
2501 %if %{with multilib}
2502 %files -n libobjc-multilib
2503 %defattr(644,root,root,755)
2504 %attr(755,root,root) %{_libdir32}/libobjc.so.*.*.*
2505 %attr(755,root,root) %ghost %{_libdir32}/libobjc.so.3
2506 %endif
2507
2508 %files -n libobjc-static
2509 %defattr(644,root,root,755)
2510 %{_libdir}/libobjc.a
2511
2512 %if %{with multilib}
2513 %files -n libobjc-multilib-static
2514 %defattr(644,root,root,755)
2515 %{_libdir32}/libobjc.a
2516 %endif
2517 %endif
2518
2519 %if %{with go}
2520 %files go
2521 %defattr(644,root,root,755)
2522 %doc gcc/go/gofrontend/{LICENSE,PATENTS,README}
2523 %attr(755,root,root) %{_bindir}/gccgo
2524 %attr(755,root,root) %{gcclibdir}/go1
2525 %dir %{_libdir}/go
2526 %{_libdir}/go/%{version}
2527 %{_mandir}/man1/gccgo.1*
2528 %{_infodir}/gccgo.info*
2529
2530 %if %{with multilib}
2531 %files go-multilib
2532 %defattr(644,root,root,755)
2533 %dir %{_libdir32}/go
2534 %{_libdir32}/go/%{version}
2535 %endif
2536
2537 %files -n libgo
2538 %defattr(644,root,root,755)
2539 %doc libgo/{LICENSE,PATENTS,README}
2540 %attr(755,root,root) %{_libdir}/libgo.so.*.*.*
2541 %attr(755,root,root) %ghost %{_libdir}/libgo.so.0
2542
2543 %if %{with multilib}
2544 %files -n libgo-multilib
2545 %defattr(644,root,root,755)
2546 %attr(755,root,root) %{_libdir32}/libgo.so.*.*.*
2547 %attr(755,root,root) %ghost %{_libdir32}/libgo.so.0
2548 %endif
2549
2550 %files -n libgo-devel
2551 %defattr(644,root,root,755)
2552 %attr(755,root,root) %{_libdir}/libgo.so
2553 %{_libdir}/libgo.la
2554 %{_libdir}/libgobegin.a
2555
2556 %if %{with multilib}
2557 %files -n libgo-multilib-devel
2558 %defattr(644,root,root,755)
2559 %attr(755,root,root) %{_libdir32}/libgo.so
2560 %{_libdir32}/libgo.la
2561 %{_libdir32}/libgobegin.a
2562 %endif
2563
2564 %files -n libgo-static
2565 %defattr(644,root,root,755)
2566 %{_libdir}/libgo.a
2567
2568 %if %{with multilib}
2569 %files -n libgo-multilib-static
2570 %defattr(644,root,root,755)
2571 %{_libdir32}/libgo.a
2572 %endif
2573 %endif