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

#
# spec file for package mingw32-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:           mingw32-%{_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:  mingw32-gdb
BuildRequires:  mingw32-installer-base
# language support
BuildRequires:  mingw32-gdb-lang
# debug package
BuildRequires:  mingw32-expat-debug
BuildRequires:  mingw32-gdb-debug
BuildRequires:  mingw32-gmp-debug
BuildRequires:  mingw32-libdb-debug
#BuildRequires:  mingw32-libintl-debug
BuildRequires:  mingw32-mpfr-debug
BuildRequires:  mingw32-python3-debug
#BuildRequires:  mingw32-readline-debug
BuildRequires:  mingw32-termcap-debug
BuildRequires:  mingw32-winpthreads-debug
BuildRequires:  mingw32-zlib-debug
BuildArch:      noarch

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

%_mingw32_installer_package -n mingw32-gdb -p gdb "-P GDB, the GNU Debugger"

%prep
%_mingw32_installer_prep

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

%install
%_mingw32_installer_install

%changelog
openSUSE Build Service is sponsored by