/[smecontribs]/rpms/smeserver-expire-accounts/contribs10/smeserver-expire-accounts.spec
ViewVC logotype

Annotation of /rpms/smeserver-expire-accounts/contribs10/smeserver-expire-accounts.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Wed Aug 3 06:35:19 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-expire-accounts-0_1_8-3
Changes since 1.2: +3 -2 lines
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.8-3.sme
- import to contribs 10 [SME: 12135]

1 jpp 1.1 Summary: Expire and archive user accounts
2     Name: smeserver-expire-accounts
3     Version: 0.1.8
4 jpp 1.3 Release: 3
5 jpp 1.1 License: MIT
6     Group: Applications/System
7     Source: %{name}-%{version}.tar.gz
8    
9     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
10     BuildArchitectures: noarch
11     BuildRequires: e-smith-devtools
12     BuildRequires: gettext
13    
14     Requires: e-smith-base >= 5.2.0
15     Requires: qmail
16     Requires: qmail-autoresponder
17     Requires: perl(DateTime)
18     Requires: xz
19     Requires: /bin/tar
20 jpp 1.3 Provides: perl(esmith::FormMagick::Panel::expireaccounts)
21 jpp 1.1
22     %description
23     With this, you can set an expiration date for user accounts
24    
25     %prep
26     %setup -q -n %{name}-%{version}
27    
28     %build
29     perl createlinks
30     /sbin/e-smith/generate-lexicons
31 jpp 1.2 %{__mkdir_p} root/etc/e-smith/events/%{name}-update
32 jpp 1.1 %{__mkdir_p} root/home/e-smith/files/archives/users
33     %if 0%{?rhel} <= 5
34     %{__mkdir_p} root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/
35     mv root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/expireaccounts.pm \
36     root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/
37     %endif
38    
39     %install
40     /bin/rm -rf $RPM_BUILD_ROOT
41     (cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
42     /bin/rm -f %{name}-%{version}-filelist
43     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
44     --dir /home/e-smith/files/archives 'attr(0750,root,root)' \
45     > %{name}-%{version}-filelist
46    
47     %clean
48     rm -rf $RPM_BUILD_ROOT
49    
50     %files -f %{name}-%{version}-filelist
51     %defattr(-,root,root)
52    
53     %pre
54    
55     %post
56    
57     %preun
58    
59     %changelog
60 jpp 1.3 * Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.8-3.sme
61 jpp 1.2 - import to contribs 10 [SME: 12135]
62    
63 jpp 1.1 * Thu Jul 15 2021 Daniel Berteaud <daniel@firewall-services.com> 0.1.8-1
64     - Typo (daniel@firewall-services.com)
65    
66     * Mon Mar 08 2021 Daniel Berteaud <daniel@firewall-services.com> 0.1.7-1
67     - new package built with tito
68    
69     * Mon Mar 8 2021 Daniel Berteaud <daniel@firewall-services.com> - 0.1.7-1.sme
70     - Suspend email delivery during archiving
71     - Licence is MIT
72     - Rebuild using tito
73    
74     * Mon May 30 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.6-1.sme
75     - Fix a typo in en-us locale label for DESC_WARN_USER
76    
77     * Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.5-1.sme
78     - Use xz as default compression format
79    
80     * Tue Apr 12 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.4-1.sme
81     - Accept current day as a future date
82     - Requires xz
83    
84     * Tue Apr 12 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1.sme
85     - Add tar in the archives extension
86    
87     * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1.sme
88     - Only list expired accounts in the inactive accounts table
89    
90     * Mon Apr 4 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1.sme
91     - Fix permissions on /home/e-smith/files/archives
92    
93     * Wed Mar 30 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1.sme
94     - Initial release

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed