# ==============================================================
|
# ==============================================================
|
# rtems-base-gcc
|
# rtems-base-gcc
|
# ==============================================================
|
# ==============================================================
|
%package -n rtems-base-gcc
|
%package -n rtems-base-gcc
|
Provides: rtems-base-gcc
|
Provides: rtems-base-gcc
|
Summary: base package for rtems gcc and newlib C Library
|
Summary: base package for rtems gcc and newlib C Library
|
Group: rtems
|
Group: rtems
|
|
|
%description -n rtems-base-gcc
|
%description -n rtems-base-gcc
|
|
|
RTEMS is an open source operating system for embedded systems.
|
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
|
%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
|
%doc %{_prefix}/info/gcc.info*.gz
|
%doc %{_prefix}/info/gcc.info*.gz
|
%doc %{_prefix}/info/libc.info*.gz
|
%doc %{_prefix}/info/libc.info*.gz
|
%doc %{_prefix}/info/libm.info*.gz
|
%doc %{_prefix}/info/libm.info*.gz
|
|
|
%dir %{_prefix}/man
|
%dir %{_prefix}/man
|
%dir %{_prefix}/man/man1
|
%dir %{_prefix}/man/man1
|
%doc %{_prefix}/man/man1/cpp.1*
|
%doc %{_prefix}/man/man1/cpp.1*
|
%doc %{_prefix}/man/man1/gcov.1*
|
%doc %{_prefix}/man/man1/gcov.1*
|
%dir %{_prefix}/man/man7
|
%dir %{_prefix}/man/man7
|
%doc %{_prefix}/man/man7/fsf-funding.7*
|
%doc %{_prefix}/man/man7/fsf-funding.7*
|
%doc %{_prefix}/man/man7/gfdl.7*
|
%doc %{_prefix}/man/man7/gfdl.7*
|
%doc %{_prefix}/man/man7/gpl.7*
|
%doc %{_prefix}/man/man7/gpl.7*
|
|
|
%dir %{_prefix}/include
|
%dir %{_prefix}/include
|
|
|
%post -n rtems-base-gcc
|
%post -n rtems-base-gcc
|
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
|
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
|
then
|
then
|
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
|
f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
|
test -n "$f" && for i in $f; do
|
test -n "$f" && for i in $f; do
|
install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
done
|
done
|
fi
|
fi
|
|
|
%postun -n rtems-base-gcc
|
%postun -n rtems-base-gcc
|
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
|
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
|
then
|
then
|
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
|
f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
|
test -n "$f" && for i in $f; do
|
test -n "$f" && for i in $f; do
|
install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
done
|
done
|
fi
|
fi
|
|
|
|
|