Changeset 5e351954 in rtems


Ignore:
Timestamp:
Oct 21, 2009, 3:16:29 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
078f312
Parents:
95067b9
Message:

Regenerate.

Location:
contrib/crossrpms
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec

    r95067b9 r5e351954  
    3232
    3333
    34 %define gcc_pkgvers 4.3.4
    35 %define gcc_version 4.3.4
    36 %define gcc_rpmvers %{expand:%(echo "4.3.4" | tr - _ )}
     34%define gcc_pkgvers 4.4.2
     35%define gcc_version 4.4.2
     36%define gcc_rpmvers %{expand:%(echo "4.4.2" | tr - _ )}
    3737
    3838
     
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20090827.1%{?dist}
     44Release:        0.20091021.1%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    123123Requires:       i586-pc-freebsd6.4-binutils
    124124Requires:       i586-pc-freebsd6.4-sys-root
     125Requires:       i586-pc-freebsd6.4-gcc-libgcc = %{gcc_rpmvers}-%{release}
    125126
    126127
     
    275276
    276277  # Collect multilib subdirectories
    277   f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     278  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
    278279
    279280
    280281  rm -f dirs ;
    281282  echo "%defattr(-,root,root,-)" >> dirs
    282   echo "%dir %{_gcclibdir}/gcc" >> dirs
    283   echo "%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4" >> dirs
    284 
    285283  TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}"
    286   for i in $f; do
     284  for i in $multilibs; do
    287285    case $i in
    288     \.) echo "%dir ${TGTDIR}" >> dirs
    289       ;;
     286    \.) ;; # ignore, handled elsewhere
    290287    *)  echo "%dir ${TGTDIR}/$i" >> dirs
    291288      ;;
     
    315312    *include/g++*);;
    316313    *include/c++*);;
     314    *include-fixed/*);;
    317315    *finclude/*);;
    318316    *adainclude*);;
     
    420418GNU cc compiler for i586-pc-freebsd6.4.
    421419
    422 %files -n i586-pc-freebsd6.4-gcc -f build/files.gcc
    423 %defattr(-,root,root)
     420# ==============================================================
     421# i586-pc-freebsd6.4-gcc-libgcc
     422# ==============================================================
     423%package -n i586-pc-freebsd6.4-gcc-libgcc
     424Summary:        libgcc for i586-pc-freebsd6.4-gcc
     425Group:          Development/Tools
     426Version:        %{gcc_rpmvers}
     427%{?_with_noarch_subpackages:BuildArch: noarch}
     428License:        GPL
     429
     430%description -n i586-pc-freebsd6.4-gcc-libgcc
     431libgcc i586-pc-freebsd6.4-gcc.
     432
     433
     434%files -n i586-pc-freebsd6.4-gcc
     435%defattr(-,root,root)
     436
    424437%{_mandir}/man1/i586-pc-freebsd6.4-gcc.1*
    425438%{_mandir}/man1/i586-pc-freebsd6.4-cpp.1*
     
    432445%{_bindir}/i586-pc-freebsd6.4-gccbug
    433446
    434 %dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include
    435 %if "%{gcc_version}" > "4.0.3"
    436 %if "i586-pc-freebsd6.4" != "bfin-rtems4.10"
    437 %if "i586-pc-freebsd6.4" != "avr-rtems4.10"
    438 %dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include/ssp
    439 %endif
    440 %endif
    441 %endif
    442 
    443 %if "%{gcc_version}" >= "4.3.0"
    444 %dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include-fixed
    445 %endif
    446 
    447447%dir %{_libexecdir}/gcc
    448448%dir %{_libexecdir}/gcc/i586-pc-freebsd6.4
     
    451451%{_libexecdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/collect2%{_exeext}
    452452
     453
     454%files -n i586-pc-freebsd6.4-gcc-libgcc -f build/files.gcc
     455%defattr(-,root,root)
     456%dir %{_gcclibdir}/gcc
     457%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4
     458%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}
     459%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include
     460
     461%if "%{gcc_version}" > "4.0.3"
     462%if "i586-pc-freebsd6.4" != "bfin-rtems4.10"
     463%if "i586-pc-freebsd6.4" != "avr-rtems4.10"
     464%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include/ssp
     465%endif
     466%endif
     467%endif
     468
     469%if "%{gcc_version}" >= "4.3.0"
     470%{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include-fixed
     471%endif
     472
    453473# ==============================================================
    454474# i586-pc-freebsd6.4-gcc-c++
     
    459479Version:        %{gcc_rpmvers}
    460480License:        GPL
     481Requires:       i586-pc-freebsd6.4-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
    461482
    462483%if "%{_build}" != "%{_host}"
    463484BuildRequires:  i586-pc-freebsd6.4-gcc-c++ = %{gcc_rpmvers}
    464485%endif
    465 Provides:       i586-pc-freebsd6.4-c++ = %{gcc_rpmvers}-%{release}
    466 Obsoletes:      i586-pc-freebsd6.4-c++ < %{gcc_rpmvers}-%{release}
    467486
    468487Requires:       i586-pc-freebsd6.4-gcc = %{gcc_rpmvers}-%{release}
     
    471490GCC c++ compiler for i586-pc-freebsd6.4.
    472491
    473 %files -n i586-pc-freebsd6.4-gcc-c++ -f build/files.g++
    474 %defattr(-,root,root)
     492
     493%package -n i586-pc-freebsd6.4-gcc-libstdc++
     494Summary:        libstdc++ for i586-pc-freebsd6.4
     495Group:          Development/Tools
     496Version:        %{gcc_rpmvers}
     497%{?_with_noarch_subpackages:BuildArch: noarch}
     498License:        GPL
     499
     500%description -n i586-pc-freebsd6.4-gcc-libstdc++
     501%{_summary}
     502
     503
     504%files -n i586-pc-freebsd6.4-gcc-c++
     505%defattr(-,root,root)
     506
    475507%{_mandir}/man1/i586-pc-freebsd6.4-g++.1*
    476508
     
    483515%{_libexecdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/cc1plus%{_exeext}
    484516
     517
     518%files -n i586-pc-freebsd6.4-gcc-libstdc++ -f build/files.g++
     519%defattr(-,root,root)
     520%dir %{_gcclibdir}/gcc
     521%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4
     522%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}
    485523%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include
    486524%{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include/c++
     
    495533License:        GPL
    496534
    497 Provides:       i586-pc-freebsd6.4-gfortran = %{gcc_rpmvers}-%{release}
    498 Obsoletes:      i586-pc-freebsd6.4-gfortran < %{gcc_rpmvers}-%{release}
    499 
    500535Requires:       i586-pc-freebsd6.4-gcc = %{gcc_rpmvers}-%{release}
    501 Obsoletes:      i586-pc-freebsd6.4-g77 < %{gcc_rpmvers}-%{release}
     536Requires:       i586-pc-freebsd6.4-gcc-libgfortran = %{gcc_rpmvers}-%{release}
    502537
    503538%description -n i586-pc-freebsd6.4-gcc-gfortran
    504539GCC fortran compiler for i586-pc-freebsd6.4.
    505540
    506 %files -n i586-pc-freebsd6.4-gcc-gfortran -f build/files.gfortran
     541%files -n i586-pc-freebsd6.4-gcc-gfortran
    507542%defattr(-,root,root)
    508543%{_bindir}/i586-pc-freebsd6.4-gfortran%{_exeext}
     
    515550%{_libexecdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/f951%{_exeext}
    516551
     552# ==============================================================
     553# i586-pc-freebsd6.4-gcc-libgfortran
     554# ==============================================================
     555%package -n i586-pc-freebsd6.4-gcc-libgfortran
     556Summary:        Fortran 95 support libraries for i586-pc-freebsd6.4-gcc
     557Group:          Development/Tools
     558Version:        %{gcc_rpmvers}
     559%{?_with_noarch_subpackages:BuildArch: noarch}
     560License:        GPL
     561
     562%description -n i586-pc-freebsd6.4-gcc-libgfortran
     563%{_summary}
     564
     565%files -n i586-pc-freebsd6.4-gcc-libgfortran -f build/files.gfortran
     566%defattr(-,root,root)
     567%dir %{_gcclibdir}/gcc
     568%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4
     569%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}
    517570%if "%{gcc_version}" >= "4.2.0"
    518571%{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/finclude
     
    527580Version:        %{gcc_rpmvers}
    528581License:        GPL
    529 Provides:       i586-pc-freebsd6.4-objc = %{gcc_rpmvers}-%{release}
    530 Obsoletes:      i586-pc-freebsd6.4-objc < %{gcc_rpmvers}-%{release}
    531582
    532583Requires:       i586-pc-freebsd6.4-gcc = %{gcc_rpmvers}-%{release}
     584Requires:       i586-pc-freebsd6.4-gcc-libobjc = %{gcc_rpmvers}-%{release}
    533585
    534586%description -n i586-pc-freebsd6.4-gcc-objc
    535587GCC objc compiler for i586-pc-freebsd6.4.
    536588
    537 %files -n i586-pc-freebsd6.4-gcc-objc -f build/files.objc
    538 %defattr(-,root,root)
    539 
     589%files -n i586-pc-freebsd6.4-gcc-objc
     590%defattr(-,root,root)
    540591%dir %{_libexecdir}/gcc
    541592%dir %{_libexecdir}/gcc/i586-pc-freebsd6.4
     
    543594%{_libexecdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/cc1obj%{_exeext}
    544595
     596# ==============================================================
     597# i586-pc-freebsd6.4-gcc-libobjc
     598# ==============================================================
     599%package -n i586-pc-freebsd6.4-gcc-libobjc
     600Summary:        Objective C support for i586-pc-freebsd6.4-gcc
     601Group:          Development/Tools
     602Version:        %{gcc_rpmvers}
     603%{?_with_noarch_subpackages:BuildArch: noarch}
     604License:        GPL
     605
     606%description -n i586-pc-freebsd6.4-gcc-libobjc
     607Support libraries for GCC's objc compiler for i586-pc-freebsd6.4.
     608
     609%files -n i586-pc-freebsd6.4-gcc-libobjc -f build/files.objc
     610%defattr(-,root,root)
     611%dir %{_gcclibdir}/gcc
     612%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4
     613%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}
     614%dir %{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include
    545615%{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}/include/objc
    546616
  • contrib/crossrpms/freebsd7.0/i586/i586-pc-freebsd7.0-gcc.spec

    r95067b9 r5e351954  
    3232
    3333
    34 %define gcc_pkgvers 4.3.4
    35 %define gcc_version 4.3.4
    36 %define gcc_rpmvers %{expand:%(echo "4.3.4" | tr - _ )}
     34%define gcc_pkgvers 4.4.2
     35%define gcc_version 4.4.2
     36%define gcc_rpmvers %{expand:%(echo "4.4.2" | tr - _ )}
    3737
    3838
     
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20090827.1%{?dist}
     44Release:        0.20091021.1%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    123123Requires:       i586-pc-freebsd7.0-binutils
    124124Requires:       i586-pc-freebsd7.0-sys-root
     125Requires:       i586-pc-freebsd7.0-gcc-libgcc = %{gcc_rpmvers}-%{release}
    125126
    126127
     
    275276
    276277  # Collect multilib subdirectories
    277   f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     278  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
    278279
    279280
    280281  rm -f dirs ;
    281282  echo "%defattr(-,root,root,-)" >> dirs
    282   echo "%dir %{_gcclibdir}/gcc" >> dirs
    283   echo "%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0" >> dirs
    284 
    285283  TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}"
    286   for i in $f; do
     284  for i in $multilibs; do
    287285    case $i in
    288     \.) echo "%dir ${TGTDIR}" >> dirs
    289       ;;
     286    \.) ;; # ignore, handled elsewhere
    290287    *)  echo "%dir ${TGTDIR}/$i" >> dirs
    291288      ;;
     
    315312    *include/g++*);;
    316313    *include/c++*);;
     314    *include-fixed/*);;
    317315    *finclude/*);;
    318316    *adainclude*);;
     
    420418GNU cc compiler for i586-pc-freebsd7.0.
    421419
    422 %files -n i586-pc-freebsd7.0-gcc -f build/files.gcc
    423 %defattr(-,root,root)
     420# ==============================================================
     421# i586-pc-freebsd7.0-gcc-libgcc
     422# ==============================================================
     423%package -n i586-pc-freebsd7.0-gcc-libgcc
     424Summary:        libgcc for i586-pc-freebsd7.0-gcc
     425Group:          Development/Tools
     426Version:        %{gcc_rpmvers}
     427%{?_with_noarch_subpackages:BuildArch: noarch}
     428License:        GPL
     429
     430%description -n i586-pc-freebsd7.0-gcc-libgcc
     431libgcc i586-pc-freebsd7.0-gcc.
     432
     433
     434%files -n i586-pc-freebsd7.0-gcc
     435%defattr(-,root,root)
     436
    424437%{_mandir}/man1/i586-pc-freebsd7.0-gcc.1*
    425438%{_mandir}/man1/i586-pc-freebsd7.0-cpp.1*
     
    432445%{_bindir}/i586-pc-freebsd7.0-gccbug
    433446
    434 %dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include
    435 %if "%{gcc_version}" > "4.0.3"
    436 %if "i586-pc-freebsd7.0" != "bfin-rtems4.10"
    437 %if "i586-pc-freebsd7.0" != "avr-rtems4.10"
    438 %dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include/ssp
    439 %endif
    440 %endif
    441 %endif
    442 
    443 %if "%{gcc_version}" >= "4.3.0"
    444 %dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include-fixed
    445 %endif
    446 
    447447%dir %{_libexecdir}/gcc
    448448%dir %{_libexecdir}/gcc/i586-pc-freebsd7.0
     
    451451%{_libexecdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/collect2%{_exeext}
    452452
     453
     454%files -n i586-pc-freebsd7.0-gcc-libgcc -f build/files.gcc
     455%defattr(-,root,root)
     456%dir %{_gcclibdir}/gcc
     457%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0
     458%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}
     459%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include
     460
     461%if "%{gcc_version}" > "4.0.3"
     462%if "i586-pc-freebsd7.0" != "bfin-rtems4.10"
     463%if "i586-pc-freebsd7.0" != "avr-rtems4.10"
     464%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include/ssp
     465%endif
     466%endif
     467%endif
     468
     469%if "%{gcc_version}" >= "4.3.0"
     470%{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include-fixed
     471%endif
     472
    453473# ==============================================================
    454474# i586-pc-freebsd7.0-gcc-c++
     
    459479Version:        %{gcc_rpmvers}
    460480License:        GPL
     481Requires:       i586-pc-freebsd7.0-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
    461482
    462483%if "%{_build}" != "%{_host}"
    463484BuildRequires:  i586-pc-freebsd7.0-gcc-c++ = %{gcc_rpmvers}
    464485%endif
    465 Provides:       i586-pc-freebsd7.0-c++ = %{gcc_rpmvers}-%{release}
    466 Obsoletes:      i586-pc-freebsd7.0-c++ < %{gcc_rpmvers}-%{release}
    467486
    468487Requires:       i586-pc-freebsd7.0-gcc = %{gcc_rpmvers}-%{release}
     
    471490GCC c++ compiler for i586-pc-freebsd7.0.
    472491
    473 %files -n i586-pc-freebsd7.0-gcc-c++ -f build/files.g++
    474 %defattr(-,root,root)
     492
     493%package -n i586-pc-freebsd7.0-gcc-libstdc++
     494Summary:        libstdc++ for i586-pc-freebsd7.0
     495Group:          Development/Tools
     496Version:        %{gcc_rpmvers}
     497%{?_with_noarch_subpackages:BuildArch: noarch}
     498License:        GPL
     499
     500%description -n i586-pc-freebsd7.0-gcc-libstdc++
     501%{_summary}
     502
     503
     504%files -n i586-pc-freebsd7.0-gcc-c++
     505%defattr(-,root,root)
     506
    475507%{_mandir}/man1/i586-pc-freebsd7.0-g++.1*
    476508
     
    483515%{_libexecdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/cc1plus%{_exeext}
    484516
     517
     518%files -n i586-pc-freebsd7.0-gcc-libstdc++ -f build/files.g++
     519%defattr(-,root,root)
     520%dir %{_gcclibdir}/gcc
     521%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0
     522%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}
    485523%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include
    486524%{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include/c++
     
    495533License:        GPL
    496534
    497 Provides:       i586-pc-freebsd7.0-gfortran = %{gcc_rpmvers}-%{release}
    498 Obsoletes:      i586-pc-freebsd7.0-gfortran < %{gcc_rpmvers}-%{release}
    499 
    500535Requires:       i586-pc-freebsd7.0-gcc = %{gcc_rpmvers}-%{release}
    501 Obsoletes:      i586-pc-freebsd7.0-g77 < %{gcc_rpmvers}-%{release}
     536Requires:       i586-pc-freebsd7.0-gcc-libgfortran = %{gcc_rpmvers}-%{release}
    502537
    503538%description -n i586-pc-freebsd7.0-gcc-gfortran
    504539GCC fortran compiler for i586-pc-freebsd7.0.
    505540
    506 %files -n i586-pc-freebsd7.0-gcc-gfortran -f build/files.gfortran
     541%files -n i586-pc-freebsd7.0-gcc-gfortran
    507542%defattr(-,root,root)
    508543%{_bindir}/i586-pc-freebsd7.0-gfortran%{_exeext}
     
    515550%{_libexecdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/f951%{_exeext}
    516551
     552# ==============================================================
     553# i586-pc-freebsd7.0-gcc-libgfortran
     554# ==============================================================
     555%package -n i586-pc-freebsd7.0-gcc-libgfortran
     556Summary:        Fortran 95 support libraries for i586-pc-freebsd7.0-gcc
     557Group:          Development/Tools
     558Version:        %{gcc_rpmvers}
     559%{?_with_noarch_subpackages:BuildArch: noarch}
     560License:        GPL
     561
     562%description -n i586-pc-freebsd7.0-gcc-libgfortran
     563%{_summary}
     564
     565%files -n i586-pc-freebsd7.0-gcc-libgfortran -f build/files.gfortran
     566%defattr(-,root,root)
     567%dir %{_gcclibdir}/gcc
     568%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0
     569%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}
    517570%if "%{gcc_version}" >= "4.2.0"
    518571%{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/finclude
     
    527580Version:        %{gcc_rpmvers}
    528581License:        GPL
    529 Provides:       i586-pc-freebsd7.0-objc = %{gcc_rpmvers}-%{release}
    530 Obsoletes:      i586-pc-freebsd7.0-objc < %{gcc_rpmvers}-%{release}
    531582
    532583Requires:       i586-pc-freebsd7.0-gcc = %{gcc_rpmvers}-%{release}
     584Requires:       i586-pc-freebsd7.0-gcc-libobjc = %{gcc_rpmvers}-%{release}
    533585
    534586%description -n i586-pc-freebsd7.0-gcc-objc
    535587GCC objc compiler for i586-pc-freebsd7.0.
    536588
    537 %files -n i586-pc-freebsd7.0-gcc-objc -f build/files.objc
    538 %defattr(-,root,root)
    539 
     589%files -n i586-pc-freebsd7.0-gcc-objc
     590%defattr(-,root,root)
    540591%dir %{_libexecdir}/gcc
    541592%dir %{_libexecdir}/gcc/i586-pc-freebsd7.0
     
    543594%{_libexecdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/cc1obj%{_exeext}
    544595
     596# ==============================================================
     597# i586-pc-freebsd7.0-gcc-libobjc
     598# ==============================================================
     599%package -n i586-pc-freebsd7.0-gcc-libobjc
     600Summary:        Objective C support for i586-pc-freebsd7.0-gcc
     601Group:          Development/Tools
     602Version:        %{gcc_rpmvers}
     603%{?_with_noarch_subpackages:BuildArch: noarch}
     604License:        GPL
     605
     606%description -n i586-pc-freebsd7.0-gcc-libobjc
     607Support libraries for GCC's objc compiler for i586-pc-freebsd7.0.
     608
     609%files -n i586-pc-freebsd7.0-gcc-libobjc -f build/files.objc
     610%defattr(-,root,root)
     611%dir %{_gcclibdir}/gcc
     612%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0
     613%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}
     614%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include
    545615%{_gcclibdir}/gcc/i586-pc-freebsd7.0/%{gcc_version}/include/objc
    546616
  • contrib/crossrpms/freebsd7.1/i586/i586-pc-freebsd7.1-gcc.spec

    r95067b9 r5e351954  
    3232
    3333
    34 %define gcc_pkgvers 4.3.4
    35 %define gcc_version 4.3.4
    36 %define gcc_rpmvers %{expand:%(echo "4.3.4" | tr - _ )}
     34%define gcc_pkgvers 4.4.2
     35%define gcc_version 4.4.2
     36%define gcc_rpmvers %{expand:%(echo "4.4.2" | tr - _ )}
    3737
    3838
     
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20090827.1%{?dist}
     44Release:        0.20091021.1%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    123123Requires:       i586-pc-freebsd7.1-binutils
    124124Requires:       i586-pc-freebsd7.1-sys-root
     125Requires:       i586-pc-freebsd7.1-gcc-libgcc = %{gcc_rpmvers}-%{release}
    125126
    126127
     
    275276
    276277  # Collect multilib subdirectories
    277   f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     278  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
    278279
    279280
    280281  rm -f dirs ;
    281282  echo "%defattr(-,root,root,-)" >> dirs
    282   echo "%dir %{_gcclibdir}/gcc" >> dirs
    283   echo "%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1" >> dirs
    284 
    285283  TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}"
    286   for i in $f; do
     284  for i in $multilibs; do
    287285    case $i in
    288     \.) echo "%dir ${TGTDIR}" >> dirs
    289       ;;
     286    \.) ;; # ignore, handled elsewhere
    290287    *)  echo "%dir ${TGTDIR}/$i" >> dirs
    291288      ;;
     
    315312    *include/g++*);;
    316313    *include/c++*);;
     314    *include-fixed/*);;
    317315    *finclude/*);;
    318316    *adainclude*);;
     
    420418GNU cc compiler for i586-pc-freebsd7.1.
    421419
    422 %files -n i586-pc-freebsd7.1-gcc -f build/files.gcc
    423 %defattr(-,root,root)
     420# ==============================================================
     421# i586-pc-freebsd7.1-gcc-libgcc
     422# ==============================================================
     423%package -n i586-pc-freebsd7.1-gcc-libgcc
     424Summary:        libgcc for i586-pc-freebsd7.1-gcc
     425Group:          Development/Tools
     426Version:        %{gcc_rpmvers}
     427%{?_with_noarch_subpackages:BuildArch: noarch}
     428License:        GPL
     429
     430%description -n i586-pc-freebsd7.1-gcc-libgcc
     431libgcc i586-pc-freebsd7.1-gcc.
     432
     433
     434%files -n i586-pc-freebsd7.1-gcc
     435%defattr(-,root,root)
     436
    424437%{_mandir}/man1/i586-pc-freebsd7.1-gcc.1*
    425438%{_mandir}/man1/i586-pc-freebsd7.1-cpp.1*
     
    432445%{_bindir}/i586-pc-freebsd7.1-gccbug
    433446
    434 %dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include
    435 %if "%{gcc_version}" > "4.0.3"
    436 %if "i586-pc-freebsd7.1" != "bfin-rtems4.10"
    437 %if "i586-pc-freebsd7.1" != "avr-rtems4.10"
    438 %dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include/ssp
    439 %endif
    440 %endif
    441 %endif
    442 
    443 %if "%{gcc_version}" >= "4.3.0"
    444 %dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include-fixed
    445 %endif
    446 
    447447%dir %{_libexecdir}/gcc
    448448%dir %{_libexecdir}/gcc/i586-pc-freebsd7.1
     
    451451%{_libexecdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/collect2%{_exeext}
    452452
     453
     454%files -n i586-pc-freebsd7.1-gcc-libgcc -f build/files.gcc
     455%defattr(-,root,root)
     456%dir %{_gcclibdir}/gcc
     457%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1
     458%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}
     459%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include
     460
     461%if "%{gcc_version}" > "4.0.3"
     462%if "i586-pc-freebsd7.1" != "bfin-rtems4.10"
     463%if "i586-pc-freebsd7.1" != "avr-rtems4.10"
     464%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include/ssp
     465%endif
     466%endif
     467%endif
     468
     469%if "%{gcc_version}" >= "4.3.0"
     470%{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include-fixed
     471%endif
     472
    453473# ==============================================================
    454474# i586-pc-freebsd7.1-gcc-c++
     
    459479Version:        %{gcc_rpmvers}
    460480License:        GPL
     481Requires:       i586-pc-freebsd7.1-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
    461482
    462483%if "%{_build}" != "%{_host}"
    463484BuildRequires:  i586-pc-freebsd7.1-gcc-c++ = %{gcc_rpmvers}
    464485%endif
    465 Provides:       i586-pc-freebsd7.1-c++ = %{gcc_rpmvers}-%{release}
    466 Obsoletes:      i586-pc-freebsd7.1-c++ < %{gcc_rpmvers}-%{release}
    467486
    468487Requires:       i586-pc-freebsd7.1-gcc = %{gcc_rpmvers}-%{release}
     
    471490GCC c++ compiler for i586-pc-freebsd7.1.
    472491
    473 %files -n i586-pc-freebsd7.1-gcc-c++ -f build/files.g++
    474 %defattr(-,root,root)
     492
     493%package -n i586-pc-freebsd7.1-gcc-libstdc++
     494Summary:        libstdc++ for i586-pc-freebsd7.1
     495Group:          Development/Tools
     496Version:        %{gcc_rpmvers}
     497%{?_with_noarch_subpackages:BuildArch: noarch}
     498License:        GPL
     499
     500%description -n i586-pc-freebsd7.1-gcc-libstdc++
     501%{_summary}
     502
     503
     504%files -n i586-pc-freebsd7.1-gcc-c++
     505%defattr(-,root,root)
     506
    475507%{_mandir}/man1/i586-pc-freebsd7.1-g++.1*
    476508
     
    483515%{_libexecdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/cc1plus%{_exeext}
    484516
     517
     518%files -n i586-pc-freebsd7.1-gcc-libstdc++ -f build/files.g++
     519%defattr(-,root,root)
     520%dir %{_gcclibdir}/gcc
     521%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1
     522%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}
    485523%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include
    486524%{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include/c++
     
    495533License:        GPL
    496534
    497 Provides:       i586-pc-freebsd7.1-gfortran = %{gcc_rpmvers}-%{release}
    498 Obsoletes:      i586-pc-freebsd7.1-gfortran < %{gcc_rpmvers}-%{release}
    499 
    500535Requires:       i586-pc-freebsd7.1-gcc = %{gcc_rpmvers}-%{release}
    501 Obsoletes:      i586-pc-freebsd7.1-g77 < %{gcc_rpmvers}-%{release}
     536Requires:       i586-pc-freebsd7.1-gcc-libgfortran = %{gcc_rpmvers}-%{release}
    502537
    503538%description -n i586-pc-freebsd7.1-gcc-gfortran
    504539GCC fortran compiler for i586-pc-freebsd7.1.
    505540
    506 %files -n i586-pc-freebsd7.1-gcc-gfortran -f build/files.gfortran
     541%files -n i586-pc-freebsd7.1-gcc-gfortran
    507542%defattr(-,root,root)
    508543%{_bindir}/i586-pc-freebsd7.1-gfortran%{_exeext}
     
    515550%{_libexecdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/f951%{_exeext}
    516551
     552# ==============================================================
     553# i586-pc-freebsd7.1-gcc-libgfortran
     554# ==============================================================
     555%package -n i586-pc-freebsd7.1-gcc-libgfortran
     556Summary:        Fortran 95 support libraries for i586-pc-freebsd7.1-gcc
     557Group:          Development/Tools
     558Version:        %{gcc_rpmvers}
     559%{?_with_noarch_subpackages:BuildArch: noarch}
     560License:        GPL
     561
     562%description -n i586-pc-freebsd7.1-gcc-libgfortran
     563%{_summary}
     564
     565%files -n i586-pc-freebsd7.1-gcc-libgfortran -f build/files.gfortran
     566%defattr(-,root,root)
     567%dir %{_gcclibdir}/gcc
     568%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1
     569%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}
    517570%if "%{gcc_version}" >= "4.2.0"
    518571%{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/finclude
     
    527580Version:        %{gcc_rpmvers}
    528581License:        GPL
    529 Provides:       i586-pc-freebsd7.1-objc = %{gcc_rpmvers}-%{release}
    530 Obsoletes:      i586-pc-freebsd7.1-objc < %{gcc_rpmvers}-%{release}
    531582
    532583Requires:       i586-pc-freebsd7.1-gcc = %{gcc_rpmvers}-%{release}
     584Requires:       i586-pc-freebsd7.1-gcc-libobjc = %{gcc_rpmvers}-%{release}
    533585
    534586%description -n i586-pc-freebsd7.1-gcc-objc
    535587GCC objc compiler for i586-pc-freebsd7.1.
    536588
    537 %files -n i586-pc-freebsd7.1-gcc-objc -f build/files.objc
    538 %defattr(-,root,root)
    539 
     589%files -n i586-pc-freebsd7.1-gcc-objc
     590%defattr(-,root,root)
    540591%dir %{_libexecdir}/gcc
    541592%dir %{_libexecdir}/gcc/i586-pc-freebsd7.1
     
    543594%{_libexecdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/cc1obj%{_exeext}
    544595
     596# ==============================================================
     597# i586-pc-freebsd7.1-gcc-libobjc
     598# ==============================================================
     599%package -n i586-pc-freebsd7.1-gcc-libobjc
     600Summary:        Objective C support for i586-pc-freebsd7.1-gcc
     601Group:          Development/Tools
     602Version:        %{gcc_rpmvers}
     603%{?_with_noarch_subpackages:BuildArch: noarch}
     604License:        GPL
     605
     606%description -n i586-pc-freebsd7.1-gcc-libobjc
     607Support libraries for GCC's objc compiler for i586-pc-freebsd7.1.
     608
     609%files -n i586-pc-freebsd7.1-gcc-libobjc -f build/files.objc
     610%defattr(-,root,root)
     611%dir %{_gcclibdir}/gcc
     612%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1
     613%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}
     614%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include
    545615%{_gcclibdir}/gcc/i586-pc-freebsd7.1/%{gcc_version}/include/objc
    546616
  • contrib/crossrpms/freebsd7.2/i586/i586-pc-freebsd7.2-gcc.spec

    r95067b9 r5e351954  
    3232
    3333
    34 %define gcc_pkgvers 4.4.1
    35 %define gcc_version 4.4.1
    36 %define gcc_rpmvers %{expand:%(echo "4.4.1" | tr - _ )}
     34%define gcc_pkgvers 4.4.2
     35%define gcc_version 4.4.2
     36%define gcc_rpmvers %{expand:%(echo "4.4.2" | tr - _ )}
    3737
    3838
Note: See TracChangeset for help on using the changeset viewer.