|
Mystro256 |
1f687ed |
Name: mrrescue
|
|
Mystro256 |
1f687ed |
Version: 1.02e
|
|
Mystro256 |
667df9b |
Release: 8%{?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 |
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 |
44cb76f |
# List the arches that love builds on epel7
|
|
Mystro256 |
44cb76f |
ExclusiveArch: noarch %{arm} %{ix86} x86_64 aarch64
|
|
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 |
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
|