diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-23 11:13:58 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-23 11:13:58 +0000 |
commit | 48569c746401038ffd4a1be68c3e13031d2d2c3f (patch) | |
tree | b515fd2c1718f6c899c2d002ee387885564d8d1b /contrib | |
parent | Bump GDB_RPMREL. (diff) | |
download | rtems-48569c746401038ffd4a1be68c3e13031d2d2c3f.tar.bz2 |
Regenerate.
Diffstat (limited to 'contrib')
11 files changed, 352 insertions, 88 deletions
diff --git a/contrib/crossrpms/rtems4.9/arm/rtems-4.9-arm-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/arm/rtems-4.9-arm-rtems4.9-gdb.spec index af8742b40e..3febeadf40 100644 --- a/contrib/crossrpms/rtems4.9/arm/rtems-4.9-arm-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/arm/rtems-4.9-arm-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-arm-rtems4.9-gdb Summary: Gdb for target arm-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting arm-rtems4.9. %files -n rtems-4.9-arm-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/arm-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec index a793a436fe..c5d9bfbccd 100644 --- a/contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-avr-rtems4.9-gdb Summary: Gdb for target avr-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting avr-rtems4.9. %files -n rtems-4.9-avr-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/avr-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/bfin/rtems-4.9-bfin-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/bfin/rtems-4.9-bfin-rtems4.9-gdb.spec index e3985c20c9..77089dfa0e 100644 --- a/contrib/crossrpms/rtems4.9/bfin/rtems-4.9-bfin-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/bfin/rtems-4.9-bfin-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-bfin-rtems4.9-gdb Summary: Gdb for target bfin-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 7%{?dist} +Release: 8%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -127,10 +144,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -147,15 +162,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -233,6 +250,9 @@ GNU gdb targetting bfin-rtems4.9. %files -n rtems-4.9-bfin-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/bfin-rtems4.9-*.1* @@ -248,6 +268,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -269,6 +290,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/h8300/rtems-4.9-h8300-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/h8300/rtems-4.9-h8300-rtems4.9-gdb.spec index 506a733d21..7eaa05f560 100644 --- a/contrib/crossrpms/rtems4.9/h8300/rtems-4.9-h8300-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/h8300/rtems-4.9-h8300-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-h8300-rtems4.9-gdb Summary: Gdb for target h8300-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting h8300-rtems4.9. %files -n rtems-4.9-h8300-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/h8300-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/i386/rtems-4.9-i386-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/i386/rtems-4.9-i386-rtems4.9-gdb.spec index d642157f87..08c7cb914e 100644 --- a/contrib/crossrpms/rtems4.9/i386/rtems-4.9-i386-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/i386/rtems-4.9-i386-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-i386-rtems4.9-gdb Summary: Gdb for target i386-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting i386-rtems4.9. %files -n rtems-4.9-i386-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/i386-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/m68k/rtems-4.9-m68k-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/m68k/rtems-4.9-m68k-rtems4.9-gdb.spec index 651763ae36..840fffe4ea 100644 --- a/contrib/crossrpms/rtems4.9/m68k/rtems-4.9-m68k-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/m68k/rtems-4.9-m68k-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-m68k-rtems4.9-gdb Summary: Gdb for target m68k-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting m68k-rtems4.9. %files -n rtems-4.9-m68k-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/m68k-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/mips/rtems-4.9-mips-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/mips/rtems-4.9-mips-rtems4.9-gdb.spec index f420431e21..243337d1e6 100644 --- a/contrib/crossrpms/rtems4.9/mips/rtems-4.9-mips-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/mips/rtems-4.9-mips-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-mips-rtems4.9-gdb Summary: Gdb for target mips-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting mips-rtems4.9. %files -n rtems-4.9-mips-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/mips-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/mipstx39/rtems-4.9-mipstx39-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/mipstx39/rtems-4.9-mipstx39-rtems4.9-gdb.spec index 839687143c..acd7c7c463 100644 --- a/contrib/crossrpms/rtems4.9/mipstx39/rtems-4.9-mipstx39-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/mipstx39/rtems-4.9-mipstx39-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-mipstx39-rtems4.9-gdb Summary: Gdb for target mipstx39-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting mipstx39-rtems4.9. %files -n rtems-4.9-mipstx39-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/mipstx39-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-gdb.spec index ac3b29fc64..5f088b21f7 100644 --- a/contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/powerpc/rtems-4.9-powerpc-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-powerpc-rtems4.9-gdb Summary: Gdb for target powerpc-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting powerpc-rtems4.9. %files -n rtems-4.9-powerpc-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/powerpc-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/sh/rtems-4.9-sh-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/sh/rtems-4.9-sh-rtems4.9-gdb.spec index e697c7edc1..16683ae71e 100644 --- a/contrib/crossrpms/rtems4.9/sh/rtems-4.9-sh-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/sh/rtems-4.9-sh-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-sh-rtems4.9-gdb Summary: Gdb for target sh-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting sh-rtems4.9. %files -n rtems-4.9-sh-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/sh-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* diff --git a/contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gdb.spec b/contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gdb.spec index 262608b9a3..73f45ef60e 100644 --- a/contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gdb.spec +++ b/contrib/crossrpms/rtems4.9/sparc/rtems-4.9-sparc-rtems4.9-gdb.spec @@ -52,7 +52,7 @@ Name: rtems-4.9-sparc-rtems4.9-gdb Summary: Gdb for target sparc-rtems4.9 Group: Development/Tools Version: %{gdb_rpmvers} -Release: 8%{?dist} +Release: 9%{?dist} License: GPL/LGPL URL: http://sources.redhat.com/gdb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -102,10 +102,27 @@ BuildRequires: %{_host_rpmprefix}expat-devel %if "%{_build}" != "%{_host}" BuildRequires: %{_host_rpmprefix}termcap-devel %endif +%bcond_with system_readline +%else +%if 0%{?fedora} >= 12 +%bcond_with system_readline +%else +%bcond_without system_readline %endif -BuildRequires: %{_host_rpmprefix}readline-devel +%endif +%{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel +%if "%{gdb_version}" >= "6.8.50" +%if "%{_build}" != "%{_host}" +# Can't build python Cdn-X +%bcond_with python +%else +%bcond_without python +%endif +%endif +%{?with_python:BuildRequires: %{_host_rpmprefix}python-devel} + # Required for building the infos BuildRequires: /sbin/install-info BuildRequires: texinfo >= 4.2 @@ -129,10 +146,8 @@ cd gdb-%{gdb_version} %{?PATCH0:%patch0 -p1} cd .. -%if "%{gdb_version}" >= "6.7" # Force using a system-provided libreadline -rm -f gdb-%{gdb_version}/readline/configure -%endif +%{?with_system_readline:rm -f gdb-%{gdb_version}/readline/configure} %build export PATH="%{_bindir}:${PATH}" mkdir -p build @@ -149,15 +164,17 @@ rm -f gdb-%{gdb_version}/readline/configure --disable-win32-registry \ --disable-werror \ %{build_sim} \ -%if "%{gdb_version}" >= "6.7" - --with-system-readline \ -%endif + %{?with_system_readline:--with-system-readline} \ %if "%{gdb_version}" >= "6.6" --with-expat \ %endif %if "%{gdb_version}" >= "6.8.50" +%if %{with python} + --with-python \ +%else --without-python \ %endif +%endif --prefix=%{_prefix} --bindir=%{_bindir} \ --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} @@ -235,6 +252,9 @@ GNU gdb targetting sparc-rtems4.9. %files -n rtems-4.9-sparc-rtems4.9-gdb %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_mandir} %dir %{_mandir}/man1 %{_mandir}/man1/sparc-rtems4.9-*.1* @@ -250,6 +270,7 @@ Summary: Base package for RTEMS gdbs Group: Development/Tools Requires(post): /sbin/install-info Requires(preun): /sbin/install-info +%{?_with_noarch_subpackages:BuildArch: noarch} %description -n rtems-4.9-gdb-common @@ -271,6 +292,9 @@ fi %files -n rtems-4.9-gdb-common %defattr(-,root,root) +%dir %{_prefix} +%dir %{_prefix}/share + %dir %{_infodir} %ghost %{_infodir}/dir %{_infodir}/gdb.info* |