packages: dlm/dlm.spec - updated to 2.03.10 (the last 2nd generation cluste...
qboosh
qboosh at pld-linux.org
Sun May 22 18:39:06 CEST 2011
Author: qboosh Date: Sun May 22 16:39:06 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 2.03.10 (the last 2nd generation cluster release)
---- Files affected:
packages/dlm:
dlm.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: packages/dlm/dlm.spec
diff -u packages/dlm/dlm.spec:1.18 packages/dlm/dlm.spec:1.19
--- packages/dlm/dlm.spec:1.18 Sun Apr 1 01:45:06 2007
+++ packages/dlm/dlm.spec Sun May 22 18:39:01 2011
@@ -2,12 +2,12 @@
Summary: General-purpose distributed lock manager
Summary(pl.UTF-8): Zarządca rozproszonych blokad ogólnego przeznaczenia
Name: dlm
-Version: 2.00.00
+Version: 2.03.10
Release: 1
-License: LGPL v2+
+License: LGPL v2.1+
Group: Libraries
Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
-# Source0-md5: 2ef3f4ba9d3c87b50adfc9b406171085
+# Source0-md5: 379b560096e315d4b52e238a5c72ba4a
URL: http://sources.redhat.com/cluster/dlm/
BuildRequires: perl-base
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,37 +50,39 @@
%prep
%setup -q -n cluster-%{version}
-cd %{name}
-%{__perl} -pi -e 's/-g -O/%{rpmcflags}/' lib/Makefile
-
%build
-cd %{name}
./configure \
+ --cc="%{__cc}" \
+ --cflags="%{rpmcflags} -Wall" \
+ --ldflags="%{rpmldflags}" \
--incdir=%{_includedir} \
+ --ncursesincdir=%{_includedir}/ncurses \
--libdir=%{_libdir} \
+ --libexecdir=%{_libdir} \
--mandir=%{_mandir} \
--prefix=%{_prefix} \
- --sbindir=%{_sbindir}
+ --sbindir=%{_sbindir} \
+ --without_gfs \
+ --without_gfs2 \
+ --without_gnbd \
+ --without_kernel_modules
-%{__make} \
- CC="%{__cc}" \
- incdir=`pwd`/include
+%{__make} -C %{name}
%install
rm -rf $RPM_BUILD_ROOT
-cd %{name}
install -d $RPM_BUILD_ROOT/%{_lib}
-%{__make} install \
+%{__make} -C %{name} install \
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_includedir}/cluster
-mv $RPM_BUILD_ROOT%{_libdir}/libdlm.so.*.* $RPM_BUILD_ROOT/%{_lib}
+mv $RPM_BUILD_ROOT%{_libdir}/libdlm.so.* $RPM_BUILD_ROOT/%{_lib}
ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libdlm.so.*.*) \
$RPM_BUILD_ROOT%{_libdir}/libdlm.so
-mv $RPM_BUILD_ROOT%{_libdir}/libdlm_lt.so.*.* $RPM_BUILD_ROOT/%{_lib}
+mv $RPM_BUILD_ROOT%{_libdir}/libdlm_lt.so.* $RPM_BUILD_ROOT/%{_lib}
ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libdlm_lt.so.*.*) \
$RPM_BUILD_ROOT%{_libdir}/libdlm_lt.so
@@ -92,17 +94,27 @@
%files
%defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/libdlm*.so.*.*
+%attr(755,root,root) /%{_lib}/libdlm.so.*.*
+%attr(755,root,root) %ghost /%{_lib}/libdlm.so.2
+%attr(755,root,root) /%{_lib}/libdlm_lt.so.*.*
+%attr(755,root,root) %ghost /%{_lib}/libdlm_lt.so.2
+%attr(755,root,root) %{_sbindir}/dlm_tool
+#/etc/udev/rules.d/51-dlm.rules
+%{_mandir}/man8/dlm_tool.8*
%files devel
%defattr(644,root,root,755)
%doc doc/*.txt
-%attr(755,root,root) %{_libdir}/libdlm*.so
+%attr(755,root,root) %{_libdir}/libdlm.so
+%attr(755,root,root) %{_libdir}/libdlm_lt.so
%{_includedir}/libdlm.h
+%{_mandir}/man3/dlm_*.3*
+%{_mandir}/man3/libdlm.3*
%files static
%defattr(644,root,root,755)
-%{_libdir}/libdlm*.a
+%{_libdir}/libdlm.a
+%{_libdir}/libdlm_lt.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -110,6 +122,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2011/05/22 16:39:01 qboosh
+- updated to 2.03.10 (the last 2nd generation cluster release)
+
Revision 1.18 2007/03/31 23:45:06 arekm
- up to 2.00.00
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dlm/dlm.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list