1 |
# $Id: smeserver-ezmlm-www.spec,v 1.4 2022/03/16 04:27:12 jpp Exp $ |
# $Id: smeserver-ezmlm-www.spec,v 1.8 2022/03/19 03:30:10 jpp Exp $ |
2 |
# Authority: picsone |
# Authority: picsone |
3 |
# Name: Normando Hall |
# Name: Normando Hall |
4 |
|
|
5 |
%define name smeserver-ezmlm-www |
%define name smeserver-ezmlm-www |
6 |
%define version 2.0.0 |
%define version 2.0.0 |
7 |
%define release 3 |
%define release 6 |
8 |
|
|
9 |
Summary: ezmlm-www packaged for sme server |
Summary: ezmlm-www packaged for sme server |
10 |
Name: %{name} |
Name: %{name} |
29 |
by using a modular architecture: it is fully Perl-based. |
by using a modular architecture: it is fully Perl-based. |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-6.sme |
33 |
|
- remove list archive creation from event [SME: 11909] |
34 |
|
- keep it a manual intervention until we add a button on server-manager |
35 |
|
|
36 |
|
* Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-5.sme |
37 |
|
- fix ez_search perms [SME: 11909] |
38 |
|
- use KinoSearch1 |
39 |
|
- create directory indexes |
40 |
|
|
41 |
* Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme |
* Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme |
42 |
- build for SME10 [SME: 11909] |
- build for SME10 [SME: 11909] |
43 |
use initial source and compile ourself the index.cgi |
use initial source and compile ourself the index.cgi |
56 |
%setup -T -D -a 1 |
%setup -T -D -a 1 |
57 |
cp -r ezmlm-www-1.4.5/* root/opt/mailinglist |
cp -r ezmlm-www-1.4.5/* root/opt/mailinglist |
58 |
%patch0 -p1 |
%patch0 -p1 |
59 |
|
# sed KinoSearch KinoSearch1 |
60 |
|
#sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \ |
61 |
|
# -e 's/KinoSearch/KinoSearch1/g' |
62 |
|
#mkdir -p root/opt/mailinglist/search/indexes |
63 |
|
|
64 |
%build |
%build |
65 |
perl createlinks |
perl createlinks |
72 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
73 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
74 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
75 |
|
--dir '/opt/mailinglist/search/indexes' 'attr(4775,ezmlm,ezmlm)' \ |
76 |
--file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \ |
--file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \ |
77 |
--file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \ |
--file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \ |
78 |
--file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \ |
--file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \ |