Name: mrtgcen Version: 0.1 Release: 3mamba Summary: Organize MRTG graphs into consolidated web pages Group: Network/Monitoring Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.geocities.com/aisvc/ Source0: http://www.geocities.com/aisvc/howto/mrtgcen.zip Source1: mrtgcen-README Patch: %{name}-unix.patch License: GPL Requires: mrtg >= 2.10.15 BuildRoot: %{_tmppath}/%{name}-%{version}-root # NOTE: version number is not provided by the mrtgcen package %description MRTG-Central was born out of the need to organize an increasingly large number of MRTG graphs and provide at-a-glance access to this information. MRTG-Central is a front-end to MRTG that creates a hierarchical menu structure in a navigation pane and organizes MRTG graphs into consolidated web pages. %prep %setup -q -c -n %{name} %patch -p1 -b .unix %build %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} for f in alert.pl allday.pl navbar.pl; do install -D -m 0755 $f %{buildroot}%{_libdir}/mrtg2/$f # convert DOS newlines (CR/LF) to Unix format sed -i 's/\x0D$//' %{buildroot}%{_libdir}/mrtg2/$f done install -m 644 %{S:1} README %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %{_libdir}/mrtg2/alert.pl %{_libdir}/mrtg2/allday.pl %{_libdir}/mrtg2/navbar.pl %doc README %changelog * Fri Sep 13 2013 Automatic Build System 0.1-3mamba - automatic rebuild by autodist * Wed Oct 04 2006 Davide Madrisan 0.1-2qilnx - convert DOS newlines (CR/LF) to Unix format * Tue Dec 14 2004 Davide Madrisan 0.1-1qilnx - package created by autospec