## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 Name: nift Version: 3.0.3 Release: %autorelease Summary: Website generator License: MIT URL: https://nift.dev Source: https://github.com/nifty-site-manager/nsm/archive/v%{version}/nsm-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: lua-devel BuildRequires: luajit-devel BuildRequires: rapidjson-devel Requires: lua Requires: luajit Provides: bundled(hashtk) Provides: bundled(exprtk) %description A fast framework for managing and generating websites. %prep %autosetup -n nsm-%{version} rm -r LuaJIT rm -r Lua-5.3 # Use path to Fedora Lua directories sed -i 's|-L/usr/local/lib -llua|-L/%{_libdir} -llua|g' Makefile %build %make_build BUNDLED=0 \ CXX=g++ \ LUA_VERSION=5.4 \ LUAJIT_VERSION=5.1 %install %make_install %files %license LICENSE %doc README.md %doc ReleaseNotes.md %doc TODO.md %{_bindir}/nift %{_bindir}/nsm %changelog ## START: Generated by rpmautospec * Sun Dec 15 2024 John Doe - 3.0.3-1 - Uncommitted changes ## END: Generated by rpmautospec