]> git.pld-linux.org Git - packages/drupal-mod-inactive_user.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Oct 2005 10:12:20 +0000 (10:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal-mod-inactive_user.spec -> 1.1

drupal-mod-inactive_user.spec [new file with mode: 0644]

diff --git a/drupal-mod-inactive_user.spec b/drupal-mod-inactive_user.spec
new file mode 100644 (file)
index 0000000..d2f30cc
--- /dev/null
@@ -0,0 +1,64 @@
+%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
This page took 0.080785 seconds and 4 git commands to generate.