1 |
# $Id: smeserver-ezmlm-www.spec,v 1.4 2022/03/16 04:27:12 jpp Exp $ |
# $Id: smeserver-ezmlm-www.spec,v 1.6 2022/03/19 02:57:09 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 4 |
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-4.sme |
33 |
|
- fix ez_search perms [SME: 11909] |
34 |
|
- use KinoSearch1 |
35 |
|
- create directory indexes |
36 |
|
|
37 |
* 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 |
38 |
- build for SME10 [SME: 11909] |
- build for SME10 [SME: 11909] |
39 |
use initial source and compile ourself the index.cgi |
use initial source and compile ourself the index.cgi |
52 |
%setup -T -D -a 1 |
%setup -T -D -a 1 |
53 |
cp -r ezmlm-www-1.4.5/* root/opt/mailinglist |
cp -r ezmlm-www-1.4.5/* root/opt/mailinglist |
54 |
%patch0 -p1 |
%patch0 -p1 |
55 |
|
# sed KinoSearch KinoSearch1 |
56 |
|
#sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \ |
57 |
|
# -e 's/KinoSearch/KinoSearch1/g' |
58 |
|
#mkdir -p root/opt/mailinglist/search/indexes |
59 |
|
|
60 |
%build |
%build |
61 |
perl createlinks |
perl createlinks |
68 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
69 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
70 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
71 |
|
--dir '/opt/mailinglist/search/indexes' 'attr(4775,ezmlm,ezmlm)' \ |
72 |
--file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \ |
--file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \ |
73 |
--file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \ |
--file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \ |
74 |
--file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \ |
--file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \ |