commit b74bed7fcda05e6f820d405a1de23d948b24f29d8b9f823219ee97978faff58f Author: Richard Brown Date: Mon Jun 22 13:06:35 2020 +0000 Accepting request 816361 from home:RBrownSUSE:velero OBS-URL: https://build.opensuse.org/request/show/816361 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/velero?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/velero-1.3.1.tar.gz b/velero-1.3.1.tar.gz new file mode 100644 index 0000000..1368c70 --- /dev/null +++ b/velero-1.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff49dda812137befe0e33c130a06862d07bf5c62268ea23b0f5092d0ea144858 +size 8972750 diff --git a/velero.changes b/velero.changes new file mode 100644 index 0000000..f6ae618 --- /dev/null +++ b/velero.changes @@ -0,0 +1,29 @@ +------------------------------------------------------------------- +Tue Mar 24 05:55:22 UTC 2020 - jenting hsiao + +- Pass git tree status = clean to fix `velero version` output Git commit with trailing dash + +------------------------------------------------------------------- +Wed Mar 11 02:46:41 UTC 2020 - Clark Hsu + +- Bump version 1.3.1 + +------------------------------------------------------------------- +Mon Mar 2 23:33:08 UTC 2020 - jenting hsiao + +- Bump version 1.3.0 + +------------------------------------------------------------------- +Mon Feb 24 06:14:57 UTC 2020 - jenting hsiao + +- Simplify rpm spec + +------------------------------------------------------------------- +Fri Jan 3 09:13:35 UTC 2020 - Klaus Kämpf + +- fix velero-restic-restore-helper package name + +------------------------------------------------------------------- +Fri Jan 3 09:13:20 UTC 2020 - Klaus Kämpf + +- Initial package v1.2.0 diff --git a/velero.spec b/velero.spec new file mode 100644 index 0000000..a0a7b40 --- /dev/null +++ b/velero.spec @@ -0,0 +1,65 @@ +# +# spec file for package velero and velero-restic-restore-helper +# +# Copyright (c) 2019,2020 SUSE LLC, Nuernberg, Germany. +# +# 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 goipath github.com/vmware-tanzu/velero +%define commit 0665b05321eefeb7b7fdd6984750745b7429774f +%define gitstate clean + +Name: velero +Version: 1.3.1 +Release: 0 +Summary: Backup program with deduplication and encryption +License: Apache-2.0 +Group: Productivity/Archiving/Backup +URL: https://velero.io +Source0: https://github.com/vmware-tanzu/velero/archive/%{name}-%{version}.tar.gz +BuildRequires: golang-packaging +BuildRequires: golang(API) >= 1.12 + +%description +velero is a backup program. It supports verification, encryption, +snapshots and deduplication. + +%package velero-restic-restore-helper +Summary: Restic restore helper for %{name} +Group: Productivity/Archiving/Backup +Requires: %{name} = %{version} +Supplements: packageand(velero:velero-restic-restore-helper) + +%description velero-restic-restore-helper +Restic restore helper for %{name}. + +%prep +%setup -q + +%build +%goprep %{goipath} +export CGO_ENABLED=0 +%gobuild -installsuffix "static" -ldflags "-X %{goipath}/pkg/buildinfo.Version=%{version} -X %{goipath}/pkg/buildinfo.GitSHA=%{commit} -X %{goipath}/pkg/buildinfo.GitTreeState=%{gitstate}" cmd/velero +%gobuild -installsuffix "static" -ldflags "-X %{goipath}/pkg/buildinfo.Version=%{version} -X %{goipath}/pkg/buildinfo.GitSHA=%{commit} -X %{goipath}/pkg/buildinfo.GitTreeState=%{gitstate}" cmd/velero-restic-restore-helper + +%install +%goinstall + +%files +%defattr(-,root,root) +%doc README.md +%license LICENSE +%{_bindir}/velero +%{_bindir}/velero-restic-restore-helper + +%changelog