Author: glen                         Date: Sun Oct  5 11:37:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   cacti-plugin-lighttpd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/cacti-plugin-lighttpd.spec
diff -u /dev/null SPECS/cacti-plugin-lighttpd.spec:1.1
--- /dev/null   Sun Oct  5 13:37:54 2008
+++ SPECS/cacti-plugin-lighttpd.spec    Sun Oct  5 13:37:48 2008
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%define                plugin lighttpd
+Summary:       Plugin for Cacti - Lighttpd stats
+Name:          cacti-plugin-%{plugin}
+Version:       1.0
+Release:       0.1
+License:       GPL v2
+Group:         Applications/WWW
+# http://forums.cacti.net/download.php?id=8273
+Source0:       lighttpd_stats_%{version}.tar.gz
+# Source0-md5: 09aa6716901e08301517004de099d240
+URL:           http://forums.cacti.net/about4028.html
+BuildRequires: sed >= 4.0
+Requires:      cacti >= 0.8.6j
+Requires:      php-common >= 4:5.1
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                cactidir                /usr/share/cacti
+%define                resourcedir             %{cactidir}/resources
+%define                scriptsdir              %{cactidir}/scripts
+
+%description
+This package provides a script server script and cacti templates for
+graphing statistics for a lighttpd webserver.
+
+%prep
+%setup -q -n lighttpd_stats_%{version}
+%{__sed} -i -e '1i#!%{_bindir}/php' ss_lighttpd_stats.php
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{resourcedir},%{scriptsdir}}
+cp -a *.xml $RPM_BUILD_ROOT%{resourcedir}
+install *.php $RPM_BUILD_ROOT%{scriptsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README INSTALL CHANGELOG
+%{scriptsdir}/ss_lighttpd_stats.php
+%{resourcedir}/cacti_host_template_webserver_lighttpd.xml
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/10/05 11:37:48  glen
+- new
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to