]> git.pld-linux.org Git - packages/cacti-spine.git/blobdiff - cacti-spine.spec
- add 3 official patches
[packages/cacti-spine.git] / cacti-spine.spec
index fefcecdf45b465804b738e475167f309c5995c84..f46154485e2af73d00cbf33b141deef5bb1b7af0 100644 (file)
@@ -1,13 +1,16 @@
 Summary:       A backend data gatherer for cacti
 Summary(pl.UTF-8):     Backend gromadzÄ…cy dane dla cacti
 Name:          cacti-spine
-Version:       0.8.7a
-Release:       6
+Version:       0.8.7e
+Release:       3
 License:       GPL
 Group:         Applications
 Source0:       http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
-# Source0-md5: 85a32d256c056a3a4adb8bf3dff5e2dc
+# Source0-md5: 99e5bde07fc31d1ed8aa23c59de00417
 Patch0:                %{name}-paths.patch
+Patch100:      http://www.cacti.net/downloads/spine/patches/snmp_v3_fix.patch
+Patch101:      http://www.cacti.net/downloads/spine/patches/mysql_client_reconnect.patch
+Patch102:      http://www.cacti.net/downloads/spine/patches/ping_reliability.patch
 URL:           http://www.cacti.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -38,25 +41,30 @@ procesorem cmd.php.
 
 %prep
 %setup -q
+%patch100 -p1
+%patch101 -p1
+%patch102 -p1
 %patch0 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
+%{__automake}
 %{__autoconf}
+chmod +x ./configure
 %configure \
+       --with-results-buffer=4096 \
        --with-mysql \
        --with-snmp=%{_prefix}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install spine.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
+cp -a spine.conf $RPM_BUILD_ROOT%{_sysconfdir}
 mv $RPM_BUILD_ROOT%{_sbindir}/{spine,cacti-poller-spine}
 
 %clean
This page took 0.109436 seconds and 4 git commands to generate.