/[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.1 - (hide annotations) (download)
Tue Aug 2 06:37:01 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-expire-accounts-0_1_8-1
Initial import

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

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