mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
Initial spec file for 3.x/9.3
This commit is contained in:
@@ -54,4 +54,3 @@ export PATH=$PATH:/usr/pgsql-9.3/bin/
|
|||||||
- fix witness creation to create db and user if needed
|
- fix witness creation to create db and user if needed
|
||||||
* Fri Apr 04 2014 Nathan Van Overloop <nathan.van.overloop@nexperteam.be> 2.0.1
|
* Fri Apr 04 2014 Nathan Van Overloop <nathan.van.overloop@nexperteam.be> 2.0.1
|
||||||
- initial build for RHEL6
|
- initial build for RHEL6
|
||||||
|
|
||||||
|
|||||||
58
RHEL/repmgr-3.x/REL9_3/repmgr.spec
Normal file
58
RHEL/repmgr-3.x/REL9_3/repmgr.spec
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
Summary: repmgr
|
||||||
|
Name: repmgr
|
||||||
|
Version: 3.0rc
|
||||||
|
Release: 3
|
||||||
|
License: GPLv3
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
URL: http://repmgr.org
|
||||||
|
Packager: Ian Barwick <ian@2ndquadrant.com>
|
||||||
|
Vendor: 2ndQuadrant Limited
|
||||||
|
Distribution: centos
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
repmgr for centos6
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
|
||||||
|
%build
|
||||||
|
export PATH=$PATH:/usr/pgsql-9.3/bin/
|
||||||
|
%{__make} USE_PGXS=1
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
|
export PATH=$PATH:/usr/pgsql-9.3/bin/
|
||||||
|
%{__make} USE_PGXS=1 install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||||
|
%{__make} USE_PGXS=1 install_prog DESTDIR=%{buildroot} INSTALL="install -p"
|
||||||
|
%{__make} USE_PGXS=1 install_rhel DESTDIR=%{buildroot} INSTALL="install -p"
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
/usr/bin/repmgr
|
||||||
|
/usr/bin/repmgrd
|
||||||
|
/usr/pgsql-9.3/bin/repmgr
|
||||||
|
/usr/pgsql-9.3/bin/repmgrd
|
||||||
|
/usr/pgsql-9.3/lib/repmgr_funcs.so
|
||||||
|
/usr/pgsql-9.3/share/contrib/repmgr.sql
|
||||||
|
/usr/pgsql-9.3/share/contrib/repmgr_funcs.sql
|
||||||
|
/usr/pgsql-9.3/share/contrib/uninstall_repmgr.sql
|
||||||
|
/usr/pgsql-9.3/share/contrib/uninstall_repmgr_funcs.sql
|
||||||
|
%attr(0755,root,root)/etc/init.d/repmgrd
|
||||||
|
%attr(0644,root,root)/etc/sysconfig/repmgrd
|
||||||
|
%attr(0644,root,root)/etc/repmgr/repmgr.conf.sample
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 10 2015 Ian Barwick ian@2ndquadrant.com>
|
||||||
|
- build for repmgr 3.0
|
||||||
|
* Thu Jun 05 2014 Nathan Van Overloop <nathan.van.overloop@nexperteam.be> 2.0.2
|
||||||
|
- fix witness creation to create db and user if needed
|
||||||
|
* Fri Apr 04 2014 Nathan Van Overloop <nathan.van.overloop@nexperteam.be> 2.0.1
|
||||||
|
- initial build for RHEL6
|
||||||
1
RHEL/repmgr-3.x/REL9_3/repmgrd.init
Symbolic link
1
RHEL/repmgr-3.x/REL9_3/repmgrd.init
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../repmgr-2.x/repmgrd.init
|
||||||
1
RHEL/repmgr-3.x/REL9_3/repmgrd.sysconfig
Symbolic link
1
RHEL/repmgr-3.x/REL9_3/repmgrd.sysconfig
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../repmgr-2.x/repmgrd.sysconfig
|
||||||
Reference in New Issue
Block a user