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