File mingw64-gdb-installer.spec of Package mingw64-gdb

#
# spec file for package mingw64-gdb-installer
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%define _name   gdb
Name:           mingw64-%{_name}-installer
Version:        14.2
Release:        0
Summary:        Installer for GDB on Windows
License:        GPL-2.0-or-later
Group:          Development/Tools/Other
Url:            http://www.gnu.org/software/gdb
Source0:        ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.xz
BuildRequires:  mingw64-gdb
BuildRequires:  mingw64-installer-base
# language support
BuildRequires:  mingw64-gdb-lang
# debug package
BuildRequires:  mingw64-expat-debug
BuildRequires:  mingw64-gdb-debug
BuildRequires:  mingw64-gmp-debug
BuildRequires:  mingw64-libdb-debug
#BuildRequires:  mingw64-libintl-debug
BuildRequires:  mingw64-mpfr-debug
BuildRequires:  mingw64-python3-debug
#BuildRequires:  mingw64-readline-debug
BuildRequires:  mingw64-termcap-debug
BuildRequires:  mingw64-winpthreads-debug
BuildRequires:  mingw64-zlib-debug
BuildArch:      noarch

%description
This package contains a setup installer of GNU Debugger gdb

%_mingw64_installer_package -n mingw64-gdb -p gdb "-P GDB, the GNU Debugger"

%prep
%_mingw64_installer_prep

%build
%_mingw64_installer_build -c  -e gdb -p gdb "-P GDB, The GNU debugger" -r mingw64-%{_name} -s %{SOURCE0} -h %{url}

%install
%_mingw64_installer_install

%changelog
openSUSE Build Service is sponsored by