1 |
Summary: Expire and archive user accounts |
Summary: Expire and archive user accounts |
2 |
Name: smeserver-expire-accounts |
Name: smeserver-expire-accounts |
3 |
Version: 0.1.8 |
Version: 0.1.8 |
4 |
Release: 1 |
Release: 6 |
5 |
License: MIT |
License: MIT |
6 |
Group: Applications/System |
Group: Applications/System |
7 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
8 |
|
Patch0: smeserver-expire-accounts-0.1.8-locale-2022-08-23.patch |
9 |
|
Patch1: smeserver-expire-accounts-0.1.8-locale-2024-09-05.patch |
10 |
|
|
11 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
12 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
Requires: perl(DateTime) |
Requires: perl(DateTime) |
20 |
Requires: xz |
Requires: xz |
21 |
Requires: /bin/tar |
Requires: /bin/tar |
22 |
|
Provides: perl(esmith::FormMagick::Panel::expireaccounts) |
23 |
|
|
24 |
%description |
%description |
25 |
With this, you can set an expiration date for user accounts |
With this, you can set an expiration date for user accounts |
26 |
|
|
27 |
%prep |
%prep |
28 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
29 |
|
%patch0 -p1 |
30 |
|
%patch1 -p1 |
31 |
|
|
32 |
%build |
%build |
33 |
perl createlinks |
perl createlinks |
34 |
/sbin/e-smith/generate-lexicons |
/sbin/e-smith/generate-lexicons |
35 |
|
%{__mkdir_p} root/etc/e-smith/events/%{name}-update |
36 |
%{__mkdir_p} root/home/e-smith/files/archives/users |
%{__mkdir_p} root/home/e-smith/files/archives/users |
|
%if 0%{?rhel} <= 5 |
|
|
%{__mkdir_p} root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/ |
|
|
mv root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/expireaccounts.pm \ |
|
|
root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/ |
|
|
%endif |
|
37 |
|
|
38 |
%install |
%install |
39 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
56 |
%preun |
%preun |
57 |
|
|
58 |
%changelog |
%changelog |
59 |
|
* Thu Sep 05 2024 Terry Fage <terry@fage.id.au> 0.1.8-6.sme |
60 |
|
- apply locale 2024-09-05.patch |
61 |
|
|
62 |
|
* Sun Aug 21 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.8-5.sme |
63 |
|
- apply smeserver-expire-accounts-0.1.8-locale-2022-08-23 |
64 |
|
|
65 |
|
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.8-3.sme |
66 |
|
- import to contribs 10 [SME: 12135] |
67 |
|
|
68 |
* Thu Jul 15 2021 Daniel Berteaud <daniel@firewall-services.com> 0.1.8-1 |
* Thu Jul 15 2021 Daniel Berteaud <daniel@firewall-services.com> 0.1.8-1 |
69 |
- Typo (daniel@firewall-services.com) |
- Typo (daniel@firewall-services.com) |
70 |
|
|