1 |
# $Id: smeserver-ezmlm-www.spec,v 1.7 2022/03/19 03:26:15 jpp Exp $ |
# $Id: smeserver-ezmlm-www.spec,v 1.13 2022/03/20 17:38:36 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 5 |
%define release 11 |
8 |
|
|
9 |
Summary: ezmlm-www packaged for sme server |
Summary: ezmlm-www packaged for sme server |
10 |
Name: %{name} |
Name: %{name} |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Source1: ezmlm-www-1.4.5.tar.gz |
Source1: ezmlm-www-1.4.5.tar.gz |
17 |
Patch0: smeserver-ezmlm-www-2.0.0-bz11909-sme10.patch |
Patch0: smeserver-ezmlm-www-2.0.0-bz11909-sme10.patch |
18 |
|
Patch1: smeserver-ezmlm-www-2.0.0-bz11912-widecharacters.patch |
19 |
|
Patch2: smeserver-ezmlm-www-2.0.0-bz11909-sme10-bis.patch |
20 |
|
Patch3: smeserver-ezmlm-www-2.0.0-bz12124-backup.patch |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
Requires: perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch ezmlm-web perl-Ezmlm perl-Mail-Ezmlm-Archive |
Requires: perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch ezmlm-web perl-Ezmlm perl-Mail-Ezmlm-Archive |
24 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
25 |
BuildRequires: gcc |
BuildRequires: gcc |
26 |
AutoReq: no |
AutoReq: no |
|
##BuildArchitectures: noarch |
|
27 |
|
|
28 |
%description |
%description |
29 |
ezmlm-www This project provides a useful web interface for Ezmlm |
ezmlm-www This project provides a useful web interface for Ezmlm |
31 |
by using a modular architecture: it is fully Perl-based. |
by using a modular architecture: it is fully Perl-based. |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-11.sme |
35 |
|
- add to core backup [SME: 12124] |
36 |
|
|
37 |
|
* Sun Mar 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-10.sme |
38 |
|
- chmod +x ezw-search [SME: 11909] |
39 |
|
|
40 |
|
* Sun Mar 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-9.sme |
41 |
|
- protect indexes and configuration [SME: 11909] |
42 |
|
|
43 |
|
* Sat Mar 19 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-8.sme |
44 |
|
- fix wide character error preventing to display message [SME: 11912] |
45 |
|
|
46 |
|
* Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-7.sme |
47 |
|
- remove list archive creation from event [SME: 11909] |
48 |
|
- keep it a manual intervention until we add a button on server-manager |
49 |
|
|
50 |
* Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-5.sme |
* Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-5.sme |
51 |
- fix ez_search perms [SME: 11909] |
- fix ez_search perms [SME: 11909] |
52 |
- use KinoSearch1 |
- use KinoSearch1 |
70 |
%setup -T -D -a 1 |
%setup -T -D -a 1 |
71 |
cp -r ezmlm-www-1.4.5/* root/opt/mailinglist |
cp -r ezmlm-www-1.4.5/* root/opt/mailinglist |
72 |
%patch0 -p1 |
%patch0 -p1 |
73 |
|
%patch1 -p1 |
74 |
|
%patch2 -p1 |
75 |
|
%patch3 -p1 |
76 |
|
|
77 |
# sed KinoSearch KinoSearch1 |
# sed KinoSearch KinoSearch1 |
78 |
#sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \ |
sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \ |
79 |
# -e 's/KinoSearch/KinoSearch1/g' |
-e 's/KinoSearch/KinoSearch1/g' |
80 |
#mkdir -p root/opt/mailinglist/search/indexes |
mkdir -p root/opt/mailinglist/search/indexes |
81 |
|
|
82 |
%build |
%build |
83 |
perl createlinks |
perl createlinks |
94 |
--file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \ |
--file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \ |
95 |
--file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \ |
--file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \ |
96 |
--file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \ |
--file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \ |
97 |
|
--file /etc/cron.hourly/ezw-search 'attr(0755,root,root)' \ |
98 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
99 |
|
|
100 |
%clean |
%clean |