LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File tumiki-fighters.spec of Package tumiki-fighters (Project home:ykoba)

#
# spec file for package tumiki-fighters
#
# 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/
#


Name:           tumiki-fighters
Version:        0.2
Release:        0
Summary:        Side-scrolling shooter gem
License:        BSD-2-Clause
Group:          Amusements/Games/Action/Arcade
Url:            http://www.asahi-net.or.jp/~cs8k-cyu/windows/tf_e.html
# repacked from http://www.asahi-net.or.jp/~cs8k-cyu/windows/tf0_2.zip (removed .exe and .dll files)
Source:         tf0_2.zip
Source1:        %{name}.desktop
Source2:        %{name}.png
Source3:        Makefile
Patch0:         %{name}-d1.043.patch
Patch1:         %{name}-directories.patch
Patch2:         %{name}-dotfile.patch
Patch3:         %{name}-fixes.patch
Patch4:         %{name}-gdc-0.24-semantics-for-version.patch
Patch5:         %{name}-imports.patch
Patch6:         %{name}-windowed.patch
Patch7:         %{name}-window-resizing.patch
Patch8:         %{name}-brackets.patch
Patch9:         %{name}-sdl.patch
BuildRequires:  libSDL-devel libSDL_mixer-devel
BuildRequires:  unzip
BuildRequires:  dmd
BuildRequires:  libbullet-devel
BuildRequires:  phobos-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Tumiki Fighters brings a different twist to the side-scrolling shooter genre.
With simple 3D graphics, the player has to control a ship and shoot down the
enemies. The player can swoop in and attach the wreckage to its own hull for
bonus points and protection from enemy attacks.

Tumiki Fighters is another gem among many by Kenta Cho.

%prep
%setup -q -n tf
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
cp %{SOURCE3} .

%build
make %{?_smp_mflags}

%install
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
# install data
mkdir -p %{buildroot}%{_datadir}/%{name}
for i in barrage enemies field sounds stage tumiki; do
    cp -ra $i %{buildroot}%{_datadir}/%{name}/
done
# install desktop file and icon
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
install -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png

%files
%defattr(-,root,root)
%doc readme.txt readme_e.txt
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png

%changelog