Matthias Mailänder 2013-12-26 19:13:27 +00:00 committed by Git OBS Bridge
parent c8d04b844f
commit 6441fa5a9f
4 changed files with 24 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f316ed7269c49b513468099411f959b4e915670c6c300bd016cd723e4a9922f
size 1393180

View File

@ -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

View File

@ -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 <nmarques@opensuse.org>
#
# 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

3
fife_0.3.5.tar.gz Normal file
View File

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