Name: nsc
Summary: Console monitor for Nagios
Version: 0.80.2
Release: 3
License: GPL
Group: Applications/System
URL: http://nsc-gothix.sourceforge.net/
Description: nsc is a curses-based console monitor for Nagios. It allows you to monitor
Nagios services without the expense or availability of a GUI.
The build could not start because the following file is missing: nsc-0.80-2.tar.gz
The build could not start because the following file is missing: nsc-0.80-2.tar.gz
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dag # Upstream: Stig H. Jacobsen <nsc$gothix,dk> %define real_version 0.80-2 Summary: Console monitor for Nagios Name: nsc Version: 0.80.2 Release: 3%{?dist} License: GPL Group: Applications/System URL: http://nsc-gothix.sourceforge.net/ Source: http://dl.sf.net/nsc-gothix/nsc-%{real_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch Requires: nagios, perl(Curses) Provides: perl(nsc_nagios) %description nsc is a curses-based console monitor for Nagios. It allows you to monitor Nagios services without the expense or availability of a GUI. %prep %setup -n %{name} %{__perl} -pi.orig -e ' s|/usr/local/nagios/var/status.log|%{_localstatedir}/log/nagios/status.log|; s|/usr/local/nagios/etc/services.cfg|%{_sysconfdir}/nagios/services.cfg|; ' nsc.pl %build %install %{__rm} -rf %{buildroot} %{__install} -Dp -m0755 nsc.pl %{buildroot}%{_bindir}/nsc %{__install} -Dp -m0644 nsc.1 %{buildroot}%{_mandir}/man1/nsc.1 %{__install} -Dp -m0644 nsc.pl %{buildroot}%{_libdir}/nsc/nsc.pl %{__install} -Dp -m0644 nsc_nagios.pm %{buildroot}%{_libdir}/nsc/nsc_nagios.pm %{__cp} -av gothix/ %{buildroot}%{_libdir}/nsc/ %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc CHANGES.txt INSTALL.txt LICENSE.txt NOTES.txt nsc.doc README.txt *status.log %doc %{_mandir}/man1/nsc.1* %{_bindir}/nsc %{_libdir}/nsc/ %changelog * Wed Jul 23 2009 Dag Wieers <dag@wieers.com> - 0.80.2-3 - This provides perl(nsc_nagios) locally (file not package) * Fri Mar 23 2007 Dag Wieers <dag@wieers.com> - 0.80.2-2 - Added missing perl modules. (Boris Folgmann) * Fri Nov 11 2005 Dries Verachtert <dries@ulyssis.org> - 0.80.2-1 - Updated to release 0.80.2. - Updated the source and project urls. * Fri Apr 16 2004 Dag Wieers <dag@wieers.com> - 0.71-1 - Initial package. (using DAR)