]>
Commit | Line | Data |
---|---|---|
a9e887db MM |
1 | # |
2 | # Conditional build: | |
7fae892c | 3 | # _without_ada - build without ADA support |
4 | # _without_java - build without Java support | |
5 | # _without_objc - build without objc support | |
a9e887db | 6 | # |
98d8c419 | 7 | %define DASHED_SNAP %{nil} |
a9e887db | 8 | %define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g") |
1a3b7c53 | 9 | %define GCC_VERSION 3.2.3 |
3498dcd8 | 10 | %define KSI_VERSION 1.0.1.1567 |
a9e887db | 11 | |
927cf182 | 12 | Summary: GNU C Compiler |
13 | Summary(pl): Kompilator C GNU | |
14 | Summary(pt_BR): C Compilador GNU (GCC) | |
8fdeb3b2 | 15 | Name: gcc |
a9e887db | 16 | Version: %{GCC_VERSION} |
baf61fa1 | 17 | Release: 0.3 |
927cf182 | 18 | Epoch: 5 |
0ca8a31b | 19 | License: GPL |
8fdeb3b2 | 20 | Group: Development/Languages |
98d8c419 | 21 | Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2 |
a9e887db | 22 | Source1: ftp://ftp.pld.org.pl/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz |
1328be86 | 23 | Source2: %{name}-non-english-man-pages.tar.bz2 |
a9e887db MM |
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 | |
2c24b267 | 28 | Patch5: %{name}-gcc-page.c.patch |
1328be86 | 29 | Patch6: %{name}-info.patch |
445e4a00 | 30 | Patch7: %{name}-ada-link-new-libgnat.patch |
a9e887db | 31 | # -- stolen patches from RH -- |
3c74150d | 32 | Patch10: gcc32-ada-link.patch |
a9e887db MM |
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 | |
7171cd81 | 41 | Patch20: gcc32-c++-tsubst-asm.patch |
42 | Patch21: gcc32-cfg-eh.patch | |
43 | Patch22: gcc32-debug-pr7241.patch | |
d7fb7839 | 44 | |
7171cd81 | 45 | Patch24: gcc32-duplicate-decl.patch |
7d225235 | 46 | Patch25: gcc32-dwarf2-pr6381.patch |
7171cd81 | 47 | Patch26: gcc32-dwarf2-pr6436-test.patch |
7d225235 | 48 | Patch27: gcc32-fde-merge-compat.patch |
3b79bdf4 | 49 | |
7171cd81 | 50 | Patch29: gcc32-hard-reg-sharing.patch |
7d225235 | 51 | Patch30: gcc32-hard-reg-sharing2.patch |
7171cd81 | 52 | Patch31: gcc32-i386-default-momit-leaf-frame-pointer.patch |
7d225235 | 53 | Patch32: gcc32-i386-memtest-test.patch |
7171cd81 | 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 | |
7d225235 | 57 | Patch36: gcc32-inline-label.patch |
7171cd81 | 58 | Patch37: gcc32-java-no-rpath.patch |
7d225235 | 59 | Patch38: gcc32-pr6842.patch |
7171cd81 | 60 | Patch39: gcc32-sparc-sll1.patch |
7d225235 | 61 | Patch40: gcc32-test-rh65771.patch |
62 | Patch41: gcc32-test-rotate.patch | |
3c74150d JB |
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 | |
2f0c2c00 | 69 | BuildRequires: autoconf |
b16f0ea0 | 70 | BuildRequires: bison |
a9e887db | 71 | BuildRequires: fileutils >= 4.0.41 |
a9e887db MM |
72 | BuildRequires: gcc |
73 | %{!?_without_ada:BuildRequires: gcc-ada} | |
2f0c2c00 | 74 | BuildRequires: glibc-devel >= 2.2.5-20 |
a9e887db | 75 | BuildRequires: perl-devel |
2f0c2c00 JB |
76 | BuildRequires: texinfo >= 4.1 |
77 | BuildRequires: zlib-devel | |
392239e7 | 78 | BuildRequires: gettext-devel |
a9e887db MM |
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 | |
0ca8a31b | 83 | URL: http://gcc.gnu.org/ |
878e9862 | 84 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d1595fb3 | 85 | |
a9e887db MM |
86 | %define _slibdir /lib |
87 | ||
d1595fb3 | 88 | %description |
8fdeb3b2 JR |
89 | A compiler aimed at integrating all the optimizations and features |
90 | necessary for a high-performance and stable development environment. | |
d1595fb3 | 91 | |
92 | %description -l pl | |
8fdeb3b2 | 93 |