]> git.pld-linux.org Git - packages/gcc4.git/blame - gcc4.spec
- one source wan't for this release, changed it, corrected md5sum,
[packages/gcc4.git] / gcc4.spec
CommitLineData
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 12Summary: GNU C Compiler
13Summary(pl): Kompilator C GNU
14Summary(pt_BR): C Compilador GNU (GCC)
8774fb0d 15Name: gcc
dfb16231 16Version: %{GCC_VERSION}
6e0ff186 17Release: 1
791afd2c 18Epoch: 5
425de718 19License: GPL
8774fb0d 20Group: Development/Languages
7cf0a004 21# Source0-md5: 23d1146d5efa0e0bfad9968dbb418e1e
4d731597 22Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2
6c53e538 23# Source1-md5: 9e4bdd6492a7d7b650599e572169ff7a
dfb16231 24Source1: ftp://ftp.pld.org.pl/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
2eb0cd41 25# Source2-md5: 112bb4ff756394c99285131a2c43c344
7cf0a004 26Source2: http://ep09.kernel.pl/~djrzulf/%{name}-non-english-man-pages.tar.bz2
6e0ff186 27Patch0: %{name}-info.patch
dfb16231
MM
28Patch1: %{name}-paths.patch
29Patch2: %{name}-ada-no-addr2line.patch
30Patch3: %{name}-ada-no-prefix.o.patch
31Patch4: %{name}-nolocalefiles.patch
93b6f0da 32Patch5: %{name}-gcc-page.c.patch
6e0ff186 33Patch6: %{name}-ada-link-new-libgnat.patch
dfb16231 34# -- stolen patches from RH --
082c5e23 35Patch10: gcc32-ada-link.patch
dfb16231
MM
36Patch11: gcc32-attr-visibility.patch
37Patch12: gcc32-attr-visibility2.patch
38Patch13: gcc32-attr-visibility3.patch
39Patch14: gcc32-attr-visibility4.patch
40Patch15: gcc32-attr-visibility5.patch
41Patch16: gcc32-boehm-gc-libs.patch
42Patch17: gcc32-bogus-inline.patch
43Patch18: gcc32-c++-nrv-test.patch
0c96e820 44Patch20: gcc32-c++-tsubst-asm.patch
45Patch21: gcc32-cfg-eh.patch
46Patch22: gcc32-debug-pr7241.patch
bee90fd7 47
0c96e820 48Patch24: gcc32-duplicate-decl.patch
9c51a3ac 49Patch25: gcc32-dwarf2-pr6381.patch
0c96e820 50Patch26: gcc32-dwarf2-pr6436-test.patch
9c51a3ac 51Patch27: gcc32-fde-merge-compat.patch
69b140b6 52
0c96e820 53Patch29: gcc32-hard-reg-sharing.patch
9c51a3ac 54Patch30: gcc32-hard-reg-sharing2.patch
0c96e820 55Patch31: gcc32-i386-default-momit-leaf-frame-pointer.patch
9c51a3ac 56Patch32: gcc32-i386-memtest-test.patch
0c96e820 57Patch33: gcc32-i386-no-default-momit-leaf-frame-pointer.patch
58Patch34: gcc32-i386-pic-label-thunk.patch
59Patch35: gcc32-i386-profile-olfp.patch
9c51a3ac 60Patch36: gcc32-inline-label.patch
0c96e820 61Patch37: gcc32-java-no-rpath.patch
9c51a3ac 62Patch38: gcc32-pr6842.patch
0c96e820 63Patch39: gcc32-sparc-sll1.patch
9c51a3ac 64Patch40: gcc32-test-rh65771.patch
65Patch41: gcc32-test-rotate.patch
082c5e23
JB
66Patch42: gcc32-tls-dwarf2.patch
67Patch43: gcc32-tls.patch
68Patch44: gcc32-tls2.patch
69Patch45: gcc32-tls3.patch
70Patch46: gcc32-tls4.patch
71Patch47: gcc32-tls5.patch
f32f2f0d 72BuildRequires: autoconf
df0fb473 73BuildRequires: bison
dfb16231 74BuildRequires: fileutils >= 4.0.41
dfb16231
MM
75BuildRequires: gcc
76%{!?_without_ada:BuildRequires: gcc-ada}
f32f2f0d 77BuildRequires: glibc-devel >= 2.2.5-20
dfb16231 78BuildRequires: perl-devel
f32f2f0d
JB
79BuildRequires: texinfo >= 4.1
80BuildRequires: zlib-devel
d534ad6b 81BuildRequires: gettext-devel
dfb16231
MM
82Requires: binutils >= 2.12.90.0.4
83Requires: cpp = %{GCC_VERSION}
84Requires: libgcc = %{GCC_VERSION}
85Conflicts: glibc-devel < 2.2.5-20
425de718 86URL: http://gcc.gnu.org/
9cbbf67f 87BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
5daa5407 88
dfb16231
MM
89%define _slibdir /lib
90
5daa5407 91%description
8774fb0d
JR
92A compiler aimed at integrating all the optimizations and features
93necessary for a high-performance and stable development environment.
5daa5407 94
95%description -l pl
8774fb0d 96