From 5c1d38890da18cdf85e8074980c99f5c5fa8aecb Mon Sep 17 00:00:00 2001 From: Bernhard M. Wiedemann Date: Mar 01 2023 18:46:59 +0000 Subject: update 2023-03-01 18:46 --- diff --git a/.files b/.files new file mode 100644 index 0000000..7955afd Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..4271eda --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ + + + + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..dff0a37 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + 56675a29f580cc5d99cca37c0a0820e0 + 1.0.2 + + dimstar_suse + + 1067978 + + diff --git a/_service b/_service new file mode 100644 index 0000000..ad70f09 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + https://github.com/jcomellas/getopt.git + git + @PARENT_TAG@ + v(.*?) + \1 + enable + v1.0.2 + + + + + *.tar + xz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..a04313f --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/jcomellas/getopt.git + 1c963cecd75cb5f7b37f28737abb120e61390c62 diff --git a/erlang-getopt.changes b/erlang-getopt.changes new file mode 100644 index 0000000..4b72e3b --- /dev/null +++ b/erlang-getopt.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Sun Feb 26 16:48:21 UTC 2023 - Dirk Müller + +- use disabled services to be Factory policy compatible + +------------------------------------------------------------------- +Wed Jan 13 10:16:11 UTC 2021 - matwey.kornilov@gmail.com + +- Initial version + diff --git a/erlang-getopt.spec b/erlang-getopt.spec new file mode 100644 index 0000000..4d8afce --- /dev/null +++ b/erlang-getopt.spec @@ -0,0 +1,59 @@ +# +# spec file for package erlang-getopt +# +# Copyright (c) 2023 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/ +# + + +%define app_name getopt +%define app_ver %(echo "%{version}" | cut -d "+" -f1) +Name: erlang-%{app_name} +Version: 1.0.2 +Release: 0 +Summary: Command-line parsing module similar to getopt +License: BSD-3-Clause +Group: Development/Libraries/Other +URL: https://github.com/jcomellas/getopt.git +Source: %{app_name}-%{version}.tar.xz +BuildRequires: erlang +BuildRequires: erlang-rebar +Requires: erlang + +%description +Command-line parsing module that uses a syntax similar to that of GNU getopt. + +%prep +%setup -q -n %{app_name}-%{version} + +%build +%rebar compile + +%install +for dir in ebin ; do + mkdir -p %{buildroot}%{erlang_libdir}/%{app_name}-%{app_ver}/${dir} + cp -r ${dir}/* %{buildroot}%{erlang_libdir}/%{app_name}-%{app_ver}/${dir}/ +done + +%check +%rebar eunit + +%files +%license LICENSE.txt +%doc examples README.md +%dir %{erlang_libdir}/%{app_name}-%{app_ver} +%dir %{erlang_libdir}/%{app_name}-%{app_ver}/ebin +%{erlang_libdir}/%{app_name}-%{app_ver}/ebin/%{app_name}.app +%{erlang_libdir}/%{app_name}-%{app_ver}/ebin/*.beam + +%changelog diff --git a/getopt-1.0.2.obscpio b/getopt-1.0.2.obscpio new file mode 120000 index 0000000..390c6af --- /dev/null +++ b/getopt-1.0.2.obscpio @@ -0,0 +1 @@ +/ipfs/bafkreif2rxlt6bdyzyambdrd62darswh3no77zonsayapvqlpr7vz2jcyi \ No newline at end of file diff --git a/getopt.obsinfo b/getopt.obsinfo new file mode 100644 index 0000000..df665cf --- /dev/null +++ b/getopt.obsinfo @@ -0,0 +1,5 @@ +name: getopt +version: 1.0.2 +mtime: 1598710943 +commit: 1c963cecd75cb5f7b37f28737abb120e61390c62 +