3 Summary: general-purpose distributed lock manager
6 Version: 0.0.0.%{snap}.1
10 Source0: %{name}.tar.gz
11 # Source0-md5: 2aad29664265c6d2b4ab43276d4a45fd
12 Patch0: %{name}-DESTDIR.patch
13 URL: http://sources.redhat.com/cluster/
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The DLM lock manager is a kernel-based VMS-like distributed lock
18 manager. It is general purpose and not specific to only GFS or CLVM.
19 Kernel and userspace locking API's are available.
22 Summary: Header files and development documentation for %{name}
23 Group: Development/Libraries
24 Requires: %{name} = %{epoch}:%{version}-%{release}
27 Header files and development documentation for %{name}.
30 Summary: Static %{name} library
31 Group: Development/Libraries
32 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
35 Static %{name} library.
43 --incdir=%{_includedir} \
44 --kernel_src=%{_kernelsrcdir} \
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
61 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_libdir}/*.so.*
69 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/*.so
74 %defattr(644,root,root,755)