#
# Conditional build:
-%bcond_without nfacct # build with nfacct plugin
+%bcond_without freeipmi # freeipmi plugin
+%bcond_without nfacct # nfacct plugin
Summary: Linux real time performance monitoring
+Summary(pl.UTF-8): Monitorowanie wydajności Linuksa w czasie rzeczywistym
Name: netdata
-Version: 1.3.0
-Release: 0.1
+Version: 1.8.0
+Release: 1
License: GPL v3+
Group: Applications/System
+#Source0Download: https://github.com/firehol/netdata/releases
Source0: https://github.com/firehol/netdata/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: f2854aa2e127a1c9f86366f17524c382
+# Source0-md5: 4058c3acdda1af5968e7dc636ba322e2
Source1: %{name}.conf
Source2: %{name}.init
Patch0: nodejs.patch
URL: http://netdata.firehol.org/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.60
BuildRequires: automake
+%{?with_freeipmi:BuildRequires: freeipmi-devel}
+BuildRequires: libcap-devel
%{?with_nfacct:BuildRequires: libmnl-devel}
%{?with_nfacct:BuildRequires: libnetfilter_acct-devel}
BuildRequires: libuuid-devel
so that you can get insights of what is happening now and what just
happened, on your systems and applications.
+%description -l pl.UTF-8
+netdata to najszybszy sposób wizualizacji metryk. Jest to wydajny pod
+względem zużycia zasobów, znacząco zoptymalizowany system do zbierania
+i wizualizacji dowolnego rodzaju danych zbieranych w linii czasu
+rzeczywistego - np. wykorzystania CPU, aktywności dysku, zapytań SQL,
+wywołań API, odwiedzających stronę WWW.
+
%package charts
Summary: netdata charts plugin
+Summary(pl.UTF-8): Wtyczka do wykresów dla netdata
Group: Applications/System
URL: https://github.com/firehol/netdata/wiki/General-Info---charts.d
Requires: %{name} = %{version}-%{release}
Requires: bash >= 4
-%if "%{_rpmversion}" >= "5"
BuildArch: noarch
-%endif
%description charts
Charts.d is BaSH script that allows you to write simple scripts for
Charts.d looks for scripts in charts.d. The scripts should have the
filename suffix: .chart.sh.
+%description charts -l pl.UTF-8
+Charts.d to skrypt Basha pozwalający na pisanie prostych skryptów do
+zbierania danych.
+
+Jest zaprojektowany tak, że właściwy skrypt zbierający dane jest
+trzymany cały czas w pamięci, zbierając dane z możliwie małym narzutem
+(z pojedynczą inicjacją, regularnie zbierając wartości).
+
+Charts.d wyszukuje skrypty w katalogu charts.d. Skrypty powinny mieć
+rozszerzenie nazwy pliku: .chart.sh.
+
%package nodejs
Summary: netdata node.js plugins
+Summary(pl.UTF-8): Wtyczki node.js dla netdata
Group: Applications/System
URL: https://github.com/firehol/netdata/wiki/General-Info---node.d
Requires: %{name} = %{version}-%{release}
-%if "%{_rpmversion}" >= "5"
BuildArch: noarch
-%endif
%description nodejs
node.d.plugin is a netdata plugin that provides an abstraction layer
instance of node, thus lowering the memory footprint of data
collection.
+%description nodejs -l pl.UTF-8
+Wtyczka node.d zapewnia warstwę abstrakcji, pozwalającą na łatwe i
+szybkie tworzenie modułów zbierających dane w node.js. Zarządza też
+wszystkimi modułami zbierającymi dane (umieszczonymi w node.d) przy
+użyciu prostej instancji węzła, obniżając narzut pamięciowy zbierania
+danych.
+
%package python
Summary: netdata Python plugins
+Summary(pl.UTF-8): Wtyczki Pythona dla netdata
Group: Applications/System
URL: https://github.com/firehol/netdata/wiki/How-to-write-new-module
Requires: %{name} = %{version}-%{release}
-%if "%{_rpmversion}" >= "5"
BuildArch: noarch
-%endif
%description python
Netdata Python plugins.
+%description python -l pl.UTF-8
+Wtyczki Pythona dla netdata.
+
%prep
%setup -q
%patch0 -p1
%{__automake}
%configure \
--libdir=%{_libexecdir} \
- --with-zlib \
- --with-math \
+ %{__enable_disable freeipmi plugin-freeipmi} \
%{__enable_disable nfacct plugin-nfacct} \
+ --with-math \
+ --with-zlib \
--with-user=netdata
%{__make}
%files
%defattr(644,root,root,755)
+%doc ChangeLog LICENSE.md LICENSE-REDISTRIBUTED.md README.md
%dir %{_sysconfdir}/%{name}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/apps_groups.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/netdata.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/fping.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/health_alarm_notify.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/health_email_recipients.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/stream.conf
%dir %{_sysconfdir}/%{name}/health.d
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/health.d/*.conf
%attr(754,root,root) /etc/rc.d/init.d/netdata
%files charts
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/charts.d.conf
+%dir %{_sysconfdir}/%{name}/charts.d
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/charts.d/*.conf
%attr(755,root,root) %{_libexecdir}/%{name}/plugins.d/charts.d*
%dir %{_libexecdir}/%{name}/charts.d
%{_libexecdir}/%{name}/charts.d/README.md
%files nodejs
%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/node.d.conf
+%dir %{_sysconfdir}/%{name}/node.d
%attr(755,root,root) %{_libexecdir}/%{name}/plugins.d/node.d.plugin
%dir %{_libexecdir}/%{name}/node.d
%{_libexecdir}/%{name}/node.d/README.md
%{_libexecdir}/%{name}/python.d/python_modules/*.py
%{_libexecdir}/%{name}/python.d/python_modules/pyyaml2
%{_libexecdir}/%{name}/python.d/python_modules/pyyaml3
+%{_libexecdir}/%{name}/python.d/python_modules/urllib3