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