Summary(pl.UTF-8): Nieoficjalne wtyczki munina
Name: munin-plugins-contrib
Version: 20151106
-Release: 1
+Release: 2
License: GPL
Group: Daemons
Source0: https://github.com/munin-monitoring/contrib/tarball/master/%{name}-%{version}.tar.gz
find $i/* -type f | while read f ; do
echo $f | grep -q -E "(example|png|.gitignore)" && continue
n=$(echo $f | sed -e 's!'$i'/!!')
+ d=$(dirname $n)
+ if [ "$d" != "%{_datadir}/munin/plugins" ]; then
+ if ! test -d $RPM_BUILD_ROOT%{_datadir}/munin/plugins/$d; then
+ echo "%dir %{_datadir}/munin/plugins/$d" >>$j.list
+ install -d $RPM_BUILD_ROOT%{_datadir}/munin/plugins/$d
+ fi
+ fi
echo "%{_datadir}/munin/plugins/$n" >>$j.list
- install -d $RPM_BUILD_ROOT%{_datadir}/munin/plugins/$(dirname $n)
install -p $f $RPM_BUILD_ROOT%{_datadir}/munin/plugins/$n
done
done