|
Mystro256 |
2b95803 |
# Because of the LuaJIT requirements:
|
|
Mystro256 |
1e6e800 |
%ifarch %{arm} %{ix86} x86_64 %{mips} aarch64 ppc64le
|
|
Mystro256 |
2b95803 |
%global luadep luajit
|
|
Mystro256 |
2b95803 |
%else
|
|
Mystro256 |
2b95803 |
%global luadep lua
|
|
Mystro256 |
2b95803 |
%endif
|
|
Mystro256 |
2b95803 |
|
|
Mystro256 |
1e6e800 |
#LuaJIT on ppc64le was not supported until F31
|
|
Mystro256 |
1e6e800 |
%if 0%{?fedora} < 31
|
|
Mystro256 |
1e6e800 |
%ifarch ppc64le
|
|
Mystro256 |
1e6e800 |
%global luadep lua
|
|
Mystro256 |
1e6e800 |
%endif
|
|
Mystro256 |
1e6e800 |
%endif
|
|
Mystro256 |
1e6e800 |
|
|
Mystro256 |
f12b358 |
# Git commit tag, source folder name is rude-love-{gittag}
|
|
Mystro256 |
7a83dbc |
%global gittag 8c6f6a0ca1f0
|
|
Mystro256 |
f12b358 |
|
|
mystro256 |
29ba7aa |
Name: love
|
|
Mystro256 |
2a52b10 |
Version: 11.3
|
|
Mystro256 |
2a52b10 |
Release: 1%{?dist}
|
|
mystro256 |
29ba7aa |
Summary: A free 2D game engine which enables easy game creation in Lua
|
|
mystro256 |
29ba7aa |
|
|
mystro256 |
29ba7aa |
#All is licensed as zlib with one exception:
|
|
mystro256 |
29ba7aa |
#SOURCE/platform/unix/ltmain.sh is public domain
|
|
mystro256 |
29ba7aa |
License: zlib and Public Domain
|
|
mystro256 |
29ba7aa |
URL: http://love2d.org
|
|
Mystro256 |
f12b358 |
Source0: https://bitbucket.org/rude/%{name}/get/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Mystro256 |
4dcc288 |
|
|
|
3f711b7 |
BuildRequires: desktop-file-utils
|
|
|
3f711b7 |
BuildRequires: freetype-devel
|
|
|
3f711b7 |
BuildRequires: mesa-libGL
|
|
Mystro256 |
7e24b6f |
BuildRequires: mpg123-devel
|
|
mystro256 |
29ba7aa |
BuildRequires: libmodplug-devel
|
|
Jeremy Newton |
2b09ffe |
BuildRequires: libtheora-devel
|
|
mystro256 |
29ba7aa |
BuildRequires: libtool
|
|
|
3f711b7 |
BuildRequires: libvorbis-devel
|
|
Mystro256 |
2b95803 |
BuildRequires: %{luadep}-devel
|
|
|
3f711b7 |
BuildRequires: openal-soft-devel
|
|
|
3f711b7 |
BuildRequires: SDL2-devel
|
|
Jeremy Newton |
2b09ffe |
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
|
Jeremy Newton |
2b09ffe |
Requires: hicolor-icon-theme
|
|
Jeremy Newton |
2b09ffe |
|
|
Jeremy Newton |
2b09ffe |
#The following is bundled.
|
|
Jeremy Newton |
2b09ffe |
#Upstream will not unbundle this code as the
|
|
Jeremy Newton |
2b09ffe |
#code has been modified to work better with love
|
|
Jeremy Newton |
2b09ffe |
#As well, it's not clear if it would be worth unbundling
|
|
Jeremy Newton |
2b09ffe |
#See below for the correspondence:
|
|
Jeremy Newton |
2b09ffe |
#https://bitbucket.org/rude/love/issues/870/allow-for-shared-version-of-libraries
|
|
Jeremy Newton |
2b09ffe |
Provides: bundled(Box2D) = 2.3.0
|
|
Mystro256 |
d2dd495 |
Provides: bundled(enet) = 1.3.13
|
|
Mystro256 |
f12b358 |
#Luasocket 3.0 rc1:
|
|
Mystro256 |
f12b358 |
Provides: bundled(luasocket) = 3.0
|
|
Mystro256 |
f12b358 |
Provides: bundled(lz4) = 1.8.0
|
|
Mystro256 |
f12b358 |
Provides: bundled(physfs) = 3.0.1
|
|
Jeremy Newton |
2b09ffe |
|
|
Mystro256 |
ef02037 |
#Big endian systems are not yet supported by love 11+
|
|
Mystro256 |
ef02037 |
ExcludeArch: ppc ppc64 s390x
|
|
Mystro256 |
ef02037 |
|
|
mystro256 |
29ba7aa |
%description
|
|
mystro256 |
29ba7aa |
LOVE is an open source, cross platform 2D game engine which uses the
|
|
mystro256 |
29ba7aa |
Lua scripting language. LOVE can be used to make games of any license
|
|
mystro256 |
29ba7aa |
allowing it to be used for both free and non-free projects.
|
|
mystro256 |
29ba7aa |
|
|
alexjnewt@hotmail.com |
ec787b4 |
%package -n lib%{name}
|
|
alexjnewt@hotmail.com |
ec787b4 |
Summary: Library for Love, A free 2D game engine
|
|
alexjnewt@hotmail.com |
ec787b4 |
|
|
alexjnewt@hotmail.com |
ec787b4 |
%description -n lib%{name}
|
|
alexjnewt@hotmail.com |
ec787b4 |
This package includes the library files for LOVE.
|
|
alexjnewt@hotmail.com |
ec787b4 |
LOVE is an open source, cross platform 2D game engine which uses the
|
|
alexjnewt@hotmail.com |
ec787b4 |
Lua scripting language. LOVE can be used to make games of any license
|
|
alexjnewt@hotmail.com |
ec787b4 |
allowing it to be used for both free and non-free projects.
|
|
alexjnewt@hotmail.com |
ec787b4 |
|
|
mystro256 |
29ba7aa |
%prep
|
|
Mystro256 |
f12b358 |
%autosetup -p1 -n rude-%{name}-%{gittag}
|
|
mystro256 |
29ba7aa |
#Fixing line encoding:
|
|
Jeremy Newton |
2b09ffe |
sed -i 's/\r//' license.txt
|
|
mystro256 |
29ba7aa |
#Fixing permissions:
|
|
Mystro256 |
f12b358 |
chmod a-x src/libraries/*/*/*/*.* src/libraries/*/*.*
|
|
mystro256 |
29ba7aa |
|
|
mystro256 |
29ba7aa |
%build
|
|
alexjnewt@hotmail.com |
ea0fe1f |
platform/unix/automagic
|
|
Mystro256 |
7e24b6f |
%configure --prefix=/usr --with-lua=%{luadep} --enable-static=no
|
|
Mystro256 |
37e4041 |
%make_build
|
|
Mystro256 |
7e24b6f |
|
|
mystro256 |
29ba7aa |
%install
|
|
Mystro256 |
37e4041 |
%make_install
|
|
alexjnewt@hotmail.com |
ec787b4 |
#Check Desktop file
|
|
alexjnewt@hotmail.com |
ec787b4 |
desktop-file-validate \
|
|
alexjnewt@hotmail.com |
ec787b4 |
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
alexjnewt@hotmail.com |
ec787b4 |
#This seems to be built, despite disabling static libraries
|
|
alexjnewt@hotmail.com |
ec787b4 |
rm -f %{buildroot}%{_libdir}/lib%{name}.la
|
|
mystro256 |
29ba7aa |
|
|
|
f78a846 |
%ldconfig_scriptlets
|
|
|
66df4af |
|
|
|
f78a846 |
%ldconfig_scriptlets -n lib%{name}
|
|
alexjnewt@hotmail.com |
ec787b4 |
|
|
mystro256 |
29ba7aa |
%files
|
|
Mystro256 |
2bf9bd3 |
%doc changes.txt readme.md
|
|
Mystro256 |
2bf9bd3 |
%license license.txt
|
|
mystro256 |
29ba7aa |
%{_bindir}/%{name}
|
|
alexjnewt@hotmail.com |
ec787b4 |
%{_datadir}/pixmaps/%{name}.svg
|
|
alexjnewt@hotmail.com |
ec787b4 |
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-%{name}-game.svg
|
|
mystro256 |
29ba7aa |
%{_datadir}/applications/%{name}.desktop
|
|
mystro256 |
29ba7aa |
%{_datadir}/mime/packages/%{name}.xml
|
|
mystro256 |
2a1d966 |
%{_mandir}/man1/%{name}.*
|
|
alexjnewt@hotmail.com |
ec787b4 |
|
|
alexjnewt@hotmail.com |
ec787b4 |
%files -n lib%{name}
|
|
Mystro256 |
2bf9bd3 |
%doc changes.txt readme.md
|
|
Mystro256 |
2bf9bd3 |
%license license.txt
|
|
alexjnewt@hotmail.com |
ec787b4 |
#Note that liblove.so is just a symlink, so a devel package is useless
|
|
Mystro256 |
f12b358 |
%{_libdir}/lib%{name}*.so
|
|
Mystro256 |
6cb2777 |
|
|
mystro256 |
29ba7aa |
%changelog
|
|
Mystro256 |
2a52b10 |
* Wed Dec 11 2019 Jeremy Newton <alexjnewt AT hotmail DOT com> - 2.1.4-1
|
|
Mystro256 |
2a52b10 |
- Update to 11.3
|
|
Mystro256 |
2a52b10 |
|
|
|
d544eef |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11.2-2
|
|
|
d544eef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d544eef |
|
|
Mystro256 |
694cc68 |
* Thu Jan 31 2019 Jeremy Newton <alexjnewt AT hotmail DOT com> - 11.2-1
|
|
Mystro256 |
694cc68 |
- Update to 11.2
|
|
Mystro256 |
694cc68 |
|
|
|
eddcc1b |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 11.1-2
|
|
|
eddcc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
eddcc1b |
|
|
Mystro256 |
f12b358 |
* Thu May 03 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 11.1-1
|
|
Mystro256 |
f12b358 |
- Update to 11.1
|
|
Mystro256 |
f12b358 |
|
|
Mystro256 |
d2dd495 |
* Thu May 03 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.2-12
|
|
Mystro256 |
d2dd495 |
- Update bundle info
|
|
Mystro256 |
d2dd495 |
- Cleanup build requires
|
|
Mystro256 |
d2dd495 |
|
|
Mystro256 |
4dcc288 |
* Sat Mar 17 2018 Jeremy Newton <alexjnewt AT hotmail DOT com>
|
|
Mystro256 |
4dcc288 |
- Disable PPC64le for builds prior to f28
|
|
Mystro256 |
4dcc288 |
|
|
Mystro256 |
cb053e3 |
* Thu Mar 15 2018 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.2-11
|
|
Mystro256 |
62754d4 |
- Enable PPC64le
|
|
Mystro256 |
62754d4 |
|
|
|
20edc14 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-10
|
|
|
20edc14 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
20edc14 |
|
|
|
66df4af |
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.2-9
|
|
|
66df4af |
- Remove obsolete scriptlets
|
|
|
66df4af |
|
|
|
9798812 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-8
|
|
|
9798812 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
9798812 |
|
|
|
faafdae |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-7
|
|
|
faafdae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
faafdae |
|
|
Mystro256 |
496d719 |
* Tue May 30 2017 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.2-6
|
|
Mystro256 |
2af4dbd |
- Cherry-pick upstream luajit patch
|
|
Mystro256 |
2af4dbd |
|
|
|
a04f9db |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.2-5
|
|
|
a04f9db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
a04f9db |
|
|
|
e999e19 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-4
|
|
|
e999e19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e999e19 |
|
|
Mystro256 |
15abade |
* Sun Nov 13 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.2-3
|
|
Mystro256 |
15abade |
- Bump and build
|
|
Mystro256 |
15abade |
|
|
Mystro256 |
7e24b6f |
* Sat Nov 12 2016 Jeremy Newton <alexjnewt AT hotmail DOT com>
|
|
Mystro256 |
7e24b6f |
- Enable mp3 support
|
|
Mystro256 |
7e24b6f |
|
|
Mystro256 |
e2e7ed7 |
* Tue Nov 8 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.2-2
|
|
Mystro256 |
e2e7ed7 |
- Add mips and aarch64 as supported by luajit
|
|
Mystro256 |
ede5eaa |
- Excluding ppc64le as it's broken for now
|
|
Mystro256 |
e2e7ed7 |
|
|
Mystro256 |
2b95803 |
* Mon Nov 7 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.2-1
|
|
Mystro256 |
2b95803 |
- Update to new version
|
|
Mystro256 |
2b95803 |
- Use lua instead lua-git on unsupported platforms
|
|
Mystro256 |
2b95803 |
|
|
|
d2cfaf6 |
* Fri Sep 16 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.10.1-3
|
|
|
d2cfaf6 |
- LuaJIT on aarch64 for 2.1.0 and later
|
|
|
d2cfaf6 |
|
|
Igor Gnatenko |
a762314 |
* Mon Aug 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.10.1-2
|
|
Igor Gnatenko |
a762314 |
- Rebuild for LuaJIT 2.1.0
|
|
Igor Gnatenko |
a762314 |
|
|
Mystro256 |
6cb2777 |
* Sun Aug 21 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.1-1
|
|
Mystro256 |
6cb2777 |
- Update to new version
|
|
Mystro256 |
6cb2777 |
|
|
|
3f711b7 |
* Sat Aug 20 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.10.0-3
|
|
|
3f711b7 |
- Make exclusive arch to those supported by LuaJIT
|
|
|
3f711b7 |
|
|
|
cba618f |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
|
|
cba618f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cba618f |
|
|
Jeremy Newton |
2b09ffe |
* Fri Jan 1 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.10.0-1
|
|
Jeremy Newton |
2b09ffe |
- Update to new version
|
|
Jeremy Newton |
2b09ffe |
- Update provides to include bundling
|
|
Jeremy Newton |
2b09ffe |
|
|
|
62a543a |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
|
|
|
62a543a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
62a543a |
|
|
Jeremy Newton |
2b09ffe |
* Mon May 11 2015 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.9.2-1
|
|
Jeremy Newton |
40d89f2 |
- Update to 0.9.2
|
|
Jeremy Newton |
40d89f2 |
|
|
|
c7af862 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.9.1-2
|
|
|
c7af862 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
c7af862 |
|
|
Jeremy Newton |
2b09ffe |
* Wed Nov 12 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.9.1-1
|
|
alexjnewt@hotmail.com |
5c74bcf |
- Update to 0.9.1
|
|
alexjnewt@hotmail.com |
5c74bcf |
|
|
Rex Dieter |
8ce434f |
* Mon Aug 18 2014 Rex Dieter <rdieter@fedoraproject.org> 0.9.0-5
|
|
Rex Dieter |
8ce434f |
- update mime scriptlets
|
|
Rex Dieter |
8ce434f |
|
|
|
3f56cf2 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4
|
|
|
3f56cf2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
3f56cf2 |
|
|
|
3acc393 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-3
|
|
|
3acc393 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3acc393 |
|
|
Jeremy Newton |
2b09ffe |
* Sun Jan 5 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.9.0-2
|
|
alexjnewt@hotmail.com |
ec787b4 |
- Use repo version, fixes opengl issue
|
|
alexjnewt@hotmail.com |
ec787b4 |
|
|
Jeremy Newton |
2b09ffe |
* Wed Jan 1 2014 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.9.0-1
|
|
alexjnewt@hotmail.com |
ec787b4 |
- New upstream 0.9.0
|
|
alexjnewt@hotmail.com |
ec787b4 |
- Removed all patches/sources (all fixed in 0.9.0)
|
|
alexjnewt@hotmail.com |
ec787b4 |
- Add disable-mpg123 flag and enable-static=no
|
|
alexjnewt@hotmail.com |
ec787b4 |
- Split into 2 packages, love and liblove
|
|
alexjnewt@hotmail.com |
7bdcf8c |
|
|
|
21eca5f |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-5
|
|
|
21eca5f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
21eca5f |
|
|
|
6fa14c8 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-4
|
|
|
6fa14c8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
6fa14c8 |
|
|
|
31b2a28 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-3
|
|
|
31b2a28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
31b2a28 |
|
|
Jeremy Newton |
2b09ffe |
* Tue Apr 3 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.8.0-2
|
|
mystro256 |
2a1d966 |
- Fixed a typo in the manpage
|
|
mystro256 |
2a1d966 |
- Fixed minor typo in files
|
|
mystro256 |
2a1d966 |
|
|
Jeremy Newton |
2b09ffe |
* Tue Apr 3 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.8.0-1
|
|
mystro256 |
29ba7aa |
- Updated spec for new upstream version
|
|
mystro256 |
29ba7aa |
|
|
Jeremy Newton |
2b09ffe |
* Wed Mar 28 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.7.2-3
|
|
mystro256 |
29ba7aa |
- Added man page
|
|
mystro256 |
29ba7aa |
- Made more use of the name macro
|
|
mystro256 |
29ba7aa |
- Removed unnecessary build flags
|
|
mystro256 |
29ba7aa |
- Fixed typo in changelog
|
|
mystro256 |
29ba7aa |
|
|
Jeremy Newton |
2b09ffe |
* Tue Mar 27 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.7.2-2
|
|
mystro256 |
29ba7aa |
- Added missing build dependencies
|
|
mystro256 |
29ba7aa |
|
|
Jeremy Newton |
2b09ffe |
* Tue Mar 6 2012 Jeremy Newton <alexjnewt AT hotmail DOT com> - 0.7.2-1
|
|
mystro256 |
29ba7aa |
- Initial Package
|