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: 4 |
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-22.patch |
9 |
|
|
10 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
11 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: perl(DateTime) |
Requires: perl(DateTime) |
19 |
Requires: xz |
Requires: xz |
20 |
Requires: /bin/tar |
Requires: /bin/tar |
21 |
|
Provides: perl(esmith::FormMagick::Panel::expireaccounts) |
22 |
|
|
23 |
%description |
%description |
24 |
With this, you can set an expiration date for user accounts |
With this, you can set an expiration date for user accounts |
25 |
|
|
26 |
%prep |
%prep |
27 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
28 |
|
%patch0 -p1 |
29 |
|
|
30 |
%build |
%build |
31 |
perl createlinks |
perl createlinks |
32 |
/sbin/e-smith/generate-lexicons |
/sbin/e-smith/generate-lexicons |
33 |
|
%{__mkdir_p} root/etc/e-smith/events/%{name}-update |
34 |
%{__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 |
|
35 |
|
|
36 |
%install |
%install |
37 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
54 |
%preun |
%preun |
55 |
|
|
56 |
%changelog |
%changelog |
57 |
|
* Sun Aug 21 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.8-4.sme |
58 |
|
- apply smeserver-expire-accounts-0.1.8-locale-2022-08-22 |
59 |
|
|
60 |
|
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.8-3.sme |
61 |
|
- import to contribs 10 [SME: 12135] |
62 |
|
|
63 |
* 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 |
64 |
- Typo (daniel@firewall-services.com) |
- Typo (daniel@firewall-services.com) |
65 |
|
|