%define major 0 %define libname %mklibname %{name} %{major} %define develname %mklibname %{name} -d Name: love Version: 0.9.2 Release: %mkrel 1 Summary: A free 2D game engine which enables easy game creation in Lua Group: Development/Other # All is licensed as zlib with one exception: # SOURCE/platform/unix/ltmain.sh is public domain License: zlib and Public domain Url: http://love2d.org/ Source0: https://bitbucket.org/rude/love/downloads/%{name}-%{version}-linux-src.tar.gz BuildRequires: physfs-devel BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(IL) BuildRequires: pkgconfig(libgme) BuildRequires: pkgconfig(libmodplug) BuildRequires: pkgconfig(libmpg123) BuildRequires: pkgconfig(luajit) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(vorbisfile) Requires: %{libname} = %{version}-%{release} %description LÃVE is an open source, cross platform 2D game engine which uses the Lua scripting language. LÃVE can be used to make games of any license allowing it to be used for both free and non-free projects. %files %{_gamesbindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/mime/packages/%{name}.xml %{_datadir}/pixmaps/%{name}.svg %{_iconsdir}/hicolor/scalable/mimetypes/application-x-%{name}-game.svg %{_mandir}/man1/%{name}.1.xz #---------------------------------------------------------------------------- %package -n %{libname} Summary: Shared library for LÃVE, a free 2D game engine Group: System/Libraries %description -n %{libname} LÃVE is an open source, cross platform 2D game engine which uses the Lua scripting language. LÃVE can be used to make games of any license allowing it to be used for both free and non-free projects. This package includes LÃVE's shared library. %files -n %{libname} %{_libdir}/lib%{name}.so.%{major}* #---------------------------------------------------------------------------- %prep %setup -q %build %configure2_5x --bindir=%{_gamesbindir} \ --enable-gme \ --disable-static %make %install %makeinstall_std find %{buildroot} -name '*.la' -delete rm -f %{buildroot}%{_libdir}/lib%{name}.so %changelog * Tue Feb 24 2015 akien <akien> 0.9.2-1.mga5 + Revision: 816807 - Version 0.9.2 - Drop practically empty -devel subpackage * Wed Oct 15 2014 umeabot <umeabot> 0.9.1-4.mga5 + Revision: 740084 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.9.1-3.mga5 + Revision: 682000 - Mageia 5 Mass Rebuild * Mon Apr 28 2014 akien <akien> 0.9.1-2.mga5 + Revision: 618741 - Split devel library from main library package - Enable GME support * Fri Apr 25 2014 akien <akien> 0.9.1-1.mga5 + Revision: 618055 - New version 0.9.1 * Fri Mar 21 2014 akien <akien> 0.9.0-2.mga5 + Revision: 606439 - Main package requires %%libname * Fri Mar 21 2014 akien <akien> 0.9.0-1.mga5 + Revision: 606432 - imported package love