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>
|
||||
|
||||
* 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.
|
||||
|
||||
%files -n rtems-base-g77
|
||||
%defattr(-,root,root)
|
||||
%dir %{_prefix}/info
|
||||
%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.
|
||||
|
||||
%files -n rtems-base-gcc
|
||||
%defattr(-,root,root)
|
||||
%dir %{_prefix}/info
|
||||
%doc %{_prefix}/info/cpp.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.
|
||||
|
||||
%files -n rtems-base-gcj
|
||||
%defattr(-,root,root)
|
||||
%dir %{_prefix}/bin
|
||||
%{_prefix}/bin/jar@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
|
||||
|
||||
%files -n rtems-base-gnat
|
||||
%defattr(-,root,root)
|
||||
%dir %{_prefix}/bin
|
||||
# %{_prefix}/bin/gnat*
|
||||
%endif
|
||||
|
||||
@@ -29,7 +29,8 @@ Source1: ftp://sources.redhat.com/pub/newlib/newlib-@newlib_version@.tar.gz
|
||||
@PATCH1@
|
||||
@PATCH3@
|
||||
Buildroot: %{_tmppath}/%{name}
|
||||
|
||||
BuildPreReq: texinfo >= 4.2
|
||||
BuildPreReq: @target_alias@-binutils
|
||||
#
|
||||
# The original sources are not included in the source RPM.
|
||||
# If we included them, then the source RPMs for each target
|
||||
@@ -97,6 +98,21 @@ NoSource: 1
|
||||
%define build_gcj 1
|
||||
%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
|
||||
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
|
||||
|
||||
rm -f dirs ;
|
||||
echo "%defattr(-,root,root)" >> dirs
|
||||
echo "%dir %{_prefix}/lib" >> dirs ;
|
||||
echo "%dir %{_prefix}/lib/gcc-lib" >> 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@
|
||||
|
||||
%files -n @target_alias@-c++ -f build/files.g++
|
||||
%defattr(-,root,root)
|
||||
%doc %{_prefix}/man/man1/@target_alias@-g++.1*
|
||||
|
||||
%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@
|
||||
|
||||
%files -n @target_alias@-g77 -f build/files.g77
|
||||
%defattr(-,root,root)
|
||||
%dir %{_prefix}/bin
|
||||
%{_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@.
|
||||
|
||||
%files -n @target_alias@-gcc -f build/files.gcc
|
||||
%defattr(-,root,root)
|
||||
%doc %{_prefix}/man/man1/@target_alias@-gcc.1*
|
||||
|
||||
%{_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@
|
||||
|
||||
%files -n @target_alias@-gcj -f build/files.gcj
|
||||
%defattr(-,root,root)
|
||||
%dir %{_prefix}/bin
|
||||
%{_prefix}/bin/@target_alias@-gcj@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@
|
||||
|
||||
%files -n @target_alias@-gnat
|
||||
%defattr(-,root,root)
|
||||
# %files -n @target_alias@-gnat -f build/files.gnat
|
||||
%dir %{_prefix}/bin
|
||||
%{_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@
|
||||
|
||||
%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@/include/objc
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user