Репозиторий Sisyphus
Последнее обновление: 5 июля 2022 | Пакетов: 17503 | Посещений: 24512677
en ru br
Репозитории ALT
S:0.8.2-alt1.qa4
5.1: 0.8.2-alt1.1
3.0: 0.8.2-alt1
www.altlinux.org/Changes

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

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


Name: tuxpuck
Version: 0.8.2
Release: alt1.1

Group: Games/Arcade
Summary: Clone of ShufflePuck Cafe historical game
Url: http://www.efd.lth.se/~d00jkr/tuxpuck/
License: GPL

Requires: sound_handler

Source0: %name-%version.tar.gz
Source1: tuxpuck16.png
Source2: tuxpuck32.png
Source3: tuxpuck48.png
Patch0: tuxpuck-0.30-fix-includes.patch
Patch1: tuxpuck-0.7.116-fullscreen.patch
Patch3:         tuxpuck-0.8.2-mandest.patch
Patch4:         tuxpuck-0.8.2-utils-werror.patch

# Author: d00jkr at efd.lth.se


# Automatically added by buildreq on Tue Sep 17 2002

#BuildRequires: XFree86-libs aalib esound freetype2-devel libSDL-devel libSDL_net-devel libalsa2 libarts libaudiofile libjpeg-devel libogg-devel libpng-devel libslang libvorbis-devel zlib-devel

BuildRequires: xorg-x11-libs aalib esound freetype2-devel
BuildRequires: libSDL-devel libSDL_net-devel libalsa2 libarts
BuildRequires: libaudiofile libjpeg-devel libogg-devel
BuildRequires: libpng-devel libslang libvorbis-devel zlib-devel

%description
Anyone remember "Shufflepuck Cafe" for the Amiga/AtariST ?

%prep
%setup -q
#%patch0 -p0
%patch1 -p1
%patch3 -p0 -z .mandest
%patch4 -p0 -z .utils-werror


%build
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" make

%install
#%%make DESTDIR=%buildroot install
mkdir -p $RPM_BUILD_ROOT%_gamesbindir
install -m755 tuxpuck $RPM_BUILD_ROOT%_gamesbindir
mkdir -p $RPM_BUILD_ROOT%_man6dir
install -m755 man/* $RPM_BUILD_ROOT%_man6dir

mkdir -p $RPM_BUILD_ROOT%_menudir
cat <<EOF > $RPM_BUILD_ROOT%_menudir/%name
?package(%name): \
needs=x11 \
section="Amusement/Arcade" \
title="Tuxpuck" \
longtitle="Clone of ShufflePuck Cafe" \
command="sound_wrapper.sh %name" \
icon="%name.png"
EOF

mkdir -p %buildroot/%_iconsdir/hicolor/{16x16,32x32,48x48}/apps
install -m 644 %SOURCE1 %buildroot/%_iconsdir/hicolor/16x16/apps/%name.png
install -m 644 %SOURCE2 %buildroot/%_iconsdir/hicolor/32x32/apps/%name.png
install -m 644 %SOURCE3 %buildroot/%_iconsdir/hicolor/48x48/apps/%name.png

%post
%update_menus
%postun
%clean_menus

%files
%doc *.txt
%doc %_man6dir/*
%_gamesbindir/*
%_menudir/*
%_iconsdir/*/*/*/*.png

%changelog

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

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