]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | # _without_ada - build without ADA support | |
4 | # _without_java - build without Java support | |
5 | # _without_objc - build without objc support | |
6 | # | |
7 | %define DASHED_SNAP %{nil} | |
8 | %define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g") | |
9 | %define GCC_VERSION 3.2.3 | |
10 | %define KSI_VERSION 1.0.1.1567 | |
11 | ||
12 | Summary: GNU C Compiler | |
13 | Summary(pl): Kompilator C GNU | |
14 | Summary(pt_BR): C Compilador GNU (GCC) | |
15 | Name: gcc | |
16 | Version: %{GCC_VERSION} | |
17 | Release: 0.3 | |
18 | Epoch: 5 | |
19 | License: GPL | |
20 | Group: Development/Languages | |
21 | Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2 | |
22 | Source1: ftp://ftp.pld.org.pl/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz | |
23 | Source2: %{name}-non-english-man-pages.tar.bz2 | |
24 | Patch1: %{name}-paths.patch | |
25 | Patch2: %{name}-ada-no-addr2line.patch | |
26 | Patch3: %{name}-ada-no-prefix.o.patch | |
27 | Patch4: %{name}-nolocalefiles.patch | |
28 | Patch5: %{name}-gcc-page.c.patch | |
29 | Patch6: %{name}-info.patch | |
30 | Patch7: %{name}-ada-link-new-libgnat.patch | |
31 | # -- stolen patches from RH -- | |
32 | Patch10: gcc32-ada-link.patch | |
33 | Patch11: gcc32-attr-visibility.patch | |
34 | Patch12: gcc32-attr-visibility2.patch | |
35 | Patch13: gcc32-attr-visibility3.patch | |
36 | Patch14: gcc32-attr-visibility4.patch | |
37 | Patch15: gcc32-attr-visibility5.patch | |
38 | Patch16: gcc32-boehm-gc-libs.patch | |
39 | Patch17: gcc32-bogus-inline.patch | |
40 | Patch18: gcc32-c++-nrv-test.patch | |
41 | Patch20: gcc32-c++-tsubst-asm.patch | |
42 | Patch21: gcc32-cfg-eh.patch | |
43 | Patch22: gcc32-debug-pr7241.patch | |
44 | ||
45 | Patch24: gcc32-duplicate-decl.patch | |
46 | Patch25: gcc32-dwarf2-pr6381.patch | |
47 | Patch26: gcc32-dwarf2-pr6436-test.patch | |
48 | Patch27: gcc32-fde-merge-compat.patch | |
49 | ||
50 | Patch29: gcc32-hard-reg-sharing.patch | |
51 | Patch30: gcc32-hard-reg-sharing2.patch | |
52 | Patch31: gcc32-i386-default-momit-leaf-frame-pointer.patch | |
53 | Patch32: gcc32-i386-memtest-test.patch | |
54 | Patch33: gcc32-i386-no-default-momit-leaf-frame-pointer.patch | |
55 | Patch34: gcc32-i386-pic-label-thunk.patch | |
56 | Patch35: gcc32-i386-profile-olfp.patch | |
57 | Patch36: gcc32-inline-label.patch | |
58 | Patch37: gcc32-java-no-rpath.patch | |
59 | Patch38: gcc32-pr6842.patch | |
60 | Patch39: gcc32-sparc-sll1.patch | |
61 | Patch40: gcc32-test-rh65771.patch | |
62 | Patch41: gcc32-test-rotate.patch | |
63 | Patch42: gcc32-tls-dwarf2.patch | |
64 | Patch43: gcc32-tls.patch | |
65 | Patch44: gcc32-tls2.patch | |
66 | Patch45: gcc32-tls3.patch | |
67 | Patch46: gcc32-tls4.patch | |
68 | Patch47: gcc32-tls5.patch | |
69 | BuildRequires: autoconf | |
70 | BuildRequires: bison | |
71 | BuildRequires: fileutils >= 4.0.41 | |
72 | BuildRequires: gcc | |
73 | %{!?_without_ada:BuildRequires: gcc-ada} | |
74 | BuildRequires: glibc-devel >= 2.2.5-20 | |
75 | BuildRequires: perl-devel | |
76 | BuildRequires: texinfo >= 4.1 | |
77 | BuildRequires: zlib-devel | |
78 | BuildRequires: gettext-devel | |
79 | Requires: binutils >= 2.12.90.0.4 | |
80 | Requires: cpp = %{GCC_VERSION} | |
81 | Requires: libgcc = %{GCC_VERSION} | |
82 | Conflicts: glibc-devel < 2.2.5-20 | |
83 | URL: http://gcc.gnu.org/ | |
84 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
85 | ||
86 | %define _slibdir /lib | |
87 | ||
88 | %description | |
89 | A compiler aimed at integrating all the optimizations and features | |
90 | necessary for a high-performance and stable development environment. | |
91 | ||
92 | %description -l pl | |
93 |