[521] | 1 | ## -*- coding: utf-8-unix -*- |
---|
| 2 | Summary: Tetlis game with multiplayer mode |
---|
| 3 | Summary(ja): 対戦型テトリス |
---|
| 4 | Name: ltris |
---|
[5631] | 5 | Version: 1.0.18 |
---|
[521] | 6 | Release: 1%{?_dist_release} |
---|
| 7 | Source0: %{name}-%{version}.tar.gz |
---|
[5631] | 8 | License: GPL |
---|
[521] | 9 | Group: Applications/Games |
---|
| 10 | URL: http://lgames.sourceforge.net/ |
---|
| 11 | |
---|
[5631] | 12 | Requires(post,postun): desktop-file-utils |
---|
[521] | 13 | Requires: SDL |
---|
| 14 | Requires: SDL_mixer |
---|
| 15 | BuildRequires: SDL-devel |
---|
| 16 | BuildRequires: SDL_mixer-devel |
---|
| 17 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | |
---|
| 20 | Packager: munepi |
---|
| 21 | |
---|
| 22 | %description |
---|
[2434] | 23 | LTris as a tetris clone: differently shaped blocks are falling down the |
---|
| 24 | rectangular playing field and can be moved sideways or rotated by 90 degree |
---|
| 25 | units with the aim of building lines without gaps which then disappear |
---|
| 26 | (causing any block above the deleted line to fall down). LTris has three |
---|
| 27 | game modes: In Classic you play until the stack of blocks reaches the top |
---|
| 28 | of the playing field and no new blocks can enter. In Figures the playing |
---|
| 29 | field is reset to a new figure each level and later on tiles and lines |
---|
| 30 | suddenly appear. In Multiplayer up to three players (either human or CPU) |
---|
| 31 | compete with each other sending removed lines to all opponents. And in |
---|
| 32 | Demo you can watch your CPU playing while enjoying a cup of tea! |
---|
[521] | 33 | |
---|
| 34 | %prep |
---|
| 35 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 36 | |
---|
| 37 | %setup -q |
---|
| 38 | |
---|
| 39 | %build |
---|
[5631] | 40 | %configure --prefix=%{_prefix} \ |
---|
| 41 | --localstatedir=%{_localstatedir}/games \ |
---|
| 42 | ; |
---|
[521] | 43 | %__make |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 47 | %__make DESTDIR=${RPM_BUILD_ROOT} install |
---|
| 48 | |
---|
| 49 | %find_lang %{name} |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 53 | |
---|
[5631] | 54 | %post |
---|
| 55 | # touch --no-create %{_datadir}/icons/hicolor |
---|
| 56 | # if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 57 | # %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
| 58 | # fi |
---|
| 59 | %{_bindir}/update-desktop-database --quiet %{_datadir}/applications || : |
---|
[521] | 60 | |
---|
[5631] | 61 | %postun |
---|
| 62 | %{_bindir}/update-desktop-database --quiet %{_datadir}/applications |
---|
| 63 | # touch --no-create %{_datadir}/icons/hicolor |
---|
| 64 | # if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 65 | # %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
| 66 | # fi || : |
---|
| 67 | |
---|
| 68 | |
---|
[521] | 69 | %files -f %{name}.lang |
---|
| 70 | %defattr(-,root,root) |
---|
| 71 | %doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO |
---|
| 72 | %{_bindir}/ltris |
---|
| 73 | %{_datadir}/applications/ltris.desktop |
---|
| 74 | %{_datadir}/icons/ltris48.gif |
---|
| 75 | %{_datadir}/%{name}/figures |
---|
| 76 | %{_datadir}/%{name}/gfx |
---|
| 77 | %{_datadir}/%{name}/sounds |
---|
[5631] | 78 | %ghost %{_localstatedir}/games/ltris.hscr |
---|
[521] | 79 | |
---|
| 80 | |
---|
| 81 | %changelog |
---|
[5631] | 82 | * Mon Feb 13 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.18-1 |
---|
| 83 | - new upstream release |
---|
| 84 | - fixed License tag |
---|
| 85 | - added Requires(post,postun): desktop-file-utils |
---|
| 86 | - moved game score file to /var/games |
---|
| 87 | |
---|
[4680] | 88 | * Sun Aug 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.17-1 |
---|
| 89 | - new upstream release |
---|
| 90 | |
---|
[3200] | 91 | * Tue Mar 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.16-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
[2434] | 94 | * Mon Jan 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.15-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[521] | 97 | * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.14-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
| 100 | * Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.11-1vl5 |
---|
| 101 | - applied new versioning policy, spec in utf-8 |
---|
| 102 | |
---|
| 103 | * Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.0.11-0vl2 |
---|
| 104 | - rebuild for VineSeed |
---|
| 105 | |
---|
| 106 | * Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.0.11-0vl1 |
---|
| 107 | - initial build for Vine Linux |
---|
| 108 | |
---|
| 109 | # * Thu Oct 6 2005 1.0.11-0vl1 |
---|
| 110 | # - initial build for Vine Linux |
---|
| 111 | |
---|
| 112 | # * Mon May 9 2005 1.0.10-0vl1 |
---|
| 113 | # - initial build for Vine Linux |
---|
| 114 | |
---|
| 115 | # end of file |
---|