Репозиторий Sisyphus
Последнее обновление: 18 мая 2022 | Пакетов: 17606 | Посещений: 23638663
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.qa3

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
Patch5: tuxpuck-0.8.2-alt-libpng15.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: aalib esound freetype2-devel
BuildRequires: libSDL-devel libSDL_net-devel libalsa2
BuildRequires: libaudiofile libjpeg-devel libogg-devel
BuildRequires: libpng-devel libslang2-devel 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
%patch5 -p2

%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 %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

mkdir -p %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=Tuxpuck
Comment=Clone of ShufflePuck Cafe
Icon=%{name}
Exec=sound_wrapper.sh %name
#Exec=%name
Terminal=false
Categories=Game;ArcadeGame;
EOF

%files
%doc *.txt
%_man6dir/*
%_gamesbindir/*
%_desktopdir/%{name}.desktop
%_iconsdir/*/*/*/*.png

%changelog

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

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