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