%bcond_with debug # Workaround for rhbz#2044028 %undefine _package_note_file Name: crawl Summary: Roguelike dungeon exploration game Version: 0.29.1 Release: 2%{?dist} # Main license : GPLv2+ # 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs # Public Domain|CC0: most of tiles, perlin.cc, perlin.h # The majority of Crawl's tiles and artwork are released under the CC0 license # MIT: json.cc and worley.cc # ASL 2.0: pcg.cc ## According to the 'license.txt' file, ## This program can be redistribute under GPLv2+ license; MIT and BSD are GPL compatible. License: GPLv2+ and ASL 2.0 URL: https://crawl.develz.org/ Source0: https://github.com/%{name}/%{name}/archive/%{name}/%{name}-%{version}.tar.gz ## These patches fix installation paths Patch0: %{name}_bin.patch Patch1: %{name}_tiles.patch Patch2: %{name}-rltiles_cflags.patch # See https://github.com/crawl/crawl/issues/1372 Patch3: %{name}-add_iswalnum_reference.patch Patch4: %{name}-use_lua5.patch BuildRequires: advancecomp BuildRequires: bison BuildRequires: gcc-c++ BuildRequires: git BuildRequires: make BuildRequires: desktop-file-utils BuildRequires: flex BuildRequires: fontpackages-devel BuildRequires: libappstream-glib BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(SDL2_image) BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(ncurses) BuildRequires: pkgconfig(ncursesw) BuildRequires: pkgconfig(lua-5.1) #BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(zlib) BuildRequires: python3-devel BuildRequires: python3-pyyaml BuildRequires: pngcrush Requires: %{name}-common-data = %{version}-%{release} Requires(pre): shadow-utils %description This is the Console (ncurses) version of %{name}. Dungeon Crawl Stone Soup is a free roguelike game of exploration and treasure-hunting in dungeons filled with dangerous and unfriendly monsters in a quest for the mystifyingly fabulous Orb of Zot. Dungeon Crawl Stone Soup has diverse species and many different character backgrounds to choose from, deep tactical game-play, sophisticated magic, religion and skill systems, and a grand variety of monsters to fight and run from, making each game unique and challenging. #################### %global fonts font(bitstreamverasans) %global fonts %{fonts} font(bitstreamverasansmono) %package common-data Summary: Common data files of %{name} BuildArch: noarch BuildRequires: fontconfig %{fonts} Requires: hicolor-icon-theme Requires: %{fonts} %description common-data Data files for tiles and console versions of %{name}. #################### %package tiles Summary: Roguelike dungeon exploration game with tiles Requires: %{name}-common-data = %{version}-%{release} Obsoletes: %{name}-tiles-data < 0:0.27.0 %description tiles This is the tiles (graphical) version of %{name}. Dungeon Crawl Stone Soup is a free roguelike game of exploration and treasure-hunting in dungeons filled with dangerous and unfriendly monsters in a quest for the mystifyingly fabulous Orb of Zot. Dungeon Crawl Stone Soup has diverse species and many different character backgrounds to choose from, deep tactical game-play, sophisticated magic, religion and skill systems, and a grand variety of monsters to fight and run from, making each game unique and challenging. #################### %prep %autosetup -n %{name}-%{version} -N cat > crawl-ref/source/util/release_ver < - 0.29.1-2 - Use XDG specifications (upstream request #2188) * Tue Sep 13 2022 Antonio Trande - 0.29.1-1 - Release 0.29.1 * Thu Aug 25 2022 Antonio Trande - 0.29.0-1 - Release 0.29 * Fri Aug 19 2022 Antonio Trande - 0.29-0.1.beta1 - Pre-release 0.29 beta1 * Wed Jul 20 2022 Fedora Release Engineering - 0.28.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Feb 05 2022 Antonio Trande - 0.28.0-1 - Release 0.28 - Workaround for rhbz#2044028 - Fix rhbz#2015328 * Wed Jan 19 2022 Fedora Release Engineering - 0.27.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 19 2021 Antonio Trande - 0.27.1-2 - Fix runtime request (rhbz#2015330, rhbz#2015328) * Sat Aug 21 2021 Antonio Trande - 0.27.1-1 - Release 0.27.1 * Fri Jul 30 2021 Antonio Trande - 0.27.0-1 - Release 0.27.0 - Obsolete crawl-tiles-data sub-package * Wed Jul 21 2021 Fedora Release Engineering - 0.26.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Feb 04 2021 Antonio Trande - 0.26.1-1 - Release 0.26.1 * Tue Jan 26 2021 Fedora Release Engineering - 0.26.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 08 2021 Antonio Trande - 0.26.0-1 - Release 0.26.0 * Mon Jul 27 2020 Fedora Release Engineering - 0.25.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 17 2020 Antonio Trande - 0.25.1-1 - Release 0.25.1 * Fri Jun 12 2020 Antonio Trande - 0.25.0-1 - Release 0.25.0 * Thu May 14 2020 Antonio Trande - 0.24.1-3 - Conform fonts symlinks to the new paths * Thu Apr 30 2020 Antonio Trande - 0.24.1-2 - Tested with lua-5.3 (incompatible) * Wed Apr 22 2020 Antonio Trande - 0.24.1-1 - Release 0.24.1 * Sun Apr 19 2020 Antonio Trande - 0.24.0-3 - Fix rhbz#1825629 * Tue Jan 28 2020 Fedora Release Engineering - 0.24.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Oct 25 2019 Antonio Trande - 0.24.0-1 - Release 0.24.0 (rhbz#1765342) * Wed Jul 24 2019 Fedora Release Engineering - 0.23.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Apr 02 2019 Antonio Trande - 0.23.2-1 - Upstream bugfix release 0.23.2 * Fri Mar 01 2019 Antonio Trande - 0.23.1-1 - Upstream bugfix release 0.23.1 (bz#1684362) - Override -mfpmath=sse -msse2 except on x86_64 and i386 architectures * Fri Feb 08 2019 Antonio Trande - 0.23.0-1 - Upstream release 0.23.0 (bz#1673723) * Thu Jan 31 2019 Fedora Release Engineering - 0.22.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Oct 07 2018 Antonio Trande - 0.22.1-1 - Upstream release 0.22.1 * Sat Aug 11 2018 Antonio Trande - 0.22.0-1 - Update to 0.22.0 (bz#1614779) * Thu Jul 12 2018 Fedora Release Engineering - 0.21.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed May 09 2018 Antonio Trande - 0.21.1-4 - Remove '-Wp,-D_GLIBCXX_ASSERTIONS' flag (bz#1575324) (upstream bug 11467) * Wed Mar 07 2018 Adam Williamson - 0.21.1-3 - Rebuild to fix GCC 8 mis-compilation See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64") * Wed Feb 07 2018 Fedora Release Engineering - 0.21.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Antonio Trande - 0.21.1-1 - Update to 0.21.1 * Thu Jan 11 2018 Igor Gnatenko - 0.21.0-2 - Remove obsolete scriptlets * Sat Jan 06 2018 Antonio Trande - 0.21.0-1 - Update to 0.21.0 (bz#1531816) * Thu Dec 21 2017 Antonio Trande - 0.20.1-6 - Appdata file moved into metainfo data directory * Wed Oct 04 2017 Antonio Trande 0.20.1-5 - Move doc files into /usr/share/crawl/docs (bz#1498448) - Install manpage * Wed Aug 02 2017 Fedora Release Engineering - 0.20.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.20.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jul 02 2017 Antonio Trande 0.20.1-2 - Do not create a crawl group * Sun Jul 02 2017 Antonio Trande 0.20.1-1 - Update to 0.20.1 * Mon Jun 26 2017 Antonio Trande 0.20.0-2 - Set datadir permissions * Wed Jun 07 2017 Antonio Trande 0.20.0-1 - Update to 0.20.0 - Set permissions with %%defattr (bz#1458489) * Sat Jun 03 2017 Antonio Trande 0.19.5-3 - Set directory permissions (bz#1458489) * Mon May 15 2017 Fedora Release Engineering - 0.19.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild * Wed Mar 01 2017 Antonio Trande 0.19.5-1 - Update to 0.19.5 * Sun Feb 05 2017 Antonio Trande 0.19.4-2.20170205git5e19f3 - Patched for gcc7 * Wed Feb 01 2017 Antonio Trande 0.19.4-1 - Update to 0.19.4 (bz#14179114) * Sun Jan 22 2017 Antonio Trande 0.19.3-2 - Use pkg-config on Fedora > 25 * Sun Jan 22 2017 Antonio Trande 0.19.3-1 - Update to 0.19.3 (bz#1415476) * Thu Nov 24 2016 Antonio Trande 0.19.1-1 - Update to 0.19.1 (bz#1398298) * Tue Nov 01 2016 Antonio Trande 0.19.0-1 - Update to 0.19.0 (bz#1390562) - Drop old patch - Use -std=gnu++11 instead of -std=c++11 (build issue on PPC64le) * Wed Sep 07 2016 Antonio Trande 0.18.1-9 - Rebuild without NOWIZARD option (bz#1372480) * Fri Sep 02 2016 Antonio Trande 0.18.1-8 - Rebuild in nowizard mode (bz#1372480) * Fri Jul 15 2016 Antonio Trande 0.18.1-7 - Fix Crawl Tiles name (bz#1357087) * Fri Jul 15 2016 Antonio Trande 0.18.1-6 - Fix crawl-tiles's dependencies (bz#1357067) * Sun Jun 12 2016 Antonio Trande 0.18.1-5 - Remove unused/bundled files - License clarification - Compile debugging files and make Crawl tests * Sat Jun 11 2016 Antonio Trande 0.18.1-4 - Include MIT license - Fix scriptlets for icons * Mon Jun 06 2016 Antonio Trande 0.18.1-3 - Add an appdata file * Sat Jun 04 2016 Antonio Trande 0.18.1-2 - Patched to fix the installation paths * Sat Jun 04 2016 Antonio Trande 0.18.1-1 - First package