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