]> git.pld-linux.org Git - packages/gcc4.git/blame - gcc4.spec
- it's safer to BR+R binutils 2.14 - gcc chooses its features at build time
[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
15a08bf6 6
4d731597 7%define DASHED_SNAP %{nil}
dfb16231 8%define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g")
c2b1ee30 9%define GCC_VERSION 3.3
47591a74 10%define KSI_VERSION 1.1.0.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}
33e81fe1 17Release: 3
791afd2c 18Epoch: 5
425de718 19License: GPL
8774fb0d 20Group: Development/Languages
4d731597 21Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2
6d06d4cd 22# Source0-md5: 39147717455d8dba4d43d1b058ea46e2
dfb16231 23Source1: ftp://ftp.pld.org.pl/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
377f94b0 24# Source1-md5: 66f07491b44f06928fd95b0e65bb8cd3
4f9761af 25Source2: http://ep09.kernel.pl/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
377f94b0 26# Source2-md5: 4736f3422ddfb808423b745629acc321
6e0ff186 27Patch0: %{name}-info.patch
dfb16231 28Patch1: %{name}-paths.patch
1f4d6522 29Patch2: %{name}-nolocalefiles.patch
30Patch3: %{name}-ada-link-new-libgnat.patch
33e81fe1 31Patch4: %{name}-PR10849.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
f32f2f0d 48BuildRequires: autoconf
03c0aa5d 49BuildRequires: binutils >= 2.14
df0fb473 50BuildRequires: bison
dfb16231 51BuildRequires: fileutils >= 4.0.41
dfb16231 52BuildRequires: gcc
55a3765f 53%{!?_without_ada:BuildRequires: gcc-ada}
f32f2f0d 54BuildRequires: glibc-devel >= 2.2.5-20
dfb16231 55BuildRequires: perl-devel
f32f2f0d
JB
56BuildRequires: texinfo >= 4.1
57BuildRequires: zlib-devel
d534ad6b 58BuildRequires: gettext-devel
03c0aa5d 59Requires: binutils >= 2.14
dfb16231
MM
60Requires: cpp = %{GCC_VERSION}
61Requires: libgcc = %{GCC_VERSION}
62Conflicts: glibc-devel < 2.2.5-20
425de718 63URL: http://gcc.gnu.org/
9cbbf67f 64BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
5daa5407 65
dfb16231
MM
66%define _slibdir /lib
67
5daa5407 68%description
8774fb0d
JR
69A compiler aimed at integrating all the optimizations and features
70necessary for a high-performance and stable development environment.
5daa5407 71
72%description -l pl
8774fb0d 73