2016-05-04 04:32:15 +02:00
|
|
|
#
|
|
|
|
# spec file for package pgbackrest
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 SUSE LINUX Products 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: pgbackrest
|
2017-02-10 01:59:49 +01:00
|
|
|
Version: 1.13
|
2016-05-04 04:32:15 +02:00
|
|
|
Release: 0
|
|
|
|
License: MIT
|
|
|
|
Summary: Reliable PostgreSQL Backup & Restore
|
|
|
|
Url: http://www.pgbackrest.org/
|
|
|
|
Group: Productivity/Databases/Tools
|
|
|
|
Source: %{name}-release-%{version}.tar.gz
|
2016-05-04 04:46:52 +02:00
|
|
|
Patch: pgbackrest-release-1.00_datadir.patch
|
2016-05-04 04:32:15 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: perl
|
|
|
|
|
|
|
|
%description
|
|
|
|
pgBackRest aims to be a simple, reliable backup and restore system that can
|
|
|
|
seamlessly scale up to the largest databases and workloads.
|
|
|
|
|
|
|
|
Instead of relying on traditional backup tools like tar and rsync, pgBackRest
|
|
|
|
implements all backup features internally and uses a custom protocol for
|
|
|
|
communicating with remote systems. Removing reliance on tar and rsync allows
|
|
|
|
for better solutions to database-specific backup challenges. The custom remote
|
|
|
|
protocol allows for more flexibility and limits the types of connections that
|
|
|
|
are required to perform a backup which increases security.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-release-%{version}
|
2016-05-04 04:46:52 +02:00
|
|
|
%patch -p1
|
2016-05-04 04:32:15 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2016-05-04 04:46:52 +02:00
|
|
|
install -D -d -m 0755 %{buildroot}%{perl_vendorlib} %{buildroot}%{_bindir}
|
|
|
|
cp -a lib/* %{buildroot}%{perl_vendorlib}/
|
|
|
|
cp -a bin/%{name} %{buildroot}%{_bindir}/%{name}
|
2016-05-04 04:32:15 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2016-11-10 12:18:15 +01:00
|
|
|
%doc LICENSE README.md
|
2016-05-04 04:32:15 +02:00
|
|
|
%{_bindir}/%{name}
|
2016-05-04 04:46:52 +02:00
|
|
|
%{perl_vendorlib}/pgBackRest/
|