Summary(pl.UTF-8): Nieoficjalne wtyczki munina
Name: munin-plugins-contrib
Version: 20151014
-Release: 1
+Release: 2
License: GPL
Group: Daemons
Source0: https://github.com/munin-monitoring/contrib/tarball/master/%{name}.tar.gz
znajdującym się na https://github.com/munin-monitoring/contrib/.
%define contrib_package()\
-%package %1\
-Summary: 3rd-party Munin plugin - %1\
-Summary(pl.UTF-8): Nieoficjalna wtyczka dla munina - %1\
+%package %{1}\
+Summary: 3rd-party Munin plugin - %{1}\
+Summary(pl.UTF-8): Nieoficjalna wtyczka dla munina - %{1}\
Group: Daemons\
Requires: munin-node\
\
-%description %1\
+%description %{1}\
This package contains 3rd-party plugins for Munin from contrib repository\
located at https://github.com/munin-monitoring/contrib/.\
\
-%description %1 -l pl.UTF-8\
+%description %{1} -l pl.UTF-8\
Ten pakiet zawera nieoficjalne wtyczki dla Munina z repozytorium contrib,\
znajdującym się na https://github.com/munin-monitoring/contrib/.\
\
-%files %1 -f %1.list\
+%files %{1} -f %{1}.list\
%defattr(755,root,root,755)\
%{nil}
for i in plugins/*; do
[ -d $i ] || continue
- j=$(basename $i)
+ j=$(basename $i | sed -e 's/_$//')
>$j.list
find $i/* -type f | while read f ; do
if file $f | grep -qs script ; then
%contrib_package http
%contrib_package ipvs
%contrib_package java
-%contrib_package jchkmail_counters_
+%contrib_package jchkmail_counters
%contrib_package jenkins
%contrib_package joomla
%contrib_package kamailio