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
This commit is contained in:
Michael Vetter 2022-12-07 09:43:34 +00:00 committed by Git OBS Bridge
commit 2e82355068
7 changed files with 114 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

24
_service Normal file
View File

@ -0,0 +1,24 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/Hyde46/hoard.git</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="scm">git</param>
<param name="revision">v1.2.0</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">disable</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">hoard</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>
</services>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
hoard-1.2.0~0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:940a2f1b8708440d9fc49df643fb6d3da34e882941bbf2902ace8e8fc15b467d
size 2604556

4
hoard.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Dec 7 09:20:17 UTC 2022 - Michael Vetter <mvetter@suse.com>
- Initial package of hoard 1.2.0 for openSUSE

52
hoard.spec Normal file
View File

@ -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

3
vendor.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:571731f9e896132e2d28b9f496f884bf0856f2a6745af7e6140b65e43b16577f
size 21521800