diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-09-23 13:16:29 -0700 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-09-23 13:16:29 -0700 |
| commit | 81feed24ca0057221697230feb2b21b32d3a17e6 (patch) | |
| tree | 8a1395c12cde89bb3250488da5eaf9dd0929ea82 /lua | |
| parent | 712682aeb733e73b589db5dd04f82584cb86e0c0 (diff) | |
| download | specs-81feed24ca0057221697230feb2b21b32d3a17e6.tar.gz specs-81feed24ca0057221697230feb2b21b32d3a17e6.tar.xz specs-81feed24ca0057221697230feb2b21b32d3a17e6.zip | |
+ lua/fennel
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/fennel.spec | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/lua/fennel.spec b/lua/fennel.spec new file mode 100644 index 0000000..cf51c59 --- /dev/null +++ b/lua/fennel.spec @@ -0,0 +1,67 @@ +Name: fennel +Version: 0.6.0 +Release: 1%{?dist} +Summary: A Lisp that compiles to Lua + +License: MIT +URL: https://fennel-lang.org/ +Source0: https://git.sr.ht/~technomancy/fennel/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: lua-devel >= 5.1 + +Provides: lua-fennel = %{version}-%{release} + +%description +Fennel is a Lisp that compiles to Lua. It aims to be easy to use, expressive, +and has almost zero overhead compared to handwritten Lua. + +* *Full Lua compatibility* - You can use any function or library from Lua. +* *Zero overhead* - Compiled code should be just as or more efficient than + hand-written Lua. +* *Compile-time macros* - Ship compiled code with no runtime dependency on + Fennel. +* *Embeddable* - Fennel is a one-file library as well as an executable. Embed it + in other programs to support runtime extensibility and interactive + development. + +At https://fennel-lang.org there's a live in-browser repl you can use without +installing anything. + + +%prep +%autosetup -p1 + + +%build +make + + +%install +make install PREFIX=%{buildroot}%{_prefix} +MAN1=%{buildroot}%{_mandir}/man1/ +mkdir -p ${MAN1} +cp -p fennel.1 ${MAN1}/ + + +%check +make test + + +%files +%license LICENSE +%doc README.md CODE-OF-CONDUCT.md CONTRIBUTING.md +%doc api.md changelog.md lua-primer.md reference.md tutorial.md +%{_bindir}/fennel +%{lua_pkgdir}/fennel.lua +%{lua_pkgdir}/fennelview.lua +%{_mandir}/man1/fennel.1* + + +%changelog +* Wed Sep 23 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.6.0-1 +- Update to 0.6.0 + +* Fri Aug 28 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.5.0-1 +- Initial Fedora package |
