source: projects/specs/trunk/l/ltris/ltris-vl.spec @ 9984

Revision 9984, 3.4 KB checked in by munepi, 8 years ago (diff)

new upstream release

Line 
1## -*- coding: utf-8-unix -*-
2Summary:        Tetlis game with multiplayer mode
3Summary(ja):    対戦型テトリス
4Name:           ltris
5Version:        1.0.19
6Release:        1%{?_dist_release}
7Source0:        %{name}-%{version}.tar.gz
8License:        GPL
9Group:          Applications/Games
10URL:            http://lgames.sourceforge.net/
11
12Requires(post,postun): desktop-file-utils
13Requires:       SDL
14Requires:       SDL_mixer
15BuildRequires:  SDL-devel
16BuildRequires:  SDL_mixer-devel
17
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19
20Packager:       munepi
21
22%description
23LTris as a tetris clone: differently shaped blocks are falling down the
24rectangular playing field and can be moved sideways or rotated by 90 degree
25units 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
27game modes: In Classic you play until the stack of blocks reaches the top
28of the playing field and no new blocks can enter. In Figures the playing
29field is reset to a new figure each level and later on tiles and lines
30suddenly appear. In Multiplayer up to three players (either human or CPU)
31compete with each other sending removed lines to all opponents. And in
32Demo you can watch your CPU playing while enjoying a cup of tea!
33
34%prep
35%__rm -rf ${RPM_BUILD_ROOT}
36
37%setup -q
38
39%build
40%configure --prefix=%{_prefix} \
41           --localstatedir=%{_localstatedir}/games \
42           ;
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
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 || :
60
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
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
78%ghost %{_localstatedir}/games/ltris.hscr
79
80
81%changelog
82* Sun Jan 24 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.19-1
83- new upstream release
84
85* Mon Feb 13 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.18-1
86- new upstream release
87- fixed License tag
88- added Requires(post,postun): desktop-file-utils
89- moved game score file to /var/games
90
91* Sun Aug 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.17-1
92- new upstream release
93
94* Tue Mar 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.16-1
95- new upstream release
96
97* Mon Jan 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.15-1
98- new upstream release
99
100* Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.14-1
101- new upstream release
102
103* Fri Oct 03 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.11-1vl5
104- applied new versioning policy, spec in utf-8
105
106* Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.0.11-0vl2
107- rebuild for VineSeed
108
109* Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.0.11-0vl1
110- initial build for Vine Linux
111
112# * Thu Oct 6 2005 1.0.11-0vl1
113# - initial build for Vine Linux
114
115# * Mon May 9 2005 1.0.10-0vl1
116# - initial build for Vine Linux
117
118# end of file
Note: See TracBrowser for help on using the repository browser.