SPECS: cacti-plugin-passwd.spec (NEW) - init

wolvverine wolvverine at pld-linux.org
Wed Dec 26 06:29:11 CET 2007


Author: wolvverine                   Date: Wed Dec 26 05:29:11 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init

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

---- Diffs:

================================================================
Index: SPECS/cacti-plugin-passwd.spec
diff -u /dev/null SPECS/cacti-plugin-passwd.spec:1.1
--- /dev/null	Wed Dec 26 06:29:11 2007
+++ SPECS/cacti-plugin-passwd.spec	Wed Dec 26 06:29:06 2007
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+%define		namesrc	passwd
+%include	/usr/lib/rpm/macros.perl
+Summary:	Plugin for Cacti - passwd
+Summary(pl.UTF-8):	Wtyczka do Cacti - passwd
+Name:		cacti-plugin-passwd
+Version:	0.2
+Release:	0.1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	http://gilles.boulon.free.fr/passwd/%{namesrc}-0.1-modified-%{version}.zip
+# Source0-md5:	8c94eefb399b3b904e6c0ba5994d752c
+URL:		http://forums.cacti.net/about14751.html
+BuildRequires:	rpm-perlprov
+Requires:	cacti
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		webcactipluginroot /usr/share/cacti/plugins/%{namesrc}
+
+%description
+Plugin for Cacti - user changing passwords.
+
+%description -l pl.UTF-8
+Wtyczka do Cacti - zmiana hasła przez użytkownika.
+
+%prep
+%setup -q -n %{namesrc}
+
+# undos the source
+find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{webcactipluginroot}
+cp -aRf * $RPM_BUILD_ROOT%{webcactipluginroot}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README 
+%{webcactipluginroot}
+
+%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  2007-12-26 05:29:06  wolvverine
+- init
+
+
================================================================


More information about the pld-cvs-commit mailing list