File gnustep-gomoku.spec of Package gnustep-gomoku
#
# spec file for package gnustep-gomoku
#
# 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 Gomoku
Name: gnustep-gomoku
Version: 1.2.9
Release: 0
License: GPL-2.0
Summary: Gomoku.app is an extended TicTacToe game for GNUstep
Url: http://www.gnustep.it/nicola/Applications/Gomoku/
Group: System/X11/Utilities
Source: %{_name}-%{version}.tar.gz
BuildRequires: gnustep-make
BuildRequires: gnustep-base-devel
BuildRequires: gnustep-gui-devel
BuildRequires: pkgconfig(avahi-client)
BuildRequires: pkgconfig(libffi)
BuildRequires: libgcrypt-devel
BuildRequires: pkgconfig(gnutls)
BuildRequires: libicu-devel
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(zlib)
BuildRequires: gmp-devel
BuildRequires: gcc-objc
BuildRequires: fdupes
Requires: gnustep-back
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
You win the game if you are able to put 5 of your pieces in a row, column or
diagonal. You lose if the computer does it before you.
%prep
%setup -q -n %{_name}-%{version}
%build
. %{_datadir}/GNUstep/Makefiles/GNUstep.sh
make %{?_smp_mflags}
%install
. %{_datadir}/GNUstep/Makefiles/GNUstep.sh
%make_install GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
chmod a-x %{buildroot}%{_libdir}/GNUstep/Applications/%{_name}.app/Resources/%{_name}.desktop
%fdupes -s %{buildroot}%{_libdir}/GNUstep/Applications/%{_name}.app/Resources/
%files
%defattr(-,root,root)
%doc README TODO
%{_bindir}/*
%{_libdir}/GNUstep
%changelog