Name: asylum Version: 0.3.2 Release: 32%{?dist} Summary: Game involving shooting anything that moves & collecting others # For detailed licensing, see the README License: GPL-3.0-only and LicenseRef-Fedora-Public-Domain URL: http://sdl-asylum.sourceforge.net Source0: http://downloads.sourceforge.net/sdl-%{name}/%{name}-%{version}.tar.gz Source1: %{name}.png Patch0: asylum-0.3.2-paths.patch BuildRequires: gcc-c++ BuildRequires: desktop-file-utils BuildRequires: SDL_mixer-devel BuildRequires: make Requires: hicolor-icon-theme %description SDL Asylum is a C port of the computer game Asylum, which was written by Andy Southgate in 1994 for the Acorn Archimedes and is now public domain. The object is to find things that look like brain cells and shut them down! The game revolves around shooting anything which moves, collecting anything which doesn't move and most importantly, finding your way to each of the eight pulsating neurons scattered through the immense map. %prep %setup -q %patch -P0 -p0 # Character encoding fixes iconv -f iso8859-1 README -t utf8 > README.conv \ && /bin/mv -f README.conv README # Delete bundled binary to make absolutely sure we get a new one. rm -f %{name} %build make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" # Build desktop icon cat >%{name}.desktop < $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml < asylum.desktop CC0-1.0 A retro platform style game where you enter the surreal world of a brain

Asylum is a Linux port of the game "Asylum" written originally for the Acorn Archimedes.

Enter the surreal world inside a young boy's brain and help destroy malfunctioning brain cells.

http://sdl-asylum.sourceforge.net http://sourceforge.net/p/sdl-asylum/screenshot/134775.jpg http://sourceforge.net/p/sdl-asylum/screenshot/136451.jpg
EOF %files # Note the game is SETGID games for the hi-scores. %{_datadir}/%{name} %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %attr(0775,root,games) %dir %{_var}/games/%{name} %attr(2755,root,games) %{_bindir}/%{name} %{_datadir}/icons/hicolor/32x32/apps/%{name}.png %doc Instruct README COPYING %ghost %{_var}/games/%{name}/EgoHighScores %ghost %{_var}/games/%{name}/PsycheHighScores %ghost %{_var}/games/%{name}/IdHighScores %ghost %{_var}/games/%{name}/ExtendedHighScores %changelog * Wed Jul 17 2024 Fedora Release Engineering - 0.3.2-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.3.2-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.3.2-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.3.2-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 07 2023 Gwyn Ciesla - 0.3.2-28 - Convert top SPDX license. * Wed Jan 18 2023 Fedora Release Engineering - 0.3.2-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 0.3.2-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.3.2-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.3.2-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.3.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.3.2-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.3.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.3.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.3.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.3.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.3.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Jan 07 2018 Igor Gnatenko - 0.3.2-16 - Remove obsolete scriptlets * Wed Aug 02 2017 Fedora Release Engineering - 0.3.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.3.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.3.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.3.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.3.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.3.2-10 - Rebuilt for GCC 5 C++11 ABI change * Thu Mar 26 2015 Richard Hughes - 0.3.2-9 - Add an AppData file for the software center * Fri Aug 15 2014 Fedora Release Engineering - 0.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Feb 10 2013 Rahul Sundaram - 0.3.2-5 - remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247 - clean up spec to follow current guidelines * Thu Jul 19 2012 Jon Ciesla - 0.3.2-4 - Fixed data path. * Wed Jul 18 2012 Fedora Release Engineering - 0.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri May 4 2012 Ville Skyttä - 0.3.2-2 - Build with RPM_OPT_FLAGS and RPM_LD_FLAGS. - Fix desktop entry warnings. * Fri Apr 27 2012 Peter Robinson - 0.3.2-1 - Update 0.3.2 - Fix FTBFS, drop not needed patch * Thu Jan 12 2012 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jun 12 2009 Michael Fleming - 0.3.0-1 - Update to 0.3.0 * Mon Feb 23 2009 Fedora Release Engineering - 0.2.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Sep 26 2008 Tom "spot" Callaway - 0.2.4-3 - fix makefile patch to apply properly * Fri Aug 29 2008 Michael Fleming - 0.2.4-2 - New builders don't like Patch0 declaration, adjust make it happy * Fri Aug 29 2008 Michael Fleming - 0.2.4-1 - Upgrade to 0.2.4 * Tue Feb 19 2008 Fedora Release Engineering - 0.2.3-3 - Autorebuild for GCC 4.3 * Tue Nov 27 2007 Ian Chapman 0.2.3-2 - Enable ppc/ppc64 build. Endian issues seem resolved (BZ 319541) * Sun Nov 25 2007 Ian Chapman 0.2.3-1 - Upgrade to 0.2.3 - Removed asylum-0.2.2-fixsound.patch - fixed upstream * Fri Oct 05 2007 Ian Chapman 0.2.2-2 - Release bump * Sun Sep 09 2007 Ian Chapman 0.2.2-1 - Initial release