Author: glen                         Date: Sun Oct  5 02:42:19 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move to cacti webapps dir; rel 4

---- Files affected:
SPECS:
   cacti-spine.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/cacti-spine.spec
diff -u SPECS/cacti-spine.spec:1.22 SPECS/cacti-spine.spec:1.23
--- SPECS/cacti-spine.spec:1.22 Sun Oct  5 04:40:27 2008
+++ SPECS/cacti-spine.spec      Sun Oct  5 04:42:14 2008
@@ -3,11 +3,12 @@
 Summary(pl.UTF-8):     Backend gromadzÄ…cy dane dla cacti
 Name:          cacti-spine
 Version:       0.8.7a
-Release:       3
+Release:       4
 License:       GPL
 Group:         Applications
 Source0:       http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
 # Source0-md5: 85a32d256c056a3a4adb8bf3dff5e2dc
+Patch0:                %{name}-paths.patch
 URL:           http://www.cacti.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -20,6 +21,11 @@
 Requires:      cacti
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _webapps        /etc/webapps
+%define                _webapp         cacti
+%define                _sysconfdir     %{_webapps}/%{_webapp}
+%define                _bindir         %{_sbindir}
+
 %description
 A backend data gatherer for cacti. This package represents the future
 replacement for cacti's cmd.php. It is almost 100% compatible with the
@@ -32,6 +38,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -50,6 +57,7 @@
        DESTDIR=$RPM_BUILD_ROOT
 
 install spine.conf $RPM_BUILD_ROOT%{_sysconfdir}
+mv $RPM_BUILD_ROOT%{_sbindir}/{spine,cacti-poller-spine}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -57,7 +65,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/cacti-poller-spine
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/spine.conf
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -66,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2008/10/05 02:42:14  glen
+- move to cacti webapps dir; rel 4
+
 Revision 1.22  2008/10/05 02:40:27  glen
 - drop old name
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cacti-spine.spec?r1=1.22&r2=1.23&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to