]>
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.3.1 | |
10 | %define KSI_VERSION 1.1.0.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: 1 | |
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 | # Source0-md5: 1135a104e9fa36fdf7c663598fab5c40 | |
23 | Source1: ftp://ftp.pld-linux.org/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz | |
24 | # Source1-md5: 66f07491b44f06928fd95b0e65bb8cd3 | |
25 | Source2: http://ep09.kernel.pl/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2 | |
26 | # Source2-md5: 4736f3422ddfb808423b745629acc321 | |
27 | Patch0: %{name}-info.patch | |
28 | Patch1: %{name}-paths.patch | |
29 | Patch2: %{name}-nolocalefiles.patch | |
30 | Patch3: %{name}-ada-link-new-libgnat.patch | |
31 | # -- stolen patches from RH -- | |
32 | Patch10: gcc32-ada-link.patch | |
33 | Patch11: gcc32-boehm-gc-libs.patch | |
34 | Patch12: gcc32-bogus-inline.patch | |
35 | Patch13: gcc32-c++-nrv-test.patch | |
36 | Patch14: gcc32-c++-tsubst-asm.patch | |
37 | Patch15: gcc32-debug-pr7241.patch | |
38 | Patch16: gcc32-duplicate-decl.patch | |
39 | Patch17: gcc32-dwarf2-pr6381.patch | |
40 | Patch18: gcc32-dwarf2-pr6436-test.patch | |
41 | Patch19: gcc32-fde-merge-compat.patch | |
42 | Patch20: gcc32-i386-memtest-test.patch | |
43 | Patch21: gcc32-inline-label.patch | |
44 | Patch22: gcc32-java-no-rpath.patch | |
45 | Patch23: gcc32-test-rh65771.patch | |
46 | Patch24: gcc32-test-rotate.patch | |
47 | #Patch25: %{name}-unwind.patch -- obsolete? | |
48 | BuildRequires: autoconf | |
49 | BuildRequires: binutils >= 2.14 | |
50 | BuildRequires: bison | |
51 | BuildRequires: fileutils >= 4.0.41 | |
52 | BuildRequires: gcc | |
53 | %{!?_without_ada:BuildRequires: gcc-ada} | |
54 | BuildRequires: glibc-devel >= 2.2.5-20 | |
55 | BuildRequires: perl-devel | |
56 | BuildRequires: texinfo >= 4.1 | |
57 | BuildRequires: zlib-devel | |
58 | BuildRequires: gettext-devel | |
59 | Requires: binutils >= 2.14 | |
60 | Requires: cpp = %{epoch}:%{GCC_VERSION} | |
61 | Requires: libgcc = %{epoch}:%{GCC_VERSION} | |
62 | Conflicts: glibc-devel < 2.2.5-20 | |
63 | URL: http://gcc.gnu.org/ | |
64 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
65 | ||
66 | %define _slibdir /lib | |
67 | ||
68 | %description | |
69 | A compiler aimed at integrating all the optimizations and features | |
70 | necessary for a high-performance and stable development environment. | |
71 | ||
72 | %description -l pl | |
73 |