Changeset 4940b1b7 in rtems


Ignore:
Timestamp:
Sep 7, 2009, 4:20:45 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
3136697f
Parents:
1c99747
Message:

Regenerate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/cygwin/i686/i686-pc-cygwin-gcc.spec

    r1c99747 r4940b1b7  
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20090827.0%{?dist}
     44Release:        0.20090907.0%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    121121Requires:       i686-pc-cygwin-sys-root
    122122Requires:       i686-pc-cygwin-w32api
     123Requires:       i686-pc-cygwin-gcc-libgcc = %{gcc_rpmvers}-%{release}
    123124
    124125
     
    272273
    273274  # Collect multilib subdirectories
    274   f=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     275  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
    275276
    276277
    277278  rm -f dirs ;
    278279  echo "%defattr(-,root,root,-)" >> dirs
    279   echo "%dir %{_gcclibdir}/gcc" >> dirs
    280   echo "%dir %{_gcclibdir}/gcc/i686-pc-cygwin" >> dirs
    281 
    282280  TGTDIR="%{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}"
    283   for i in $f; do
     281  for i in $multilibs; do
    284282    case $i in
    285     \.) echo "%dir ${TGTDIR}" >> dirs
    286       ;;
     283    \.) ;; # ignore, handled elsewhere
    287284    *)  echo "%dir ${TGTDIR}/$i" >> dirs
    288285      ;;
     
    312309    *include/g++*);;
    313310    *include/c++*);;
     311    *include-fixed/*);;
    314312    *finclude/*);;
    315313    *adainclude*);;
     
    408406# Version:        %{gcc_rpmvers}
    409407# Requires:       i686-pc-cygwin-binutils
    410 # Requires:       i686-pc-cygwin-newlib = %{newlib_version}-@NEWLIB_RPMREL@
    411408# License:      GPL
    412409
     
    418415GNU cc compiler for i686-pc-cygwin.
    419416
    420 %files -n i686-pc-cygwin-gcc -f build/files.gcc
     417# ==============================================================
     418# i686-pc-cygwin-gcc-libgcc
     419# ==============================================================
     420%package -n i686-pc-cygwin-gcc-libgcc
     421Summary:        libgcc for i686-pc-cygwin-gcc
     422Group:          Development/Tools
     423Version:        %{gcc_rpmvers}
     424%{?_with_noarch_subpackages:BuildArch: noarch}
     425License:        GPL
     426
     427%description -n i686-pc-cygwin-gcc-libgcc
     428libgcc i686-pc-cygwin-gcc.
     429
     430
     431%files -n i686-pc-cygwin-gcc
    421432%defattr(-,root,root)
     433
    422434%{_mandir}/man1/i686-pc-cygwin-gcc.1*
    423435%{_mandir}/man1/i686-pc-cygwin-cpp.1*
     
    430442%{_bindir}/i686-pc-cygwin-gccbug
    431443
    432 %dir %{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}/include
    433 %if "%{gcc_version}" > "4.0.3"
    434 %if "i686-pc-cygwin" != "bfin-rtems4.10"
    435 %if "i686-pc-cygwin" != "avr-rtems4.10"
    436 %dir %{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}/include/ssp
    437 %endif
    438 %endif
    439 %endif
    440 
    441 %if "%{gcc_version}" >= "4.3.0"
    442 %dir %{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}/include-fixed
    443 %endif
    444 
    445444%dir %{_libexecdir}/gcc
    446445%dir %{_libexecdir}/gcc/i686-pc-cygwin
     
    448447%{_libexecdir}/gcc/i686-pc-cygwin/%{gcc_version}/cc1%{_exeext}
    449448%{_libexecdir}/gcc/i686-pc-cygwin/%{gcc_version}/collect2%{_exeext}
     449
     450
     451%files -n i686-pc-cygwin-gcc-libgcc -f build/files.gcc
     452%defattr(-,root,root)
     453%dir %{_gcclibdir}/gcc
     454%dir %{_gcclibdir}/gcc/i686-pc-cygwin
     455%dir %{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}
     456%dir %{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}/include
     457
     458%if "%{gcc_version}" > "4.0.3"
     459%if "i686-pc-cygwin" != "bfin-rtems4.10"
     460%if "i686-pc-cygwin" != "avr-rtems4.10"
     461%dir %{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}/include/ssp
     462%endif
     463%endif
     464%endif
     465
     466%if "%{gcc_version}" >= "4.3.0"
     467%{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}/include-fixed
     468%endif
    450469
    451470# ==============================================================
     
    457476Version:        %{gcc_rpmvers}
    458477License:        GPL
     478Requires:       i686-pc-cygwin-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
    459479
    460480%if "%{_build}" != "%{_host}"
    461481BuildRequires:  i686-pc-cygwin-gcc-c++ = %{gcc_rpmvers}
    462482%endif
    463 Provides:       i686-pc-cygwin-c++ = %{gcc_rpmvers}-%{release}
    464 Obsoletes:      i686-pc-cygwin-c++ < %{gcc_rpmvers}-%{release}
    465483
    466484Requires:       i686-pc-cygwin-gcc = %{gcc_rpmvers}-%{release}
     
    469487GCC c++ compiler for i686-pc-cygwin.
    470488
    471 %files -n i686-pc-cygwin-gcc-c++ -f build/files.g++
     489
     490%package -n i686-pc-cygwin-gcc-libstdc++
     491Summary:        libstdc++ for i686-pc-cygwin
     492Group:          Development/Tools
     493Version:        %{gcc_rpmvers}
     494%{?_with_noarch_subpackages:BuildArch: noarch}
     495License:        GPL
     496
     497%description -n i686-pc-cygwin-gcc-libstdc++
     498%{_summary}
     499
     500
     501%files -n i686-pc-cygwin-gcc-c++
    472502%defattr(-,root,root)
     503
    473504%{_mandir}/man1/i686-pc-cygwin-g++.1*
    474505
     
    481512%{_libexecdir}/gcc/i686-pc-cygwin/%{gcc_version}/cc1plus%{_exeext}
    482513
     514
     515%files -n i686-pc-cygwin-gcc-libstdc++ -f build/files.g++
     516%defattr(-,root,root)
     517%dir %{_gcclibdir}/gcc
     518%dir %{_gcclibdir}/gcc/i686-pc-cygwin
     519%dir %{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}
    483520%dir %{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}/include
    484521%{_gcclibdir}/gcc/i686-pc-cygwin/%{gcc_version}/include/c++
Note: See TracChangeset for help on using the changeset viewer.