Accepting request 173126 from home:worldcitizen:branches:games
Added missing BuildRequires for openSUSE > 12.3 OBS-URL: https://build.opensuse.org/request/show/173126 OBS-URL: https://build.opensuse.org/package/show/games/fife?expand=0&rev=9
This commit is contained in:
parent
18e25a0013
commit
c8d04b844f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 24 07:25:36 UTC 2013 - joop.boonen@opensuse.org
|
||||||
|
|
||||||
|
- Added missing BuildRequires for openSUSE > 12.3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 6 14:21:33 UTC 2013 - gryffus@hkfree.org
|
Wed Mar 6 14:21:33 UTC 2013 - gryffus@hkfree.org
|
||||||
|
|
||||||
|
22
fife.spec
22
fife.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package fife
|
# spec file for package fife
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) Nelson Marques <nmarques@opensuse.org>
|
# Copyright (c) Nelson Marques <nmarques@opensuse.org>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -18,19 +18,17 @@
|
|||||||
|
|
||||||
|
|
||||||
%define _soname 0
|
%define _soname 0
|
||||||
|
|
||||||
Name: fife
|
Name: fife
|
||||||
%define _name libfife%{_soname}
|
%define _name libfife%{_soname}
|
||||||
Version: 0.3.4
|
Version: 0.3.4
|
||||||
Release: 1
|
Release: 0
|
||||||
License: LGPL-2.0+
|
|
||||||
Summary: A powerful 2D game engine
|
Summary: A powerful 2D game engine
|
||||||
Url: http://www.fifengine.de
|
License: LGPL-2.0+
|
||||||
Group: Amusements/Games/Other
|
Group: Amusements/Games/Other
|
||||||
|
Url: http://www.fifengine.de
|
||||||
Source: http://netcologne.dl.sourceforge.net/project/fife/active/src/%{name}-%{version}.tar.gz
|
Source: http://netcologne.dl.sourceforge.net/project/fife/active/src/%{name}-%{version}.tar.gz
|
||||||
# Update license
|
# Update license
|
||||||
Source99: http://www.gnu.org/licenses/lgpl-2.0.txt
|
Source99: http://www.gnu.org/licenses/lgpl-2.0.txt
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: freeglut-devel
|
BuildRequires: freeglut-devel
|
||||||
@ -46,7 +44,6 @@ BuildRequires: pkgconfig(python)
|
|||||||
BuildRequires: pkgconfig(sdl)
|
BuildRequires: pkgconfig(sdl)
|
||||||
BuildRequires: pkgconfig(vorbis)
|
BuildRequires: pkgconfig(vorbis)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: libSDL_image-devel
|
BuildRequires: libSDL_image-devel
|
||||||
BuildRequires: libSDL_ttf-devel
|
BuildRequires: libSDL_ttf-devel
|
||||||
@ -59,6 +56,10 @@ BuildRequires: guichan-devel
|
|||||||
BuildRequires: libXcursor-devel
|
BuildRequires: libXcursor-devel
|
||||||
BuildRequires: openal-soft-devel
|
BuildRequires: openal-soft-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1230
|
||||||
|
BuildRequires: libXcursor-devel
|
||||||
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
FIFE stands for Flexible Isometric Free Engine and is a cross platform
|
FIFE stands for Flexible Isometric Free Engine and is a cross platform
|
||||||
@ -74,7 +75,6 @@ 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 creation framework. It provides you with the ability to create a
|
||||||
game using Python interfaces.
|
game using Python interfaces.
|
||||||
|
|
||||||
|
|
||||||
%package -n python-%{name}
|
%package -n python-%{name}
|
||||||
Summary: Python extensions for the fife engine
|
Summary: Python extensions for the fife engine
|
||||||
Group: Amusements/Games/Other
|
Group: Amusements/Games/Other
|
||||||
@ -85,7 +85,6 @@ 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 creation framework. It provides you with the ability to create a
|
||||||
game using Python interfaces.
|
game using Python interfaces.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name} engine
|
Summary: Development files for %{name} engine
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
@ -97,12 +96,11 @@ 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 creation framework. It provides you with the ability to create a
|
||||||
game using Python interfaces.
|
game using Python interfaces.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
# Update licence
|
# Update licence
|
||||||
rm COPYING
|
rm COPYING
|
||||||
cp %{S:99} COPYING
|
cp %{SOURCE99} COPYING
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# empty
|
# empty
|
||||||
@ -116,12 +114,10 @@ scons \
|
|||||||
--python-prefix=%{python_sitearch} \
|
--python-prefix=%{python_sitearch} \
|
||||||
--lib-dir=%{_lib} \
|
--lib-dir=%{_lib} \
|
||||||
install-all
|
install-all
|
||||||
|
|
||||||
pushd %{buildroot}%{_libdir}
|
pushd %{buildroot}%{_libdir}
|
||||||
ln -s libfife.so.%{version} libfife.so.0
|
ln -s libfife.so.%{version} libfife.so.0
|
||||||
ln -s libfife.so.%{version} libfife.so
|
ln -s libfife.so.%{version} libfife.so
|
||||||
popd
|
popd
|
||||||
|
|
||||||
find %{buildroot} -name '*.so.*' -print -type f -print -exec chrpath --delete {} \;
|
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}%{python_sitearch} -name '*.so' -type f -print -exec chrpath --delete {} \;
|
||||||
find %{buildroot}%{_libdir} -name '*.a' -type f -delete -print
|
find %{buildroot}%{_libdir} -name '*.a' -type f -delete -print
|
||||||
|
Loading…
x
Reference in New Issue
Block a user