- update to 1.0.18:

* adds an option to configure vertical speed for moving blocks down by key,
    as they drop too quickly on fast computers

OBS-URL: https://build.opensuse.org/package/show/games/ltris?expand=0&rev=9
This commit is contained in:
Pascal Bleser 2011-10-31 10:27:30 +00:00 committed by Git OBS Bridge
parent 11344d3fc2
commit 353f3fc076
5 changed files with 41 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:210d8ae3725559199558aa85b5887ffa297dd6041fa7e5963e96dd075424bbbb
size 777534

3
ltris-1.0.18.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c06f249b678847ccdaef1390027a79e076b060114fb69ca8cc073ad1197289d
size 777745

1
ltris-rpmlintrc Normal file
View File

@ -0,0 +1 @@
setBadness('permissions-file-setuid-bit', 0)

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Oct 31 10:12:17 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.0.18:
* adds an option to configure vertical speed for moving blocks down by key,
as they drop too quickly on fast computers
-------------------------------------------------------------------
Thu Sep 01 05:11:41 UTC 2011 - pascal.bleser@opensuse.org

View File

@ -1,25 +1,39 @@
#
# spec file for package ltris (Version 1.0.17)
# spec file for package ltris
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ltris
BuildRequires: SDL_mixer-devel update-desktop-files
BuildRequires: SDL_mixer-devel
%if 0%{?suse_version}
BuildRequires: fdupes update-desktop-files
%endif
License: GPL v2 or later
Group: Amusements/Games/Logic
Summary: Tetris Clone with Multiplayer and CPU Opponents
Version: 1.0.17
Version: 1.0.18
Release: 1
Url: http://lgames.sourceforge.net/index.php?project=LTris
# http://prdownloads.sourceforge.net/lgames/ltris-%{version}.tar.gz
Source: ltris-%{version}.tar.bz2
Source1: %{name}.desktop
Source99: ltris-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: permissions
%description
LTris is a very polished Tetris clone. It is highly configurable due to
@ -32,7 +46,8 @@ controlled.
%setup -q
%build
#autoreconf -fiv
export CFLAGS="%{optflags} -fPIC -fPIE"
export CXXFLAGS="$CFLAGS"
%configure \
--datadir=%{_datadir}/games \
--bindir=%{_prefix}/games \
@ -49,14 +64,20 @@ mv $RPM_BUILD_ROOT%{_datadir}/games/locale $RPM_BUILD_ROOT%{_datadir}/locale
%__rm -rf "$RPM_BUILD_ROOT%{_datadir}/games/applications"
%__rm -rf "$RPM_BUILD_ROOT%{_datadir}/games/icons"
%if 0%{?suse_version}
%suse_update_desktop_file -i %{name} Game ArcadeGame
%endif
%find_lang %{name}
%if 0%{?suse_version}
%fdupes -s "%{buildroot}%{_datadir}/games/ltris"
%endif
%post
%run_permissions
%set_permissions %{_prefix}/games/ltris
%verifyscript
%verify_permissions
%verify_permissions -e %{_prefix}/games/ltris
%files -f %{name}.lang
%defattr(644,root,root,755)