Blob Blame History Raw
Version:        0.7.4

%global forgeurl
%global tag      %{version}

Name:           nml
Release:        %autorelease
Summary:        NewGRF Meta Language compiler

License:        GPL-2.0-or-later
URL:            %{forgeurl}
Source:         %{forgesource}

BuildRequires:  gcc
BuildRequires:  python3-devel


A tool to compile nml files to grf or nfo files, making newgrf coding easier.


# fixup version info
echo 'version = "%{version}"' > nml/
rm nml/


%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