197 lines
5.5 KiB
RPMSpec
197 lines
5.5 KiB
RPMSpec
Name: glue
|
|
Version: 1.0.12
|
|
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
|
|
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
|
|
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
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libbrotli-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcares-devel
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libe2fs-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgss-devel
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: libkrb5-devel
|
|
BuildRequires: libltdl-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libnetsnmp-devel
|
|
BuildRequires: libopenldap-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libpsl-devel
|
|
BuildRequires: librtmp-devel
|
|
BuildRequires: libsasl2-devel
|
|
BuildRequires: libssh2-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: libzstd-devel
|
|
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
|
|
%setup -q -n cluster-glue-%{version}
|
|
#%patch0 -p1
|
|
#%patch1 -p1
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure \
|
|
--disable-fatal-warnings
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%preun
|
|
%systemd_preun logd
|
|
:
|
|
|
|
%post
|
|
%systemd_post logd
|
|
:
|
|
|
|
%postun
|
|
%systemd_postun logd
|
|
:
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
#%{_sysconfdir}/init.d/logd
|
|
%{_sbindir}/cibsecret
|
|
%{_sbindir}/ha_logger
|
|
%{_sbindir}/hb_report
|
|
%{_sbindir}/lrmadmin
|
|
%{_sbindir}/meatclient
|
|
#%{_sbindir}/sbd
|
|
%{_sbindir}/stonith
|
|
%{_unitdir}/logd.service
|
|
%dir %{_datadir}/cluster-glue
|
|
#%{_datadir}/cluster-glue/combine-logs.pl
|
|
%{_datadir}/cluster-glue/ha_cf_support.sh
|
|
%{_datadir}/cluster-glue/ha_log.sh
|
|
%dir %{_datadir}/cluster-glue/lrmtest
|
|
%{_datadir}/cluster-glue/lrmtest/*
|
|
%{_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
|
|
%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/*
|
|
%{_libdir}/heartbeat/transient-test.sh
|
|
%dir %{_libdir}/stonith
|
|
%dir %{_libdir}/stonith/plugins
|
|
%{_libdir}/stonith/plugins/external/*
|
|
%dir %{_libdir}/stonith/plugins/stonith2
|
|
%{_libdir}/stonith/plugins/stonith2/*
|
|
%{_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
|
|
* Mon Dec 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.12-1mamba
|
|
- update to 1.0.12
|
|
|
|
* Tue May 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1mamba
|
|
- package created using the webbuild interface
|