File pacvim.spec of Package pacvim

#
# spec file for package pacvim
#
# Copyright (c) 2018 SUSE LINUX 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/
#


Name:           pacvim
Version:        1.1.1
Release:        0
Summary:        Game to teach vim commands
License:        GPL-3.0-only
Group:          Amusements/Games/Board/Puzzle
URL:            https://github.com/jmoon018/PacVim
Source:         https://github.com/jmoon018/PacVim/archive/v%{version}.tar.gz
Patch0:         pacvim-1.1.1-until-b0934ca662d6add3f9a30d3204683b354857c4e7.patch
Patch1:         pacvim-1.1.1-ncurses.patch
BuildRequires:  gcc-c++
BuildRequires:  make
BuildRequires:  ncurses-devel

%description
PacVim is a game that teaches you vim commands. You must move pacman (the green cursor) to highlight each word on the gameboard while avoiding the ghosts (in red).udoku is a ncurses based sudoku game.

%prep
%setup -q -n PacVim-%{version}
%patch0 -p1
%patch1 -p1

%build
#make %{?_smp_mflags}

%install
PREFIX=%{_prefix} %make_install

%files
%{_prefix}/bin/pacvim
%{_prefix}/share/pacvim-maps/

%changelog
openSUSE Build Service is sponsored by