File mingw64-yattt.spec of Package mingw64-yattt

#
# spec file for package mingw64-yattt
#
# 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 realname yattt
Name:           mingw64-%{realname}
Version:        1.6
Release:        0
Summary:        Yet Another Tic-Tac-Toe
License:        GPL-3.0-or-later
Group:          Amusements/Games/Board/Pool
Url:            https://sourceforge.net/projects/yattt/
Source:         http://mesh.dl.sourceforge.net/sourceforge/%{realname}/%{realname}-%{version}.tar.bz2
BuildRequires:  mingw64-cross-binutils
BuildRequires:  mingw64-cross-gcc
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-filesystem
BuildRequires:  mingw64(pkg:gtkmm-3.0)
BuildRequires:  pkg-config
%_mingw64_package_header_debug
BuildArch:      noarch
#!BuildIgnore:  post-build-checks
%_mingw64_debug_package

%description
Tic-Tac-Toe written in GTK. Have a lot of fun!

%prep
%setup -q -n %{realname}-%{version}

%build
%{_mingw64_configure}
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}

%files
%defattr(-,root,root)
%{_mingw64_bindir}/yattt.exe

%changelog
openSUSE Build Service is sponsored by