]> git.pld-linux.org Git - packages/cacti-spine.git/blobdiff - cacti-spine.spec
- up to 1.2.1
[packages/cacti-spine.git] / cacti-spine.spec
index 42aaa74391a5e96deb00faad5f327bc84fdc4be6..ab3b65c07c23e0b0f276348d52a60f529cd2cbd8 100644 (file)
@@ -1,16 +1,22 @@
-Summary:       A backend data gatherer for cacti
-Summary(pl.UTF-8):     Backend gromadzący dane dla cacti
+#
+# Conditional build:
+%bcond_without cap             # Enable support for the Linux Capabilities (default: disabled)
+
+Summary:       A backend data gatherer for Cacti
+Summary(pl.UTF-8):     Backend gromadzący dane dla Cacti
 Name:          cacti-spine
-Version:       0.8.7g
-Release:       2
+Version:       1.2.1
+Release:       1
 License:       GPL
-Group:         Applications
+Group:         Daemons
 Source0:       http://www.cacti.net/downloads/spine/%{name}-%{version}.tar.gz
-# Source0-md5: 22c2b1986c880b9c587876c18d5c3f9f
+# Source0-md5: a0705c007e22a9fa12c592d9d610ff05
 Patch0:                %{name}-paths.patch
+# Official patches http://www.cacti.net/spine_download_patches.php
 URL:           http://www.cacti.net/
 BuildRequires: autoconf
 BuildRequires: automake
+%{?with_cap:BuildRequires:     libcap-devel}
 BuildRequires: libtool
 BuildRequires: mysql-devel
 BuildRequires: net-snmp-devel
@@ -19,6 +25,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
@@ -27,13 +34,13 @@ 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
@@ -42,13 +49,14 @@ procesorem cmd.php.
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__automake}
 %{__autoconf}
 chmod +x ./configure
 %configure \
        --with-results-buffer=4096 \
        --with-mysql \
+       %{__enable_disable cap lcap} \
        --with-snmp=%{_prefix}
 %{__make}
 
@@ -65,6 +73,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc README.md
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/spine.conf
 %attr(755,root,root) %{_sbindir}/cacti-poller-spine
+%{_mandir}/man1/spine.1*
This page took 0.032632 seconds and 4 git commands to generate.