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