## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 Version: 0.7.5 %global forgeurl https://github.com/OpenTTD/nml %global tag %{version} %forgemeta Name: nml Release: %autorelease Summary: NewGRF Meta Language compiler License: GPL-2.0-or-later URL: %{forgeurl} Source: %{forgesource} BuildRequires: gcc BuildRequires: python3-devel %generate_buildrequires %pyproject_buildrequires %description A tool to compile nml files to grf or nfo files, making newgrf coding easier. %prep %forgeautosetup %build # fixup version info echo 'version = "%{version}"' > nml/__version__.py rm nml/version_update.py %pyproject_wheel %install %pyproject_install %pyproject_save_files nml nml_lz77 gzip docs/nmlc.1 install -Dpm 644 docs/nmlc.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/nmlc.1.gz rm docs/nmlc.1.gz %files -f %{pyproject_files} %doc docs/changelog.txt %{_bindir}/nmlc %{_mandir}/man1/nmlc.1.gz %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 0.7.5-2 - Rebuilt for Python 3.13 * Tue Mar 05 2024 Felix Kaechele - 0.7.5-1 - update to 0.7.5 * Thu Jan 25 2024 Fedora Release Engineering - 0.7.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.7.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Sep 09 2023 Felix Kaechele - 0.7.4-4 - Use SPDX license identifier in License tag * Thu Jul 20 2023 Fedora Release Engineering - 0.7.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 03 2023 Python Maint - 0.7.4-2 - Rebuilt for Python 3.12 * Sun Jul 02 2023 Felix Kaechele - 0.7.4-1 - update to 0.7.4 * Fri Jun 16 2023 Python Maint - 0.7.3-2 - Rebuilt for Python 3.12 * Sat May 27 2023 Felix Kaechele - 0.7.3-1 - update to 0.7.3 - use forge macros * Tue Apr 18 2023 Felix Kaechele - 0.7.2-1 - update to 0.7.2 * Thu Jan 19 2023 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 05 2022 Felix Kaechele - 0.7.1-1 - update to 0.7.1 * Sat Sep 03 2022 Felix Kaechele - 0.7.0-1 - update to 0.7.0 * Fri Jul 22 2022 Fedora Release Engineering - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 24 2022 Felix Kaechele - 0.6.1-4 - use pyproject rpm macros - fix version info (rhbz#2048095) - remove useless docs - update project URL * Mon Jun 13 2022 Python Maint - 0.6.1-3 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Sep 17 2021 Felix Kaechele - 0.6.1-1 - update 0.6.1 * Mon Aug 16 2021 Felix Kaechele - 0.6.0-1 - update to 0.6.0 - removed patch for Python 3.10 compatibility, upstreamed * Tue Aug 03 2021 Felix Kaechele - 0.5.3-5 - Add patch to fix Python 3.10 compatibility * Thu Jul 22 2021 Fedora Release Engineering - 0.5.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.5.3-3 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 0.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 15 2020 Felix Kaechele - 0.5.3-1 - update to 0.5.3 release * Tue Jul 28 2020 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.5.2-2 - Rebuilt for Python 3.9 * Fri May 22 2020 Felix Kaechele - 0.5.2-1 - update to 0.5.2 release * Mon May 11 2020 Felix Kaechele - 0.5.1-1 - update to 0.5.1 release * Sun Apr 26 2020 Felix Kaechele - 0.5.0-1 - update to 0.5.0 release * Wed Apr 01 2020 Felix Kaechele - 0.4.6-0.2.git660722b - bump to latest git release * Wed Feb 26 2020 Felix Kaechele - 0.4.6-0.1.gitc9ae3ba - build from latest git release - add github helper snippets to enable switching between releases and github - remove pillow compat patch, fixed upstream * Wed Jan 29 2020 Fedora Release Engineering - 0.4.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.4.5-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.4.5-5 - Rebuilt for Python 3.8 * Mon Jul 29 2019 Felix Kaechele - 0.4.5-4 - fix pillow compatibility * Thu Jul 25 2019 Fedora Release Engineering - 0.4.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 20 2018 Felix Kaechele - 0.4.5-1 - update to 0.4.5 - add gcc BuildRequires * Fri Jul 13 2018 Fedora Release Engineering - 0.4.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.4.4-8 - Rebuilt for Python 3.7 * Thu Feb 08 2018 Fedora Release Engineering - 0.4.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.4.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.4.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.4.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.4.4-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.4.4-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Mar 30 2016 Felix Kaechele - 0.4.4-1 - update to 0.4.4 - remove obsolete patch * Thu Feb 04 2016 Fedora Release Engineering - 0.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Wed Oct 28 2015 Felix Kaechele - 0.4.2-2 - fix calls to deprecated pillow functions * Sun Oct 25 2015 Felix Kaechele - 0.4.2-1 - update to 0.4.2 * Wed Jun 17 2015 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon May 18 2015 Felix Kaechele - 0.4.1-2 - add missing BuildRequires * Mon May 18 2015 Felix Kaechele - 0.4.1-1 - update to 0.4.1 - remove version_foo variable (YAY!) * Wed Feb 18 2015 Felix Kaechele - 0.4.0-1 - update to 0.4.0 - now uses Python 3 - is no longer noarch * Mon Jun 30 2014 Toshio Kuratomi - 0.3.1-2 - Replace python-setuptools-devel BR with python-setuptools * Sat Jun 21 2014 Felix Kaechele - 0.3.1-1 - update to 0.3.1 - change Source0 URL / source dir name *again* (for the worse, le sigh) * Sat Jun 07 2014 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Mar 31 2014 Felix Kaechele - 0.3.0-1 - update to 0.3.0 - drop patch for pillow support (upstreamed) - change Source0 URL / source dir name * Sat Aug 03 2013 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Mar 14 2013 Felix Kaechele - 0.2.4-1 - update to 0.2.4 - patch for pillow support * Thu Feb 14 2013 Fedora Release Engineering - 0.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Apr 11 2012 Felix Kaechele - 0.2.3-2 - add python-setuptools runtime requirement * Thu Mar 29 2012 Felix Kaechele - 0.2.3-1 - initial spec ## END: Generated by rpmautospec