SPECS: drupal-mod-inactive_user.spec (NEW) - new

glen glen at pld-linux.org
Mon Oct 10 12:12:26 CEST 2005


Author: glen                         Date: Mon Oct 10 10:12:26 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   drupal-mod-inactive_user.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/drupal-mod-inactive_user.spec
diff -u /dev/null SPECS/drupal-mod-inactive_user.spec:1.1
--- /dev/null	Mon Oct 10 12:12:26 2005
+++ SPECS/drupal-mod-inactive_user.spec	Mon Oct 10 12:12:20 2005
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+%define		modname inactive_user
+Summary:	Drupal Inactive User Module
+Name:		drupal-mod-%{modname}
+Version:	0.1.cvs
+Release:	0.2
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	http://drupal.org/files/projects/inactive_user-cvs.tar.gz
+# Source0-md5:	64a37a6264d04c51b244c58fa008b180
+URL:		http://drupal.org/node/10435
+Requires:	drupal >= 4.6.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_drupaldir	%{_datadir}/drupal
+%define		_moddir		%{_drupaldir}/modules
+
+%description
+The inactive_user module provides Drupal administrators with an
+automatic way to manage inactive user accounts.  This module has two
+goals: to help keep users coming back to your site by reminding them
+when they've been away for a configurable period of time, and to
+cleanup unused accounts.
+
+One or more of the following actions can be automatically taken for
+users that have exceeded configurable periods of inactivity:
+- send an email to the user
+- send an email to the site administrator
+- block the account (a warning can first be issued, and notification
+  can be sent to the user and/or site administrator when the action
+  occurs)
+- delete the account (a warning can first be issued, and notification
+  can be sent to the user and/or site administrator when the action
+  occurs)
+- optionally prevent deletion of user that have created site content
+
+All events triggered by this module are logged via the watchdog.
+
+%prep
+%setup -q -n %{modname}
+rm -f LICENSE.txt # GPL v2
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_moddir}
+
+install *.module $RPM_BUILD_ROOT%{_moddir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ "$1" = 1 ]; then
+%banner -e %{name} <<EOF
+To create Inactive User MySQL database tables, import:
+zcat %{_docdir}/%{name}-%{version}/%{modname}.mysql.gz | mysql drupal
+EOF
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc *.txt CHANGELOG
+%doc %{modname}.mysql
+%{_moddir}/*.module
+
+%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/10/10 10:12:20  glen
+- new
+
================================================================



More information about the pld-cvs-commit mailing list