SPECS: glusterfs.spec - Release 1. Added init.d script for launchi...

matkor matkor at pld-linux.org
Fri Jan 4 16:40:16 CET 2008


Author: matkor                       Date: Fri Jan  4 15:40:16 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Release 1. Added init.d script for launching glusterfsd.

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

---- Diffs:

================================================================
Index: SPECS/glusterfs.spec
diff -u SPECS/glusterfs.spec:1.5 SPECS/glusterfs.spec:1.6
--- SPECS/glusterfs.spec:1.5	Wed Jan  2 13:10:08 2008
+++ SPECS/glusterfs.spec	Fri Jan  4 16:40:11 2008
@@ -1,14 +1,18 @@
 # $Revision$, $Date$
 # TODO: package docs
+# TODO: Fix init scripts
+# 	They work as expected, pid file contains correct pid, 
+#	but status and stop whip about daemon being dead.
 Summary:	Clustered File Storage that can scale to peta bytes
 Summary(pl.UTF-8):	Klastrowy system przechowywania plików skalujący się do petabajtów
 Name:		glusterfs
 Version:	1.3.7
-Release:	0.2
+Release:	1
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://ftp.zresearch.com/pub/gluster/glusterfs/1.3/%{name}-%{version}.tar.gz
 # Source0-md5:	ede5fe1e17e7c333536400e138a084f1
+Source1:	glusterfsd.init
 URL:		http://gluster.org/glusterfs.php
 BuildRequires:	bison
 BuildRequires:	flex
@@ -127,14 +131,15 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/glusterfsd
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-##%{_sysconfdir}/%{name}/%{name}*
-
 
 %files common
 %defattr(644,root,root,755)
@@ -150,10 +155,6 @@
 %dir %{_libdir}/glusterfs/%{version}/xlator/*
 %attr(755,root,root) %{_libdir}/glusterfs/%{version}/xlator/*/*.so
 
-##%dir %{_libdir}/glusterfs/%{version}/*
-##%dir %{_libdir}/glusterfs/%{version}/*/*
-##%attr(755,root,root) %{_libdir}/glusterfs/%{version}/*/*/*.so
-##%attr(755,root,root) %{_libdir}/glusterfs/*/*/*/*so
 %dir /var/log/glusterfs
 
 
@@ -162,6 +163,7 @@
 %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
+%attr(754,root,root) /etc/rc.d/init.d/glusterfsd
 %attr(755,root,root) %{_sbindir}/glusterfsd
 
 
@@ -185,6 +187,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008-01-04 15:40:11  matkor
+- Release 1. Added init.d script for launching glusterfsd.
+
 Revision 1.5  2008-01-02 12:10:08  darekr
 - missing dir
 
================================================================

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



More information about the pld-cvs-commit mailing list