|
@@ -1,8 +1,8 @@
|
|
Summary: A GNU source-level debugger for C, C++ and other languages.
|
|
Summary: A GNU source-level debugger for C, C++ and other languages.
|
|
Summary(ja): C, C++ その他の言語用 GNU ソースレベルデバッガ
|
|
Summary(ja): C, C++ その他の言語用 GNU ソースレベルデバッガ
|
|
Name: gdb
|
|
Name: gdb
|
|
-Version: 10.2
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 11.1
|
|
|
|
+Release: 1%{?_dist_release}
|
|
Group: programming
|
|
Group: programming
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -14,6 +14,7 @@ Source: https://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo expat-devel
|
|
BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo expat-devel
|
|
BuildRequires: python3-devel python3-rpm-macros
|
|
BuildRequires: python3-devel python3-rpm-macros
|
|
|
|
+BuildRequires: gmp-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: zlib-devel
|
|
Requires: install-info
|
|
Requires: install-info
|
|
|
|
|
|
@@ -35,16 +36,13 @@ GDB (GNU デバッガ) は C, C++ その他の言語で書かれたプログラ
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
rm -fr dejagnu tcl expect
|
|
rm -fr dejagnu tcl expect
|
|
mkdir -p build
|
|
mkdir -p build
|
|
cd build
|
|
cd build
|
|
-../configure \
|
|
|
|
- --prefix=%{_prefix} \
|
|
|
|
- --sysconfdir=%{_sysconfdir} \
|
|
|
|
- --mandir=%{_mandir} \
|
|
|
|
- --infodir=%{_infodir} \
|
|
|
|
|
|
+%define _configure ../configure
|
|
|
|
+%configure \
|
|
--with-python=%{__python3} \
|
|
--with-python=%{__python3} \
|
|
|
|
+ --disable-libctf \
|
|
%{_target_platform}
|
|
%{_target_platform}
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
@@ -54,7 +52,7 @@ make %{?_smp_mflags} info
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
cd build
|
|
cd build
|
|
-%makeinstall infodir=$RPM_BUILD_ROOT%{_infodir} prefix=$RPM_BUILD_ROOT%{_prefix}
|
|
|
|
|
|
+%make_install
|
|
|
|
|
|
# The above is broken, do this for now:
|
|
# The above is broken, do this for now:
|
|
#mkdir -p $RPM_BUILD_ROOT/%{_infodir}
|
|
#mkdir -p $RPM_BUILD_ROOT/%{_infodir}
|
|
@@ -75,28 +73,6 @@ rm -rf $RPM_BUILD_ROOT%{_includedir}
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
-%post
|
|
|
|
-[ -f %{_infodir}/annotate.info ] && /sbin/install-info %{_infodir}/annotate.info %{_infodir}/dir || :
|
|
|
|
-[ -f %{_infodir}/annotate.info.gz ] && /sbin/install-info %{_infodir}/annotate.info.gz %{_infodir}/dir || :
|
|
|
|
-[ -f %{_infodir}/gdb.info ] && /sbin/install-info %{_infodir}/gdb.info %{_infodir}/dir || :
|
|
|
|
-[ -f %{_infodir}/gdb.info.gz ] && /sbin/install-info %{_infodir}/gdb.info.gz %{_infodir}/dir || :
|
|
|
|
-[ -f %{_infodir}/stabs.info ] && /sbin/install-info %{_infodir}/stabs.info %{_infodir}/dir || :
|
|
|
|
-[ -f %{_infodir}/stabs.info.gz ] && /sbin/install-info %{_infodir}/stabs.info.gz %{_infodir}/dir || :
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-%preun
|
|
|
|
-if [ $1 = 0 ]; then
|
|
|
|
- [ -f %{_infodir}/annotate.info ] && /sbin/install-info --delete %{_infodir}/annotate.info %{_infodir}/dir || :
|
|
|
|
- [ -f %{_infodir}/annotate.info.gz ] && /sbin/install-info --delete %{_infodir}/annotate.info.gz %{_infodir}/dir || :
|
|
|
|
- [ -f %{_infodir}/gdb.info ] && /sbin/install-info --delete %{_infodir}/gdb.info %{_infodir}/dir || :
|
|
|
|
- [ -f %{_infodir}/gdb.info.gz ] && /sbin/install-info --delete %{_infodir}/gdb.info.gz %{_infodir}/dir || :
|
|
|
|
- [ -f %{_infodir}/gdbint.info ] && /sbin/install-info --delete %{_infodir}/gdbint.info %{_infodir}/dir || :
|
|
|
|
- [ -f %{_infodir}/gdbint.info.gz ] && /sbin/install-info --delete %{_infodir}/gdbint.info.gz %{_infodir}/dir || :
|
|
|
|
- [ -f %{_infodir}/stabs.info ] && /sbin/install-info --delete %{_infodir}/stabs.info %{_infodir}/dir || :
|
|
|
|
- [ -f %{_infodir}/stabs.info.gz ] && /sbin/install-info --delete %{_infodir}/stabs.info.gz %{_infodir}/dir || :
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%license COPYING COPYING.LIB
|
|
%license COPYING COPYING.LIB
|
|
@@ -128,6 +104,10 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Sep 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 11.1-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- dropped install-info scriptlets.
|
|
|
|
+
|
|
* Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2-2
|
|
* Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2-2
|
|
- rebuilt with gcc-11.2.
|
|
- rebuilt with gcc-11.2.
|
|
|
|
|