]> git.pld-linux.org Git - packages/collectd.git/blobdiff - collectd.spec
- rel.5 - notify_email, nut and postgresql modules separated
[packages/collectd.git] / collectd.spec
index a9e9c3fb0f240018a8ef591034826b1117f47d8c..a74ec15c3445ebc9d39b583ae8ae8236b11bf1fe 100644 (file)
@@ -5,7 +5,7 @@
 # - Current plugins status:
 #    apache  . . . . . . yes
 #    apcups  . . . . . . yes
-#    apple_sensors . . . no
+#    apple_sensors . . . no            (obvious)
 #    ascent  . . . . . . yes
 #    battery . . . . . . yes
 #    cpu . . . . . . . . yes
@@ -21,9 +21,9 @@
 #    interface . . . . . yes
 #    iptables  . . . . . yes
 #    ipmi  . . . . . . . yes
-#    ipvs  . . . . . . . no (ip_vs.h not found)
+#    ipvs  . . . . . . . no            (ip_vs.h not found - llh to be fixed)
 #    irq . . . . . . . . yes
-#    libvirt . . . . . . no
+#    libvirt . . . . . . no            (requires library)
 #    load  . . . . . . . yes
 #    logfile . . . . . . yes
 #    mbmon . . . . . . . yes
@@ -37,7 +37,7 @@
 #    nginx . . . . . . . yes
 #    ntpd  . . . . . . . yes
 #    nut . . . . . . . . yes
-#    perl  . . . . . . . no (needs libperl)
+#    perl  . . . . . . . no            (needs libperl)
 #    ping  . . . . . . . yes
 #    powerdns  . . . . . yes
 #    processes . . . . . yes
@@ -48,7 +48,7 @@
 #    swap  . . . . . . . yes
 #    syslog  . . . . . . yes
 #    tail  . . . . . . . yes
-#    tape  . . . . . . . no
+#    tape  . . . . . . . no            ?
 #    tcpconns  . . . . . yes
 #    teamspeak2  . . . . yes
 #    unixsock  . . . . . yes
@@ -75,7 +75,7 @@ Summary:      Collects system information in RRD files
 Summary(pl.UTF-8):     Zbieranie informacji o systemie w plikach RRD
 Name:          collectd
 Version:       4.5.0
-Release:       1.2
+Release:       5
 License:       GPL v2
 Group:         Daemons
 Source0:       http://collectd.org/files/%{name}-%{version}.tar.gz
@@ -220,6 +220,33 @@ Requires:  %{name} = %{version}-%{release}
 %description nginx
 nginx plugin for collectd.
 
+%package notify_desktop
+Summary:       notify_desktop for collectd
+Summary(pl_PL.UTF-8):  Wtyczka notify_desktop dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description notify_desktop
+notify_desktop plugin for collectd.
+
+%package notify_email
+Summary:       notify_email for collectd
+Summary(pl_PL.UTF-8):  Wtyczka notify_email dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description notify_email
+notify_email plugin for collectd.
+
+%package nut
+Summary:       nut-plugin for collectd
+Summary(pl_PL.UTF-8):  Wtyczka nut dla collectd
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description nut
+nut plugin for collectd.
+
 %package ping
 Summary:       ping-plugin for collectd
 Summary(pl_PL.UTF-8):  Wtyczka ping dla collectd
@@ -229,6 +256,20 @@ Requires:  %{name} = %{version}-%{release}
 %description ping
 ping plugin for collectd.
 
+%package postgresql
+Summary:       mysql-plugin for collectd
+Summary(pl_PL.UTF-8):  Moduł postgresql dla collectd.
+Group:         Daemons
+Requires:      %{name} = %{version}-%{release}
+
+%description postgresql
+PostgreSQL querying plugin. This plugins provides data of issued commands,
+called handlers and database traffic.
+
+%description postgresql -l pl.UTF-8
+Moduł odpytujący PostgreSQL. Wtyczka udostępnia dane o wydawanych
+poleceniach, wywoływanych procedurach obsługi i ruchu bazodanowym.
+
 %package powerdns
 Summary:       powerdns-plugin for collectd
 Summary(pl_PL.UTF-8):  Wtyczka powerdns dla collectd
@@ -308,7 +349,8 @@ EOF
        --%{?with_multimeter:en}%{!?with_multimeter:dis}able-multimeter \
        --%{?with_dns:en}%{!?with_dns:dis}able-dns \
        --%{?with_iptables:en}%{!?with_iptables:dis}able-iptables \
-       --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink
+       --%{?with_netlink:en}%{!?with_netlink:dis}able-netlink \
+       --disable-ipvs
 
 
 %{__make} LDFLAGS="%{rpmldflags} -lstatgrab" \
@@ -386,13 +428,13 @@ fi
 %if %{with iptables}
 %attr(755,root,root) %{_libdir}/%{name}/iptables.so
 %endif
-%attr(755,root,root) %{_libdir}/%{name}/ipvs.so
+# Disabled - requires fixed libc-headers or whole kernel source.
+# It was marked as disabled in status message on top.
+#%attr(755,root,root) %{_libdir}/%{name}/ipvs.so
 %attr(755,root,root) %{_libdir}/%{name}/irq.so
 %attr(755,root,root) %{_libdir}/%{name}/load.so
 %attr(755,root,root) %{_libdir}/%{name}/logfile.so
 %attr(755,root,root) %{_libdir}/%{name}/mbmon.so
-%attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
-%attr(755,root,root) %{_libdir}/%{name}/notify_email.so
 %attr(755,root,root) %{_libdir}/%{name}/memcached.so
 %attr(755,root,root) %{_libdir}/%{name}/memory.so
 %if %{with multimeter}
@@ -402,11 +444,9 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/netlink.so
 %endif
 %attr(755,root,root) %{_libdir}/%{name}/network.so
-%attr(755,root,root) %{_libdir}/%{name}/nut.so
 %attr(755,root,root) %{_libdir}/%{name}/nfs.so
 %attr(755,root,root) %{_libdir}/%{name}/ntpd.so
 #%attr(755,root,root) %{_libdir}/%{name}/perl.so
-%attr(755,root,root) %{_libdir}/%{name}/postgresql.so
 %attr(755,root,root) %{_libdir}/%{name}/processes.so
 %attr(755,root,root) %{_libdir}/%{name}/serial.so
 %attr(755,root,root) %{_libdir}/%{name}/swap.so
@@ -452,9 +492,12 @@ fi
 
 %files collection
 %defattr(644,root,root,755)
+%dir %{_webappdir}
 %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/collection.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
+%dir %{_appdir}
+%dir %{_appdir}/cgi-bin
 %attr(755,root,root) %{_appdir}/cgi-bin/collection.cgi
 
 %files dns
@@ -479,10 +522,26 @@ fi
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/nginx.so
 
+%files notify_desktop
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/notify_desktop.so
+
+%files notify_email
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/notify_email.so
+
+%files nut
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/nut.so
+
 %files ping
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/ping.so
 
+%files postgresql
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/postgresql.so
+
 %files powerdns
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/powerdns.so
This page took 0.030852 seconds and 4 git commands to generate.