1 |
brianr |
1.16 |
# $Id: smeserver-ezmlm-www.spec,v 1.15 2022/07/22 06:22:21 jpp Exp $ |
2 |
jpp |
1.1 |
# Authority: picsone |
3 |
|
|
# Name: Normando Hall |
4 |
|
|
|
5 |
|
|
%define name smeserver-ezmlm-www |
6 |
jpp |
1.3 |
%define version 2.0.0 |
7 |
brianr |
1.16 |
%define release 12 |
8 |
jpp |
1.1 |
|
9 |
|
|
Summary: ezmlm-www packaged for sme server |
10 |
|
|
Name: %{name} |
11 |
|
|
Version: %{version} |
12 |
|
|
Release: %{release}%{?dist} |
13 |
|
|
License: GPL |
14 |
|
|
Group: Networking/Other |
15 |
|
|
Source: %{name}-%{version}.tar.gz |
16 |
jpp |
1.3 |
Source1: ezmlm-www-1.4.5.tar.gz |
17 |
jpp |
1.4 |
Patch0: smeserver-ezmlm-www-2.0.0-bz11909-sme10.patch |
18 |
jpp |
1.11 |
Patch1: smeserver-ezmlm-www-2.0.0-bz11912-widecharacters.patch |
19 |
jpp |
1.12 |
Patch2: smeserver-ezmlm-www-2.0.0-bz11909-sme10-bis.patch |
20 |
jpp |
1.14 |
Patch3: smeserver-ezmlm-www-2.0.0-bz12124-backup.patch |
21 |
jpp |
1.15 |
Patch4: smeserver-ezmlm-www-2.0.0-bz12045-httpd24.patch |
22 |
jpp |
1.12 |
|
23 |
jpp |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
|
|
Requires: perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch ezmlm-web perl-Ezmlm perl-Mail-Ezmlm-Archive |
25 |
jpp |
1.15 |
Requires: e-smith-apache >= 2.6.0-19 |
26 |
jpp |
1.1 |
BuildRequires: e-smith-devtools |
27 |
jpp |
1.3 |
BuildRequires: gcc |
28 |
jpp |
1.1 |
AutoReq: no |
29 |
|
|
|
30 |
|
|
%description |
31 |
|
|
ezmlm-www This project provides a useful web interface for Ezmlm |
32 |
|
|
mailing list archives. It extends ezmlm-cgi.c capabilities and features |
33 |
|
|
by using a modular architecture: it is fully Perl-based. |
34 |
|
|
|
35 |
|
|
%changelog |
36 |
brianr |
1.16 |
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.0.0-12.sme |
37 |
|
|
- Re-build and link to latest devtools [SME: 11997] |
38 |
|
|
|
39 |
jpp |
1.14 |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-11.sme |
40 |
|
|
- add to core backup [SME: 12124] |
41 |
jpp |
1.15 |
- update to httpd 2.4 syntax [SME: 12045] |
42 |
jpp |
1.14 |
|
43 |
jpp |
1.13 |
* Sun Mar 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-10.sme |
44 |
|
|
- chmod +x ezw-search [SME: 11909] |
45 |
|
|
|
46 |
jpp |
1.12 |
* Sun Mar 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-9.sme |
47 |
|
|
- protect indexes and configuration [SME: 11909] |
48 |
|
|
|
49 |
jpp |
1.11 |
* Sat Mar 19 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-8.sme |
50 |
brianr |
1.16 |
- Re-build and link to latest devtools wide character error preventing to display message [SME: 11912] |
51 |
jpp |
1.11 |
|
52 |
jpp |
1.10 |
* Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-7.sme |
53 |
jpp |
1.9 |
- remove list archive creation from event [SME: 11909] |
54 |
|
|
- keep it a manual intervention until we add a button on server-manager |
55 |
|
|
|
56 |
jpp |
1.8 |
* Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-5.sme |
57 |
brianr |
1.16 |
- Re-build and link to latest devtools ez_search perms [SME: 11909] |
58 |
jpp |
1.6 |
- use KinoSearch1 |
59 |
|
|
- create directory indexes |
60 |
|
|
|
61 |
jpp |
1.2 |
* Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme |
62 |
|
|
- build for SME10 [SME: 11909] |
63 |
jpp |
1.3 |
use initial source and compile ourself the index.cgi |
64 |
jpp |
1.5 |
template the two config files |
65 |
|
|
todo improve access rights in template |
66 |
jpp |
1.2 |
|
67 |
jpp |
1.1 |
* Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar> |
68 |
|
|
- first release |
69 |
|
|
|
70 |
|
|
|
71 |
|
|
%define debug_package %{nil} |
72 |
|
|
|
73 |
|
|
%prep |
74 |
|
|
|
75 |
|
|
%setup |
76 |
jpp |
1.3 |
%setup -T -D -a 1 |
77 |
|
|
cp -r ezmlm-www-1.4.5/* root/opt/mailinglist |
78 |
jpp |
1.4 |
%patch0 -p1 |
79 |
jpp |
1.11 |
%patch1 -p1 |
80 |
jpp |
1.12 |
%patch2 -p1 |
81 |
jpp |
1.14 |
%patch3 -p1 |
82 |
jpp |
1.15 |
%patch4 -p1 |
83 |
jpp |
1.11 |
|
84 |
jpp |
1.6 |
# sed KinoSearch KinoSearch1 |
85 |
jpp |
1.10 |
sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \ |
86 |
|
|
-e 's/KinoSearch/KinoSearch1/g' |
87 |
|
|
mkdir -p root/opt/mailinglist/search/indexes |
88 |
jpp |
1.1 |
|
89 |
|
|
%build |
90 |
jpp |
1.2 |
perl createlinks |
91 |
jpp |
1.3 |
#compile the c file |
92 |
|
|
cd root/opt/mailinglist |
93 |
|
|
cc index.cgi.c -o index.cgi |
94 |
jpp |
1.1 |
|
95 |
|
|
%install |
96 |
|
|
rm -rf $RPM_BUILD_ROOT |
97 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
98 |
|
|
rm -f %{name}-%{version}-filelist |
99 |
jpp |
1.4 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
100 |
jpp |
1.6 |
--dir '/opt/mailinglist/search/indexes' 'attr(4775,ezmlm,ezmlm)' \ |
101 |
jpp |
1.5 |
--file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \ |
102 |
|
|
--file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \ |
103 |
|
|
--file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \ |
104 |
jpp |
1.13 |
--file /etc/cron.hourly/ezw-search 'attr(0755,root,root)' \ |
105 |
jpp |
1.4 |
> %{name}-%{version}-filelist |
106 |
jpp |
1.1 |
|
107 |
|
|
%clean |
108 |
|
|
rm -rf $RPM_BUILD_ROOT |
109 |
|
|
|
110 |
|
|
%post |
111 |
|
|
|
112 |
|
|
|
113 |
|
|
%postun |
114 |
|
|
|
115 |
|
|
|
116 |
|
|
%files -f %{name}-%{version}-filelist |
117 |
|
|
%defattr(-,root,root) |