packages: nagios-nagtail/nagios-nagtail.spec (NEW) - new

glen glen at pld-linux.org
Thu Dec 2 11:58:14 CET 2010


Author: glen                         Date: Thu Dec  2 10:58:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/nagios-nagtail:
   nagios-nagtail.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/nagios-nagtail/nagios-nagtail.spec
diff -u /dev/null packages/nagios-nagtail/nagios-nagtail.spec:1.1
--- /dev/null	Thu Dec  2 11:58:14 2010
+++ packages/nagios-nagtail/nagios-nagtail.spec	Thu Dec  2 11:58:08 2010
@@ -0,0 +1,50 @@
+# $Revision$, $Date$
+%define		pkgname	nagtail
+Summary:	NagTail is like tail on the Nagios status logfile
+Name:		nagios-%{pkgname}
+Version:	0.0.31
+Release:	1
+License:	GPL
+Group:		Applications
+Source0:	http://www.vanheusden.com/nagtail/%{pkgname}-%{version}.tgz
+# Source0-md5:	57bc082f9555c6736e5bc8c4d41fa4aa
+URL:		http://www.vanheusden.com/nagtail/
+BuildRequires:	libstdc++-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+NagTail is like tail on the Nagios status logfile.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+%{__make} nagtail \
+	CC="%{__cc}" \
+	CXX="%{__cxx}" \
+	DEBUG="%{rpmcxxflags}" \
+	LDFLAGS="%{rpmldflags} -lstdc++"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -p nagtail $RPM_BUILD_ROOT%{_bindir}
+cp -a nagtail.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt
+%attr(755,root,root) %{_bindir}/nagtail
+%{_mandir}/man1/nagtail.1*
+
+%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  2010/12/02 10:58:08  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list