forked from Imagelibrary/rtems
Regenerate.
This commit is contained in:
@@ -28,7 +28,7 @@ Summary: arm-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10.20080301.1%{?dist}
|
||||
Release: 10.20080301.2%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -89,7 +89,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.ta
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ Summary: avr-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10.20080301.1%{?dist}
|
||||
Release: 10.20080301.2%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -85,7 +85,7 @@ Patch0: gcc-core-4.0.4-rtems4.9-20071111.diff
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ Summary: bfin-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10.20080301.1%{?dist}
|
||||
Release: 10.20080301.2%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -81,7 +81,7 @@ Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -21,18 +21,34 @@
|
||||
%define newlib_version 1.16.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
Name: rtems-4.9-h8300-rtems4.9-gcc
|
||||
Summary: h8300-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10%{?dist}
|
||||
Release: 10.1%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
|
||||
%if "%{gcc_version}" >= "4.3.0"
|
||||
BuildRequires: gmp-devel >= 4.1
|
||||
%if "%{?fedora}" >= "8"
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
BuildRequires: flex bison
|
||||
%endif
|
||||
@@ -64,10 +80,14 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.ta
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
%if "%{gcc_version}" >= "4.3.0"
|
||||
Source60: http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
|
||||
%endif
|
||||
|
||||
%description
|
||||
Cross gcc for h8300-rtems4.9.
|
||||
|
||||
@@ -91,6 +111,13 @@ cd ..
|
||||
# Copy the C library into gcc's source tree
|
||||
ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
|
||||
|
||||
%if 0%{?_build_mpfr}
|
||||
%setup -q -T -D -n %{name}-%{version} -a60
|
||||
%{?PATCH60:%patch60 -p1}
|
||||
# Build mpfr one-tree style
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" < "4.1.0"
|
||||
sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
|
||||
gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
|
||||
|
||||
@@ -28,7 +28,7 @@ Summary: i386-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10.20080301.1%{?dist}
|
||||
Release: 10.20080301.2%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -89,7 +89,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.ta
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ Summary: m68k-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10.20080301.1%{?dist}
|
||||
Release: 10.20080301.2%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -89,7 +89,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.ta
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ Summary: mips-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10.20080301.1%{?dist}
|
||||
Release: 10.20080301.2%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -89,7 +89,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.ta
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ Summary: powerpc-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10.20080301.1%{?dist}
|
||||
Release: 10.20080301.2%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -89,7 +89,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.ta
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ Summary: sh-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10.20080301.1%{?dist}
|
||||
Release: 10.20080301.2%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -89,7 +89,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.ta
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ Summary: sparc-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 10.20080301.1%{?dist}
|
||||
Release: 10.20080301.2%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@@ -89,7 +89,7 @@ Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_pkgvers}/gcc-g++-%{gcc_pkgvers}.ta
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
|
||||
@@ -21,18 +21,34 @@
|
||||
%define newlib_version 1.16.0
|
||||
%define gccnewlib_version gcc%{gcc_version}newlib%{newlib_version}
|
||||
|
||||
%define mpfr_version 2.3.1
|
||||
|
||||
Name: rtems-4.9-tic4x-rtems4.9-gcc
|
||||
Summary: tic4x-rtems4.9 gcc
|
||||
|
||||
Group: Development/Tools
|
||||
Version: %{gcc_rpmvers}
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: GPL
|
||||
URL: http://gcc.gnu.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
|
||||
%if "%{gcc_version}" >= "4.3.0"
|
||||
BuildRequires: gmp-devel >= 4.1
|
||||
%if "%{?fedora}" >= "8"
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
%if "%{?suse}" > "10.3"
|
||||
BuildRequires: mpfr-devel >= 2.3.0
|
||||
%endif
|
||||
# These distros ship an insufficient mpfr
|
||||
%{?el4:%define _build_mpfr 1}
|
||||
%{?suse10_2:%define _build_mpfr 1}
|
||||
%{?suse10_3:%define _build_mpfr 1}
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" >= "4.2.0"
|
||||
BuildRequires: flex bison
|
||||
%endif
|
||||
@@ -65,10 +81,14 @@ Patch0: gcc-core-4.2.3-rtems4.9-20080205.diff
|
||||
|
||||
Source50: ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
|
||||
%if "%{newlib_version}" == "1.16.0"
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080131.diff
|
||||
Patch50: newlib-1.16.0-rtems4.9-20080302.diff
|
||||
%endif
|
||||
%{?_without_sources:NoSource: 50}
|
||||
|
||||
%if "%{gcc_version}" >= "4.3.0"
|
||||
Source60: http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
|
||||
%endif
|
||||
|
||||
%description
|
||||
Cross gcc for tic4x-rtems4.9.
|
||||
|
||||
@@ -90,6 +110,13 @@ cd ..
|
||||
# Copy the C library into gcc's source tree
|
||||
ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_pkgvers}
|
||||
|
||||
%if 0%{?_build_mpfr}
|
||||
%setup -q -T -D -n %{name}-%{version} -a60
|
||||
%{?PATCH60:%patch60 -p1}
|
||||
# Build mpfr one-tree style
|
||||
ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
|
||||
%endif
|
||||
|
||||
%if "%{gcc_version}" < "4.1.0"
|
||||
sed -e 's/\(version_string.* = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}\/newlib-%{newlib_version}-%release)/' \
|
||||
gcc-%{gcc_pkgvers}/gcc/version.c > gcc-%{gcc_pkgvers}/gcc/version.c~
|
||||
|
||||
Reference in New Issue
Block a user