Blob Blame History Raw
%global forgeurl
%global tag v%{version}

Name:      lua-cosmo
Version:   16.06.04
Release:   4%{?dist}
Summary:   Safe templates for Lua
License:   MIT
URL:       %{forgeurl}

Source:    %{forgesource}

BuildArch:     noarch
Requires:      lua-lpeg
BuildRequires: lua-devel
BuildRequires: make

BuildRequires: lua-lpeg

Cosmo is a "safe templates" engine. It allows you to fill nested templates,
providing many of the advantages of Turing-complete template engines,
without without the downside of allowing arbitrary code in the templates.


# Nothing to do here

%make_install LUA_DIR=%{lua_pkgdir}

LUA_PATH="%{buildroot}%{lua_pkgdir}/?.lua;%{buildroot}%{lua_pkgdir}/?/init.lua;;" \
lua tests/test_cosmo.lua

%license doc/
%doc samples
%doc doc/*

* Sun Jan 21 2024 Fedora Release Engineering <> - 16.06.04-4
- Rebuilt for

* Thu Jul 20 2023 Fedora Release Engineering <> - 16.06.04-3
- Rebuilt for

* Thu Jan 19 2023 Fedora Release Engineering <> - 16.06.04-2
- Rebuilt for

* Sun Nov 13 2022 Jonny Heggheim <> - 16.06.04-1
- Initial package