File mingw32-yattt.spec of Package yattt
#
# spec file for package mingw32-yattt
#
# Copyright (c) 2012 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 __strip %{_mingw32_strip}
%define __objdump %{_mingw32_objdump}
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw32_findrequires}
%define __find_provides %{_mingw32_findprovides}
%define __os_install_post %{_mingw32_debug_install_post} \
%{_mingw32_install_post}
%define realname yattt
Name: mingw32-%{realname}
Summary: Yet Another Tic-Tac-Toe
License: GPL-3.0+
Group: Amusements/Games/Board/Pool
Version: 1.6
Release: 0
Url: https://sourceforge.net/projects/yattt/
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gtkmm3-devel
BuildRequires: pkg-config
Source: http://mesh.dl.sourceforge.net/sourceforge/%{realname}/%{realname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
#!BuildIgnore: post-build-checks
%{_mingw32_debug_package}
%description
Tic-Tac-Toe written in GTK. Have a lot of fun!
%prep
%setup -n %{realname}-%{version} -q
%build
%{_mingw32_configure}
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%__make %{?_smp_mflags}
%install
%makeinstall
%files
%defattr(-,root,root)
%{_mingw32_bindir}/yattt.exe
%changelog