SPECS: nagios-nsc.spec (NEW) - new

glen glen at pld-linux.org
Mon Apr 3 08:41:19 CEST 2006


Author: glen                         Date: Mon Apr  3 06:41:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   nagios-nsc.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/nagios-nsc.spec
diff -u /dev/null SPECS/nagios-nsc.spec:1.1
--- /dev/null	Mon Apr  3 08:41:19 2006
+++ SPECS/nagios-nsc.spec	Mon Apr  3 08:41:14 2006
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	Nagios Console Monitor
+Name:		nagios-nsc
+Version:	0.80
+Release:	0.2
+License:	Artistic
+Group:		Applications
+Source0:	http://dl.sourceforge.net/nsc-gothix/nsc-%{version}-2.tar.gz
+# Source0-md5:	fec6de9a07d8b1b2f5fd106d7fc8a5ed
+Patch0:		nsc-path.patch
+URL:		http://sourceforge.net/projects/nsc-gothix
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+nsc is a curses-based tty/console monitor for Nagios v1/v2. It allows
+you to monitor Nagios services without the expense or availability of
+a GUI and features a full-screen realtime colourized display of Nagios
+service status.
+
+%prep
+%setup -q -n nsc
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{perl_vendorlib}}
+
+install nsc.pl $RPM_BUILD_ROOT%{_bindir}/nsc
+install nsc.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -a gothix $RPM_BUILD_ROOT%{perl_vendorlib}
+install nsc_nagios.pm $RPM_BUILD_ROOT%{perl_vendorlib}/nsc_nagios.pm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.txt
+%attr(755,root,root) %{_bindir}/nsc
+%{_mandir}/man1/nsc.1*
+%{perl_vendorlib}/gothix
+%{perl_vendorlib}/nsc_nagios.pm
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/03 06:41:14  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list