From 6304a92a5b5c2253e029584e18098119cd180943 Mon Sep 17 00:00:00 2001 From: Pi-Cla <> Date: Sep 17 2022 18:57:45 +0000 Subject: Update lua-fluent to version 0.2.0 / rev 1 via SR 1004033 https://build.opensuse.org/request/show/1004033 by user Pi-Cla + dimstar_suse New package --- diff --git a/.files b/.files new file mode 100644 index 0000000..a623be7 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..4894dab --- /dev/null +++ b/.meta @@ -0,0 +1,10 @@ + + Lua implementation of Project Fluent + A Lua implementation of Project Fluent, a localization paradigm designed +to unleash the entire expressive power of natural language translations. +Fluent is a family of localization specifications, implementations and +good practices developed by Mozilla who extracted parts of their 'l20n' +solution (used in Firefox and other apps) into a re-usable specification. + + https://github.com/alerque/fluent-lua + diff --git a/.rev b/.rev new file mode 100644 index 0000000..4795a44 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + f98c15a6498ccde231e57899fff4da00 + 0.2.0 + + dimstar_suse + New package + 1004033 + + diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..d13a744 --- /dev/null +++ b/_multibuild @@ -0,0 +1,5 @@ + +lua51 +lua53 +lua54 + diff --git a/fluent-lua-0.2.0.tar.gz b/fluent-lua-0.2.0.tar.gz new file mode 120000 index 0000000..7e52eaf --- /dev/null +++ b/fluent-lua-0.2.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreibelc4azdnnlheg3zczxn5u33xsqxiznnkkwre6ooulrakptarggm \ No newline at end of file diff --git a/lua-fluent.changes b/lua-fluent.changes new file mode 100644 index 0000000..43f4790 --- /dev/null +++ b/lua-fluent.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Aug 25 03:57:57 UTC 2022 - Gordon Leung + +- initial commit diff --git a/lua-fluent.spec b/lua-fluent.spec new file mode 100644 index 0000000..792a702 --- /dev/null +++ b/lua-fluent.spec @@ -0,0 +1,81 @@ +# +# spec file +# +# Copyright (c) 2022 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/ +# + + +%bcond_without test +%define flavor @BUILD_FLAVOR@ +%define mod_name fluent +%define rock_version 0.2.0-0 + +Version: 0.2.0 +Release: 0 +Summary: Lua implementation of Project Fluent +License: MIT +Group: Development/Languages/Other +URL: https://github.com/alerque/fluent-lua +Source: %{mod_name}-lua-%{version}.tar.gz +BuildRequires: %{flavor}-luarocks +BuildRequires: %{flavor}-devel +BuildRequires: %{flavor}-cldr +BuildRequires: %{flavor}-luaepnf +BuildRequires: %{flavor}-penlight +%if %{with test} +BuildRequires: %{flavor}-busted +%endif +Requires: %{flavor} +Requires: %{flavor}-cldr +Requires: %{flavor}-luaepnf +Requires: %{flavor}-penlight +%lua_provides +%if "%{flavor}" == "" +Name: lua-%{mod_name} +ExclusiveArch: do_not_build +%else +Name: %{flavor}-%{mod_name} +%endif +BuildArch: noarch + +%description +A Lua implementation of Project Fluent, a localization paradigm designed +to unleash the entire expressive power of natural language translations. +Fluent is a family of localization specifications, implementations and +good practices developed by Mozilla who extracted parts of their 'l20n' +solution (used in Firefox and other apps) into a re-usable specification. + +%prep +%autosetup -n %{mod_name}-lua-%{version} + +%build +%luarocks_build "rockspecs/%{mod_name}-%{rock_version}.rockspec" + +%install +%luarocks_install *.rock +luarocks --lua-version="%{lua_version}" --tree="%{buildroot}/usr/" \ + make --deps-mode=none --no-manifest "rockspecs/%{mod_name}-%{rock_version}.rockspec" + +%if %{with test} +%check +busted +%endif + +%files +%license %{luarocks_treedir}/%{mod_name}/%{rock_version}/doc/LICENSE +%doc %{luarocks_treedir}/%{mod_name}/%{rock_version}/doc +%{lua_noarchdir}/%{mod_name} +%{luarocks_treedir}/%{mod_name} + +%changelog