|
@@ -2,13 +2,14 @@
|
|
Summary: Tetlis game with multiplayer mode
|
|
Summary: Tetlis game with multiplayer mode
|
|
Summary(ja): 対戦型テトリス
|
|
Summary(ja): 対戦型テトリス
|
|
Name: ltris
|
|
Name: ltris
|
|
-Version: 1.0.17
|
|
+Version: 1.0.18
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source0: %{name}-%{version}.tar.gz
|
|
-License: GNU General Public License
|
|
+License: GPL
|
|
Group: Applications/Games
|
|
Group: Applications/Games
|
|
URL: http://lgames.sourceforge.net/
|
|
URL: http://lgames.sourceforge.net/
|
|
|
|
|
|
|
|
+Requires(post,postun): desktop-file-utils
|
|
Requires: SDL
|
|
Requires: SDL
|
|
Requires: SDL_mixer
|
|
Requires: SDL_mixer
|
|
BuildRequires: SDL-devel
|
|
BuildRequires: SDL-devel
|
|
@@ -36,7 +37,9 @@ Demo you can watch your CPU playing while enjoying a cup of tea!
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --prefix=%{_prefix}
|
|
+%configure --prefix=%{_prefix} \
|
|
|
|
+ --localstatedir=%{_localstatedir}/games \
|
|
|
|
+ ;
|
|
%__make
|
|
%__make
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -48,6 +51,20 @@ Demo you can watch your CPU playing while enjoying a cup of tea!
|
|
%clean
|
|
%clean
|
|
%__rm -rf ${RPM_BUILD_ROOT}
|
|
%__rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
+%post
|
|
|
|
+# touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
+# if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
|
+# %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
|
|
|
+# fi
|
|
|
|
+%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || :
|
|
|
|
+
|
|
|
|
+%postun
|
|
|
|
+%{_bindir}/update-desktop-database --quiet %{_datadir}/applications
|
|
|
|
+# touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
+# if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
|
+# %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
|
|
|
+# fi || :
|
|
|
|
+
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -58,10 +75,16 @@ Demo you can watch your CPU playing while enjoying a cup of tea!
|
|
%{_datadir}/%{name}/figures
|
|
%{_datadir}/%{name}/figures
|
|
%{_datadir}/%{name}/gfx
|
|
%{_datadir}/%{name}/gfx
|
|
%{_datadir}/%{name}/sounds
|
|
%{_datadir}/%{name}/sounds
|
|
-%ghost %{_var}/ltris.hscr
|
|
+%ghost %{_localstatedir}/games/ltris.hscr
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Feb 13 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.18-1
|
|
|
|
+- new upstream release
|
|
|
|
+- fixed License tag
|
|
|
|
+- added Requires(post,postun): desktop-file-utils
|
|
|
|
+- moved game score file to /var/games
|
|
|
|
+
|
|
* Sun Aug 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.17-1
|
|
* Sun Aug 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.17-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|