Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:restic
restic-unstable
restic.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File restic.spec of Package restic-unstable
# # spec file for package restic # # Copyright (c) 2019 SUSE LINUX GmbH, 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/ # # nodebuginfo %global pkg_name restic Name: restic-unstable Version: 0 Release: 0 Summary: Backup program with deduplication and encryption License: BSD-2-Clause Group: Productivity/Archiving/Backup Url: https://restic.net/ Source0: %{pkg_name}-%{version}.tar.zst Source1: vendor.tar.zst Source2: %{pkg_name}.keyring Source3: series Patch: build.patch BuildRequires: bash-completion BuildRequires: golang-packaging BuildRequires: zsh BuildRequires: golang(API) >= 1.19 Conflicts: %{pkg_name} %{go_nostrip} %description restic is a backup program. It supports verification, encryption, snapshots and deduplication. %package bash-completion Summary: Bash Completion for %{name} Group: System/Shells Requires: %{name} = %{version} Supplements: packageand(restic:bash-completion) Conflicts: %{pkg_name}-bash-completion BuildArch: noarch %description bash-completion Bash command line completion support for %{name}. %package zsh-completion Summary: Zsh Completion for %{name} Group: System/Shells Requires: %{name} = %{version} Supplements: packageand(restic:zsh) BuildArch: noarch Conflicts: %{pkg_name}-zsh-completion %description zsh-completion Zsh command line completion support for %{name}. %prep %autosetup -n %{pkg_name}-%{version} -p1 -a 1 %build echo "%{version}" > VERSION go run -mod=vendor build.go --enable-pie --verbose %install install -D -m0755 %{pkg_name} %{buildroot}%{_bindir}/%{pkg_name} install -d %{buildroot}%{_mandir}/man1 ./%{pkg_name} generate --man %{buildroot}%{_mandir}/man1 install -Dm0644 doc/bash-completion.sh %{buildroot}%{_datadir}/bash-completion/completions/%{pkg_name} install -Dm0644 doc/zsh-completion.zsh %{buildroot}%{_sysconfdir}/zsh_completion.d/%{pkg_name} %files %defattr(-,root,root) %doc *.md %doc doc/ %license LICENSE %{_bindir}/restic %{_mandir}/man1/restic*.1* %files bash-completion %{_datadir}/bash-completion/completions/%{pkg_name} %files zsh-completion %config %{_sysconfdir}/zsh_completion.d/%{pkg_name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor