SPECS: nagios-notify.spec - 0.9.1: package templates, add deps

glen glen at pld-linux.org
Fri Aug 4 01:47:48 CEST 2006


Author: glen                         Date: Thu Aug  3 23:47:48 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.9.1: package templates, add deps

---- Files affected:
SPECS:
   nagios-notify.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/nagios-notify.spec
diff -u SPECS/nagios-notify.spec:1.2 SPECS/nagios-notify.spec:1.3
--- SPECS/nagios-notify.spec:1.2	Thu Aug  3 14:34:19 2006
+++ SPECS/nagios-notify.spec	Fri Aug  4 01:47:42 2006
@@ -1,11 +1,16 @@
 # $Revision$, $Date$
 Summary:	Nagios Notify Script
 Name:		nagios-notify
-Version:	0.9
+Version:	0.9.1
 Release:	0.1
 License:	GPL v2
 Group:		Applications
-Source0:	%{name}.sh
+Source0:	%{name}-%{version}.tar.bz2
+# Source0-md5:	9de77442cc2a101f9a3ac67f48f1c87a
+URL:		http://svn.pld-linux.org/cgi-bin/viewsvn/nagios-notify/
+Requires:	awk
+Requires:	nagios-common
+Requires:	sed
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -15,13 +20,12 @@
 nagios-notify is template based notify script for Nagios.
 
 %prep
-%setup -qcT
-install %{SOURCE0} %{name}
+%setup -q
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}}
-install %{name} $RPM_BUILD_ROOT%{_sbindir}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -29,6 +33,7 @@
 %files
 %defattr(644,root,root,755)
 %dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %attr(755,root,root) %{_sbindir}/nagios-notify
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -37,6 +42,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/08/03 23:47:42  glen
+- 0.9.1: package templates, add deps
+
 Revision 1.2  2006/08/03 12:34:19  glen
 - noarch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nagios-notify.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list