X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcorosync.git;a=blobdiff_plain;f=corosync.spec;h=f0ea567ac764800ce2c6a8d84989e153cdbab168;hp=50d836c5de194fb9cfc4e9bbed2e22761401bfed;hb=HEAD;hpb=f7645a14adee84370d14371efc4cd748b4c17b14 diff --git a/corosync.spec b/corosync.spec index 50d836c..39a140d 100644 --- a/corosync.spec +++ b/corosync.spec @@ -12,17 +12,18 @@ %bcond_without qnetd # Quorum Net Daemon support %bcond_without xmlconf # XML configuration support %bcond_without libcgroup # libcgroup support +%bcond_without static_libs # static libraries # Summary: Corosync - OSI Certified implementation of a complete cluster engine Summary(pl.UTF-8): Corosync - implementacja silnika klastrowego certyfikowana przez OSI Name: corosync -Version: 2.4.5 -Release: 3 +Version: 2.4.6 +Release: 1 License: BSD Group: Base #Source0Download: http://corosync.org/download/ Source0: https://build.clusterlabs.org/corosync/releases/%{name}-%{version}.tar.gz -# Source0-md5: e36a056b893c313c4ec1fe0d7e6cdebd +# Source0-md5: 7f9d111c53b760cedd5e3bbcdf93f133 Source1: %{name}.init Source2: %{name}-notifyd.init Source3: %{name}-notifyd.sysconfig @@ -36,8 +37,8 @@ BuildRequires: groff %{?with_libcgroup:BuildRequires: libcgroup-devel} BuildRequires: libqb-devel %if %{with rdma} -BuildRequires: libibverbs-devel -BuildRequires: librdmacm-devel +BuildRequires: libibverbs-devel >= 20 +BuildRequires: librdmacm-devel >= 20 %endif %{?with_monitoring:BuildRequires: libstatgrab-devel >= 0.90} BuildRequires: libtool >= 2:2.2.6 @@ -143,6 +144,7 @@ Dane SNMP MIB dla Corosync. %{__automake} %configure \ BASHPATH=/bin/bash \ + %{__enable_disable static_libs static} \ %{?with_augeas:--enable-augeas} \ %{?with_dbus:--enable-dbus} \ %{?with_libcgroup:--enable-libcgroup} \ @@ -275,7 +277,7 @@ fi %if %{with xmlconf} %attr(755,root,root) %{_bindir}/corosync-xmlproc %config(noreplace) %{_sysconfdir}/corosync/corosync.xml.example -%dir %{_datadir}/corosync/xml2conf.xsl +%{_datadir}/corosync/xml2conf.xsl %{_mandir}/man8/corosync-xmlproc.8* %{_mandir}/man5/corosync.xml.5* %endif @@ -360,6 +362,7 @@ fi %{_mandir}/man3/sam_*.3* %{_mandir}/man3/votequorum_*.3* +%if %{with static_libs} %files static %defattr(644,root,root,755) %{_libdir}/libcfg.a @@ -370,6 +373,7 @@ fi %{_libdir}/libquorum.a %{_libdir}/libtotem_pg.a %{_libdir}/libvotequorum.a +%endif %if %{with testagents} %files testagents