source: rtems/contrib/crossrpms/freebsd7.2/i586/i586-pc-freebsd7.2-gcc.spec @ 7fde8d5

4.104.11
Last change on this file since 7fde8d5 was 7fde8d5, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 7, 2009 at 7:54:36 AM

Regenerate.

  • Property mode set to 100644
File size: 17.8 KB
Line 
1#
2# Please send bugfixes or comments to
3#       http://www.rtems.org/bugzilla
4#
5
6
7%ifos cygwin cygwin32 mingw mingw32
8%define _exeext .exe
9%define debug_package           %{nil}
10%define _libdir                 %{_exec_prefix}/lib
11%else
12%define _exeext %{nil}
13%endif
14
15%ifos cygwin cygwin32
16%define optflags -O3 -pipe -march=i486 -funroll-loops
17%endif
18
19%ifos mingw mingw32
20%if %{defined _mingw32_cflags}
21%define optflags %{_mingw32_cflags}
22%else
23%define optflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields
24%endif
25%endif
26
27%if "%{_build}" != "%{_host}"
28%define _host_rpmprefix %{_host}-
29%else
30%define _host_rpmprefix %{nil}
31%endif
32
33
34%define gcc_pkgvers 4.4.1
35%define gcc_version 4.4.1
36%define gcc_rpmvers %{expand:%(echo "4.4.1" | tr - _ )}
37
38
39Name:           i586-pc-freebsd7.2-gcc
40Summary:        i586-pc-freebsd7.2 gcc
41
42Group:          Development/Tools
43Version:        %{gcc_rpmvers}
44Release:        0.20090831.1%{?dist}
45License:        GPL
46URL:            http://gcc.gnu.org
47BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
48
49%define _use_internal_dependency_generator 0
50
51BuildRequires:  %{_host_rpmprefix}gcc
52
53%if "%{gcc_version}" >= "4.3.0"
54%define _gmp_minvers            4.1
55%else
56%if "%{gcc_version}" >= "4.2.0"
57%define _gmp_minvers            4.1
58%endif
59%endif
60
61%if %{defined _gmp_minvers}
62BuildRequires: gmp-devel >= %{_gmp_minvers}
63%if "%{_build}" != "%{_host}"
64BuildRequires:  %{_host_rpmprefix}gmp-devel >= %{_gmp_minvers}
65%endif
66%endif
67
68
69%if "%{gcc_version}" >= "4.4.0"
70%define _mpfr_minvers   2.3.2
71%define mpfr_version    2.4.1
72%else
73%if "%{gcc_version}" >= "4.3.0"
74%define _mpfr_minvers   2.3.1
75%define mpfr_version    2.3.2
76%else
77%if "%{gcc_version}" >= "4.2.0"
78%define _mpfr_minvers   2.2.1
79%define mpfr_version    2.3.2
80%endif
81%endif
82%endif
83
84%if %{defined _mpfr_minvers}
85# FIXME: This is an ugly cludge
86%{?fc10:%global mpfr_provided 2.3.2}
87%{?fc11:%global mpfr_provided 2.4.1}
88%{?suse10_3:%global mpfr_provided 2.2.1}
89%{?suse11_0:%global mpfr_provided 2.3.1}
90%{?suse11_1:%global mpfr_provided 2.3.2}
91%{?cygwin:%global mpfr_provided 2.4.1}
92%{?mingw32:%global mpfr_provided %{nil}}
93
94%if %{defined mpfr_provided}
95%if "%{mpfr_provided}" < "%{_mpfr_minvers}"
96%define _build_mpfr 1
97%else
98%if "%{_build}" != "%{_host}"
99BuildRequires:  %{_host_rpmprefix}mpfr-devel >= %{_mpfr_minvers}
100%else
101BuildRequires: mpfr-devel >= %{_mpfr_minvers}
102%endif
103%endif
104%else
105%define _build_mpfr 1
106%endif
107
108%endif
109
110%if "%{_build}" != "%{_host}"
111BuildRequires:  i586-pc-freebsd7.2-gcc = %{gcc_rpmvers}
112%endif
113
114%if "%{gcc_version}" >= "4.2.0"
115BuildRequires:  flex bison
116%endif
117
118
119BuildRequires:  texinfo >= 4.2
120BuildRequires:  i586-pc-freebsd7.2-binutils
121BuildRequires:  i586-pc-freebsd7.2-sys-root
122
123Requires:       i586-pc-freebsd7.2-binutils
124Requires:       i586-pc-freebsd7.2-sys-root
125Requires:       i586-pc-freebsd7.2-gcc-libgcc = %{gcc_rpmvers}-%{release}
126
127
128%define _gcclibdir %{_prefix}/lib
129
130Source0:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
131%{?_without_sources:NoSource:   0}
132
133Source1:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-g++-%{gcc_pkgvers}.tar.bz2
134%{?_without_sources:NoSource:   1}
135
136Source2:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-fortran-%{gcc_pkgvers}.tar.bz2
137%{?_without_sources:NoSource:   2}
138
139Source5:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-objc-%{gcc_pkgvers}.tar.bz2
140%{?_without_sources:NoSource:   5}
141
142%if "%{gcc_version}" >= "4.3.0"
143Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
144%endif
145
146%description
147Cross gcc for i586-pc-freebsd7.2.
148
149%prep
150%setup -c -T -n %{name}-%{version}
151
152%setup -q -T -D -n %{name}-%{version} -a0
153%{?PATCH0:%patch0 -p0}
154
155%setup -q -T -D -n %{name}-%{version} -a1
156%{?PATCH1:%patch1 -p0}
157
158%setup -q -T -D -n %{name}-%{version} -a2
159%{?PATCH2:%patch2 -p0}
160
161
162
163%setup -q -T -D -n %{name}-%{version} -a5
164%{?PATCH5:%patch5 -p0}
165
166
167%if 0%{?_build_mpfr}
168%setup -q -T -D -n %{name}-%{version} -a60
169%{?PATCH60:%patch60 -p1}
170  # Build mpfr one-tree style
171  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
172%endif
173
174
175  # Fix timestamps
176  cd gcc-%{gcc_pkgvers}
177  contrib/gcc_update --touch
178  cd ..
179%build
180  mkdir -p build
181
182  cd build
183
184  languages="c"
185  languages="$languages,c++"
186  languages="$languages,fortran"
187  languages="$languages,objc"
188%if "%{_build}" != "%{_host}"
189  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
190  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
191%else
192# gcc is not ready to be compiled with -std=gnu99
193  CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
194%endif
195  ../gcc-%{gcc_pkgvers}/configure \
196    --prefix=%{_prefix} \
197    --bindir=%{_bindir} \
198    --exec_prefix=%{_exec_prefix} \
199    --includedir=%{_includedir} \
200    --libdir=%{_gcclibdir} \
201    --libexecdir=%{_libexecdir} \
202    --mandir=%{_mandir} \
203    --infodir=%{_infodir} \
204    --datadir=%{_datadir} \
205    --build=%_build --host=%_host \
206    --target=i586-pc-freebsd7.2 \
207    --disable-libstdcxx-pch \
208    --with-gnu-as --with-gnu-ld --verbose \
209    --with-system-zlib \
210    --disable-nls --without-included-gettext \
211    --disable-win32-registry \
212    --enable-version-specific-runtime-libs \
213    --enable-threads \
214    --with-sysroot=%{_exec_prefix}/i586-pc-freebsd7.2/sys-root \
215    --enable-languages="$languages" $optargs
216
217%if "%_host" != "%_build"
218  # Bug in gcc-3.2.1:
219  # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs
220  mkdir -p gcc/include
221  cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h
222%endif
223
224  make %{?_smp_mflags} all
225  cd ..
226
227%install
228  rm -rf $RPM_BUILD_ROOT
229
230  cd build
231
232  make DESTDIR=$RPM_BUILD_ROOT install
233  cd ..
234
235
236%if "%{gcc_version}" <= "4.1.2"
237# Misplaced header file
238  if test -f $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h; then
239    mv $RPM_BUILD_ROOT%{_includedir}/mf-runtime.h \
240      $RPM_BUILD_ROOT%{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/include/
241  fi
242%endif
243
244  # host library
245%if "%{gcc_version}" >= "4.2.0"
246  # libiberty doesn't honor --libdir, but always installs to a
247  # magically guessed _libdir
248  rm -f  ${RPM_BUILD_ROOT}%{_libdir}/libiberty.a
249%else
250  # libiberty installs to --libdir=...
251  rm -f ${RPM_BUILD_ROOT}%{_gcclibdir}/libiberty.a
252%endif
253
254  # We use the version from binutils
255  rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd7.2-c++filt%{_exeext}
256
257
258# Conflict with a native GCC's infos
259  rm -rf $RPM_BUILD_ROOT%{_infodir}
260
261# Conflict with a native GCC's man pages
262  rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
263
264  # Bug in gcc-3.4.0pre
265  rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd7.2-i586-pc-freebsd7.2-gcjh%{_exeext}
266
267  # Bug in gcc-3.3.x/gcc-3.4.x: Despite we don't need fixincludes, it installs
268  # the fixinclude-install-tools
269  rm -rf ${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/install-tools
270  rm -rf ${RPM_BUILD_ROOT}%{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/install-tools
271
272  # Bug in gcc > 4.1.0: Installs an unused, empty directory
273  if test -d ${RPM_BUILD_ROOT}%{_prefix}/i586-pc-freebsd7.2/include/bits; then
274    rmdir ${RPM_BUILD_ROOT}%{_prefix}/i586-pc-freebsd7.2/include/bits
275  fi
276
277  # Collect multilib subdirectories
278  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
279
280
281  rm -f dirs ;
282  echo "%defattr(-,root,root,-)" >> dirs
283  TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}"
284  for i in $multilibs; do
285    case $i in
286    \.) ;; # ignore, handled elsewhere
287    *)  echo "%dir ${TGTDIR}/$i" >> dirs
288      ;;
289    esac
290  done
291
292  # Collect files to go into different packages
293  cp dirs build/files.gcc
294  cp dirs build/files.gfortran
295  cp dirs build/files.objc
296  cp dirs build/files.gcj
297  cp dirs build/files.g++
298
299  TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}"
300  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
301  for i in $f; do
302    case $i in
303    *lib*.la) rm ${RPM_BUILD_ROOT}/$i ;; # ignore: gcc produces bogus libtool libs
304    *f771) ;;
305    *f951) ;;
306    *cc1) ;;
307    *cc1obj) ;;
308    *cc1plus) ;; # ignore: explicitly put into rpm elsewhere
309    *collect2) ;;
310    *libobjc*) echo "$i" >> build/files.objc ;;
311    *include/objc*) ;;
312    *include/g++*);;
313    *include/c++*);;
314    *include-fixed/*);;
315    *finclude/*);;
316    *adainclude*);;
317    *adalib*);;
318    *gnat1);;
319    *jc1) ;;
320    *jvgenmain) ;;
321    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
322    */libstdc++.*) echo "$i" >> build/files.g++ ;;
323    */libsupc++.*) echo "$i" >> build/files.g++ ;;
324    *) echo "$i" >> build/files.gcc ;;
325    esac
326  done
327
328  TGTDIR="%{_exec_prefix}/i586-pc-freebsd7.2/lib"
329  f=`find ${RPM_BUILD_ROOT}${TGTDIR} ! -type d -print | sed -e "s,^$RPM_BUILD_ROOT,,g"`;
330  for i in $f; do
331    case $i in
332    *lib*.la) rm ${RPM_BUILD_ROOT}/$i;; # ignore - gcc produces bogus libtool libs
333    *libiberty.a) rm ${RPM_BUILD_ROOT}/$i ;; # ignore - GPL'ed
334# all other files belong to newlib
335    *) echo "$i" >> build/files.newlib ;;
336    esac
337  done
338# Extract %%__os_install_post into os_install_post~
339cat << \EOF > os_install_post~
340%__os_install_post
341EOF
342
343# Generate customized brp-*scripts
344cat os_install_post~ | while read a x y; do
345case $a in
346# Prevent brp-strip* from trying to handle foreign binaries
347*/brp-strip*)
348  b=$(basename $a)
349  sed -e 's,find $RPM_BUILD_ROOT,find $RPM_BUILD_ROOT%_bindir $RPM_BUILD_ROOT%_libexecdir,' $a > $b
350  chmod a+x $b
351  ;;
352esac
353done
354
355sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
356< os_install_post~ > os_install_post
357%define __os_install_post . ./os_install_post
358
359
360cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
361#!/bin/sh
362grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i586-pc-freebsd7.2/(lib|include|sys-root)' \
363  %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i586-pc-freebsd7.2/'} | %__find_provides
364EOF
365chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
366%define __find_provides %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
367
368cat << EOF > %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
369#!/bin/sh
370grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/i586-pc-freebsd7.2/(lib|include|sys-root)' \
371  %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/i586-pc-freebsd7.2/'} | %__find_requires
372EOF
373chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
374%define __find_requires %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
375
376%ifnarch noarch
377# Extract %%__debug_install_post into debug_install_post~
378cat << \EOF > debug_install_post~
379%__debug_install_post
380EOF
381
382# Generate customized debug_install_post script
383cat debug_install_post~ | while read a x y; do
384case $a in
385# Prevent find-debuginfo.sh* from trying to handle foreign binaries
386*/find-debuginfo.sh)
387  b=$(basename $a)
388  sed -e 's,find "$RPM_BUILD_ROOT" !,find "$RPM_BUILD_ROOT"%_bindir "$RPM_BUILD_ROOT"%_libexecdir !,' $a > $b
389  chmod a+x $b
390  ;;
391esac
392done
393
394sed -e 's,^[ ]*/usr/lib/rpm/find-debuginfo.sh,./find-debuginfo.sh,' \
395< debug_install_post~ > debug_install_post
396%define __debug_install_post . ./debug_install_post
397
398%endif
399
400%clean
401  rm -rf $RPM_BUILD_ROOT
402
403# ==============================================================
404# i586-pc-freebsd7.2-gcc
405# ==============================================================
406# %package -n i586-pc-freebsd7.2-gcc
407# Summary:        GNU cc compiler for i586-pc-freebsd7.2
408# Group:          Development/Tools
409# Version:        %{gcc_rpmvers}
410# Requires:       i586-pc-freebsd7.2-binutils
411# License:      GPL
412
413# %if %build_infos
414# Requires:      gcc-common
415# %endif
416
417%description -n i586-pc-freebsd7.2-gcc
418GNU cc compiler for i586-pc-freebsd7.2.
419
420# ==============================================================
421# i586-pc-freebsd7.2-gcc-libgcc
422# ==============================================================
423%package -n i586-pc-freebsd7.2-gcc-libgcc
424Summary:        libgcc for i586-pc-freebsd7.2-gcc
425Group:          Development/Tools
426Version:        %{gcc_rpmvers}
427%{?_with_noarch_subpackages:BuildArch: noarch}
428License:        GPL
429
430%description -n i586-pc-freebsd7.2-gcc-libgcc
431libgcc i586-pc-freebsd7.2-gcc.
432
433
434%files -n i586-pc-freebsd7.2-gcc
435%defattr(-,root,root)
436
437%{_mandir}/man1/i586-pc-freebsd7.2-gcc.1*
438%{_mandir}/man1/i586-pc-freebsd7.2-cpp.1*
439%{_mandir}/man1/i586-pc-freebsd7.2-gcov.1*
440
441%{_bindir}/i586-pc-freebsd7.2-cpp%{_exeext}
442%{_bindir}/i586-pc-freebsd7.2-gcc%{_exeext}
443%{_bindir}/i586-pc-freebsd7.2-gcc-%{gcc_version}%{_exeext}
444%{_bindir}/i586-pc-freebsd7.2-gcov%{_exeext}
445%{_bindir}/i586-pc-freebsd7.2-gccbug
446
447%dir %{_libexecdir}/gcc
448%dir %{_libexecdir}/gcc/i586-pc-freebsd7.2
449%dir %{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}
450%{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/cc1%{_exeext}
451%{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/collect2%{_exeext}
452
453
454%files -n i586-pc-freebsd7.2-gcc-libgcc -f build/files.gcc
455%defattr(-,root,root)
456%dir %{_gcclibdir}/gcc
457%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2
458%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}
459%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/include
460
461%if "%{gcc_version}" > "4.0.3"
462%if "i586-pc-freebsd7.2" != "bfin-rtems4.10"
463%if "i586-pc-freebsd7.2" != "avr-rtems4.10"
464%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/include/ssp
465%endif
466%endif
467%endif
468
469%if "%{gcc_version}" >= "4.3.0"
470%{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/include-fixed
471%endif
472
473# ==============================================================
474# i586-pc-freebsd7.2-gcc-c++
475# ==============================================================
476%package -n i586-pc-freebsd7.2-gcc-c++
477Summary:        GCC c++ compiler for i586-pc-freebsd7.2
478Group:          Development/Tools
479Version:        %{gcc_rpmvers}
480License:        GPL
481Requires:       i586-pc-freebsd7.2-gcc-libstdc++ = %{gcc_rpmvers}-%{release}
482
483%if "%{_build}" != "%{_host}"
484BuildRequires:  i586-pc-freebsd7.2-gcc-c++ = %{gcc_rpmvers}
485%endif
486
487Requires:       i586-pc-freebsd7.2-gcc = %{gcc_rpmvers}-%{release}
488
489%description -n i586-pc-freebsd7.2-gcc-c++
490GCC c++ compiler for i586-pc-freebsd7.2.
491
492
493%package -n i586-pc-freebsd7.2-gcc-libstdc++
494Summary:        libstdc++ for i586-pc-freebsd7.2
495Group:          Development/Tools
496Version:        %{gcc_rpmvers}
497%{?_with_noarch_subpackages:BuildArch: noarch}
498License:        GPL
499
500%description -n i586-pc-freebsd7.2-gcc-libstdc++
501%{_summary}
502
503
504%files -n i586-pc-freebsd7.2-gcc-c++
505%defattr(-,root,root)
506
507%{_mandir}/man1/i586-pc-freebsd7.2-g++.1*
508
509%{_bindir}/i586-pc-freebsd7.2-c++%{_exeext}
510%{_bindir}/i586-pc-freebsd7.2-g++%{_exeext}
511
512%dir %{_libexecdir}/gcc
513%dir %{_libexecdir}/gcc/i586-pc-freebsd7.2
514%dir %{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}
515%{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/cc1plus%{_exeext}
516
517
518%files -n i586-pc-freebsd7.2-gcc-libstdc++ -f build/files.g++
519%defattr(-,root,root)
520%dir %{_gcclibdir}/gcc
521%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2
522%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}
523%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/include
524%{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/include/c++
525
526# ==============================================================
527# i586-pc-freebsd7.2-gcc-gfortran
528# ==============================================================
529%package -n i586-pc-freebsd7.2-gcc-gfortran
530Summary:        Fortran 95 support for i586-pc-freebsd7.2-gcc
531Group:          Development/Tools
532Version:        %{gcc_rpmvers}
533License:        GPL
534
535Requires:       i586-pc-freebsd7.2-gcc = %{gcc_rpmvers}-%{release}
536Requires:       i586-pc-freebsd7.2-gcc-libgfortran = %{gcc_rpmvers}-%{release}
537
538%description -n i586-pc-freebsd7.2-gcc-gfortran
539GCC fortran compiler for i586-pc-freebsd7.2.
540
541%files -n i586-pc-freebsd7.2-gcc-gfortran
542%defattr(-,root,root)
543%{_bindir}/i586-pc-freebsd7.2-gfortran%{_exeext}
544
545%{_mandir}/man1/i586-pc-freebsd7.2-gfortran.1*
546
547%dir %{_libexecdir}/gcc
548%dir %{_libexecdir}/gcc/i586-pc-freebsd7.2
549%dir %{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}
550%{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/f951%{_exeext}
551
552# ==============================================================
553# i586-pc-freebsd7.2-gcc-libgfortran
554# ==============================================================
555%package -n i586-pc-freebsd7.2-gcc-libgfortran
556Summary:        Fortran 95 support libraries for i586-pc-freebsd7.2-gcc
557Group:          Development/Tools
558Version:        %{gcc_rpmvers}
559%{?_with_noarch_subpackages:BuildArch: noarch}
560License:        GPL
561
562%description -n i586-pc-freebsd7.2-gcc-libgfortran
563%{_summary}
564
565%files -n i586-pc-freebsd7.2-gcc-libgfortran -f build/files.gfortran
566%defattr(-,root,root)
567%dir %{_gcclibdir}/gcc
568%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2
569%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}
570%if "%{gcc_version}" >= "4.2.0"
571%{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/finclude
572%endif
573
574# ==============================================================
575# i586-pc-freebsd7.2-gcc-objc
576# ==============================================================
577%package -n i586-pc-freebsd7.2-gcc-objc
578Summary:        Objective C support for i586-pc-freebsd7.2-gcc
579Group:          Development/Tools
580Version:        %{gcc_rpmvers}
581License:        GPL
582
583Requires:       i586-pc-freebsd7.2-gcc = %{gcc_rpmvers}-%{release}
584Requires:       i586-pc-freebsd7.2-gcc-libobjc = %{gcc_rpmvers}-%{release}
585
586%description -n i586-pc-freebsd7.2-gcc-objc
587GCC objc compiler for i586-pc-freebsd7.2.
588
589%files -n i586-pc-freebsd7.2-gcc-objc
590%defattr(-,root,root)
591%dir %{_libexecdir}/gcc
592%dir %{_libexecdir}/gcc/i586-pc-freebsd7.2
593%dir %{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}
594%{_libexecdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/cc1obj%{_exeext}
595
596# ==============================================================
597# i586-pc-freebsd7.2-gcc-libobjc
598# ==============================================================
599%package -n i586-pc-freebsd7.2-gcc-libobjc
600Summary:        Objective C support for i586-pc-freebsd7.2-gcc
601Group:          Development/Tools
602Version:        %{gcc_rpmvers}
603%{?_with_noarch_subpackages:BuildArch: noarch}
604License:        GPL
605
606%description -n i586-pc-freebsd7.2-gcc-libobjc
607Support libraries for GCC's objc compiler for i586-pc-freebsd7.2.
608
609%files -n i586-pc-freebsd7.2-gcc-libobjc -f build/files.objc
610%defattr(-,root,root)
611%dir %{_gcclibdir}/gcc
612%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2
613%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}
614%dir %{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/include
615%{_gcclibdir}/gcc/i586-pc-freebsd7.2/%{gcc_version}/include/objc
616
Note: See TracBrowser for help on using the repository browser.