mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
add: gleam (#776)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "gleam.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
Name: gleam
|
||||
Version: 0.32.2
|
||||
Release: 1%?dist
|
||||
Summary: A friendly language for building type-safe, scalable systems
|
||||
License: Apache-2.0
|
||||
URL: https://gleam.run/
|
||||
Source0: https://github.com/gleam-lang/gleam/archive/v%version.tar.gz
|
||||
Requires: erlang elixir
|
||||
BuildRequires: cargo-rpm-macros anda-srpm-macros
|
||||
|
||||
%description
|
||||
Gleam is a friendly language for building type-safe, scalable systems!
|
||||
It compiles to Erlang (or JavaScript) and has straightforward interop with other BEAM languages such as Erlang, Elixir, and LFE.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
install -Dm755 target/rpm/gleam %buildroot%_bindir/gleam
|
||||
|
||||
%files
|
||||
%_bindir/gleam
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("gleam-lang/gleam"));
|
||||
Reference in New Issue
Block a user