diff options
Diffstat (limited to 'contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec')
-rw-r--r-- | contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec | 798 |
1 files changed, 0 insertions, 798 deletions
diff --git a/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec b/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec deleted file mode 100644 index eba9d13806..0000000000 --- a/contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec +++ /dev/null @@ -1,798 +0,0 @@ -# -# Please send bugfixes or comments to -# http://www.rtems.org/bugzilla -# - - -%ifos cygwin cygwin32 mingw mingw32 -%define _exeext .exe -%define debug_package %{nil} -%define _libdir %{_exec_prefix}/lib -%else -%define _exeext %{nil} -%endif - -%ifos cygwin cygwin32 -%define optflags -O3 -pipe -march=i486 -funroll-loops -%endif - -%ifos mingw mingw32 -%if %{defined _mingw32_cflags} -%define optflags %{_mingw32_cflags} -%else -%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -%endif -%endif - -%if "%{_build}" != "%{_host}" -%define _host_rpmprefix %{_host}- -%else -%define _host_rpmprefix %{nil} -%endif - - -%define gcc_pkgvers 4.5.2 -%define gcc_version 4.5.2 -%define gcc_rpmvers %{expand:%(echo "4.5.2" | tr - _ )} - - -Name: i586-pc-freebsd8.2-gcc -Summary: i586-pc-freebsd8.2 gcc - -Group: Development/Tools -Version: %{gcc_rpmvers} -Release: 0.20111116.0%{?dist} -License: GPL -URL: http://gcc.gnu.org -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -%define _use_internal_dependency_generator 0 - -BuildRequires: %{_host_rpmprefix}gcc - -# FIXME: Disable lto for now, to avoid dependencies on libelf -%bcond_with lto - -# FIXME: Disable python gdb scripts -# ATM, no idea how to package them -%bcond_with pygdb - -# FIXME: Disable GCC-plugin -# Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts. -%bcond_with plugin - -# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's -# Should be applicable to gcc >= 4.5.0 -%bcond_with gcc_stdint - -# EXPERIMENTAL: Enable newlib's iconv -%bcond_without iconv - -# versions of libraries, we conditionally bundle if necessary -%global mpc_version 0.8.1 -%global mpfr_version 2.4.2 -%global gmp_version 4.3.2 -%global libelf_version 0.8.13 - -# versions of libraries these distros are known to ship -%if 0%{?fc16} -%global mpc_provided 0.8.3 -%global mpfr_provided 3.0.0 -%global gmp_provided 4.3.2 -%endif - -%if 0%{?fc15} -%global mpc_provided 0.8.3 -%global mpfr_provided 3.0.0 -%global gmp_provided 4.3.2 -%endif - -%if 0%{?fc14} -%global mpc_provided 0.8.1 -%global mpfr_provided 2.4.2 -%global gmp_provided 4.3.1 -%endif - -%if 0%{?el6} -%global mpc_provided %{nil} -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - -%if 0%{?el5} -%global mpc_provided %{nil} -%global mpfr_provided %{nil} -%global gmp_provided 4.1.4 -%endif - -%if 0%{?suse12_1} -%global mpc_provided 0.8.2 -%global mpfr_provided 3.0.1 -%global gmp_provided 5.0.2 -%endif - -%if 0%{?suse11_3} -%global mpc_provided 0.8.1 -%global mpfr_provided 2.4.2 -%global gmp_provided 4.3.2 -%endif - -%if 0%{?suse11_4} -%global mpc_provided 0.8.2 -%global mpfr_provided 3.0.0 -%global gmp_provided 5.0.1 -%endif - -%if 0%{?cygwin} -%global mpc_provided 0.8 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.1 -%endif - -%if 0%{?mingw32} -%global mpc_provided 0.8.1 -%global mpfr_provided 2.4.1 -%global gmp_provided 4.3.2 -%endif - -%if "%{gcc_version}" >= "4.2.0" -%define gmp_required 4.1 -%define mpfr_required 2.2.1 -%endif - -%if "%{gcc_version}" >= "4.3.0" -%define gmp_required 4.1 -%define mpfr_required 2.3.1 -%endif - -%if "%{gcc_version}" >= "4.3.3" -%define cloog_required 0.15 -%endif - -%if "%{gcc_version}" >= "4.4.0" -%define mpfr_required 2.3.2 -%endif - -%if "%{gcc_version}" >= "4.5.0" -%define mpc_required 0.8 -%if %{with lto} -%define libelf_required 0.8.12 -%endif -%endif - -%if %{defined mpc_required} -%if "%{mpc_provided}" >= "%{mpc_required}" -%{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}} -%{?suse:BuildRequires: mpc-devel >= %{mpc_required}} -%if "%{_build}" != "%{_host}" -BuildRequires: %{_host_rpmprefix}mpc-devel >= %{mpc_required} -%endif -%else -%define _build_mpc 1 -%define gmp_required 4.2 -%endif -%endif - -%if %{defined gmp_required} -%if "%{gmp_provided}" >= "%{gmp_required}" -BuildRequires: gmp-devel >= %{gmp_required} -%if "%{_build}" != "%{_host}" -BuildRequires: %{_host_rpmprefix}gmp-devel >= %{gmp_required} -%endif -%else -%define _build_gmp 1 -%endif -%endif - -%if %{defined libelf_required} -%if "%{libelf_provided}" >= "%{libelf_required}" -BuildRequires: libelf-devel >= %{libelf_required} -%if "%{_build}" != "%{_host}" -BuildRequires: %{_host_rpmprefix}libelf-devel >= %{libelf_required} -%endif -%else -%define _build_libelf 1 -%endif -%endif - - -%if %{defined cloog_required} -%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required} -%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required} -%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required} -%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required} -%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel} -%endif - - -%if %{defined mpfr_required} -%if "%{mpfr_provided}" >= "%{mpfr_required}" -BuildRequires: mpfr-devel >= %{mpfr_required} -%if "%{_build}" != "%{_host}" -BuildRequires: %{_host_rpmprefix}mpfr-devel >= %{mpfr_required} -%endif -%else -%define _build_mpfr 1 -%endif -%endif - -%if "%{_build}" != "%{_host}" -BuildRequires: i586-pc-freebsd8.2-gcc = %{gcc_rpmvers} -%endif - -# Not strictly required, but patches may introduce a need to use them. -# For reasons of simplicity, always require them. -BuildRequires: flex bison - -BuildRequires: texinfo >= 4.2 -BuildRequires: i586-pc-freebsd8.2-binutils -BuildRequires: i586-pc-freebsd8.2-sys-root - -Requires: i586-pc-freebsd8.2-binutils -Requires: i586-pc-freebsd8.2-sys-root -Requires: i586-pc-freebsd8.2-gcc-libgcc = %{gcc_rpmvers}-%{release} - -%if "%{gcc_version}" >= "4.5.0" -BuildRequires: zlib-devel -%if "%{_build}" != "%{_host}" -BuildRequires: %{_host_rpmprefix}zlib-devel -%endif -%else -%endif - -%global _gcclibdir %{_prefix}/lib - -Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2 -%if "%{gcc_version}" == "4.5.2" -Patch0: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-core-4.5.2-rtems4.11-20110220.diff -%endif -%{?_without_sources:NoSource: 0} - -Source1: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2 -%if "%{gcc_version}" == "4.5.2" -Patch1: ftp://ftp.rtems.org/pub/rtems/SOURCES/4.11/gcc-g++-4.5.2-rtems4.11-20110131.diff -%endif -%{?_without_sources:NoSource: 1} - -Source2: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2 -%{?_without_sources:NoSource: 2} - -Source5: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2 -%{?_without_sources:NoSource: 5} - -%if 0%{?_build_mpfr} -Source60: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2 -%endif - -%if 0%{?_build_mpc} -Source61: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz -%endif - -%if 0%{?_build_gmp} -Source62: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2 -%endif - -%if 0%{?_build_libelf} -Source63: http://www.mr511.de/software/libelf-%{libelf_version}.tar.gz -%endif - -%description -Cross gcc for i586-pc-freebsd8.2. - -%prep -%setup -c -T -n %{name}-%{version} - -%setup -q -T -D -n %{name}-%{version} -a0 -cd gcc-%{gcc_pkgvers} -%{?PATCH0:%patch0 -p1} -cd .. - -%{?SOURCE1:%setup -q -T -D -n %{name}-%{version} -a1} -cd gcc-%{gcc_pkgvers} -%{?PATCH1:%patch1 -p1} -cd .. - -%{?SOURCE2:%setup -q -T -D -n %{name}-%{version} -a2} -%{?PATCH2:%patch2 -p0} - - - -%{?SOURCE5:%setup -q -T -D -n %{name}-%{version} -a5} -%{?PATCH5:%patch5 -p0} - -%if %{with gcc_stdint} -sed -i -e '/thread_file=.*rtems/,/use_gcc_stdint=wrap/ { s/use_gcc_stdint=wrap/use_gcc_stdint=provide/}' gcc-%{gcc_pkgvers}/gcc/config.gcc -%endif - - -%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 0%{?_build_mpc} -%setup -q -T -D -n %{name}-%{version} -a61 -%{?PATCH61:%patch61 -p1} - # Build mpc one-tree style - ln -s ../mpc-%{mpc_version} gcc-%{gcc_pkgvers}/mpc -%endif - -%if 0%{?_build_gmp} -%setup -q -T -D -n %{name}-%{version} -a62 -%{?PATCH62:%patch62 -p1} - # Build gmp one-tree style - ln -s ../gmp-%{gmp_version} gcc-%{gcc_pkgvers}/gmp -%endif - -%if 0%{?_build_libelf} -%setup -q -T -D -n %{name}-%{version} -a63 -%{?PATCH63:%patch63 -p1} - # Build libelf one-tree style - ln -s ../libelf-%{libelf_version} gcc-%{gcc_pkgvers}/libelf -%endif - - - # Fix timestamps - cd gcc-%{gcc_pkgvers} - contrib/gcc_update --touch - cd .. -%build - mkdir -p build - - cd build - - languages="c" - languages="$languages,c++" - languages="$languages,fortran" - languages="$languages,objc" -%if "%{_build}" != "%{_host}" - CFLAGS_FOR_BUILD="-g -O2 -Wall" \ - CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \ -%else -# gcc is not ready to be compiled with -std=gnu99 - CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \ -%endif - ../gcc-%{gcc_pkgvers}/configure \ - --prefix=%{_prefix} \ - --bindir=%{_bindir} \ - --exec_prefix=%{_exec_prefix} \ - --includedir=%{_includedir} \ - --libdir=%{_gcclibdir} \ - --libexecdir=%{_libexecdir} \ - --mandir=%{_mandir} \ - --infodir=%{_infodir} \ - --datadir=%{_datadir} \ - --build=%_build --host=%_host \ - --target=i586-pc-freebsd8.2 \ - --disable-libstdcxx-pch \ - --with-gnu-as --with-gnu-ld --verbose \ - --with-system-zlib \ - --disable-nls --without-included-gettext \ - --disable-win32-registry \ - --enable-version-specific-runtime-libs \ - --enable-threads \ - --with-sysroot=%{_exec_prefix}/i586-pc-freebsd8.2/sys-root \ - %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \ - %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \ - --enable-languages="$languages" - -%if "%_host" != "%_build" - # Bug in gcc-3.2.1: - # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs - mkdir -p gcc/include - cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h -%endif - - make %{?_smp_mflags} all - cd .. - -%install - rm -rf $RPM_BUILD_ROOT - - cd build - - make DESTDIR=$RPM_BUILD_ROOT install - cd .. - - -%if "%{gcc_version}" <= "4.1.2" -# Misplaced header file - if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then - mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \ - $RPM_BUILD_ROOT%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/include/ - fi -%endif - - # host library -%if "%{gcc_version}" >= "4.2.0" - # libiberty doesn't honor --libdir, but always installs to a - # magically guessed _libdir - rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a -%else - # libiberty installs to --libdir=... - rm -f ${RPM_BUILD_ROOT}%{_gcclibdir}/libiberty.a -%endif - - # We use the version from binutils - rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd8.2-c++filt%{_exeext} - - -# Conflict with a native GCC's infos - rm -rf $RPM_BUILD_ROOT%{_infodir} - -# Conflict with a native GCC's man pages - rm -rf $RPM_BUILD_ROOT%{_mandir}/man7 - - # We don't want libffi's man-pages - rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi* - - # Bug in gcc-3.4.0pre - rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd8.2-i586-pc-freebsd8.2-gcjh%{_exeext} - - # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs - # the fixinclude-install-tools - rm -rf ${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/install-tools - rm -rf ${RPM_BUILD_ROOT}%{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/install-tools - - # Bug in gcc > 4.1.0: Installs an unused, empty directory - if test -d ${RPM_BUILD_ROOT}%{_prefix}/i586-pc-freebsd8.2/include/bits; then - rmdir ${RPM_BUILD_ROOT}%{_prefix}/i586-pc-freebsd8.2/include/bits - fi - -%if ! %{with pygdb} - # gcc >= 4.5.0: installs weird libstdc++ python bindings. - if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then - rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx - fi - -%endif - # Collect multilib subdirectories - multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'` - - - rm -f dirs ; - echo "%defattr(-,root,root,-)" >> dirs - TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}" - for i in $multilibs; do - case $i in - \.) ;; # ignore, handled elsewhere - *) echo "%dir ${TGTDIR}/$i" >> dirs - ;; - esac - done - - # Collect files to go into different packages - cp dirs build/files.gcc - cp dirs build/files.gfortran - cp dirs build/files.objc - cp dirs build/files.gcj - cp dirs build/files.g++ - cp dirs build/files.go - - TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}" - f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`; - for i in $f; do - case $i in - *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs - *f771) ;; - *f951) ;; - *cc1) ;; - *cc1obj) ;; - *cc1plus) ;; # ignore: explicitly put into rpm elsewhere - *collect2) ;; - *libobjc*) echo "$i" >> build/files.objc ;; - *go1) ;; # ignore: explicitly put into rpm elsewhere - *include/objc*) ;; - *include/g++*);; - *include/c++*);; - *include-fixed/*);; - *finclude/*);; - */go/*) ;; # ignore : explicitly put into rpm elsewhere - *adainclude*);; - *adalib*);; - *gnat1);; - *jc1) ;; - *jvgenmain) ;; - */libgfortran*.*) echo "$i" >> build/files.gfortran ;; - */libgo.*) echo "$i" >> build/files.go ;; - %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now - %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;} - */libstdc++.*) echo "$i" >> build/files.g++ ;; - */libsupc++.*) echo "$i" >> build/files.g++ ;; - *) echo "$i" >> build/files.gcc ;; - esac - done - - TGTDIR="%{_exec_prefix}/i586-pc-freebsd8.2/lib" - f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`; - for i in $f; do - case $i in - *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs - *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed -# all other files belong to newlib - *) echo "$i" >> build/files.newlib ;; - esac - done -# Extract %%__os_install_post into os_install_post~ -cat << \EOF > os_install_post~ -%__os_install_post -EOF - -# Generate customized brp-*scripts -cat os_install_post~ | while read a x y; do -case $a in -# Prevent brp-strip* from trying to handle foreign binaries -*/brp-strip*) - b=$(basename $a) - sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b - chmod a+x $b - ;; -esac -done - -sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \ -< os_install_post~ > os_install_post -%define __os_install_post . ./os_install_post - - -cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides -#!/bin/sh -grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i586-pc-freebsd8.2/(lib|include|sys-root)' \ - %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i586-pc-freebsd8.2/'} | %__find_provides -EOF -chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides -%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides - -cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires -#!/bin/sh -grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i586-pc-freebsd8.2/(lib|include|sys-root)' \ - %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i586-pc-freebsd8.2/'} | %__find_requires -EOF -chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires -%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires - -%ifnarch noarch -# Extract %%__debug_install_post into debug_install_post~ -cat << \EOF > debug_install_post~ -%__debug_install_post -EOF - -# Generate customized debug_install_post script -cat debug_install_post~ | while read a x y; do -case $a in -# Prevent find-debuginfo.sh* from trying to handle foreign binaries -*/find-debuginfo.sh) - b=$(basename $a) - sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b - chmod a+x $b - ;; -esac -done - -sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \ -< debug_install_post~ > debug_install_post -%define __debug_install_post . ./debug_install_post - -%endif - -%clean - rm -rf $RPM_BUILD_ROOT - -# ============================================================== -# i586-pc-freebsd8.2-gcc -# ============================================================== -# %package -n i586-pc-freebsd8.2-gcc -# Summary: GNU cc compiler for i586-pc-freebsd8.2 -# Group: Development/Tools -# Version: %{gcc_rpmvers} -# Requires: i586-pc-freebsd8.2-binutils -# License: GPL - -# %if %build_infos -# Requires: gcc-common -# %endif - -%description -n i586-pc-freebsd8.2-gcc -GNU cc compiler for i586-pc-freebsd8.2. - -# ============================================================== -# i586-pc-freebsd8.2-gcc-libgcc -# ============================================================== -%package -n i586-pc-freebsd8.2-gcc-libgcc -Summary: libgcc for i586-pc-freebsd8.2-gcc -Group: Development/Tools -Version: %{gcc_rpmvers} -%{?_with_noarch_subpackages:BuildArch: noarch} -License: GPL - -%description -n i586-pc-freebsd8.2-gcc-libgcc -libgcc i586-pc-freebsd8.2-gcc. - - -%files -n i586-pc-freebsd8.2-gcc -%defattr(-,root,root) - -%{_mandir}/man1/i586-pc-freebsd8.2-gcc.1* -%{_mandir}/man1/i586-pc-freebsd8.2-cpp.1* -%{_mandir}/man1/i586-pc-freebsd8.2-gcov.1* - -%{_bindir}/i586-pc-freebsd8.2-cpp%{_exeext} -%{_bindir}/i586-pc-freebsd8.2-gcc%{_exeext} -%{_bindir}/i586-pc-freebsd8.2-gcc-%{gcc_version}%{_exeext} -%{_bindir}/i586-pc-freebsd8.2-gcov%{_exeext} -%if "%{gcc_version}" < "4.6.0" -%{_bindir}/i586-pc-freebsd8.2-gccbug -%endif - -%dir %{_libexecdir}/gcc -%dir %{_libexecdir}/gcc/i586-pc-freebsd8.2 -%dir %{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version} -%{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/cc1%{_exeext} -%{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/collect2%{_exeext} -%if "%{gcc_version}" >= "4.5.0" -%{?with_lto:%{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/lto%{_exeext}} -%{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/lto-wrapper%{_exeext} -%endif - -%files -n i586-pc-freebsd8.2-gcc-libgcc -f build/files.gcc -%defattr(-,root,root) -%dir %{_gcclibdir}/gcc -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2 -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version} -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/include - -%if "%{gcc_version}" > "4.0.3" -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/include/ssp -%endif - -%if "%{gcc_version}" >= "4.3.0" -%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/include-fixed -%endif - -# ============================================================== -# i586-pc-freebsd8.2-gcc-c++ -# ============================================================== -%package -n i586-pc-freebsd8.2-gcc-c++ -Summary: GCC c++ compiler for i586-pc-freebsd8.2 -Group: Development/Tools -Version: %{gcc_rpmvers} -License: GPL -Requires: i586-pc-freebsd8.2-gcc-libstdc++ = %{gcc_rpmvers}-%{release} - -%if "%{_build}" != "%{_host}" -BuildRequires: i586-pc-freebsd8.2-gcc-c++ = %{gcc_rpmvers} -%endif - -Requires: i586-pc-freebsd8.2-gcc = %{gcc_rpmvers}-%{release} - -%description -n i586-pc-freebsd8.2-gcc-c++ -GCC c++ compiler for i586-pc-freebsd8.2. - - -%package -n i586-pc-freebsd8.2-gcc-libstdc++ -Summary: libstdc++ for i586-pc-freebsd8.2 -Group: Development/Tools -Version: %{gcc_rpmvers} -%{?_with_noarch_subpackages:BuildArch: noarch} -License: GPL - -%description -n i586-pc-freebsd8.2-gcc-libstdc++ -%{summary} - - -%files -n i586-pc-freebsd8.2-gcc-c++ -%defattr(-,root,root) - -%{_mandir}/man1/i586-pc-freebsd8.2-g++.1* - -%{_bindir}/i586-pc-freebsd8.2-c++%{_exeext} -%{_bindir}/i586-pc-freebsd8.2-g++%{_exeext} - -%dir %{_libexecdir}/gcc -%dir %{_libexecdir}/gcc/i586-pc-freebsd8.2 -%dir %{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version} -%{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/cc1plus%{_exeext} - - -%files -n i586-pc-freebsd8.2-gcc-libstdc++ -f build/files.g++ -%defattr(-,root,root) -%dir %{_gcclibdir}/gcc -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2 -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version} -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/include -%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/include/c++ - -# ============================================================== -# i586-pc-freebsd8.2-gcc-gfortran -# ============================================================== -%package -n i586-pc-freebsd8.2-gcc-gfortran -Summary: Fortran 95 support for i586-pc-freebsd8.2-gcc -Group: Development/Tools -Version: %{gcc_rpmvers} -License: GPL - -Requires: i586-pc-freebsd8.2-gcc = %{gcc_rpmvers}-%{release} -Requires: i586-pc-freebsd8.2-gcc-libgfortran = %{gcc_rpmvers}-%{release} - -%description -n i586-pc-freebsd8.2-gcc-gfortran -GCC fortran compiler for i586-pc-freebsd8.2. - -%files -n i586-pc-freebsd8.2-gcc-gfortran -%defattr(-,root,root) -%{_bindir}/i586-pc-freebsd8.2-gfortran%{_exeext} - -%{_mandir}/man1/i586-pc-freebsd8.2-gfortran.1* - -%dir %{_libexecdir}/gcc -%dir %{_libexecdir}/gcc/i586-pc-freebsd8.2 -%dir %{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version} -%{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/f951%{_exeext} - -# ============================================================== -# i586-pc-freebsd8.2-gcc-libgfortran -# ============================================================== -%package -n i586-pc-freebsd8.2-gcc-libgfortran -Summary: Fortran 95 support libraries for i586-pc-freebsd8.2-gcc -Group: Development/Tools -Version: %{gcc_rpmvers} -%{?_with_noarch_subpackages:BuildArch: noarch} -License: GPL - -%description -n i586-pc-freebsd8.2-gcc-libgfortran -%{summary} - -%files -n i586-pc-freebsd8.2-gcc-libgfortran -f build/files.gfortran -%defattr(-,root,root) -%dir %{_gcclibdir}/gcc -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2 -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version} -%if "%{gcc_version}" >= "4.2.0" -%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/finclude -%endif - -# ============================================================== -# i586-pc-freebsd8.2-gcc-objc -# ============================================================== -%package -n i586-pc-freebsd8.2-gcc-objc -Summary: Objective C support for i586-pc-freebsd8.2-gcc -Group: Development/Tools -Version: %{gcc_rpmvers} -License: GPL - -Requires: i586-pc-freebsd8.2-gcc = %{gcc_rpmvers}-%{release} -Requires: i586-pc-freebsd8.2-gcc-libobjc = %{gcc_rpmvers}-%{release} - -%description -n i586-pc-freebsd8.2-gcc-objc -GCC objc compiler for i586-pc-freebsd8.2. - -%files -n i586-pc-freebsd8.2-gcc-objc -%defattr(-,root,root) -%dir %{_libexecdir}/gcc -%dir %{_libexecdir}/gcc/i586-pc-freebsd8.2 -%dir %{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version} -%{_libexecdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/cc1obj%{_exeext} - -# ============================================================== -# i586-pc-freebsd8.2-gcc-libobjc -# ============================================================== -%package -n i586-pc-freebsd8.2-gcc-libobjc -Summary: Objective C support for i586-pc-freebsd8.2-gcc -Group: Development/Tools -Version: %{gcc_rpmvers} -%{?_with_noarch_subpackages:BuildArch: noarch} -License: GPL - -%description -n i586-pc-freebsd8.2-gcc-libobjc -Support libraries for GCC's objc compiler for i586-pc-freebsd8.2. - -%files -n i586-pc-freebsd8.2-gcc-libobjc -f build/files.objc -%defattr(-,root,root) -%dir %{_gcclibdir}/gcc -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2 -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version} -%dir %{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/include -%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}/include/objc - |