File taisei.spec of Package taisei_project

# Copyright (c) 2011 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

Name:           taisei
Version:        1.0a
Release:        1
Summary:        Open Source clone of the Touhou series
Group:          Amusements/Games/Action/Shoot
License:        GPL
Source0:        %{name}-%{version}-master.tar.gz
Patch0:         %{name}-desktop_file.patch
BuildRoot:      %{_tmppath}/build-root-%{name}
BuildRequires:  gcc-c++ cmake libtool hicolor-icon-theme
BuildRequires:  libSDL-devel libSDL_ttf-devel zlib-devel
BuildRequires:  openal-soft-devel freealut-devel
BuildRequires:  Mesa-devel libpng16-compat-devel freetype2-devel

Taisei (lit. Occident) is a fan-made, Open Source clone of the Touhou series, written in C using SDL/OpenGL/OpenAL.

%setup -q -n laochailan-%{name}-%{version}

mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?_smp_mflags}

pushd build
%{?make_install} %{!?make_install:%makeinstall}

%{__rm} -rf $RPM_BUILD_ROOT

%dir %{_datadir}/taisei

* Sun Aug 26 2012 y.kobayashi
- Create package in openSUSE Build