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