]>
Commit | Line | Data |
---|---|---|
dfb16231 MM |
1 | # |
2 | # Conditional build: | |
55a3765f | 3 | # _without_ada - build without ADA support |
1f4d6522 | 4 | # _without_java - build without Java support |
5 | # _without_objc - build without objc support | |
769328c2 | 6 | # _with_pp - build with ProPolice |
15a08bf6 | 7 | |
4d731597 | 8 | %define DASHED_SNAP %{nil} |
dfb16231 | 9 | %define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g") |
f4e229a7 | 10 | %define GCC_VERSION 3.3.1 |
47591a74 | 11 | %define KSI_VERSION 1.1.0.1567 |
dfb16231 | 12 | |
791afd2c | 13 | Summary: GNU C Compiler |
14 | Summary(pl): Kompilator C GNU | |
15 | Summary(pt_BR): C Compilador GNU (GCC) | |
8774fb0d | 16 | Name: gcc |
dfb16231 | 17 | Version: %{GCC_VERSION} |
3aff0cee | 18 | Release: 1.2 |
791afd2c | 19 | Epoch: 5 |
425de718 | 20 | License: GPL |
8774fb0d | 21 | Group: Development/Languages |
4d731597 | 22 | Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2 |
f4e229a7 | 23 | # Source0-md5: 1135a104e9fa36fdf7c663598fab5c40 |
80bd8096 | 24 | Source1: ftp://ftp.pld-linux.org/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz |
f4e229a7 | 25 | # Source1-md5: 66f07491b44f06928fd95b0e65bb8cd3 |
4f9761af | 26 | Source2: http://ep09.kernel.pl/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2 |
377f94b0 | 27 | # Source2-md5: 4736f3422ddfb808423b745629acc321 |
6e0ff186 | 28 | Patch0: %{name}-info.patch |
dfb16231 | 29 | Patch1: %{name}-paths.patch |
1f4d6522 | 30 | Patch2: %{name}-nolocalefiles.patch |
31 | Patch3: %{name}-ada-link-new-libgnat.patch | |
dfb16231 | 32 | # -- stolen patches from RH -- |
082c5e23 | 33 | Patch10: gcc32-ada-link.patch |
1f4d6522 | 34 | Patch11: gcc32-boehm-gc-libs.patch |
35 | Patch12: gcc32-bogus-inline.patch | |
36 | Patch13: gcc32-c++-nrv-test.patch | |
37 | Patch14: gcc32-c++-tsubst-asm.patch | |
38 | Patch15: gcc32-debug-pr7241.patch | |
39 | Patch16: gcc32-duplicate-decl.patch | |
40 | Patch17: gcc32-dwarf2-pr6381.patch | |
41 | Patch18: gcc32-dwarf2-pr6436-test.patch | |
42 | Patch19: gcc32-fde-merge-compat.patch | |
43 | Patch20: gcc32-i386-memtest-test.patch | |
44 | Patch21: gcc32-inline-label.patch | |
45 | Patch22: gcc32-java-no-rpath.patch | |
46 | Patch23: gcc32-test-rh65771.patch | |
47 | Patch24: gcc32-test-rotate.patch | |
3aff0cee | 48 | Patch25: %{name}-3.3.1-propolice.patch |
f32f2f0d | 49 | BuildRequires: autoconf |
03c0aa5d | 50 | BuildRequires: binutils >= 2.14 |
df0fb473 | 51 | BuildRequires: bison |
dfb16231 | 52 | BuildRequires: fileutils >= 4.0.41 |
dfb16231 | 53 | BuildRequires: gcc |
55a3765f | 54 | %{!?_without_ada:BuildRequires: gcc-ada} |
f32f2f0d | 55 | BuildRequires: glibc-devel >= 2.2.5-20 |
dfb16231 | 56 | BuildRequires: perl-devel |
f32f2f0d JB |
57 | BuildRequires: texinfo >= 4.1 |
58 | BuildRequires: zlib-devel | |
d534ad6b | 59 | BuildRequires: gettext-devel |
03c0aa5d | 60 | Requires: binutils >= 2.14 |
e2ec81d9 | 61 | Requires: cpp = %{epoch}:%{GCC_VERSION} |
62 | Requires: libgcc = %{epoch}:%{GCC_VERSION} | |
dfb16231 | 63 | Conflicts: glibc-devel < 2.2.5-20 |
425de718 | 64 | URL: http://gcc.gnu.org/ |
9cbbf67f | 65 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5daa5407 | 66 | |
dfb16231 | 67 | %define _slibdir /lib |
e43a59a6 | 68 | %ifarch sparc64 |
69 | %define _slibdir64 /lib64 | |
70 | %define _libdir /usr/lib | |
397739ba | 71 | %define rpmcflags -O2 -mtune=ultrasparc |
e43a59a6 | 72 | %endif |
dfb16231 | 73 | |
5daa5407 | 74 | %description |
8774fb0d JR |
75 | A compiler aimed at integrating all the optimizations and features |
76 | necessary for a high-performance and stable development environment. | |
5daa5407 | 77 | |
78 | %description -l pl | |
8774fb0d | 79 |