]> git.pld-linux.org Git - packages/gcc.git/blame - gcc.spec
- typo
[packages/gcc.git] / gcc.spec
CommitLineData
a9e887db
MM
1#
2# Conditional build:
56eae24a 3# _without_ada - build without ADA support
83273597 4# _without_java - build without Java support
5# _without_objc - build without objc support
8ce674c9 6# _with_pp - build with ProPolice
fe11a44a 7
98d8c419 8%define DASHED_SNAP %{nil}
a9e887db 9%define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g")
3a178bac 10%define GCC_VERSION 3.3.1
32a4597e 11%define KSI_VERSION 1.1.0.1567
a9e887db 12
927cf182 13Summary: GNU C Compiler
14Summary(pl): Kompilator C GNU
15Summary(pt_BR): C Compilador GNU (GCC)
8fdeb3b2 16Name: gcc
a9e887db 17Version: %{GCC_VERSION}
4f39ce17 18Release: 1.2
927cf182 19Epoch: 5
0ca8a31b 20License: GPL
8fdeb3b2 21Group: Development/Languages
98d8c419 22Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2
3a178bac 23# Source0-md5: 1135a104e9fa36fdf7c663598fab5c40
9d31815f 24Source1: ftp://ftp.pld-linux.org/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
3a178bac 25# Source1-md5: 66f07491b44f06928fd95b0e65bb8cd3
e3089c2c 26Source2: http://ep09.kernel.pl/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
19f60823 27# Source2-md5: 4736f3422ddfb808423b745629acc321
5708664f 28Patch0: %{name}-info.patch
a9e887db 29Patch1: %{name}-paths.patch
83273597 30Patch2: %{name}-nolocalefiles.patch
31Patch3: %{name}-ada-link-new-libgnat.patch
a9e887db 32# -- stolen patches from RH --
3c74150d 33Patch10: gcc32-ada-link.patch
83273597 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
4f39ce17 48Patch25: %{name}-3.3.1-propolice.patch
2f0c2c00 49BuildRequires: autoconf
4232ecfa 50BuildRequires: binutils >= 2.14
b16f0ea0 51BuildRequires: bison
a9e887db 52BuildRequires: fileutils >= 4.0.41
a9e887db 53BuildRequires: gcc
56eae24a 54%{!?_without_ada:BuildRequires: gcc-ada}
2f0c2c00 55BuildRequires: glibc-devel >= 2.2.5-20
a9e887db 56BuildRequires: perl-devel
2f0c2c00
JB
57BuildRequires: texinfo >= 4.1
58BuildRequires: zlib-devel
392239e7 59BuildRequires: gettext-devel
4232ecfa 60Requires: binutils >= 2.14
ffb5d40e 61Requires: cpp = %{epoch}:%{GCC_VERSION}
62Requires: libgcc = %{epoch}:%{GCC_VERSION}
a9e887db 63Conflicts: glibc-devel < 2.2.5-20
0ca8a31b 64URL: http://gcc.gnu.org/
878e9862 65BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d1595fb3 66
a9e887db 67%define _slibdir /lib
be17d23f 68%ifarch sparc64
69%define _slibdir64 /lib64
70%define _libdir /usr/lib
bace1932 71%define rpmcflags -mtune=ultrasparc
be17d23f 72%endif
a9e887db 73
d1595fb3 74%description
8fdeb3b2
JR
75A compiler aimed at integrating all the optimizations and features
76necessary for a high-performance and stable development environment.
d1595fb3 77
78%description -l pl
8fdeb3b2 79