]> git.pld-linux.org Git - packages/cacti-spine.git/blobdiff - cacti-spine.spec
- obsolete cacti-cactid
[packages/cacti-spine.git] / cacti-spine.spec
index 4b58c73342f0f6dc3ea18ae61e0cea5453066b5c..6213085a460bbdc7de1ffa8d3cfecc90da082255 100644 (file)
@@ -1,16 +1,13 @@
-Summary:       A backend data gatherer for cacti
-Summary(pl.UTF-8):     Backend gromadzący dane dla cacti
+Summary:       A backend data gatherer for Cacti
+Summary(pl.UTF-8):     Backend gromadzący dane dla Cacti
 Name:          cacti-spine
-Version:       0.8.7e
-Release:       4
+Version:       0.8.7g
+Release:       3
 License:       GPL
 Group:         Applications
 Source0:       http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
-# Source0-md5: 99e5bde07fc31d1ed8aa23c59de00417
+# Source0-md5: 22c2b1986c880b9c587876c18d5c3f9f
 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
@@ -22,6 +19,7 @@ BuildRequires:        rpmbuild(macros) >= 1.502
 BuildRequires: zlib-devel
 %requires_eq   net-snmp-libs
 Requires:      cacti
+Obsoletes:     cacti-cactid
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _webapps        /etc/webapps
@@ -30,20 +28,17 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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
+A backend data gatherer for Cacti. This package represents the future
+replacement for Cacti's cmd.php. It is almost 100% compatible with the
 legacy cmd.php processor.
 
 %description -l pl.UTF-8
-Backend gromadzący dane dla cacti. Ten pakiet reprezentuje przyszły
-zamiennik cmd.php z cacti. Jest prawie w 100% kompatybilny ze starym
+Backend gromadzący dane dla Cacti. Ten pakiet reprezentuje przyszły
+zamiennik cmd.php z Cacti. Jest prawie w 100% kompatybilny ze starym
 procesorem cmd.php.
 
 %prep
 %setup -q
-%patch100 -p1
-%patch101 -p1
-%patch102 -p1
 %patch0 -p1
 
 %build
@@ -63,9 +58,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_sysconfdir}
-cp -a spine.conf $RPM_BUILD_ROOT%{_sysconfdir}
 mv $RPM_BUILD_ROOT%{_sbindir}/{spine,cacti-poller-spine}
+mv $RPM_BUILD_ROOT%{_sysconfdir}/spine.conf{.dist,}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -73,5 +67,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_sbindir}/cacti-poller-spine
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/spine.conf
+%attr(755,root,root) %{_sbindir}/cacti-poller-spine
This page took 0.082927 seconds and 4 git commands to generate.