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