SPECS: cman.spec - up to 1.01.00

arekm arekm at pld-linux.org
Sun Nov 6 00:48:55 CET 2005


Author: arekm                        Date: Sat Nov  5 23:48:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.01.00

---- Files affected:
SPECS:
   cman.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/cman.spec
diff -u SPECS/cman.spec:1.5 SPECS/cman.spec:1.6
--- SPECS/cman.spec:1.5	Fri Apr 15 01:00:38 2005
+++ SPECS/cman.spec	Sun Nov  6 00:48:50 2005
@@ -2,16 +2,12 @@
 Summary:	General-purpose symmetric cluster manager
 Summary(pl):	Zarządca symetrycznych klastrów ogólnego przeznaczenia
 Name:		cman
-Version:	1.0
-%define	bver	pre32
-Release:	0.%{bver}.1
+Version:	1.01.00
+Release:	1
 License:	GPL v2
 Group:		Applications/System
-Source0:	http://people.redhat.com/cfeist/cluster/tgz/%{name}-%{version}-%{bver}.tar.gz
-# Source0-md5:	0564c8b91dfccb75de792414cccf16bd
-# from cman-kernel CVS
-Source1:	cnxman-socket.h
-# NoSource1-md5: 5b10f050be925739f47b27ddb5075f5f (rev. 1.8)
+Source0:	ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
+# Source0-md5:	e98551b02ee8ed46ae0ab8fca193d751
 URL:		http://sources.redhat.com/cluster/cman/
 BuildRequires:	ccs-devel
 BuildRequires:	perl-base
@@ -52,16 +48,29 @@
 %description devel -l pl
 Pliki nagłówkowe CMAN.
 
-%prep
-%setup -q -n %{name}-%{version}-%{bver}
+%package static
+Summary:	CMAN static library
+Summary(pl):	Biblioteka statyczna CMAN
+Group:		Development/Libraries
+
+%description static
+CMAN static library.
+
+%description devel -l pl
+Biblioteka statyczna CMAN.
 
-install -d include/cluster
-cp -f %{SOURCE1} include/cluster
+%prep
+%setup -q -n cluster-%{version}
+install -d %{name}/include/cluster
+ln -s . %{name}/include/cluster/cluster
+install %{name}-kernel/src/cnxman-socket.h %{name}/include/cluster
 
+cd %{name}
 %{__perl} -pi -e 's/-g -O/%{rpmcflags}/' lib/Makefile
 %{__perl} -pi -e 's/-g/%{rpmcflags}/' {cman_tool,tests}/Makefile
 
 %build
+cd %{name}
 ./configure \
 	--incdir=%{_includedir} \
 	--libdir=%{_libdir} \
@@ -74,6 +83,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+cd %{name}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -84,9 +94,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_libdir}/*.so.*
 %{_mandir}/man5/cman.5*
 %{_mandir}/man8/cman_tool.8*
 #%attr(754,root,root) /etc/rc.d/init.d/cman
@@ -95,7 +109,13 @@
 %defattr(644,root,root,755)
 # XXX dir shared with dml-devel
 %dir %{_includedir}/cluster
-%{_includedir}/cluster/cnxman-socket.h
+%{_includedir}/*.h
+%{_includedir}/cluster/*.h
+%attr(755,root,root) %{_libdir}/*.so
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -103,6 +123,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/11/05 23:48:50  arekm
+- up to 1.01.00
+
 Revision 1.5  2005/04/14 23:00:38  qboosh
 - package cnxman-socket.h as -devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cman.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list