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