SPECS: nagios-nxe.spec (NEW) - new, NFY

glen glen at pld-linux.org
Fri Apr 7 00:45:29 CEST 2006


Author: glen                         Date: Thu Apr  6 22:45:29 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, NFY

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

---- Diffs:

================================================================
Index: SPECS/nagios-nxe.spec
diff -u /dev/null SPECS/nagios-nxe.spec:1.1
--- /dev/null	Fri Apr  7 00:45:29 2006
+++ SPECS/nagios-nxe.spec	Fri Apr  7 00:45:24 2006
@@ -0,0 +1,50 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	Nagios XML Engine
+Name:		nagios-nxe
+Version:	1.0
+Release:	0.1
+License:	GPL v2
+Group:		Applications
+Source0:	http://dl.sourceforge.net/nxe/NXEv1r0.tar.gz
+# Source0-md5:	01b0747367fe96f0f302d90da29b1e3b
+URL:		http://nxe.sourceforge.net/
+BuildRequires:	rpm-perlprov >= 4.1-13
+Requires(triggerpostun):	sed >= 4.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Nagios XML Engine (NXE for short) is an Open Source XML processing
+layer for the Nagios scheduling & monitoring platform. NXE provides an
+XML interface for the most critical aspects of managing and reporting
+on your Nagios infrastructure via XML.
+
+%prep
+%setup -qc
+# undos the source
+find . -type f -print0 | xargs -0 sed -i -e 's,\r$,,'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install nxe.pl nxe_client.pl $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc USAGE.txt
+%attr(755,root,root) %{_bindir}/nxe.pl
+%attr(755,root,root) %{_bindir}/nxe_client.pl
+
+%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/06 22:45:24  glen
+- new, NFY
+
================================================================


More information about the pld-cvs-commit mailing list