2024-01-05 23:09:24 +01:00
|
|
|
Name: glue
|
2024-01-05 23:09:24 +01:00
|
|
|
Version: 1.0.12
|
2024-01-05 23:09:24 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://linux-ha.org/wiki/Cluster_Glue
|
2024-01-05 23:09:24 +01:00
|
|
|
Source: https://github.com/ClusterLabs/cluster-glue.git/glue-%{version}/cluster-glue-%{version}.tar.bz2
|
|
|
|
#Source: http://hg.linux-ha.org/glue/archive/glue-%{version}.tar.bz2
|
2024-01-05 23:09:24 +01:00
|
|
|
Patch0: glue-1.0.9-glib-2.32.patch
|
|
|
|
Patch1: glue-1.0.9-gcc-4.9.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: ldconfig
|
|
|
|
BuildRequires: libbrotli-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libcares-devel
|
|
|
|
BuildRequires: libcurl-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: libe2fs-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgss-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: libkrb5-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: libltdl-devel
|
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: libnetsnmp-devel
|
|
|
|
BuildRequires: libopenldap-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: libpsl-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: librtmp-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: libsasl2-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: libssh2-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: libzstd-devel
|
2024-01-05 23:09:24 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Cluster Glue is a set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack. In essence, Glue is everything that is not the cluster messaging layer (Heartbeat), nor the cluster resource manager (Pacemaker), nor a Resource Agent.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 23:09:24 +01:00
|
|
|
%setup -q -n cluster-glue-%{version}
|
|
|
|
#%patch0 -p1
|
|
|
|
#%patch1 -p1
|
|
|
|
./autogen.sh
|
2024-01-05 23:09:24 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2024-01-05 23:09:24 +01:00
|
|
|
--disable-fatal-warnings
|
2024-01-05 23:09:24 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 23:09:24 +01:00
|
|
|
%preun
|
|
|
|
%systemd_preun logd
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post logd
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun logd
|
|
|
|
:
|
|
|
|
|
2024-01-05 23:09:24 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 23:09:24 +01:00
|
|
|
#%{_sysconfdir}/init.d/logd
|
2024-01-05 23:09:24 +01:00
|
|
|
%{_sbindir}/cibsecret
|
|
|
|
%{_sbindir}/ha_logger
|
|
|
|
%{_sbindir}/hb_report
|
|
|
|
%{_sbindir}/lrmadmin
|
|
|
|
%{_sbindir}/meatclient
|
2024-01-05 23:09:24 +01:00
|
|
|
#%{_sbindir}/sbd
|
2024-01-05 23:09:24 +01:00
|
|
|
%{_sbindir}/stonith
|
2024-01-05 23:09:24 +01:00
|
|
|
%{_unitdir}/logd.service
|
|
|
|
%dir %{_datadir}/cluster-glue
|
|
|
|
#%{_datadir}/cluster-glue/combine-logs.pl
|
2024-01-05 23:09:24 +01:00
|
|
|
%{_datadir}/cluster-glue/ha_cf_support.sh
|
|
|
|
%{_datadir}/cluster-glue/ha_log.sh
|
2024-01-05 23:09:24 +01:00
|
|
|
%dir %{_datadir}/cluster-glue/lrmtest
|
|
|
|
%{_datadir}/cluster-glue/lrmtest/*
|
2024-01-05 23:09:24 +01:00
|
|
|
%{_datadir}/cluster-glue/openais_conf_support.sh
|
|
|
|
%{_datadir}/cluster-glue/utillib.sh
|
|
|
|
%{_mandir}/man1/ha_logger.1*
|
|
|
|
%{_mandir}/man8/ha_logd.8*
|
|
|
|
%{_mandir}/man8/hb_report.8*
|
|
|
|
%{_mandir}/man8/lrmadmin.8*
|
|
|
|
%{_mandir}/man8/meatclient.8*
|
|
|
|
%{_mandir}/man8/stonith.8*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/liblrm.so.*
|
|
|
|
%{_libdir}/libpils.so.*
|
|
|
|
%{_libdir}/libplumb.so.*
|
|
|
|
%{_libdir}/libplumbgpl.so.*
|
|
|
|
%{_libdir}/libstonith.so.*
|
|
|
|
%dir %{_libdir}/heartbeat
|
|
|
|
%{_libdir}/heartbeat/base64_md5_test
|
|
|
|
%{_libdir}/heartbeat/ha_logd
|
|
|
|
%{_libdir}/heartbeat/ipctest
|
|
|
|
%{_libdir}/heartbeat/ipctransientclient
|
|
|
|
%{_libdir}/heartbeat/ipctransientserver
|
|
|
|
%{_libdir}/heartbeat/logtest
|
|
|
|
%{_libdir}/heartbeat/lrmd
|
|
|
|
%dir %{_libdir}/heartbeat/plugins
|
2024-01-05 23:09:24 +01:00
|
|
|
%dir %{_libdir}/heartbeat/plugins/compress
|
|
|
|
%{_libdir}/heartbeat/plugins/compress/*
|
|
|
|
%dir %{_libdir}/heartbeat/plugins/InterfaceMgr
|
|
|
|
%{_libdir}/heartbeat/plugins/InterfaceMgr/*
|
|
|
|
%dir %{_libdir}/heartbeat/plugins/RAExec
|
|
|
|
%{_libdir}/heartbeat/plugins/RAExec/*
|
|
|
|
%dir %{_libdir}/heartbeat/plugins/test
|
|
|
|
%{_libdir}/heartbeat/plugins/test/*
|
2024-01-05 23:09:24 +01:00
|
|
|
%{_libdir}/heartbeat/transient-test.sh
|
|
|
|
%dir %{_libdir}/stonith
|
|
|
|
%dir %{_libdir}/stonith/plugins
|
2024-01-05 23:09:24 +01:00
|
|
|
%{_libdir}/stonith/plugins/external/*
|
|
|
|
%dir %{_libdir}/stonith/plugins/stonith2
|
|
|
|
%{_libdir}/stonith/plugins/stonith2/*
|
2024-01-05 23:09:24 +01:00
|
|
|
%{_libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper
|
|
|
|
%doc AUTHORS COPYING.LIB
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/clplumbing
|
|
|
|
%{_includedir}/clplumbing/*.h
|
|
|
|
%dir %{_includedir}/heartbeat
|
|
|
|
%{_includedir}/heartbeat/*.h
|
|
|
|
%dir %{_includedir}/heartbeat/lrm
|
|
|
|
%{_includedir}/heartbeat/lrm/*.h
|
|
|
|
%dir %{_includedir}/pils
|
|
|
|
%{_includedir}/pils/*.h
|
|
|
|
%dir %{_includedir}/stonith
|
|
|
|
%{_includedir}/stonith/*.h
|
|
|
|
%{_libdir}/liblrm.a
|
|
|
|
%{_libdir}/liblrm.la
|
|
|
|
%{_libdir}/liblrm.so
|
|
|
|
%{_libdir}/libpils.a
|
|
|
|
%{_libdir}/libpils.la
|
|
|
|
%{_libdir}/libpils.so
|
|
|
|
%{_libdir}/libplumb.a
|
|
|
|
%{_libdir}/libplumb.la
|
|
|
|
%{_libdir}/libplumb.so
|
|
|
|
%{_libdir}/libplumbgpl.a
|
|
|
|
%{_libdir}/libplumbgpl.la
|
|
|
|
%{_libdir}/libplumbgpl.so
|
|
|
|
%{_libdir}/libstonith.a
|
|
|
|
%{_libdir}/libstonith.la
|
|
|
|
%{_libdir}/libstonith.so
|
|
|
|
%dir %{_datadir}/doc/cluster-glue
|
|
|
|
%dir %{_datadir}/doc/cluster-glue/stonith/
|
|
|
|
%{_datadir}/doc/cluster-glue/stonith/*
|
|
|
|
%doc ChangeLog NEWS README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:09:24 +01:00
|
|
|
* Mon Dec 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.12-1mamba
|
|
|
|
- update to 1.0.12
|
|
|
|
|
2024-01-05 23:09:24 +01:00
|
|
|
* Tue May 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1mamba
|
|
|
|
- package created using the webbuild interface
|