%define libpath /usr/lib/angband %define varpath /var/lib/angband Name: angband Version: 3.3.2 Release: alt1 Summary: Angband is a "graphical" dungeon adventure game License: Moria/Angband license Group: Games/Adventure Url: http://rephial.org Source: %name-v%version.tar.gz Source1: %name-graf.tar.bz2 Source2: graf-32x32-304.tar.bz2 Packager: Michael Shigorin Summary(ru_RU.KOI8-R): Angband - приключенческая игра. # Automatically added by buildreq on Mon Feb 11 2008 BuildRequires: imake libSDL-devel libSDL_mixer-devel libSM-devel libX11-devel libncurses-devel xorg-cf-files %description Angband is a "graphical" dungeon adventure game using textual characters to represent the walls and floors of a dungeon and the inhabitants therein, in the vein of "rogue", "hack", "nethack" and "moria". %description -l ru_RU.KOI8-R Angband - приключенческая игра. Для изображения стен подземелья, а также его обитателей используются алфавитно-цифровые символы, доступные на любом терминале. Игра является прямым потомком игры moria. %prep %setup -a1 -a2 -n %name-v%version %build %configure \ --enable-x11 \ --enable-curses \ --enable-sdl \ --with-libpath=%libpath \ --with-configpath=%libpath %make_build %install mkdir -p $RPM_BUILD_ROOT%_bindir mkdir -p $RPM_BUILD_ROOT%varpath/{apex,bone,data,save} mkdir -p $RPM_BUILD_ROOT%libpath/{edit,file,help,info,pref,xtra/{font,graf,sound}} cp src/angband $RPM_BUILD_ROOT%_bindir cp lib/edit/*.txt $RPM_BUILD_ROOT%libpath/edit/ cp lib/file/*.txt $RPM_BUILD_ROOT%libpath/file/ cp lib/help/*.{txt,hlp} $RPM_BUILD_ROOT%libpath/help/ cp lib/pref/*.prf $RPM_BUILD_ROOT%libpath/pref/ cp lib/xtra/font/*.fon $RPM_BUILD_ROOT%libpath/xtra/font/ cp lib/xtra/graf/*.png $RPM_BUILD_ROOT%libpath/xtra/graf/ cp lib/xtra/sound/*.{wav,cfg} $RPM_BUILD_ROOT%libpath/xtra/sound/ cp angband-graf/*.bmp $RPM_BUILD_ROOT%libpath/xtra/graf/ cp {mask32,32x32}.bmp $RPM_BUILD_ROOT%libpath/xtra/graf touch $RPM_BUILD_ROOT%varpath/apex/scores.raw mkdir -p %buildroot%_desktopdir cat > %buildroot%_desktopdir/%name.desktop < 3.3.2-alt1 - 3.3.2 - adopted an orphan - enabled SDL frontend * Tue Apr 12 2011 Igor Vlasenko 3.1.1-alt1.qa2 - NMU: added ru comment in .desktop * Mon Apr 11 2011 Igor Vlasenko 3.1.1-alt1.qa1 - NMU: converted menu to desktop file * Sun Oct 03 2009 Alexey Voinov 3.1.1-alt1 - new version 3.1.1.1626 - /usr/games -> /usr - update_menus removed * Mon Feb 11 2008 Alexey Voinov 3.0.9-alt1 - new version (3.0.9) - make install totally broken, install by hand - vns4 patch replaced with quick&dirty hack, that just works - unused world-writable 'user' directory removed (#7991) - url updated - buildreqs updated - russian description fixed (#11855) * Mon May 29 2006 Alexey Voinov 3.0.6-alt2 - buildreq updated * Sun Jul 24 2005 Alexey Voinov 3.0.6-alt1 - new version (3.0.6) - vns patch updated * Fri Oct 22 2004 Alexey Voinov 3.0.5-alt1 - new version (3.0.5) - vns patch updated * Sun Mar 07 2004 Alexey Voinov 3.0.4-alt1 - new version (3.0.4) - 32x32 tiles updated - vns patch updated * Thu Oct 09 2003 Alexey Voinov 3.0.3-alt3 - buildreqs fixed (fixes bug #3088) * Sat Sep 13 2003 Alexey Voinov 3.0.3-alt2 - now builds with hasher. * Tue Feb 25 2003 Alexey Voinov 3.0.3-alt1 - new version (3.0.3) - new tiles 32x32 packaged - menu entry changed to startangband with new tiles. * Tue Jan 21 2003 Stanislav Ievlev 3.0.1-alt2 - made buildable. * Wed Oct 23 2002 Alexey Voinov 3.0.1-alt1 - new version(3.0.1) - vns3 patch updated - url updated * Fri Aug 09 2002 Stanislav Ievlev 3.0.0-alt1.1 - fixed suid/sgid file permissions * Mon Jun 10 2002 Alexey Voinov 3.0.0-alt1 - new version(3.0.0) - .vns3 patch updated * Mon Jan 07 2002 Alexey Voinov 2.9.3-alt4 - directories rearranged (no more writes to /usr) - remove data directory when uninstall - remove directories from old install (data,save,apex) - copy old savefiles into new location - description and Summary updated and translated * Mon Sep 17 2001 Alexey Voinov 2.9.3-alt3 - 2 bugfixes applied - little spec cleanup - menu fixed * Thu Sep 13 2001 Alexey Voinov 2.9.3-alt2 - menu file added * Fri Aug 17 2001 Alexey Voinov 2.9.3-alt1 - new version * Sun Mar 13 2001 Alexey Voinov - initial build