Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37038370
en ru br
Репозитории ALT
S:0.5.1-alt6
5.1: 0.5.1-alt3
4.1: 0.5.1-alt1.qa1
www.altlinux.org/Changes

Группа :: Игры/Аркады
Пакет: KoboDeluxe

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define nam kobodl
Name: KoboDeluxe
Version: 0.5.1
Release: alt1.qa1
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
Packager: Fr. Br. George <george at altlinux.ru>

# Automatically added by buildreq on Sun Dec 02 2007

BuildRequires: gcc-c++ libICE-devel libSDL-devel libSDL_image-devel libmesa-devel

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
#sed -i 's|$(sharedstatedir)/kobo-deluxe/scores|%_var/games/kobo-deluxe|g' \
#  configure
#iconv -f ISO-8859-1 -t UTF8 README > tmp;         mv tmp README
#iconv -f ISO-8859-1 -t UTF8 ChangeLog > tmp;      mv tmp ChangeLog
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 %{?_smp_mflags}

%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

%post
touch --no-create %_datadir/icons/hicolor || :
if [ -x %_bindir/gtk-update-icon-cache ]; then
  %_bindir/gtk-update-icon-cache --quiet %_datadir/icons/hicolor || :
fi
%update_menus

%postun
touch --no-create %_datadir/icons/hicolor || :
if [ -x %_bindir/gtk-update-icon-cache ]; then
  %_bindir/gtk-update-icon-cache --quiet %_datadir/icons/hicolor || :
fi
%clean_menus

%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
%_mandir/man6/%nam.6.gz
%config(noreplace) %attr(0775,root,games) %_localstatedir/kobo-deluxe/scores
%_desktopdir/%name.desktop
%_niconsdir/%name.png

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin