## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %bcond_with debug # Workaround for rhbz#2044028 %undefine _package_note_file Name: crawl Summary: Roguelike dungeon exploration game Version: 0.31.0 Release: %autorelease # 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: GPL-2.0-or-later AND Apache-2.0 AND BSD-2-Clause AND CC0-1.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.31.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun May 26 2024 Antonio Trande - 0.31.0-1 - Release 0.31.0 * Wed Jan 24 2024 Fedora Release Engineering - 0.30.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Antonio Trande - 0.30.2-1 - Release 0.30.2 * Fri Jan 19 2024 Fedora Release Engineering - 0.30.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.30.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 01 2023 Antonio Trande - 0.30.1-1 - Release 0.30.1 * Sun May 07 2023 Antonio Trande - 0.30.0-1 - Release 0.30.0 * Wed May 03 2023 Antonio Trande - 0.30-1 - Pre-release 0.30 beta1 * Thu Jan 19 2023 Fedora Release Engineering - 0.29.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 01 2022 Lumir Balhar - 0.29.1-3 - Change location of pathfix.py * Sat Sep 17 2022 Antonio Trande - 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-1 - Pee-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 * Sun Feb 06 2022 Antonio Trande - 0.28.0-1 - Release 0.28 * 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 * 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 T - 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 * Sat Jan 09 2021 Antonio T - 0.26.0-1 - Release 0.26.0 * Thu Dec 17 2020 Tom Stellard - 0.25.1-3 - Add BuildRequires: make * 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 sagitter - 0.25.1-1 - Release 0.25.1 * Fri Jun 12 2020 sagitter - 0.25.0-1 - Release 0.25.0 * Thu May 14 2020 sagitter - 0.24.1-5 - Conform fonts symlinks to the new paths * Thu Apr 30 2020 sagitter - 0.24.1-4 - Undo latest change * Thu Apr 30 2020 sagitter - 0.24.1-3 - Rebuild for lua-5.3 * Wed Apr 22 2020 sagitter - 0.24.1-2 - Fix upstream bug #1372 * Mon Apr 20 2020 sagitter - 0.24.1-1 - Release 0.24.1 * Sun Apr 19 2020 sagitter - 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 sagitter - 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 sagitter - 0.23.2-1 - Upstream bugfix release 0.23.2 * Fri Mar 01 2019 sagitter - 0.23.1-1 - Upstream bugfix release 0.23.1 (bz#1684362) * Fri Feb 08 2019 sagitter - 0.23.0-1 - Release 0.23.0 * Thu Jan 31 2019 Fedora Release Engineering - 0.22.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 28 2019 Igor Gnatenko - 0.22.1-2 - Remove obsolete Group tag * Sun Oct 07 2018 sagitter - 0.22.1-1 - Upstream release 0.22.1 * Sun Aug 26 2018 sagitter - 0.22.0-2 - Fix license path * Sun Aug 26 2018 sagitter - 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 * Thu May 10 2018 sagitter - 0.21.1-4 - Remove '-Wp,-D_GLIBCXX_ASSERTIONS' flag (bz#1575324) (upstream bug 11467) * Thu Mar 08 2018 Adam Williamson - 0.21.1-3 - Rebuild to fix GCC 8 mis-compilation * 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 sagitter - 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 sagitter - 0.21.0-1 - Update to 0.21.0 (bz#1531816) * Thu Dec 21 2017 sagitter - 0.20.1-6 - Appdata file moved into metainfo data directory * Wed Oct 04 2017 sagitter - 0.20.1-5 - Move doc files into /usr/share/crawl/docs (bz#1498448) * 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 sagitter - 0.20.1-2 - Do not create a crawl group * Sun Jul 02 2017 sagitter - 0.20.1-1 - Update to 0.20.1 * Mon Jun 12 2017 sagitter - 0.20.0-1 - Update to 0.20.0. Set permissions with %%%%defattr (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 sagitter - 0.19.5-1 - Update to 0.19.5 * Sun Feb 05 2017 sagitter - 0.19.4-2 - Patched for gcc7 * Wed Feb 01 2017 sagitter - 0.19.4-1 - Update to 0.19.4 (bz#14179114 * Sun Jan 22 2017 sagitter - 0.19.3-3 - Use pkg-config on Fedora > 25 * Sun Jan 22 2017 sagitter - 0.19.3-2 - Fix BR dependency * Sun Jan 22 2017 sagitter - 0.19.3-1 - Update to 0.19.3 (bz#1415476) * Thu Nov 24 2016 sagitter - 0.19.1-1 - Update to 0.19.1 (bz#1398298) * Tue Nov 01 2016 sagitter - 0.19.0-1 - Update to 0.19.0 (bz#1390562) * Wed Sep 07 2016 sagitter - 0.18.1-5 - Rebuild without NOWIZARD option (bz#1372480) * Sat Sep 03 2016 sagitter - 0.18.1-4 - Rebuild in nowizard mode (bz#1372480) * Fri Jul 15 2016 sagitter - 0.18.1-3 - Fix Crawl Tiles name (bz#1357087). * Fri Jul 15 2016 sagitter - 0.18.1-2 - Fix crawl-tiles's dependencies (bz#1357067) * Tue Jun 14 2016 sagitter - 0.18.1-1 - New package ## END: Generated by rpmautospec