# ==============================================================
|
# ==============================================================
|
# rtems-base-g77
|
# rtems-base-g77
|
# ==============================================================
|
# ==============================================================
|
%package -n rtems-base-g77
|
%package -n rtems-base-g77
|
Provides: rtems-base-g77
|
Provides: rtems-base-g77
|
Summary: rtems base package for gcc/g77 compiler
|
Summary: rtems base package for gcc/g77 compiler
|
Group: rtems
|
Group: rtems
|
Requires: rtems-base-gcc
|
Requires: rtems-base-gcc
|
|
|
%description -n rtems-base-g77
|
%description -n rtems-base-g77
|
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/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
|
%dir %{_prefix}/info
|
%dir %{_prefix}/info
|
%doc %{_prefix}/info/g77.info*.gz
|
%doc %{_prefix}/info/g77.info*.gz
|
|
|
%dir %{_prefix}/man
|
%dir %{_prefix}/man
|
%dir %{_prefix}/man/man1
|
%dir %{_prefix}/man/man1
|
%doc %{_prefix}/man/man1/@target_alias@-g77.1
|
%doc %{_prefix}/man/man1/@target_alias@-g77.1
|
|
|
%post -n rtems-base-g77
|
%post -n rtems-base-g77
|
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-g77
|
%postun -n rtems-base-g77
|
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
|
|
|
|
|