SHA256
11
0
forked from pool/gleam

Accepting request 1171166 from home:Pi-Cla

Since devel:languages:misc seems to be inactive and Gleam is a prominent BEAM language maybe it is a better fit here?
Take a look here for the packages we have on hexpm: https://hex.pm/packages?search=gleam&sort=recent_downloads

OBS-URL: https://build.opensuse.org/request/show/1171166
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/gleam?expand=0&rev=1
This commit is contained in:
2024-05-01 17:46:52 +00:00
committed by Git OBS Bridge
commit dc1e3945c4
7 changed files with 111 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

22
_service Normal file
View File

@@ -0,0 +1,22 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/gleam-lang/gleam.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">v1.1.0</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="src">gleam</param>
<param name="compression">zst</param>
<param name="update">false</param>
</service>
</services>

BIN
gleam-1.1.0.tar.zst (Stored with Git LFS) Normal file

Binary file not shown.

4
gleam.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Apr 9 05:49:10 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- Initial commit

55
gleam.spec Normal file
View File

@@ -0,0 +1,55 @@
#
# spec file for package gleam
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gleam
Version: 1.1.0
Release: 0
Summary: A friendly language for building type-safe, scalable systems!
License: Apache-2.0
Url: https://gleam.run/
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
# For tests
BuildRequires: git-core
Requires: erlang
Requires: erlang-rebar3
ExclusiveArch: %{rust_tier1_arches}
%description
The power of a type system, the expressiveness of functional programming,
and the reliability of the highly concurrent, fault tolerant Erlang runtime,
with a familiar and modern syntax.
%prep
%autosetup -p1 -a1
%build
%{cargo_build}
%install
install -D -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 %{_builddir}/%{name}-%{version}/target/release/gleam %{buildroot}%{_bindir}/gleam
%check
%{cargo_test}
%files
%license LICENCE
%{_bindir}/%{name}
%changelog

BIN
vendor.tar.zst (Stored with Git LFS) Normal file

Binary file not shown.