diff --git a/ltris-1.0.17.tar.bz2 b/ltris-1.0.17.tar.bz2 deleted file mode 100644 index 2eebbb1..0000000 --- a/ltris-1.0.17.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:210d8ae3725559199558aa85b5887ffa297dd6041fa7e5963e96dd075424bbbb -size 777534 diff --git a/ltris-1.0.18.tar.bz2 b/ltris-1.0.18.tar.bz2 new file mode 100644 index 0000000..125a73a --- /dev/null +++ b/ltris-1.0.18.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c06f249b678847ccdaef1390027a79e076b060114fb69ca8cc073ad1197289d +size 777745 diff --git a/ltris-rpmlintrc b/ltris-rpmlintrc new file mode 100644 index 0000000..4766f6d --- /dev/null +++ b/ltris-rpmlintrc @@ -0,0 +1 @@ +setBadness('permissions-file-setuid-bit', 0) diff --git a/ltris.changes b/ltris.changes index 73884e7..f4af1c7 100644 --- a/ltris.changes +++ b/ltris.changes @@ -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 diff --git a/ltris.spec b/ltris.spec index 6e7bc83..456af32 100644 --- a/ltris.spec +++ b/ltris.spec @@ -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)