]>
Commit | Line | Data |
---|---|---|
dfb16231 MM |
1 | # |
2 | # Conditional build: | |
37c9d066 | 3 | # _without_ada - build without ADA support |
4 | # _without_java - build without Java support | |
5 | # _without_objc - build without objc support | |
dfb16231 | 6 | # |
4d731597 | 7 | %define DASHED_SNAP %{nil} |
dfb16231 | 8 | %define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g") |
688fced4 | 9 | %define GCC_VERSION 3.2.3 |
8d98dbbe | 10 | %define KSI_VERSION 1.0.1.1567 |
dfb16231 | 11 | |
791afd2c | 12 | Summary: GNU C Compiler |
13 | Summary(pl): Kompilator C GNU | |
14 | Summary(pt_BR): C Compilador GNU (GCC) | |
8774fb0d | 15 | Name: gcc |
dfb16231 | 16 | Version: %{GCC_VERSION} |
6e0ff186 | 17 | Release: 1 |
791afd2c | 18 | Epoch: 5 |
425de718 | 19 | License: GPL |
8774fb0d | 20 | Group: Development/Languages |
7cf0a004 | 21 | # Source0-md5: 23d1146d5efa0e0bfad9968dbb418e1e |
4d731597 | 22 | Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2 |
6c53e538 | 23 | # Source1-md5: 9e4bdd6492a7d7b650599e572169ff7a |
dfb16231 | 24 | Source1: ftp://ftp.pld.org.pl/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz |
2eb0cd41 | 25 | # Source2-md5: 112bb4ff756394c99285131a2c43c344 |
7cf0a004 | 26 | Source2: http://ep09.kernel.pl/~djrzulf/%{name}-non-english-man-pages.tar.bz2 |
6e0ff186 | 27 | Patch0: %{name}-info.patch |
dfb16231 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 | |
93b6f0da | 32 | Patch5: %{name}-gcc-page.c.patch |
6e0ff186 | 33 | Patch6: %{name}-ada-link-new-libgnat.patch |
dfb16231 | 34 | # -- stolen patches from RH -- |
082c5e23 | 35 | Patch10: gcc32-ada-link.patch |
dfb16231 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 | |
0c96e820 | 44 | Patch20: gcc32-c++-tsubst-asm.patch |
45 | Patch21: gcc32-cfg-eh.patch | |
46 | Patch22: gcc32-debug-pr7241.patch | |
bee90fd7 | 47 | |
0c96e820 | 48 | Patch24: gcc32-duplicate-decl.patch |
9c51a3ac | 49 | Patch25: gcc32-dwarf2-pr6381.patch |
0c96e820 | 50 | Patch26: gcc32-dwarf2-pr6436-test.patch |
9c51a3ac | 51 | Patch27: gcc32-fde-merge-compat.patch |
69b140b6 | 52 | |
0c96e820 | 53 | Patch29: gcc32-hard-reg-sharing.patch |
9c51a3ac | 54 | Patch30: gcc32-hard-reg-sharing2.patch |
0c96e820 | 55 | Patch31: gcc32-i386-default-momit-leaf-frame-pointer.patch |
9c51a3ac | 56 | Patch32: gcc32-i386-memtest-test.patch |
0c96e820 | 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 | |
9c51a3ac | 60 | Patch36: gcc32-inline-label.patch |
0c96e820 | 61 | Patch37: gcc32-java-no-rpath.patch |
9c51a3ac | 62 | Patch38: gcc32-pr6842.patch |
0c96e820 | 63 | Patch39: gcc32-sparc-sll1.patch |
9c51a3ac | 64 | Patch40: gcc32-test-rh65771.patch |
65 | Patch41: gcc32-test-rotate.patch | |
082c5e23 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 | |
f32f2f0d | 72 | BuildRequires: autoconf |
df0fb473 | 73 | BuildRequires: bison |
dfb16231 | 74 | BuildRequires: fileutils >= 4.0.41 |
dfb16231 MM |
75 | BuildRequires: gcc |
76 | %{!?_without_ada:BuildRequires: gcc-ada} | |
f32f2f0d | 77 | BuildRequires: glibc-devel >= 2.2.5-20 |
dfb16231 | 78 | BuildRequires: perl-devel |
f32f2f0d JB |
79 | BuildRequires: texinfo >= 4.1 |
80 | BuildRequires: zlib-devel | |
d534ad6b | 81 | BuildRequires: gettext-devel |
dfb16231 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 | |
425de718 | 86 | URL: http://gcc.gnu.org/ |
9cbbf67f | 87 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5daa5407 | 88 | |
dfb16231 MM |
89 | %define _slibdir /lib |
90 | ||
5daa5407 | 91 | %description |
8774fb0d JR |
92 | A compiler aimed at integrating all the optimizations and features |
93 | necessary for a high-performance and stable development environment. | |
5daa5407 | 94 | |
95 | %description -l pl | |
8774fb0d | 96 |