]> git.pld-linux.org Git - packages/drupal-mod-inactive_user.git/blob - drupal-mod-inactive_user.spec
- converted to UTF-8
[packages/drupal-mod-inactive_user.git] / drupal-mod-inactive_user.spec
1 %define         modname inactive_user
2 Summary:        Drupal Inactive User Module
3 Summary(pl.UTF-8):   Moduł Inactive User dla Drupala
4 Name:           drupal-mod-%{modname}
5 Version:        0.1.cvs
6 Release:        0.2
7 License:        GPL v2
8 Group:          Applications/WWW
9 Source0:        http://drupal.org/files/projects/inactive_user-cvs.tar.gz
10 # Source0-md5:  64a37a6264d04c51b244c58fa008b180
11 URL:            http://drupal.org/node/10435
12 Requires:       drupal >= 4.6.0
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _drupaldir      %{_datadir}/drupal
17 %define         _moddir         %{_drupaldir}/modules
18
19 %description
20 The inactive_user module provides Drupal administrators with an
21 automatic way to manage inactive user accounts. This module has two
22 goals: to help keep users coming back to your site by reminding them
23 when they've been away for a configurable period of time, and to
24 cleanup unused accounts.
25
26 One or more of the following actions can be automatically taken for
27 users that have exceeded configurable periods of inactivity:
28 - send an email to the user
29 - send an email to the site administrator
30 - block the account (a warning can first be issued, and notification
31   can be sent to the user and/or site administrator when the action
32   occurs)
33 - delete the account (a warning can first be issued, and notification
34   can be sent to the user and/or site administrator when the action
35   occurs)
36 - optionally prevent deletion of user that have created site content
37
38 All events triggered by this module are logged via the watchdog.
39
40 This module is no longer maintained. It needs a new maintainer.
41
42 %description -l pl.UTF-8
43 Moduł inactive_user wyposaża administratorów Drupala w automatyczny
44 sposób zarządzania kontami nieaktywnych użytkowników. Moduł ten ma dwa
45 zadania: pomóc użytkownikom w powracaniu na stronę poprzez
46 przypominanie im, że nie byli na niej w ciągu konfigurowalnego okresu
47 czasu, oraz czyścić nieużywane konta.
48
49 Jedna lub więcej z następujących akcji może być podjęta dla
50 użytkowników, którzy przekroczyli konfigurowalny okres nieaktywności:
51 - wysłanie listu do użytkownika
52 - wysłanie listu do administratora serwisu
53 - zablokowanie konta (najpierw wysyłane jest ostrzeżenie, a
54   powiadomienie może być wysłane do użytkownika i/lub administratora
55   serwisu kiedy nastąpi zablokowanie)
56 - usunięcie konta (najpierw wysyłane jest ostrzeżenie, a
57   powiadomienie może być wysłane do użytkownika i/lub administratora
58   serwisu kiedy nastąpi usunięcie)
59 - opcjonalnie można zablokować usuwanie użytkowników, którzy
60   stworzyli jakąś treść na stronie.
61
62 Wszystkie zdarzenia wyzwalane przez ten moduł są logowane poprzez
63 watchdoga.
64
65 Ten moduł nie jest już utrzymywany. Wymaga nowego maintainera.
66
67 %prep
68 %setup -q -n %{modname}
69 rm -f LICENSE.txt # GPL v2
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{_moddir}
74
75 install *.module $RPM_BUILD_ROOT%{_moddir}
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post
81 if [ "$1" = 1 ]; then
82 %banner -e %{name} <<EOF
83 To create Inactive User MySQL database tables, import:
84 zcat %{_docdir}/%{name}-%{version}/%{modname}.mysql.gz | mysql drupal
85 EOF
86 fi
87
88 %files
89 %defattr(644,root,root,755)
90 %doc *.txt CHANGELOG
91 %doc %{modname}.mysql
92 %{_moddir}/*.module
This page took 0.256943 seconds and 3 git commands to generate.