Name: minetestmapper Version: 20220221 Release: 9%{?dist} Summary: Generates a overview image of a minetest map # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://github.com/minetest/minetestmapper Source0: https://github.com/minetest/minetestmapper/archive/%{version}/minetestmapper-%{version}.tar.gz BuildRequires: gcc-c++, cmake, sqlite-devel, gd-devel, leveldb-devel, hiredis-devel, libpq-devel, libzstd-devel # Wants minetest for ownership of /usr/share/minetest. # But there's no reason it should *require* minetest. Suggests: minetest %description Generates a overview image of a minetest map. This is a port of minetestmapper.py to C++, that is both faster and provides more details than the deprecated Python script. %prep %autosetup -p1 # https://github.com/minetest/minetestmapper/issues/57 sed 's/get_setting/read_setting/g' -i db-postgresql.cpp %build %cmake -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DENABLE_POSTGRESQL=1 %cmake_build %install %cmake_install # Install colors.txt into /usr/share/minetest. mkdir -p %{buildroot}%{_datadir}/minetest cp -a colors.txt %{buildroot}%{_datadir}/minetest/ # Remove copy of license from docdir. rm -rf %{buildroot}%{_pkgdocdir}/COPYING %files %{_bindir}/minetestmapper %{_datadir}/minetest/ %{_datadir}/minetest/colors.txt %{_mandir}/man6/minetestmapper.6* %license COPYING %doc AUTHORS README.rst %changelog * Mon Sep 02 2024 Miroslav Suchý - 20220221-9 - convert license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 20220221-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 02 2024 Gwyn Ciesla - 20220221-7 - hiredis rebuild * Thu Jan 25 2024 Fedora Release Engineering - 20220221-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 20220221-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 20220221-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 20220221-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 20220221-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Feb 26 2022 Link Dupont - 20220221-1 - Update to 2022-02-21 * Thu Jan 20 2022 Fedora Release Engineering - 20200328-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 17 2022 Kevin Fenzi - 20200328-6 - Rebuild for hiredis 1.0.2 * Thu Jul 22 2021 Fedora Release Engineering - 20200328-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 20200328-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 20200328-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 20200328-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Apr 21 2020 Ben Rosser - 20200328-1 - Update to latest upstream release (rhbz#1818531). * Wed Jan 29 2020 Fedora Release Engineering - 20191011-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Oct 25 2019 Gwyn Ciesla - 20191011-1 - 2019-10-11 * Thu Jul 25 2019 Fedora Release Engineering - 20180325-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 20180325-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 23 2019 Björn Esser - 20180325-3 - Append curdir to CMake invokation. (#1668512) * Fri Jul 13 2018 Fedora Release Engineering - 20180325-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 28 2018 Ben Rosser - 20180325-1 - Updated to latest upstream release (rhbz#1560540). * Thu Feb 08 2018 Fedora Release Engineering - 20170606-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Sep 06 2017 Ben Rosser - 20170606-5 - Instead of requiring minetest, only suggest it. - Have minetestmapper also own the datadir/minetest directory. * Thu Aug 24 2017 Ben Rosser - 20170606-4 - Add ExcludeArch to s390x due to the lack of minetest. * Thu Aug 03 2017 Fedora Release Engineering - 20170606-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 20170606-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Ben Rosser - 20170606-1 - Update to latest upstream release. * Fri Feb 10 2017 Fedora Release Engineering - 20161218-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 24 2017 Ben Rosser - 20161218-3 - Add ExcludeArch on ppc arches due to lack of minetest on them * Fri Jan 20 2017 Ben Rosser - 20161218-2 - Add man page for minetestmapper written by dmoerner. - Reference patches without using a URL. - Use version macro in Source0 URL. * Fri Jan 6 2017 Ben Rosser - 20161218-1 - Initial package for Fedora.