]> git.pld-linux.org Git - packages/gcc4.git/blame - gcc4.spec
- link sparc64-pld-linux-gcc -> sparc-pld-linux-gcc
[packages/gcc4.git] / gcc4.spec
CommitLineData
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 13Summary: GNU C Compiler
14Summary(pl): Kompilator C GNU
15Summary(pt_BR): C Compilador GNU (GCC)
8774fb0d 16Name: gcc
dfb16231 17Version: %{GCC_VERSION}
3aff0cee 18Release: 1.2
791afd2c 19Epoch: 5
425de718 20License: GPL
8774fb0d 21Group: Development/Languages
4d731597 22Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2
f4e229a7 23# Source0-md5: 1135a104e9fa36fdf7c663598fab5c40
80bd8096 24Source1: ftp://ftp.pld-linux.org/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
f4e229a7 25# Source1-md5: 66f07491b44f06928fd95b0e65bb8cd3
4f9761af 26Source2: http://ep09.kernel.pl/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
377f94b0 27# Source2-md5: 4736f3422ddfb808423b745629acc321
6e0ff186 28Patch0: %{name}-info.patch
dfb16231 29Patch1: %{name}-paths.patch
1f4d6522 30Patch2: %{name}-nolocalefiles.patch
31Patch3: %{name}-ada-link-new-libgnat.patch
dfb16231 32# -- stolen patches from RH --
082c5e23 33Patch10: gcc32-ada-link.patch
1f4d6522 34Patch11: gcc32-boehm-gc-libs.patch
35Patch12: gcc32-bogus-inline.patch
36Patch13: gcc32-c++-nrv-test.patch
37Patch14: gcc32-c++-tsubst-asm.patch
38Patch15: gcc32-debug-pr7241.patch
39Patch16: gcc32-duplicate-decl.patch
40Patch17: gcc32-dwarf2-pr6381.patch
41Patch18: gcc32-dwarf2-pr6436-test.patch
42Patch19: gcc32-fde-merge-compat.patch
43Patch20: gcc32-i386-memtest-test.patch
44Patch21: gcc32-inline-label.patch
45Patch22: gcc32-java-no-rpath.patch
46Patch23: gcc32-test-rh65771.patch
47Patch24: gcc32-test-rotate.patch
3aff0cee 48Patch25: %{name}-3.3.1-propolice.patch
f32f2f0d 49BuildRequires: autoconf
03c0aa5d 50BuildRequires: binutils >= 2.14
df0fb473 51BuildRequires: bison
dfb16231 52BuildRequires: fileutils >= 4.0.41
dfb16231 53BuildRequires: gcc
55a3765f 54%{!?_without_ada:BuildRequires: gcc-ada}
f32f2f0d 55BuildRequires: glibc-devel >= 2.2.5-20
dfb16231 56BuildRequires: perl-devel
f32f2f0d
JB
57BuildRequires: texinfo >= 4.1
58BuildRequires: zlib-devel
d534ad6b 59BuildRequires: gettext-devel
03c0aa5d 60Requires: binutils >= 2.14
e2ec81d9 61Requires: cpp = %{epoch}:%{GCC_VERSION}
62Requires: libgcc = %{epoch}:%{GCC_VERSION}
dfb16231 63Conflicts: glibc-devel < 2.2.5-20
425de718 64URL: http://gcc.gnu.org/
9cbbf67f 65BuildRoot: %{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
75A compiler aimed at integrating all the optimizations and features
76necessary for a high-performance and stable development environment.
5daa5407 77
78%description -l pl
8774fb0d 79