File VeeamExtract.spec of Package VeeamExtract
#
# spec file for package VeeamExtract
#
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
#
# 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 http://bugs.opensuse.org/
#
Name: VeeamExtract
Version: 10.0.0.4461
Release: 0
Summary: Veeam Backup & Replication Extract Utility
License: NonFree
URL: https://www.veeam.com/
Source: https://download2.veeam.com/%{name}_%{version}.tar.gz
BuildRequires: help2man
ExclusiveArch: x86_64
%description
Veeam Backup & Replication comes with an extract utility that can
be used to recover machines from backup files. The extract utility
does not require any interaction with Veeam Backup & Replication
and can be used as an independent tool on Linux and Microsoft
Windows machines.
The extract utility can be helpful, for example, if it is written
to the tape next to machine backup files. In this case, you get a
possibility to recover machines from backups at any moment of time
even if backups are removed from Veeam Backup & Replication or
Veeam Backup & Replication is uninstalled at all.
Note:
The extract utility does not work with backups that are stored on
scale-out backup repositories.
%prep
%setup -q -c
%build
# Rename binary to VeeamExtract to avoid naming conflicts with
# other packages
mv extract VeeamExtract
# generate manpage
chmod +x VeeamExtract
help2man -h -help ./VeeamExtract -m VeeamExtract -N --version-string="%{version}" -o VeeamExtract.1
%install
install -Dpm 0755 VeeamExtract %{buildroot}%{_bindir}/VeeamExtract
install -Dpm 0644 VeeamExtract.1 %{buildroot}/%{_mandir}/man1/VeeamExtract.1
%files
%{_bindir}/VeeamExtract
%{_mandir}/man1/VeeamExtract.1%{?ext_man}
%changelog