]>
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 |
9209cdf1 | 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} |
9209cdf1 | 17 | Release: 1 |
927cf182 | 18 | Epoch: 5 |
0ca8a31b | 19 | License: GPL |
8fdeb3b2 | 20 | Group: Development/Languages |
986531c1 | 21 | # Source0-md5: 23d1146d5efa0e0bfad9968dbb418e1e |
98d8c419 | 22 | Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2 |
0dbc2f86 | 23 | # Source1-md5: 9e4bdd6492a7d7b650599e572169ff7a |
a9e887db | 24 | Source1: ftp://ftp.pld.org.pl/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz |
986531c1 | 25 | # Source2-md5: 4736f3422ddfb808423b745629acc321 |
26 | Source2: http://ep09.kernel.pl/~djrzulf/%{name}-non-english-man-pages.tar.bz2 | |
9209cdf1 | 27 | Patch0: %{name}-info.patch |
a9e887db MM |
28 | Patch1: %{name}-paths.patch |
29 | Patch2: %{name}-ada-no-addr2line.patch | |
30 | Patch3: %{name}-ada-no-prefix.o.patch | |
31 | Patch4: %{name}-nolocalefiles.patch | |
2c24b267 | 32 | Patch5: %{name}-gcc-page.c.patch |
9209cdf1 | 33 | Patch6: %{name}-ada-link-new-libgnat.patch |
a9e887db | 34 | # -- stolen patches from RH -- |
3c74150d | 35 | Patch10: gcc32-ada-link.patch |
a9e887db MM |
36 | Patch11: gcc32-attr-visibility.patch |
37 | Patch12: gcc32-attr-visibility2.patch | |
38 | Patch13: gcc32-attr-visibility3.patch | |
39 | Patch14: gcc32-attr-visibility4.patch | |
40 | Patch15: gcc32-attr-visibility5.patch | |
41 | Patch16: gcc32-boehm-gc-libs.patch | |
42 | Patch17: gcc32-bogus-inline.patch | |
43 | Patch18: gcc32-c++-nrv-test.patch | |
7171cd81 | 44 | Patch20: gcc32-c++-tsubst-asm.patch |
45 | Patch21: gcc32-cfg-eh.patch | |
46 | Patch22: gcc32-debug-pr7241.patch | |
d7fb7839 | 47 | |
7171cd81 | 48 | Patch24: gcc32-duplicate-decl.patch |
7d225235 | 49 | Patch25: gcc32-dwarf2-pr6381.patch |
7171cd81 | 50 | Patch26: gcc32-dwarf2-pr6436-test.patch |
7d225235 | 51 | Patch27: gcc32-fde-merge-compat.patch |
3b79bdf4 | 52 | |
7171cd81 | 53 | Patch29: gcc32-hard-reg-sharing.patch |
7d225235 | 54 | Patch30: gcc32-hard-reg-sharing2.patch |
7171cd81 | 55 | Patch31: gcc32-i386-default-momit-leaf-frame-pointer.patch |
7d225235 | 56 | Patch32: gcc32-i386-memtest-test.patch |
7171cd81 | 57 | Patch33: gcc32-i386-no-default-momit-leaf-frame-pointer.patch |
58 | Patch34: gcc32-i386-pic-label-thunk.patch | |
59 | Patch35: gcc32-i386-profile-olfp.patch | |
7d225235 | 60 | Patch36: gcc32-inline-label.patch |
7171cd81 | 61 | Patch37: gcc32-java-no-rpath.patch |
7d225235 | 62 | Patch38: gcc32-pr6842.patch |
7171cd81 | 63 | Patch39: gcc32-sparc-sll1.patch |
7d225235 | 64 | Patch40: gcc32-test-rh65771.patch |
65 | Patch41: gcc32-test-rotate.patch | |
3c74150d JB |
66 | Patch42: gcc32-tls-dwarf2.patch |
67 | Patch43: gcc32-tls.patch | |
68 | Patch44: gcc32-tls2.patch | |
69 | Patch45: gcc32-tls3.patch | |
70 | Patch46: gcc32-tls4.patch | |
71 | Patch47: gcc32-tls5.patch | |
2f0c2c00 | 72 | BuildRequires: autoconf |
b16f0ea0 | 73 | BuildRequires: bison |
a9e887db | 74 | BuildRequires: fileutils >= 4.0.41 |
a9e887db MM |
75 | BuildRequires: gcc |
76 | %{!?_without_ada:BuildRequires: gcc-ada} | |
2f0c2c00 | 77 | BuildRequires: glibc-devel >= 2.2.5-20 |
a9e887db | 78 | BuildRequires: perl-devel |
2f0c2c00 JB |
79 | BuildRequires: texinfo >= 4.1 |
80 | BuildRequires: zlib-devel | |
392239e7 | 81 | BuildRequires: gettext-devel |
a9e887db MM |
82 | Requires: binutils >= 2.12.90.0.4 |
83 | Requires: cpp = %{GCC_VERSION} | |
84 | Requires: libgcc = %{GCC_VERSION} | |
85 | Conflicts: glibc-devel < 2.2.5-20 | |
0ca8a31b | 86 | URL: http://gcc.gnu.org/ |
878e9862 | 87 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d1595fb3 | 88 | |
a9e887db MM |
89 | %define _slibdir /lib |
90 | ||
d1595fb3 | 91 | %description |
8fdeb3b2 JR |
92 | A compiler aimed at integrating all the optimizations and features |
93 | necessary for a high-performance and stable development environment. | |
d1595fb3 | 94 | |
95 | %description -l pl | |
8fdeb3b2 | 96 |