2013-02-17 15:18:52 +01:00
|
|
|
#
|
2015-01-20 21:17:32 +01:00
|
|
|
# spec file for package love-0_7_2
|
2013-02-17 15:18:52 +01:00
|
|
|
#
|
2019-01-03 02:24:18 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-02-17 15:18:52 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-03 02:24:18 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-02-17 15:18:52 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: love-0_7_2
|
|
|
|
Version: 0.7.2
|
|
|
|
Release: 0
|
|
|
|
Summary: 2D gaming engine written in Lua
|
|
|
|
License: Zlib
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Url: http://love2d.org/
|
2015-01-20 21:17:32 +01:00
|
|
|
|
2013-02-17 15:18:52 +01:00
|
|
|
Source: https://bitbucket.org/rude/love/downloads/love-0.7.2-linux-src.tar.gz
|
2015-01-20 21:17:32 +01:00
|
|
|
Patch1: love-modplug.patch
|
2017-08-29 01:37:11 +02:00
|
|
|
Patch2: system-packages.diff
|
2013-02-17 15:18:52 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libmng-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: physfs-devel
|
2015-01-20 21:17:32 +01:00
|
|
|
BuildRequires: pkg-config
|
2013-02-17 15:18:52 +01:00
|
|
|
BuildRequires: pkgconfig(IL)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(gl)
|
2015-01-20 21:17:32 +01:00
|
|
|
BuildRequires: pkgconfig(glu)
|
2013-02-17 15:18:52 +01:00
|
|
|
BuildRequires: pkgconfig(libmodplug)
|
2017-08-29 01:37:11 +02:00
|
|
|
BuildRequires: pkgconfig(libmpg123)
|
2017-08-29 01:30:49 +02:00
|
|
|
BuildRequires: pkgconfig(lua5.1)
|
2013-02-17 15:18:52 +01:00
|
|
|
BuildRequires: pkgconfig(openal)
|
|
|
|
BuildRequires: pkgconfig(sdl)
|
|
|
|
BuildRequires: pkgconfig(vorbisfile)
|
|
|
|
|
|
|
|
%description
|
|
|
|
LÖVE is a framework for making 2D games in Lua.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -qn love-HEAD
|
2017-08-29 01:37:11 +02:00
|
|
|
%patch -P 1 -P 2 -p1
|
2013-02-17 15:18:52 +01:00
|
|
|
|
|
|
|
%build
|
2015-01-20 21:17:32 +01:00
|
|
|
sed -i 's/\r$//' *.txt
|
|
|
|
mv configure.{in,ac}
|
2013-02-17 15:18:52 +01:00
|
|
|
autoreconf -fi
|
2019-01-03 02:24:18 +01:00
|
|
|
export CPPFLAGS="-DGL_GLEXT_PROTOTYPES"
|
2017-08-29 01:30:49 +02:00
|
|
|
%configure
|
2013-02-17 15:18:52 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
b="%buildroot";
|
|
|
|
make install DESTDIR="$b"
|
|
|
|
mv "$b/%_bindir"/love{,-0.7.2}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc changes.txt license.txt readme.txt
|
|
|
|
%_bindir/love-0.7.2
|
|
|
|
|
|
|
|
%changelog
|