# Conditional build:
-%bcond_without apidocs # do not build apidocs
+%bcond_with apidocs # build apidocs
Summary: Corosync - OSI Certified implementation of a complete cluster engine
Name: corosync
Version: 1.0.0
-Release: 0.1
+Release: 1
License: BSD
Group: Base
Source0: http://devresources.linux-foundation.org/dev/openais/downloads/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: dd40a6d6a89904e5e65116b560573aa7
+# Source0-md5: 257f5509f3da951ba84b596fedf42185
URL: http://www.corosync.org/
BuildRequires: autoconf
BuildRequires: automake
%clean
rm -rf $RPM_BUILD_ROOT
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc AUTHORS CHANGELOG README.devmap README.recovery SECURITY