mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
* rtemsdoc/Makefile.am: Use $(top_builddir)/common/common.add,
$(top_builddir)/common/clean.add, header.add.
Generate rtemsdoc.spec.in.
* rtemsdoc/mkspec.in: Remove exe_ext.
* rtemsdoc/rtemsdoc.spec.in: Remove.
* gccnewlib/Makefile.am: Use $(top_builddir)/common/common.add,
$(top_builddir)/common/clean.add, header.add.
* gccnewlib/base-gcc.m4: Replace @exe_ext@ with %{_exeext}.
* gccnewlib/base-gcj.add: Replace @exe_ext@ with %{_exeext}.
* gccnewlib/gccnewlib.add: Replace @exe_ext@ with %{_exeext}.
Remove header, broken cdn-X configuration, %clean.
* gccnewlib/target-g77.add: Replace @exe_ext@ with %{_exeext}.
* gccnewlib/target-gcc.add: Replace @exe_ext@ with %{_exeext}.
* gccnewlib/target-gcj.add: Replace @exe_ext@ with %{_exeext}.
* gccnewlib/target-objc.add: Replace @exe_ext@ with %{_exeext}.
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
# ==============================================================
|
|
# rtems-base-gcc
|
|
# ==============================================================
|
|
%package -n rtems-base-gcc
|
|
Provides: rtems-base-gcc
|
|
Summary: base package for rtems gcc and newlib C Library
|
|
Group: rtems
|
|
|
|
%description -n rtems-base-gcc
|
|
|
|
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
|
|
%dir %{_prefix}/info
|
|
%doc %{_prefix}/info/cpp.info*.gz
|
|
%doc %{_prefix}/info/gcc.info*.gz
|
|
%doc %{_prefix}/info/libc.info*.gz
|
|
%doc %{_prefix}/info/libm.info*.gz
|
|
|
|
%dir %{_prefix}/bin
|
|
%{_prefix}/bin/gcov%{_exeext}
|
|
|
|
%dir %{_prefix}/man
|
|
%dir %{_prefix}/man/man1
|
|
%doc %{_prefix}/man/man1/cccp.1
|
|
|
|
%dir %{_prefix}/include
|
|
%{_prefix}/include/g++-3
|
|
|
|
%post -n rtems-base-gcc
|
|
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
|
|
then
|
|
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
|
f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
|
|
test -n "$f" && for i in $f; do
|
|
install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
|
done
|
|
fi
|
|
|
|
%postun -n rtems-base-gcc
|
|
if test -d $RPM_INSTALL_PREFIX%{_prefix}/info;
|
|
then
|
|
rm -f $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
|
f=`find $RPM_INSTALL_PREFIX%{_prefix}/info -name '*.info.gz'`
|
|
test -n "$f" && for i in $f; do
|
|
install-info $i $RPM_INSTALL_PREFIX%{_prefix}/info/dir
|
|
done
|
|
fi
|
|
|