mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 18:42:20 +08:00
Remove.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
Source0: ftp://cygwin.com/pub/cygwin/release/binutils/binutils-%{binutils_version}-src.tar.bz2
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
@PATCH0@
|
||||
@@ -1,31 +0,0 @@
|
||||
Source0: ftp://cygwin.com/pub/cygwin/release/gcc/gcc-core/gcc-core-%{gcc_pkgvers}-src.tar.bz2
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
Source1: ftp://cygwin.com/pub/cygwin/release/gcc/gcc-g++/gcc-g++-%{gcc_pkgvers}-src.tar.bz2
|
||||
%{?!_with_sources:NoSource: 1}
|
||||
%endif
|
||||
|
||||
%if %build_f95
|
||||
Source2: ftp://cygwin.com/pub/cygwin/release/gcc/gcc-f95/gcc-fortran-%{gcc_pkgvers}-src.tar.bz2
|
||||
@PATCH2@
|
||||
%{?!_with_sources:NoSource: 2}
|
||||
%endif
|
||||
|
||||
%if %build_gcj
|
||||
Source3: ftp://cygwin.com/pub/cygwin/release/gcc/gcc-java/gcc-java-%{gcc_pkgvers}-src.tar.bz2
|
||||
@PATCH3@
|
||||
%{?!_with_sources:NoSource: 3}
|
||||
%endif
|
||||
|
||||
%if %build_gnat
|
||||
Source4: ftp://cygwin.com/pub/cygwin/release/gcc/gcc-ada/gcc-ada-%{gcc_pkgvers}-src.tar.bz2
|
||||
@PATCH4@
|
||||
%{?!_with_sources:NoSource: 4}
|
||||
%endif
|
||||
|
||||
%if %build_objc
|
||||
Source5: ftp://cygwin.com/pub/cygwin/release/gcc/gcc-objc/gcc-objc-%{gcc_pkgvers}-src.tar.bz2
|
||||
@PATCH5@
|
||||
%{?!_with_sources:NoSource: 5}
|
||||
%endif
|
||||
@@ -1,38 +0,0 @@
|
||||
%define cygwin_version @CYGWIN_VERS@
|
||||
%define cygwin_rpmvers %{expand:%(echo @CYGWIN_VERS@ | tr - _)}
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __debug_install_post %{nil}
|
||||
|
||||
Name: @rpmprefix@@tool_target@
|
||||
Release: @CYGWIN_RPMREL@%{?dist}
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
Version: %cygwin_rpmvers
|
||||
Summary: @tool_target@ libraries
|
||||
|
||||
Source0: ftp://cygwin.com/pub/cygwin/release/cygwin/cygwin-%{cygwin_version}.tar.bz2
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%description
|
||||
@tool_target@ libraries.
|
||||
|
||||
%prep
|
||||
%setup -c -q
|
||||
|
||||
%build
|
||||
rm -rf @tool_target@
|
||||
|
||||
# Setup sys-root (Usable for gcc >= 3.4)
|
||||
mkdir -p @tool_target@/sys-root
|
||||
%{__tar} cf - lib usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
||||
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
%package sys-root
|
||||
Group: Development/Tools
|
||||
Summary: @tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%description sys-root
|
||||
@tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%files sys-root
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
@@ -1,19 +0,0 @@
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/lib
|
||||
%{_prefix}/@tool_target@/include
|
||||
|
||||
%package sys-root
|
||||
Group: Development/Tools
|
||||
Summary: @tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%description sys-root
|
||||
@tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%files sys-root
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
%define w32api_version @W32API_VERS@
|
||||
%define w32api_rpmvers %{expand:%(echo @W32API_VERS@ | tr - _)}
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __debug_install_post %{nil}
|
||||
|
||||
Name: @rpmprefix@@tool_target@-w32api
|
||||
Release: @W32API_RPMREL@%{?dist}
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
Version: %w32api_rpmvers
|
||||
Summary: Cygwin w32api Libraries
|
||||
|
||||
Source0: ftp://cygwin.com/pub/cygwin/release/w32api/w32api-%{w32api_version}.tar.bz2
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%description
|
||||
Cygwin w32api libraries.
|
||||
|
||||
%prep
|
||||
%setup -c -q
|
||||
|
||||
%build
|
||||
rm -rf @tool_target@
|
||||
|
||||
mkdir -p @tool_target@
|
||||
cp -a usr/lib usr/include @tool_target@
|
||||
|
||||
# Setup sys-root (Usable for gcc >= 3.4)
|
||||
mkdir -p @tool_target@/sys-root
|
||||
%{__tar} cf - usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
||||
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
Patch0: binutils-2.16.1-rtems-20050708.diff
|
||||
@@ -1,33 +0,0 @@
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH0@
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH1@
|
||||
%{?!_with_sources:NoSource: 1}
|
||||
%endif
|
||||
|
||||
%if %build_f95
|
||||
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH2@
|
||||
%{?!_with_sources:NoSource: 2}
|
||||
%endif
|
||||
|
||||
%if %build_gcj
|
||||
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH3@
|
||||
%{?!_with_sources:NoSource: 3}
|
||||
%endif
|
||||
|
||||
%if %build_gnat
|
||||
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH4@
|
||||
%{?!_with_sources:NoSource: 4}
|
||||
%endif
|
||||
|
||||
%if %build_objc
|
||||
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH5@
|
||||
%{?!_with_sources:NoSource: 5}
|
||||
%endif
|
||||
@@ -1,89 +0,0 @@
|
||||
%define freebsd_version @FREEBSD_VERS@
|
||||
%define freebsd_rpmvers %{expand:%(echo @FREEBSD_VERS@ | tr - _)}
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __debug_install_post %{nil}
|
||||
|
||||
Name: @rpmprefix@@tool_target@
|
||||
Release: @FREEBSD_RPMREL@%{?dist}
|
||||
License: FreeBSD
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: /usr/bin/star
|
||||
BuildArch: noarch
|
||||
|
||||
Version: %freebsd_rpmvers
|
||||
Summary: @tool_target@ Libraries
|
||||
|
||||
Source0: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aa
|
||||
Source1: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ab
|
||||
Source2: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ac
|
||||
Source3: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ad
|
||||
Source4: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ae
|
||||
Source5: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.af
|
||||
Source6: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ag
|
||||
Source7: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ah
|
||||
Source8: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ai
|
||||
Source9: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aj
|
||||
Source10: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ak
|
||||
Source11: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.al
|
||||
Source12: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.am
|
||||
Source13: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.an
|
||||
Source14: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ao
|
||||
Source15: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ap
|
||||
Source16: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aq
|
||||
Source17: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ar
|
||||
Source18: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.as
|
||||
Source19: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.at
|
||||
Source20: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.au
|
||||
Source21: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.av
|
||||
Source22: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aw
|
||||
Source23: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ax
|
||||
Source24: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ay
|
||||
Source25: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.az
|
||||
|
||||
%description
|
||||
@tool_target@ libraries.
|
||||
|
||||
%prep
|
||||
%setup -q -c -T -n %{name}-%{version}
|
||||
|
||||
cat \
|
||||
%SOURCE0 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4 \
|
||||
%SOURCE5 %SOURCE6 %SOURCE7 %SOURCE8 %SOURCE9 \
|
||||
%SOURCE10 %SOURCE11 %SOURCE12 %SOURCE13 %SOURCE14 \
|
||||
%SOURCE15 %SOURCE16 %SOURCE17 %SOURCE18 %SOURCE19 \
|
||||
%SOURCE20 %SOURCE21 %SOURCE22 %SOURCE23 %SOURCE24 \
|
||||
%SOURCE25 \
|
||||
| /usr/bin/star xzf - ./lib ./usr/lib ./usr/include
|
||||
|
||||
%build
|
||||
# Setup sys-root (Usable for gcc >= 3.4)
|
||||
mkdir -p @tool_target@/sys-root
|
||||
%{__tar} cf - lib usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
|
||||
|
||||
pushd @tool_target@/sys-root/usr/lib > /dev/null
|
||||
# missing files
|
||||
rm -f lib*_p.*
|
||||
# not needed
|
||||
rm -rf aout compat
|
||||
|
||||
# Fix up symlinks
|
||||
find -type l -exec ls -l {} \; | \
|
||||
while read a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aA ; do \
|
||||
case $aA in
|
||||
/lib* ) # link
|
||||
rm $a8;
|
||||
b=`basename $aA`
|
||||
ln -s ../../lib/$b $a8
|
||||
;;
|
||||
esac
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
||||
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
%package sys-root
|
||||
Group: Development/Tools
|
||||
Summary: @tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%description sys-root
|
||||
@tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%files sys-root
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
@@ -1,3 +0,0 @@
|
||||
Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
Patch0: binutils-2.16.1-rtems-20050708.diff
|
||||
@@ -1,33 +0,0 @@
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH0@
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH1@
|
||||
%{?!_with_sources:NoSource: 1}
|
||||
%endif
|
||||
|
||||
%if %build_f95
|
||||
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH2@
|
||||
%{?!_with_sources:NoSource: 2}
|
||||
%endif
|
||||
|
||||
%if %build_gcj
|
||||
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH3@
|
||||
%{?!_with_sources:NoSource: 3}
|
||||
%endif
|
||||
|
||||
%if %build_gnat
|
||||
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH4@
|
||||
%{?!_with_sources:NoSource: 4}
|
||||
%endif
|
||||
|
||||
%if %build_objc
|
||||
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH5@
|
||||
%{?!_with_sources:NoSource: 5}
|
||||
%endif
|
||||
@@ -1,108 +0,0 @@
|
||||
%define freebsd_version @FREEBSD_VERS@
|
||||
%define freebsd_rpmvers %{expand:%(echo @FREEBSD_VERS@ | tr - _)}
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __debug_install_post %{nil}
|
||||
|
||||
Name: @rpmprefix@@tool_target@
|
||||
Release: @FREEBSD_RPMREL@%{?dist}
|
||||
License: FreeBSD
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: /usr/bin/star
|
||||
|
||||
Version: %freebsd_rpmvers
|
||||
Summary: @tool_target@ Libraries
|
||||
|
||||
Source0: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aa
|
||||
Source1: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ab
|
||||
Source2: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ac
|
||||
Source3: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ad
|
||||
Source4: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ae
|
||||
Source5: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.af
|
||||
Source6: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ag
|
||||
Source7: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ah
|
||||
Source8: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ai
|
||||
Source9: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aj
|
||||
Source10: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ak
|
||||
Source11: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.al
|
||||
Source12: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.am
|
||||
Source13: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.an
|
||||
Source14: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ao
|
||||
Source15: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ap
|
||||
Source16: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aq
|
||||
Source17: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ar
|
||||
Source18: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.as
|
||||
Source19: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.at
|
||||
Source20: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.au
|
||||
Source21: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.av
|
||||
Source22: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aw
|
||||
Source23: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ax
|
||||
Source24: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ay
|
||||
Source25: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.az
|
||||
Source26: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ba
|
||||
Source27: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bb
|
||||
Source28: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bc
|
||||
Source29: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bd
|
||||
Source30: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.be
|
||||
Source31: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bf
|
||||
Source32: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bg
|
||||
Source33: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bh
|
||||
Source34: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bi
|
||||
Source35: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bj
|
||||
Source36: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bk
|
||||
Source37: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bl
|
||||
Source38: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bm
|
||||
Source39: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bn
|
||||
Source40: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bo
|
||||
Source41: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bp
|
||||
|
||||
%description
|
||||
@tool_target@ libraries.
|
||||
|
||||
%prep
|
||||
%setup -q -c -T -n %{name}-%{version}
|
||||
|
||||
cat \
|
||||
%SOURCE0 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4 \
|
||||
%SOURCE5 %SOURCE6 %SOURCE7 %SOURCE8 %SOURCE9 \
|
||||
%SOURCE10 %SOURCE11 %SOURCE12 %SOURCE13 %SOURCE14 \
|
||||
%SOURCE15 %SOURCE16 %SOURCE17 %SOURCE18 %SOURCE19 \
|
||||
%SOURCE20 %SOURCE21 %SOURCE22 %SOURCE23 %SOURCE24 \
|
||||
%SOURCE25 %SOURCE26 %SOURCE27 %SOURCE28 %SOURCE29 \
|
||||
%SOURCE30 %SOURCE31 %SOURCE32 %SOURCE33 %SOURCE34 \
|
||||
%SOURCE35 %SOURCE36 %SOURCE37 %SOURCE38 %SOURCE39 \
|
||||
%SOURCE40 %SOURCE41 \
|
||||
| /usr/bin/star xzf - lib usr/lib usr/include
|
||||
|
||||
%build
|
||||
# Setup sys-root (Usable for gcc >= 3.4)
|
||||
mkdir -p @tool_target@/sys-root
|
||||
%{__tar} cf - lib usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
|
||||
|
||||
pushd @tool_target@/sys-root/usr/lib > /dev/null
|
||||
# missing files
|
||||
rm -f lib*_p.*
|
||||
# not needed
|
||||
rm -rf aout compat
|
||||
|
||||
# Fix up symlinks
|
||||
find -type l -exec ls -l {} \; | \
|
||||
while read a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aA ; do \
|
||||
case $aA in
|
||||
/lib* ) # link
|
||||
rm $a8;
|
||||
b=`basename $aA`
|
||||
ln -s ../../lib/$b $a8
|
||||
;;
|
||||
esac
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
||||
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
%package sys-root
|
||||
Group: Development/Tools
|
||||
Summary: @tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%description sys-root
|
||||
@tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%files sys-root
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
@@ -1,3 +0,0 @@
|
||||
Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
Patch0: binutils-2.16.1-rtems-20050708.diff
|
||||
@@ -1,33 +0,0 @@
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH0@
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH1@
|
||||
%{?!_with_sources:NoSource: 1}
|
||||
%endif
|
||||
|
||||
%if %build_f95
|
||||
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH2@
|
||||
%{?!_with_sources:NoSource: 2}
|
||||
%endif
|
||||
|
||||
%if %build_gcj
|
||||
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH3@
|
||||
%{?!_with_sources:NoSource: 3}
|
||||
%endif
|
||||
|
||||
%if %build_gnat
|
||||
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH4@
|
||||
%{?!_with_sources:NoSource: 4}
|
||||
%endif
|
||||
|
||||
%if %build_objc
|
||||
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH5@
|
||||
%{?!_with_sources:NoSource: 5}
|
||||
%endif
|
||||
@@ -1,93 +0,0 @@
|
||||
%define freebsd_version @FREEBSD_VERS@
|
||||
%define freebsd_rpmvers %{expand:%(echo @FREEBSD_VERS@ | tr - _)}
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __debug_install_post %{nil}
|
||||
|
||||
Name: @rpmprefix@@tool_target@
|
||||
Release: @FREEBSD_RPMREL@%{?dist}
|
||||
License: FreeBSD
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: /usr/bin/star
|
||||
|
||||
Version: %freebsd_rpmvers
|
||||
Summary: @tool_target@ Libraries
|
||||
|
||||
Source0: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aa
|
||||
Source1: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ab
|
||||
Source2: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ac
|
||||
Source3: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ad
|
||||
Source4: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ae
|
||||
Source5: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.af
|
||||
Source6: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ag
|
||||
Source7: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ah
|
||||
Source8: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ai
|
||||
Source9: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aj
|
||||
Source10: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ak
|
||||
Source11: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.al
|
||||
Source12: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.am
|
||||
Source13: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.an
|
||||
Source14: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ao
|
||||
Source15: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ap
|
||||
Source16: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aq
|
||||
Source17: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ar
|
||||
Source18: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.as
|
||||
Source19: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.at
|
||||
Source20: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.au
|
||||
Source21: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.av
|
||||
Source22: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.aw
|
||||
Source23: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ax
|
||||
Source24: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ay
|
||||
Source25: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.az
|
||||
Source26: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.ba
|
||||
Source27: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bb
|
||||
Source28: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bc
|
||||
Source29: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/@FREEBSD_VERS@-RELEASE/base/base.bd
|
||||
|
||||
%description
|
||||
@tool_target@ libraries.
|
||||
|
||||
%prep
|
||||
%setup -q -c -T -n %{name}-%{version}
|
||||
|
||||
cat \
|
||||
%SOURCE0 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4 \
|
||||
%SOURCE5 %SOURCE6 %SOURCE7 %SOURCE8 %SOURCE9 \
|
||||
%SOURCE10 %SOURCE11 %SOURCE12 %SOURCE13 %SOURCE14 \
|
||||
%SOURCE15 %SOURCE16 %SOURCE17 %SOURCE18 %SOURCE19 \
|
||||
%SOURCE20 %SOURCE21 %SOURCE22 %SOURCE23 %SOURCE24 \
|
||||
%SOURCE25 %SOURCE26 %SOURCE27 %SOURCE28 %SOURCE29 \
|
||||
| /usr/bin/star xzf - lib usr/lib usr/include
|
||||
|
||||
%build
|
||||
# Setup sys-root (Usable for gcc >= 3.4)
|
||||
mkdir -p @tool_target@/sys-root
|
||||
%{__tar} cf - lib usr/lib usr/include | ( cd @tool_target@/sys-root ; %{__tar} xf -)
|
||||
|
||||
pushd @tool_target@/sys-root/usr/lib > /dev/null
|
||||
# missing files
|
||||
rm -f lib*_p.*
|
||||
# not needed
|
||||
rm -rf aout compat
|
||||
|
||||
# Fix up symlinks
|
||||
find -type l -exec ls -l {} \; | \
|
||||
while read a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aA ; do \
|
||||
case $aA in
|
||||
/lib* ) # link
|
||||
rm $a8;
|
||||
b=`basename $aA`
|
||||
ln -s ../../lib/$b $a8
|
||||
;;
|
||||
esac
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
||||
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
%package sys-root
|
||||
Group: Development/Tools
|
||||
Summary: @tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%description sys-root
|
||||
@tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%files sys-root
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
@@ -1,3 +0,0 @@
|
||||
Source0: http://dl.sourceforge.net/sourceforge/mingw/binutils-%{binutils_version}-src.tar.gz
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
@PATCH0@
|
||||
@@ -1,33 +0,0 @@
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH0@
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH1@
|
||||
%{?!_with_sources:NoSource: 1}
|
||||
%endif
|
||||
|
||||
%if %build_f95
|
||||
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH2@
|
||||
%{?!_with_sources:NoSource: 2}
|
||||
%endif
|
||||
|
||||
%if %build_gcj
|
||||
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH3@
|
||||
%{?!_with_sources:NoSource: 3}
|
||||
%endif
|
||||
|
||||
%if %build_gnat
|
||||
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH4@
|
||||
%{?!_with_sources:NoSource: 4}
|
||||
%endif
|
||||
|
||||
%if %build_objc
|
||||
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH5@
|
||||
%{?!_with_sources:NoSource: 5}
|
||||
%endif
|
||||
@@ -1,38 +0,0 @@
|
||||
%define mingw32_version @MINGW32_VERS@
|
||||
%define mingw32_rpmvers %{expand:%(echo @MINGW32_VERS@ | tr - _)}
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __debug_install_post %{nil}
|
||||
|
||||
Name: @rpmprefix@@tool_target@
|
||||
Release: @MINGW32_RPMREL@%{?dist}
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
Version: %mingw32_rpmvers
|
||||
Summary: MinGW Libraries
|
||||
|
||||
Source0: http://dl.sourceforge.net/sourceforge/mingw/mingw-runtime-%{mingw32_version}.tar.gz
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%description
|
||||
Mingw libraries.
|
||||
|
||||
%prep
|
||||
%setup -c -q
|
||||
|
||||
%build
|
||||
rm -rf @tool_target@
|
||||
|
||||
# Setup sys-root (Usable for gcc >= 3.4)
|
||||
mkdir -p @tool_target@/sys-root/mingw
|
||||
cp -a include lib @tool_target@/sys-root/mingw
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
||||
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
%package sys-root
|
||||
Group: Development/Tools
|
||||
Summary: @tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%description sys-root
|
||||
@tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%files sys-root
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
@@ -1,11 +0,0 @@
|
||||
%package sys-root
|
||||
Group: Development/Tools
|
||||
Summary: @tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%description sys-root
|
||||
@tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%files sys-root
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
@@ -1,38 +0,0 @@
|
||||
%define w32api_version @W32API_VERS@
|
||||
%define w32api_rpmvers %{expand:%(echo @W32API_VERS@ | tr - _)}
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __debug_install_post %{nil}
|
||||
|
||||
Name: @rpmprefix@@tool_target@-w32api
|
||||
Release: @W32API_RPMREL@%{?dist}
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
Version: %w32api_rpmvers
|
||||
Summary: MinGW Libraries
|
||||
|
||||
Source0: http://dl.sourceforge.net/sourceforge/mingw/w32api-%{w32api_version}.tar.gz
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%description
|
||||
Mingw libraries.
|
||||
|
||||
%prep
|
||||
%setup -c -q
|
||||
|
||||
%build
|
||||
rm -rf @tool_target@
|
||||
|
||||
# Setup sys-root (Usable for gcc >= 3.4)
|
||||
mkdir -p @tool_target@/sys-root/mingw
|
||||
cp -a include lib @tool_target@/sys-root/mingw
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
||||
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
Source0: ftp://ftp.gnu.org/pub/binutils/binutils-%{binutils_version}.tar.bz2
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
Patch0: binutils-2.16.1-rtems-20050708.diff
|
||||
@@ -1,33 +0,0 @@
|
||||
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH0@
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%if %build_cxx
|
||||
Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH1@
|
||||
%{?!_with_sources:NoSource: 1}
|
||||
%endif
|
||||
|
||||
%if %build_f95
|
||||
Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH2@
|
||||
%{?!_with_sources:NoSource: 2}
|
||||
%endif
|
||||
|
||||
%if %build_gcj
|
||||
Source3: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-java-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH3@
|
||||
%{?!_with_sources:NoSource: 3}
|
||||
%endif
|
||||
|
||||
%if %build_gnat
|
||||
Source4: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-ada-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH4@
|
||||
%{?!_with_sources:NoSource: 4}
|
||||
%endif
|
||||
|
||||
%if %build_objc
|
||||
Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
|
||||
@PATCH5@
|
||||
%{?!_with_sources:NoSource: 5}
|
||||
%endif
|
||||
@@ -1,38 +0,0 @@
|
||||
%define solaris_version @SOLARIS_VERS@
|
||||
%define solaris_rpmvers %{expand:%(echo @SOLARIS_VERS@ | tr - _)}
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __debug_install_post %{nil}
|
||||
|
||||
Name: @rpmprefix@@tool_target@
|
||||
Release: @SOLARIS_RPMREL@%{?dist}
|
||||
License: Sun Microsystems
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
Version: %solaris_rpmvers
|
||||
Summary: @tool_target@ Libraries
|
||||
|
||||
Source0: sparc-sun-solaris2.7-libs-%{solaris_version}.tar.bz2
|
||||
%{?!_with_sources:NoSource: 0}
|
||||
|
||||
%description
|
||||
@tool_target@ libraries.
|
||||
|
||||
%prep
|
||||
%setup -c -q
|
||||
|
||||
%build
|
||||
rm -rf @tool_target@
|
||||
|
||||
# Setup sys-root (Usable for gcc >= 3.4)
|
||||
mkdir -p @tool_target@/sys-root
|
||||
%{__tar} cf - usr/lib usr/include lib | ( cd @tool_target@/sys-root ; %{__tar} xf -)
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
||||
cp -a @tool_target@ $RPM_BUILD_ROOT%{_prefix}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
%package sys-root
|
||||
Group: Development/Tools
|
||||
Summary: @tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%description sys-root
|
||||
@tool_target@ target files for gcc >= 3.4
|
||||
|
||||
%files sys-root
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_prefix}/@tool_target@
|
||||
%{_prefix}/@tool_target@/sys-root
|
||||
Reference in New Issue
Block a user