forked from Imagelibrary/rtems
2003-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* gccnewlib.add: Add various BuildPreReq. Add %defattr(-,root,root) to "dir". * base-g77.add: %defattr(-,root,root). * base-gcc.add %defattr(-,root,root). * base-gcj.add %defattr(-,root,root). * base-gnat.add %defattr(-,root,root). * target-c++.add %defattr(-,root,root). * target-g77.add %defattr(-,root,root). * target-gcc.add %defattr(-,root,root). * target-gcj.add %defattr(-,root,root). * target-gnat.add %defattr(-,root,root). * target-objc.add %defattr(-,root,root).
This commit is contained in:
@@ -1,3 +1,18 @@
|
|||||||
|
2003-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* gccnewlib.add: Add various BuildPreReq.
|
||||||
|
Add %defattr(-,root,root) to "dir".
|
||||||
|
* base-g77.add: %defattr(-,root,root).
|
||||||
|
* base-gcc.add %defattr(-,root,root).
|
||||||
|
* base-gcj.add %defattr(-,root,root).
|
||||||
|
* base-gnat.add %defattr(-,root,root).
|
||||||
|
* target-c++.add %defattr(-,root,root).
|
||||||
|
* target-g77.add %defattr(-,root,root).
|
||||||
|
* target-gcc.add %defattr(-,root,root).
|
||||||
|
* target-gcj.add %defattr(-,root,root).
|
||||||
|
* target-gnat.add %defattr(-,root,root).
|
||||||
|
* target-objc.add %defattr(-,root,root).
|
||||||
|
|
||||||
2003-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* setup.def: binutils_rpm_release=2.
|
* setup.def: binutils_rpm_release=2.
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is the files for gcc/g77 that are shared by all targets.
|
This is the files for gcc/g77 that are shared by all targets.
|
||||||
|
|
||||||
%files -n rtems-base-g77
|
%files -n rtems-base-g77
|
||||||
|
%defattr(-,root,root)
|
||||||
%dir %{_prefix}/info
|
%dir %{_prefix}/info
|
||||||
%doc %{_prefix}/info/g77.info*.gz
|
%doc %{_prefix}/info/g77.info*.gz
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is the files for gcc and newlib that are shared by all targets.
|
This is the files for gcc and newlib that are shared by all targets.
|
||||||
|
|
||||||
%files -n rtems-base-gcc
|
%files -n rtems-base-gcc
|
||||||
|
%defattr(-,root,root)
|
||||||
%dir %{_prefix}/info
|
%dir %{_prefix}/info
|
||||||
%doc %{_prefix}/info/cpp.info*.gz
|
%doc %{_prefix}/info/cpp.info*.gz
|
||||||
%doc %{_prefix}/info/cppinternals.info*.gz
|
%doc %{_prefix}/info/cppinternals.info*.gz
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is the files for gcc/java (gcj) that are shared by all targets.
|
This is the files for gcc/java (gcj) that are shared by all targets.
|
||||||
|
|
||||||
%files -n rtems-base-gcj
|
%files -n rtems-base-gcj
|
||||||
|
%defattr(-,root,root)
|
||||||
%dir %{_prefix}/bin
|
%dir %{_prefix}/bin
|
||||||
%{_prefix}/bin/jar@exe_ext@
|
%{_prefix}/bin/jar@exe_ext@
|
||||||
%{_prefix}/bin/grepjar@exe_ext@
|
%{_prefix}/bin/grepjar@exe_ext@
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is the gcc/gnat tools for the gcc/gnat compiler
|
This is the gcc/gnat tools for the gcc/gnat compiler
|
||||||
|
|
||||||
%files -n rtems-base-gnat
|
%files -n rtems-base-gnat
|
||||||
|
%defattr(-,root,root)
|
||||||
%dir %{_prefix}/bin
|
%dir %{_prefix}/bin
|
||||||
# %{_prefix}/bin/gnat*
|
# %{_prefix}/bin/gnat*
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
@@ -29,7 +29,8 @@ Source1: ftp://sources.redhat.com/pub/newlib/newlib-@newlib_version@.tar.gz
|
|||||||
@PATCH1@
|
@PATCH1@
|
||||||
@PATCH3@
|
@PATCH3@
|
||||||
Buildroot: %{_tmppath}/%{name}
|
Buildroot: %{_tmppath}/%{name}
|
||||||
|
BuildPreReq: texinfo >= 4.2
|
||||||
|
BuildPreReq: @target_alias@-binutils
|
||||||
#
|
#
|
||||||
# The original sources are not included in the source RPM.
|
# The original sources are not included in the source RPM.
|
||||||
# If we included them, then the source RPMs for each target
|
# If we included them, then the source RPMs for each target
|
||||||
@@ -97,6 +98,21 @@ NoSource: 1
|
|||||||
%define build_gcj 1
|
%define build_gcj 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %build_gcj
|
||||||
|
# Building gcj requires bison and zlib
|
||||||
|
BuildPreReq: bison
|
||||||
|
%if "%_vendor" == "redhat"
|
||||||
|
BuildPreReq: zlib-devel
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %build_gnat
|
||||||
|
# Building gnat requires gnat
|
||||||
|
%if "%_vendor" == "redhat"
|
||||||
|
BuildPreReq: gcc-gnat
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
RTEMS is an open source operating system for embedded systems.
|
RTEMS is an open source operating system for embedded systems.
|
||||||
|
|
||||||
@@ -243,6 +259,7 @@ This is gcc's and newlib C Library's sources with patches for RTEMS.
|
|||||||
gzip -f $RPM_BUILD_ROOT%{_prefix}/info/*.info-?? 2>/dev/null
|
gzip -f $RPM_BUILD_ROOT%{_prefix}/info/*.info-?? 2>/dev/null
|
||||||
|
|
||||||
rm -f dirs ;
|
rm -f dirs ;
|
||||||
|
echo "%defattr(-,root,root)" >> dirs
|
||||||
echo "%dir %{_prefix}/lib" >> dirs ;
|
echo "%dir %{_prefix}/lib" >> dirs ;
|
||||||
echo "%dir %{_prefix}/lib/gcc-lib" >> dirs ;
|
echo "%dir %{_prefix}/lib/gcc-lib" >> dirs ;
|
||||||
echo "%dir %{_prefix}/lib/gcc-lib/@target_alias@" >> dirs ;
|
echo "%dir %{_prefix}/lib/gcc-lib/@target_alias@" >> dirs ;
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is the gcc/g++ compiler for @target_alias@
|
This is the gcc/g++ compiler for @target_alias@
|
||||||
|
|
||||||
%files -n @target_alias@-c++ -f build/files.g++
|
%files -n @target_alias@-c++ -f build/files.g++
|
||||||
|
%defattr(-,root,root)
|
||||||
%doc %{_prefix}/man/man1/@target_alias@-g++.1*
|
%doc %{_prefix}/man/man1/@target_alias@-g++.1*
|
||||||
|
|
||||||
%dir %{_prefix}/bin
|
%dir %{_prefix}/bin
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is the gcc/g77 compiler for @target_alias@
|
This is the gcc/g77 compiler for @target_alias@
|
||||||
|
|
||||||
%files -n @target_alias@-g77 -f build/files.g77
|
%files -n @target_alias@-g77 -f build/files.g77
|
||||||
|
%defattr(-,root,root)
|
||||||
%dir %{_prefix}/bin
|
%dir %{_prefix}/bin
|
||||||
%{_prefix}/bin/@target_alias@-g77@exe_ext@
|
%{_prefix}/bin/@target_alias@-g77@exe_ext@
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is gcc and newlib C Library for @target_alias@.
|
This is gcc and newlib C Library for @target_alias@.
|
||||||
|
|
||||||
%files -n @target_alias@-gcc -f build/files.gcc
|
%files -n @target_alias@-gcc -f build/files.gcc
|
||||||
|
%defattr(-,root,root)
|
||||||
%doc %{_prefix}/man/man1/@target_alias@-gcc.1*
|
%doc %{_prefix}/man/man1/@target_alias@-gcc.1*
|
||||||
|
|
||||||
%{_prefix}/bin/@target_alias@-cpp@exe_ext@
|
%{_prefix}/bin/@target_alias@-cpp@exe_ext@
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is the gcc/java compiler for @target_alias@
|
This is the gcc/java compiler for @target_alias@
|
||||||
|
|
||||||
%files -n @target_alias@-gcj -f build/files.gcj
|
%files -n @target_alias@-gcj -f build/files.gcj
|
||||||
|
%defattr(-,root,root)
|
||||||
%dir %{_prefix}/bin
|
%dir %{_prefix}/bin
|
||||||
%{_prefix}/bin/@target_alias@-gcj@exe_ext@
|
%{_prefix}/bin/@target_alias@-gcj@exe_ext@
|
||||||
%{_prefix}/bin/@target_alias@-jcf-dump@exe_ext@
|
%{_prefix}/bin/@target_alias@-jcf-dump@exe_ext@
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is the gcc/gnat compiler for @target_alias@
|
This is the gcc/gnat compiler for @target_alias@
|
||||||
|
|
||||||
%files -n @target_alias@-gnat
|
%files -n @target_alias@-gnat
|
||||||
|
%defattr(-,root,root)
|
||||||
# %files -n @target_alias@-gnat -f build/files.gnat
|
# %files -n @target_alias@-gnat -f build/files.gnat
|
||||||
%dir %{_prefix}/bin
|
%dir %{_prefix}/bin
|
||||||
%{_prefix}/bin/@target_alias@-gnat*
|
%{_prefix}/bin/@target_alias@-gnat*
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ RTEMS is an open source operating system for embedded systems.
|
|||||||
This is the gcc/objc compiler for @target_alias@
|
This is the gcc/objc compiler for @target_alias@
|
||||||
|
|
||||||
%files -n @target_alias@-objc -f build/files.objc
|
%files -n @target_alias@-objc -f build/files.objc
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj@exe_ext@
|
%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/cc1obj@exe_ext@
|
||||||
%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/include/objc
|
%{_prefix}/lib/gcc-lib/@target_alias@/@gcc_version@/include/objc
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
Reference in New Issue
Block a user