From 2e82355068004d7b58fb743ef9f73a9ca84fa476ade8d2d13cfdd667d845b7a2 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 7 Dec 2022 09:43:34 +0000 Subject: [PATCH] Accepting request 1040897 from home:jubalh OBS-URL: https://build.opensuse.org/request/show/1040897 OBS-URL: https://build.opensuse.org/package/show/utilities/hoard?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++++ _service | 24 ++++++++++++++++++++ cargo_config | 5 +++++ hoard-1.2.0~0.tar.xz | 3 +++ hoard.changes | 4 ++++ hoard.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++ vendor.tar.xz | 3 +++ 7 files changed, 114 insertions(+) create mode 100644 .gitattributes create mode 100644 _service create mode 100644 cargo_config create mode 100644 hoard-1.2.0~0.tar.xz create mode 100644 hoard.changes create mode 100644 hoard.spec create mode 100644 vendor.tar.xz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/_service b/_service new file mode 100644 index 0000000..578c448 --- /dev/null +++ b/_service @@ -0,0 +1,24 @@ + + + https://github.com/Hyde46/hoard.git + @PARENT_TAG@~@TAG_OFFSET@ + git + v1.2.0 + * + v(\d+\.\d+\.\d+) + \1 + disable + + + + *.tar + xz + + + + hoard + xz + true + + + diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/hoard-1.2.0~0.tar.xz b/hoard-1.2.0~0.tar.xz new file mode 100644 index 0000000..f7ee5fc --- /dev/null +++ b/hoard-1.2.0~0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:940a2f1b8708440d9fc49df643fb6d3da34e882941bbf2902ace8e8fc15b467d +size 2604556 diff --git a/hoard.changes b/hoard.changes new file mode 100644 index 0000000..6e99315 --- /dev/null +++ b/hoard.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Dec 7 09:20:17 UTC 2022 - Michael Vetter + +- Initial package of hoard 1.2.0 for openSUSE diff --git a/hoard.spec b/hoard.spec new file mode 100644 index 0000000..cfce08c --- /dev/null +++ b/hoard.spec @@ -0,0 +1,52 @@ +# +# spec file for package hoard +# +# 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/ +# + + +Name: hoard +Version: 1.2.0~0 +Release: 0 +Summary: CLI command organizer +License: MIT +Group: Productivity/File utilities +URL: https://hyde46.github.io/hoard/ +Source0: %{name}-%{version}.tar.xz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: cargo-packaging +BuildRequires: libopenssl-devel + +%description +Command organizer tool to hoard all your precious commands. + +%prep +%autosetup -a1 +mkdir .cargo +cp %{SOURCE2} .cargo/config + +%build +%{cargo_build} + +%install +%{cargo_install} + +%check +%{cargo_test} + +%files +%{_bindir}/%{name} + +%changelog diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..d4ed826 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:571731f9e896132e2d28b9f496f884bf0856f2a6745af7e6140b65e43b16577f +size 21521800