]> git.pld-linux.org Git - packages/gcc.git/blame - gcc.spec
- massive attack, adding Source-md5
[packages/gcc.git] / gcc.spec
CommitLineData
a9e887db
MM
1#
2# Conditional build:
86ae45eb 3# _with_ada - build with ADA support
83273597 4# _without_java - build without Java support
5# _without_objc - build without objc support
fe11a44a 6
98d8c419 7%define DASHED_SNAP %{nil}
a9e887db 8%define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g")
795d4cce 9%define GCC_VERSION 3.3
32a4597e 10%define KSI_VERSION 1.1.0.1567
a9e887db 11
927cf182 12Summary: GNU C Compiler
13Summary(pl): Kompilator C GNU
14Summary(pt_BR): C Compilador GNU (GCC)
8fdeb3b2 15Name: gcc
a9e887db 16Version: %{GCC_VERSION}
83273597 17Release: 1
927cf182 18Epoch: 5
0ca8a31b 19License: GPL
8fdeb3b2 20Group: Development/Languages
98d8c419 21Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2
a9e887db 22Source1: ftp://ftp.pld.org.pl/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
19f60823 23# Source1-md5: 66f07491b44f06928fd95b0e65bb8cd3
1328be86 24Source2: %{name}-non-english-man-pages.tar.bz2
19f60823 25# Source2-md5: 4736f3422ddfb808423b745629acc321
5708664f 26Patch0: %{name}-info.patch
a9e887db 27Patch1: %{name}-paths.patch
83273597 28Patch2: %{name}-nolocalefiles.patch
29Patch3: %{name}-ada-link-new-libgnat.patch
a9e887db 30# -- stolen patches from RH --
3c74150d 31Patch10: gcc32-ada-link.patch
83273597 32Patch11: gcc32-boehm-gc-libs.patch
33Patch12: gcc32-bogus-inline.patch
34Patch13: gcc32-c++-nrv-test.patch
35Patch14: gcc32-c++-tsubst-asm.patch
36Patch15: gcc32-debug-pr7241.patch
37Patch16: gcc32-duplicate-decl.patch
38Patch17: gcc32-dwarf2-pr6381.patch
39Patch18: gcc32-dwarf2-pr6436-test.patch
40Patch19: gcc32-fde-merge-compat.patch
41Patch20: gcc32-i386-memtest-test.patch
42Patch21: gcc32-inline-label.patch
43Patch22: gcc32-java-no-rpath.patch
44Patch23: gcc32-test-rh65771.patch
45Patch24: gcc32-test-rotate.patch
2f0c2c00 46BuildRequires: autoconf
b16f0ea0 47BuildRequires: bison
a9e887db 48BuildRequires: fileutils >= 4.0.41
a9e887db 49BuildRequires: gcc
83273597 50%{?_with_ada:BuildRequires: gcc-ada}
2f0c2c00 51BuildRequires: glibc-devel >= 2.2.5-20
a9e887db 52BuildRequires: perl-devel
2f0c2c00
JB
53BuildRequires: texinfo >= 4.1
54BuildRequires: zlib-devel
392239e7 55BuildRequires: gettext-devel
a9e887db
MM
56Requires: binutils >= 2.12.90.0.4
57Requires: cpp = %{GCC_VERSION}
58Requires: libgcc = %{GCC_VERSION}
59Conflicts: glibc-devel < 2.2.5-20
0ca8a31b 60URL: http://gcc.gnu.org/
878e9862 61BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d1595fb3 62
a9e887db
MM
63%define _slibdir /lib
64
d1595fb3 65%description
8fdeb3b2
JR
66A compiler aimed at integrating all the optimizations and features
67necessary for a high-performance and stable development environment.
d1595fb3 68
69%description -l pl
8fdeb3b2 70