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