Group :: Games/Arcade
RPM: KoboDeluxe
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define nam kobodl
Name: KoboDeluxe
Version: 0.5.1
Release: alt6
Summary: 3'rd person scrolling 2D shooter
Group: Games/Arcade
License: GPLv2+
Url: http://olofson.net/kobodl/
Source0: http://olofson.net/kobodl/download/%name-%version.tar.bz2
Source1: %name.png
Source2: %name.desktop
Patch: %name-gcc44.patch
Patch1: KoboDeluxe-noautopause.patch
# Automatically added by buildreq on Tue Apr 05 2011
# optimized out: libGL-devel libGLU-devel libSDL-devel libX11-devel libstdc++-devel
BuildRequires: gcc-c++ imake libICE-devel libSDL_image-devel xorg-cf-files
BuildRequires: desktop-file-utils
%description
Kobo Deluxe is a 3'rd person scrolling 2D shooter with a simple
and responsive control system - which you'll need to tackle the
tons of enemy ships that shoot at you, chase you, circle around
you shooting, or even launch other ships at you, while you're
trying to destroy the labyrinth shaped bases. There are 50
action packed levels with smoothly increasing difficulty, and
different combinations of enemies that require different tactics
to be dealt with successfully.
%prep
%setup -q
%patch -p1
%patch1 -p1
iconv -f ISO2022JP -t UTF8 README.jp > tmp; mv tmp README.jp
iconv -f ISO2022JP -t UTF8 README.xkobo.jp > tmp; mv tmp README.xkobo.jp
%build
%configure --disable-dependency-tracking --enable-opengl --sharedstatedir=%_localstatedir
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%_desktopdir
desktop-file-install --vendor "" \
--dir $RPM_BUILD_ROOT%_desktopdir \
%SOURCE2
mkdir -p $RPM_BUILD_ROOT%_niconsdir
install -p -m 644 %SOURCE1 \
$RPM_BUILD_ROOT%_niconsdir
%files
%doc ChangeLog COPYING* README README.jp README.xkobo.jp README.sfont
%doc README.xkobo TODO
%attr(2711,root,games) %_bindir/%nam
%_datadir/kobo-deluxe
%_man6dir/%nam.*
%config(noreplace) %attr(0775,root,games) %_localstatedir/kobo-deluxe/scores
%_desktopdir/%name.desktop
%_niconsdir/%name.png
%changelog
…
Full changelog you can see here
Name: KoboDeluxe
Version: 0.5.1
Release: alt6
Summary: 3'rd person scrolling 2D shooter
Group: Games/Arcade
License: GPLv2+
Url: http://olofson.net/kobodl/
Source0: http://olofson.net/kobodl/download/%name-%version.tar.bz2
Source1: %name.png
Source2: %name.desktop
Patch: %name-gcc44.patch
Patch1: KoboDeluxe-noautopause.patch
# Automatically added by buildreq on Tue Apr 05 2011
# optimized out: libGL-devel libGLU-devel libSDL-devel libX11-devel libstdc++-devel
BuildRequires: gcc-c++ imake libICE-devel libSDL_image-devel xorg-cf-files
BuildRequires: desktop-file-utils
%description
Kobo Deluxe is a 3'rd person scrolling 2D shooter with a simple
and responsive control system - which you'll need to tackle the
tons of enemy ships that shoot at you, chase you, circle around
you shooting, or even launch other ships at you, while you're
trying to destroy the labyrinth shaped bases. There are 50
action packed levels with smoothly increasing difficulty, and
different combinations of enemies that require different tactics
to be dealt with successfully.
%prep
%setup -q
%patch -p1
%patch1 -p1
iconv -f ISO2022JP -t UTF8 README.jp > tmp; mv tmp README.jp
iconv -f ISO2022JP -t UTF8 README.xkobo.jp > tmp; mv tmp README.xkobo.jp
%build
%configure --disable-dependency-tracking --enable-opengl --sharedstatedir=%_localstatedir
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%_desktopdir
desktop-file-install --vendor "" \
--dir $RPM_BUILD_ROOT%_desktopdir \
%SOURCE2
mkdir -p $RPM_BUILD_ROOT%_niconsdir
install -p -m 644 %SOURCE1 \
$RPM_BUILD_ROOT%_niconsdir
%files
%doc ChangeLog COPYING* README README.jp README.xkobo.jp README.sfont
%doc README.xkobo TODO
%attr(2711,root,games) %_bindir/%nam
%_datadir/kobo-deluxe
%_man6dir/%nam.*
%config(noreplace) %attr(0775,root,games) %_localstatedir/kobo-deluxe/scores
%_desktopdir/%name.desktop
%_niconsdir/%name.png
%changelog
…
Full changelog you can see here