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