SPECS: nagios-nace.spec (NEW) - new (not tested much). perhaps you...

glen glen at pld-linux.org
Tue Aug 9 09:21:59 CEST 2005


Author: glen                         Date: Tue Aug  9 07:21:59 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new (not tested much). perhaps you find it useful

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

---- Diffs:

================================================================
Index: SPECS/nagios-nace.spec
diff -u /dev/null SPECS/nagios-nace.spec:1.1
--- /dev/null	Tue Aug  9 09:21:59 2005
+++ SPECS/nagios-nace.spec	Tue Aug  9 09:21:54 2005
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	Nagios Automated Configuration Engine
+Name:		nagios-nace
+Version:	0.3
+Release:	0.4
+Epoch:		0
+License:	GPL v2
+Group:		Applications
+Source0:	http://www.adamsinfoserv.com/software/nace-%{version}.tar.gz
+# Source0-md5:	be99a13eb5acebc7ee556476d256bbb1
+Patch0:		%{name}-perl.patch
+URL:		http://www.adamsinfoserv.com/AISTWiki/bin/view/AIS/NACE
+BuildRequires:	sed >= 4.0
+BuildArch:	noarch
+Obsoletes:	nace
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_appdir %{_datadir}/nace
+
+%description
+NACE is a generic query engine used to automatically create host and
+service definitions for hosts on the network.
+
+It is intended to be used in a shell script at regular intervals by an
+experienced Nagios administrator to perform a query against the
+supplied host list. It then creates host and service definitions using
+the parameters supplied in the query.
+
+%prep
+%setup -q -n nace-%{version}
+%patch0 -p1
+
+#sed -i -e '
+#s#DebugMsg \(.*\);#DebugMsg(\1);#g
+#' scripts/*.pl 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}/{bin,lib}
+
+cp -a scripts/* $RPM_BUILD_ROOT%{_appdir}/bin
+cp -a lib/* $RPM_BUILD_ROOT%{_appdir}/lib
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES INSTALL README README.old REQUIREMENTS THANKS TODO
+%dir %{_appdir}
+%dir %{_appdir}/bin
+%attr(755,root,root) %{_appdir}/bin/*
+%{_appdir}/lib
+
+%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  2005/08/09 07:21:54  glen
+- new (not tested much). perhaps you find it useful
+
================================================================



More information about the pld-cvs-commit mailing list