SPECS: ganglia.spec - pld initscripts - ganglia-config moved to -devel

glen glen at pld-linux.org
Mon Nov 10 10:19:09 CET 2008


Author: glen                         Date: Mon Nov 10 09:19:09 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pld initscripts
- ganglia-config moved to -devel

---- Files affected:
SPECS:
   ganglia.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/ganglia.spec
diff -u SPECS/ganglia.spec:1.1 SPECS/ganglia.spec:1.2
--- SPECS/ganglia.spec:1.1	Sun Nov  9 16:31:20 2008
+++ SPECS/ganglia.spec	Mon Nov 10 10:19:04 2008
@@ -2,12 +2,14 @@
 Summary:	Ganglia Distributed Monitoring System
 Name:		ganglia
 Version:	3.1.1
-Release:	0.1
+Release:	0.2
 License:	BSD
 Group:		Applications/Networking
 URL:		http://ganglia.info/
 Source0:	http://dl.sourceforge.net/ganglia/%{name}-%{version}.tar.gz
 # Source0-md5:	e6f4de42afecb4731a5de4606e3f1045
+Source1:	%{name}-gmond.init
+Source2:	%{name}-gmetad.init
 Patch0:		%{name}-diskusage-fix.patch
 BuildRequires:	apr-devel
 BuildRequires:	expat-devel
@@ -160,8 +162,8 @@
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 install -d $RPM_BUILD_ROOT%{_mandir}/man5
 ## Put files in place
-cp -p gmond/gmond.init $RPM_BUILD_ROOT/etc/rc.d/init.d/gmond
-cp -p gmetad/gmetad.init $RPM_BUILD_ROOT/etc/rc.d/init.d/gmetad
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/gmond
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gmetad
 cp -p gmond/gmond.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5/gmond.conf.5
 cp -p gmetad/gmetad.conf $RPM_BUILD_ROOT%{_sysconfdir}/ganglia/gmetad.conf
 cp -p mans/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
@@ -241,7 +243,6 @@
 %dir %{_libdir}/ganglia
 %{_libdir}/ganglia/*.so
 %exclude %{_libdir}/ganglia/modpython.so
-%attr(755,root,root) %{_bindir}/ganglia-config
 
 %files gmetad
 %defattr(644,root,root,755)
@@ -279,6 +280,7 @@
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ganglia-config
 %{_includedir}/*.h
 %{_libdir}/libganglia*.so
 
@@ -298,6 +300,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/11/10 09:19:04  glen
+- pld initscripts
+- ganglia-config moved to -devel
+
 Revision 1.1  2008/11/09 15:31:20  glen
 - new, based on fedora spec,
   http://cvs.fedora.redhat.com/viewvc/rpms/ganglia/devel/ganglia.spec?revision=1.21
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ganglia.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list