forked from pool/pgbackrest
Marcus Rueckert
d771a30254
perl libraries installed in the normal search path we dont need this anymore. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=2
58 lines
2.1 KiB
RPMSpec
58 lines
2.1 KiB
RPMSpec
#
|
|
# 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
|
|
Version: 1.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
|
|
Patch: pgbackrest-release-1.00_datadir.patch
|
|
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}
|
|
%patch -p1
|
|
|
|
%build
|
|
|
|
%install
|
|
install -D -d -m 0755 %{buildroot}%{perl_vendorlib} %{buildroot}%{_bindir}
|
|
cp -a lib/* %{buildroot}%{perl_vendorlib}/
|
|
cp -a bin/%{name} %{buildroot}%{_bindir}/%{name}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc LICENSE README.md CHANGELOG.md
|
|
%{_bindir}/%{name}
|
|
%{perl_vendorlib}/pgBackRest/
|