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

Группа :: Игры/Приключения
Пакет: tome

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

%define varpath /var/lib/tome/

Name: tome
Version: 2.3.5
Release: alt3

Packager: Alexey Voinov <voins at altlinux.ru>

Summary: Troubles of Middle Earth
License: Moria/Angband license
Group: Games/Adventure
Source: %name-%version.tar
Patch0: %name-2.2.6-alt-make.patch
Patch1:         %name-%version-alt-exit.patch
URL: http://t-o-m-e.net/

# Automatically added by buildreq on Mon May 05 2008

BuildRequires: libX11-devel libncurses-devel

%description
ToME is a popular descendant of Moria/Angband. ToME has many unique features
that set it apart from other Angband/Moria descendants, with a nice mix of
races/classes available.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
cd src
make -f makefile.std COPTS="$RPM_OPT_FLAGS" \
DEFINES="-DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK" \
LIBS="-lX11 -lncurses" \
LIBDIR=%varpath

%install
cd src
make -f makefile.std install DESTDIR="$RPM_BUILD_ROOT" \
BINDIR=%_bindir \
LIBDIR=%varpath
find $RPM_BUILD_ROOT -name delete.me -exec rm -f '{}' ';'
touch $RPM_BUILD_ROOT%varpath/apex/scores.raw

# remove bundled font (see ALT 25530)

rm -f %buildroot%_localstatedir/tome/xtra/font/VeraMono.ttf

%preun
if [ -d %varpath/data/ ]; then
rm -rf %varpath/data/*
fi

%files
%doc changes.txt
%dir %varpath
%attr(02711,games,games) %_bindir/%name
%attr(0775,games,games) %dir %varpath/apex/
%attr(0664,games,games) %config(noreplace) %varpath/apex/*
%attr(0070,games,games) %varpath/bone/
%attr(0755,games,games) %varpath/cmov/
%attr(0755,games,games) %varpath/core/
%attr(0775,games,games) %varpath/data/
%attr(0755,games,games) %varpath/dngn/
%attr(0755,games,games) %varpath/edit/
%attr(0755,games,games) %varpath/file/
%attr(0755,games,games) %varpath/help/
%attr(0755,games,games) %varpath/info/
%attr(0755,games,games) %varpath/mods/
%attr(0755,games,games) %varpath/note/
%attr(0755,games,games) %varpath/patch/
%attr(0755,games,games) %varpath/pref/
%attr(0070,games,games) %varpath/save/
%attr(0755,games,games) %varpath/scpt/
%attr(0775,games,games) %varpath/user/
%attr(0755,games,games) %varpath/xtra/
%varpath/module.lua

%changelog

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

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