From 6441fa5a9f9fa4453aeb4ccfefb2c4078e62edc79de32401607aa06b6ff1e868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Thu, 26 Dec 2013 19:13:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/games/fife?expand=0&rev=11 --- fife-0.3.4.tar.gz | 3 --- fife.changes | 6 ++++-- fife.spec | 30 +++++++++++++++++------------- fife_0.3.5.tar.gz | 3 +++ 4 files changed, 24 insertions(+), 18 deletions(-) delete mode 100644 fife-0.3.4.tar.gz create mode 100644 fife_0.3.5.tar.gz diff --git a/fife-0.3.4.tar.gz b/fife-0.3.4.tar.gz deleted file mode 100644 index 51827e3..0000000 --- a/fife-0.3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f316ed7269c49b513468099411f959b4e915670c6c300bd016cd723e4a9922f -size 1393180 diff --git a/fife.changes b/fife.changes index ba6f87d..6a9c12d 100644 --- a/fife.changes +++ b/fife.changes @@ -1,7 +1,9 @@ ------------------------------------------------------------------- -Wed Apr 24 07:25:36 UTC 2013 - joop.boonen@opensuse.org +Wed Dec 18 22:54:05 CET 2013 - manuel-uh@mausz.at -- Added missing BuildRequires for openSUSE > 12.3 +- Update to version 0.3.5 + + Changelog available in the 'CHANGES' file in documentation. +- Add libXcursor-devel to BuildRequires. ------------------------------------------------------------------- Wed Mar 6 14:21:33 UTC 2013 - gryffus@hkfree.org diff --git a/fife.spec b/fife.spec index 482d66e..bec63ed 100644 --- a/fife.spec +++ b/fife.spec @@ -1,7 +1,7 @@ # # spec file for package fife # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) Nelson Marques # # All modifications and additions to the file contributed by third parties @@ -18,17 +18,19 @@ %define _soname 0 + Name: fife %define _name libfife%{_soname} -Version: 0.3.4 -Release: 0 -Summary: A powerful 2D game engine +Version: 0.3.5 +Release: 1 License: LGPL-2.0+ -Group: Amusements/Games/Other +Summary: A powerful 2D game engine Url: http://www.fifengine.de -Source: http://netcologne.dl.sourceforge.net/project/fife/active/src/%{name}-%{version}.tar.gz +Group: Amusements/Games/Other +Source: http://netcologne.dl.sourceforge.net/project/fife/active/src/%{name}_%{version}.tar.gz # Update license Source99: http://www.gnu.org/licenses/lgpl-2.0.txt +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: boost-devel BuildRequires: chrpath BuildRequires: freeglut-devel @@ -44,6 +46,8 @@ BuildRequires: pkgconfig(python) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(zlib) +BuildRequires: libXcursor-devel + %if 0%{?suse_version} BuildRequires: libSDL_image-devel BuildRequires: libSDL_ttf-devel @@ -53,13 +57,8 @@ BuildRequires: pkgconfig(openal) BuildRequires: SDL_image-devel BuildRequires: SDL_ttf-devel BuildRequires: guichan-devel -BuildRequires: libXcursor-devel BuildRequires: openal-soft-devel %endif -%if 0%{?suse_version} > 1230 -BuildRequires: libXcursor-devel -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description FIFE stands for Flexible Isometric Free Engine and is a cross platform @@ -75,6 +74,7 @@ FIFE stands for Flexible Isometric Free Engine and is a cross platform game creation framework. It provides you with the ability to create a game using Python interfaces. + %package -n python-%{name} Summary: Python extensions for the fife engine Group: Amusements/Games/Other @@ -85,6 +85,7 @@ FIFE stands for Flexible Isometric Free Engine and is a cross platform game creation framework. It provides you with the ability to create a game using Python interfaces. + %package devel Summary: Development files for %{name} engine Group: Development/Libraries/Other @@ -96,11 +97,12 @@ FIFE stands for Flexible Isometric Free Engine and is a cross platform game creation framework. It provides you with the ability to create a game using Python interfaces. + %prep -%setup -q +%setup -q -n %{name}_%{version} # Update licence rm COPYING -cp %{SOURCE99} COPYING +cp %{S:99} COPYING %build # empty @@ -114,10 +116,12 @@ scons \ --python-prefix=%{python_sitearch} \ --lib-dir=%{_lib} \ install-all + pushd %{buildroot}%{_libdir} ln -s libfife.so.%{version} libfife.so.0 ln -s libfife.so.%{version} libfife.so popd + find %{buildroot} -name '*.so.*' -print -type f -print -exec chrpath --delete {} \; find %{buildroot}%{python_sitearch} -name '*.so' -type f -print -exec chrpath --delete {} \; find %{buildroot}%{_libdir} -name '*.a' -type f -delete -print diff --git a/fife_0.3.5.tar.gz b/fife_0.3.5.tar.gz new file mode 100644 index 0000000..0ee756b --- /dev/null +++ b/fife_0.3.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d3c7a19d05ae426af6ccd50a8ba79a71eb6e6f18f0226d1abdaeae7fcf9d3a8 +size 1383813