import CS pg_probackup-17-2.5.15-2.ac92457c2d1cfe43fced5b1167b5c90ecdc24cbe
This commit is contained in:
commit
8d8896d3eb
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
pg_probackup-2.5.15.tar.bz2
|
||||
postgresql-17.tar.bz2
|
||||
48
pg_probackup.spec
Normal file
48
pg_probackup.spec
Normal file
@ -0,0 +1,48 @@
|
||||
%global version 2.5.15
|
||||
%global release 2
|
||||
%global hash ac92457c2d1cfe43fced5b1167b5c90ecdc24cbe
|
||||
%global pgsql_major 17
|
||||
%global pgsql_full 17.2
|
||||
|
||||
Name: pg_probackup-%{pgsql_major}
|
||||
Version: %{version}
|
||||
Release: %{release}.%{hash}
|
||||
Summary: Backup utility for PostgreSQL
|
||||
Group: Applications/Databases
|
||||
License: BSD
|
||||
Url: https://postgrespro.ru
|
||||
Source0: http://ftp.postgresql.org/pub/source/v%{pgsql_full}/postgresql-%{pgsql_major}.tar.bz2
|
||||
Source1: pg_probackup-%{version}.tar.bz2
|
||||
BuildRequires: gcc make perl glibc-devel openssl-devel gettext zlib-devel
|
||||
|
||||
%description
|
||||
Backup tool for PostgreSQL.
|
||||
|
||||
%prep
|
||||
%setup -q -b1 -n postgresql-%{pgsql_full}
|
||||
|
||||
%build
|
||||
mv %{_builddir}/pg_probackup-%{version} contrib/pg_probackup
|
||||
./configure --disable-rpath --enable-debug --without-readline
|
||||
make -C 'src/common'
|
||||
make -C 'src/port'
|
||||
make -C 'src/interfaces'
|
||||
cd contrib/pg_probackup && make
|
||||
|
||||
%install
|
||||
%{__mkdir} -p %{buildroot}%{_bindir}
|
||||
%{__install} -p -m 755 contrib/pg_probackup/pg_probackup %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 9 2018 Grigory Smolkin <g.smolkin@postgrespro.ru> - %{version}-%{release}.%{hash}
|
||||
- 2.5.15
|
||||
|
||||
* Fri Jan 29 2018 Grigory Smolkin <g.smolkin@postgrespro.ru> - 2.0.14-1
|
||||
- Initial release.
|
||||
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
||||
SHA512 (pg_probackup-2.5.15.tar.bz2) = db9389dd2b1bd76c189b4bc199803f78c45e4fdaa1396476eab957a4d0733c9c7403c7b49fad0a2638480fa2e5b2395e375461fa253737496a9698f12469f6fe
|
||||
SHA512 (postgresql-17.tar.bz2) = 8e15e47c22d21e1cadc31249cf31af5abe34b8ab72930e58e5fe6124795ad237ca7b4fd3bf36b5f18589c4fc439dc2bab3045d9b4ba23d1846b4b2be6fd1cb69
|
||||
Loading…
Reference in New Issue
Block a user