]> git.pld-linux.org Git - packages/gcc.git/blame - gcc.spec
- another correction of md5sum
[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#
98d8c419 7%define DASHED_SNAP %{nil}
a9e887db 8%define SNAP %(echo %{DASHED_SNAP} | sed -e "s#-##g")
1a3b7c53 9%define GCC_VERSION 3.2.3
9209cdf1 10%define KSI_VERSION 1.0.1.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}
9209cdf1 17Release: 1
927cf182 18Epoch: 5
0ca8a31b 19License: GPL
8fdeb3b2 20Group: Development/Languages
986531c1 21# Source0-md5: 23d1146d5efa0e0bfad9968dbb418e1e
98d8c419 22Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{GCC_VERSION}/%{name}-%{GCC_VERSION}.tar.bz2
0dbc2f86 23# Source1-md5: 9e4bdd6492a7d7b650599e572169ff7a
a9e887db 24Source1: ftp://ftp.pld.org.pl/people/malekith/ksi/ksi-%{KSI_VERSION}.tar.gz
986531c1 25# Source2-md5: 4736f3422ddfb808423b745629acc321
26Source2: http://ep09.kernel.pl/~djrzulf/%{name}-non-english-man-pages.tar.bz2
9209cdf1 27Patch0: %{name}-info.patch
a9e887db
MM
28Patch1: %{name}-paths.patch
29Patch2: %{name}-ada-no-addr2line.patch
30Patch3: %{name}-ada-no-prefix.o.patch
31Patch4: %{name}-nolocalefiles.patch
2c24b267 32Patch5: %{name}-gcc-page.c.patch
9209cdf1 33Patch6: %{name}-ada-link-new-libgnat.patch
a9e887db 34# -- stolen patches from RH --
3c74150d 35Patch10: gcc32-ada-link.patch
a9e887db
MM
36Patch11: gcc32-attr-visibility.patch
37Patch12: gcc32-attr-visibility2.patch
38Patch13: gcc32-attr-visibility3.patch
39Patch14: gcc32-attr-visibility4.patch
40Patch15: gcc32-attr-visibility5.patch
41Patch16: gcc32-boehm-gc-libs.patch
42Patch17: gcc32-bogus-inline.patch
43Patch18: gcc32-c++-nrv-test.patch
7171cd81 44Patch20: gcc32-c++-tsubst-asm.patch
45Patch21: gcc32-cfg-eh.patch
46Patch22: gcc32-debug-pr7241.patch
d7fb7839 47
7171cd81 48Patch24: gcc32-duplicate-decl.patch
7d225235 49Patch25: gcc32-dwarf2-pr6381.patch
7171cd81 50Patch26: gcc32-dwarf2-pr6436-test.patch
7d225235 51Patch27: gcc32-fde-merge-compat.patch
3b79bdf4 52
7171cd81 53Patch29: gcc32-hard-reg-sharing.patch
7d225235 54Patch30: gcc32-hard-reg-sharing2.patch
7171cd81 55Patch31: gcc32-i386-default-momit-leaf-frame-pointer.patch
7d225235 56Patch32: gcc32-i386-memtest-test.patch
7171cd81 57Patch33: gcc32-i386-no-default-momit-leaf-frame-pointer.patch
58Patch34: gcc32-i386-pic-label-thunk.patch
59Patch35: gcc32-i386-profile-olfp.patch
7d225235 60Patch36: gcc32-inline-label.patch
7171cd81 61Patch37: gcc32-java-no-rpath.patch
7d225235 62Patch38: gcc32-pr6842.patch
7171cd81 63Patch39: gcc32-sparc-sll1.patch
7d225235 64Patch40: gcc32-test-rh65771.patch
65Patch41: gcc32-test-rotate.patch
3c74150d
JB
66Patch42: gcc32-tls-dwarf2.patch
67Patch43: gcc32-tls.patch
68Patch44: gcc32-tls2.patch
69Patch45: gcc32-tls3.patch
70Patch46: gcc32-tls4.patch
71Patch47: gcc32-tls5.patch
2f0c2c00 72BuildRequires: autoconf
b16f0ea0 73BuildRequires: bison
a9e887db 74BuildRequires: fileutils >= 4.0.41
a9e887db
MM
75BuildRequires: gcc
76%{!?_without_ada:BuildRequires: gcc-ada}
2f0c2c00 77BuildRequires: glibc-devel >= 2.2.5-20
a9e887db 78BuildRequires: perl-devel
2f0c2c00
JB
79BuildRequires: texinfo >= 4.1
80BuildRequires: zlib-devel
392239e7 81BuildRequires: gettext-devel
a9e887db
MM
82Requires: binutils >= 2.12.90.0.4
83Requires: cpp = %{GCC_VERSION}
84Requires: libgcc = %{GCC_VERSION}
85Conflicts: glibc-devel < 2.2.5-20
0ca8a31b 86URL: http://gcc.gnu.org/
878e9862 87BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d1595fb3 88
a9e887db
MM
89%define _slibdir /lib
90
d1595fb3 91%description
8fdeb3b2
JR
92A compiler aimed at integrating all the optimizations and features
93necessary for a high-performance and stable development environment.
d1595fb3 94
95%description -l pl
8fdeb3b2 96