|
Mystro256 |
1f687ed |
Name: mrrescue
|
|
Mystro256 |
1f687ed |
Version: 1.02e
|
|
Mystro256 |
10f8468 |
Release: 15%{?dist}
|
|
Mystro256 |
1f687ed |
Summary: Arcade-style fire fighting game
|
|
Mystro256 |
1f687ed |
|
|
Mystro256 |
1f687ed |
#See LICENSE file in source for details
|
|
Mystro256 |
6519b84 |
#All code is zlib, excluding slam, AnAL and TSerial, which are MIT
|
|
Mystro256 |
6519b84 |
#All assets are CC-BY-SA
|
|
Mystro256 |
6519b84 |
License: zlib and CC-BY-SA and MIT
|
|
Mystro256 |
1f687ed |
URL: http://tangramgames.dk/games/mrrescue
|
|
Mystro256 |
1f687ed |
Source0: https://github.com/SimonLarsen/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Mystro256 |
1f687ed |
#Patch for appdata, manpage, execution script, and desktop file
|
|
Mystro256 |
1f687ed |
Patch0: %{name}-appdata.patch
|
|
Mystro256 |
10f8468 |
#Upstream patches:
|
|
Mystro256 |
4e2795b |
#https://github.com/SimonLarsen/mrrescue/commit/ec139833eba2781507cf32d9df30772138a76829
|
|
Mystro256 |
4e2795b |
Patch1: %{name}-%{version}-double-define.patch
|
|
Mystro256 |
10f8468 |
#https://github.com/SimonLarsen/mrrescue/commit/ab23031e0c2faecb77fde1be8a41d6f8ea4e6eda
|
|
Mystro256 |
4e2795b |
Patch2: %{name}-%{version}-love11.patch
|
|
Mystro256 |
10f8468 |
#https://github.com/SimonLarsen/mrrescue/commit/5a58668d9a1e661f6591bd44a76cf242b3aabf3e
|
|
Mystro256 |
10f8468 |
Patch3: %{name}-%{version}-Fixed-remaining-setColor-statements.patch
|
|
Mystro256 |
10f8468 |
#https://github.com/SimonLarsen/mrrescue/commit/a5be73c60acb8d1be506f7b5e48e784492ba96ce
|
|
Mystro256 |
10f8468 |
Patch4: %{name}-%{version}-Updated-conf.lua-to-11.0-template.patch
|
|
Mystro256 |
1f687ed |
|
|
Mystro256 |
1f687ed |
BuildRequires: desktop-file-utils
|
|
Mystro256 |
1f687ed |
BuildRequires: libappstream-glib
|
|
Mystro256 |
1f687ed |
BuildRequires: ImageMagick
|
|
Mystro256 |
1f687ed |
BuildArch: noarch
|
|
Mystro256 |
1f687ed |
Requires: love
|
|
Mystro256 |
1f687ed |
|
|
Mystro256 |
10f8468 |
# List the arches that love builds on
|
|
Mystro256 |
10f8468 |
ExclusiveArch: %{arm} %{ix86} x86_64 aarch64 ppc64le
|
|
Mystro256 |
1f687ed |
|
|
Mystro256 |
1f687ed |
#From the website (see URL above)
|
|
Mystro256 |
1f687ed |
%description
|
|
Mystro256 |
1f687ed |
Mr. Rescue is an arcade styled 2d action game centered around evacuating
|
|
Mystro256 |
1f687ed |
civilians from burning buildings. The game features fast paced fire
|
|
Mystro256 |
1f687ed |
extinguishing action, intense boss battles, a catchy soundtrack and lots of
|
|
Mystro256 |
1f687ed |
throwing people around in pseudo-randomly generated buildings.
|
|
Mystro256 |
1f687ed |
|
|
Mystro256 |
1f687ed |
%prep
|
|
Mystro256 |
1f687ed |
%autosetup -p1
|
|
Mystro256 |
1f687ed |
sed -i 's/VERSION/%{version}/g' appdata/%{name}.6
|
|
Mystro256 |
1f687ed |
|
|
Mystro256 |
1f687ed |
%build
|
|
Mystro256 |
11092c6 |
#love "binary" files are just zipped sources, but should exclude appdata/docs
|
|
Mystro256 |
667df9b |
zip -r %{name}.love . -x appdata/* -x appdata/ -x LICENSE -x README.md
|
|
Mystro256 |
1f687ed |
#Generate icon (modified splash.png)
|
|
Mystro256 |
1f687ed |
convert data/splash.png -crop 256x205+0+0 -background none -gravity center -extent 256x256! %{name}.png
|
|
Mystro256 |
1f687ed |
|
|
Mystro256 |
1f687ed |
%install
|
|
Mystro256 |
1f687ed |
#Install love file
|
|
Mystro256 |
1f687ed |
install -p -D -m 0644 %{name}.love \
|
|
Mystro256 |
1f687ed |
%{buildroot}/%{_datadir}/%{name}/%{name}.love
|
|
Mystro256 |
1f687ed |
#Install execution script
|
|
Mystro256 |
1f687ed |
install -p -D -m 0755 appdata/%{name} \
|
|
Mystro256 |
1f687ed |
%{buildroot}/%{_bindir}/%{name}
|
|
Mystro256 |
1f687ed |
#Install manpage
|
|
Mystro256 |
1f687ed |
install -p -D -m 0644 appdata/%{name}.6 \
|
|
Mystro256 |
1f687ed |
%{buildroot}/%{_mandir}/man6/%{name}.6
|
|
Mystro256 |
1f687ed |
#Install appdata.xml and verify
|
|
Mystro256 |
1f687ed |
install -p -D -m 0644 appdata/%{name}.appdata.xml \
|
|
Mystro256 |
1f687ed |
%{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
|
|
Mystro256 |
1f687ed |
appstream-util validate-relax --nonet \
|
|
Mystro256 |
1f687ed |
%{buildroot}/%{_datadir}/appdata/*.appdata.xml
|
|
Mystro256 |
1f687ed |
#Install desktop, icon:
|
|
Mystro256 |
1f687ed |
desktop-file-install \
|
|
Mystro256 |
1f687ed |
--dir %{buildroot}%{_datadir}/applications \
|
|
Mystro256 |
1f687ed |
appdata/%{name}.desktop
|
|
Mystro256 |
1f687ed |
install -p -D -m 0644 %{name}.png \
|
|
Mystro256 |
1f687ed |
%{buildroot}/%{_datadir}/pixmaps/%{name}.png
|
|
Mystro256 |
1f687ed |
|
|
Mystro256 |
1f687ed |
%files
|
|
Mystro256 |
11092c6 |
%doc README.md
|
|
Mystro256 |
7fe1cc8 |
%license LICENSE
|
|
Mystro256 |
1f687ed |
%{_mandir}/man6/%{name}.*
|
|
Mystro256 |
1f687ed |
%{_bindir}/%{name}
|
|
Mystro256 |
1f687ed |
%{_datadir}/%{name}/
|
|
Mystro256 |
1f687ed |
%{_datadir}/pixmaps/%{name}.png
|
|
Mystro256 |
1f687ed |
%{_datadir}/applications/%{name}.desktop
|
|
Mystro256 |
1f687ed |
%{_datadir}/appdata/*.appdata.xml
|
|
Mystro256 |
1f687ed |
|
|
Mystro256 |
1f687ed |
%changelog
|
|
Mystro256 |
10f8468 |
* Thu Mar 12 2020 Jeremy Newton <alexjnewt at hotmail dot com> - 1.02e-15
|
|
Mystro256 |
10f8468 |
- Rebuilt for correct exclusive arch
|
|
Mystro256 |
10f8468 |
- LOVE 11 fixes
|
|
Mystro256 |
10f8468 |
|
|
|
02460f9 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.02e-14
|
|
|
02460f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
02460f9 |
|
|
|
106b6b0 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.02e-13
|
|
|
106b6b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
106b6b0 |
|
|
|
a39b127 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.02e-12
|
|
|
a39b127 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a39b127 |
|
|
|
9ce320f |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.02e-11
|
|
|
9ce320f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
9ce320f |
|
|
Mystro256 |
4e2795b |
* Tue Jun 12 2018 Jeremy Newton <alexjnewt at hotmail dot com> - 1.02e-10
|
|
Mystro256 |
4e2795b |
- Add upstream fix for code duplication (non-functional change)
|
|
Mystro256 |
4e2795b |
|
|
Mystro256 |
d43f670 |
* Sun Jun 10 2018 Jeremy Newton <alexjnewt at hotmail dot com> - 1.02e-9
|
|
Mystro256 |
d43f670 |
- Add love 11 support
|
|
Mystro256 |
d43f670 |
|
|
Mystro256 |
667df9b |
* Mon Mar 19 2018 Jeremy Newton <alexjnewt at hotmail dot com> - 1.02e-8
|
|
Mystro256 |
667df9b |
- Remove more unnecessary files from love binary
|
|
Mystro256 |
667df9b |
|
|
Mystro256 |
11092c6 |
* Sat Mar 17 2018 Jeremy Newton <alexjnewt at hotmail dot com> - 1.02e-7
|
|
Mystro256 |
11092c6 |
- Add ppc64le build for f28+
|
|
Mystro256 |
11092c6 |
- Add README.md to docs
|
|
Mystro256 |
667df9b |
- Remove docs from love binary
|
|
Mystro256 |
11092c6 |
|
|
|
a6bae31 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.02e-6
|
|
|
a6bae31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a6bae31 |
|
|
|
be3c0af |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.02e-5
|
|
|
be3c0af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
be3c0af |
|
|
|
312a7cf |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.02e-4
|
|
|
312a7cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
312a7cf |
|
|
Mystro256 |
ef65d47 |
* Thu Dec 22 2016 Jeremy Newton <alexjnewt at hotmail dot com> - 1.02e-3
|
|
Mystro256 |
ef65d47 |
- More Appdata fixes
|
|
Mystro256 |
ef65d47 |
|
|
Mystro256 |
e9b0bf7 |
* Wed Nov 23 2016 Jeremy Newton <alexjnewt at hotmail dot com> - 1.02e-2
|
|
Mystro256 |
e9b0bf7 |
- Appdata fixes
|
|
Mystro256 |
e9b0bf7 |
|
|
Mystro256 |
1f687ed |
* Sun Nov 20 2016 Jeremy Newton <alexjnewt at hotmail dot com> - 1.02e-1
|
|
Mystro256 |
1f687ed |
- Initial package
|