/[smecontribs]/rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www.spec
ViewVC logotype

Contents of /rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.15 - (show annotations) (download)
Fri Jul 22 06:22:21 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-ezmlm-www-2_0_0-11_el7_sme
Changes since 1.14: +5 -1 lines
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-11.sme
- add to core backup [SME: 12124]
- update to httpd 2.4 syntax [SME: 12045]

1 # $Id: smeserver-ezmlm-www.spec,v 1.14 2022/07/22 06:14:16 jpp Exp $
2 # Authority: picsone
3 # Name: Normando Hall
4
5 %define name smeserver-ezmlm-www
6 %define version 2.0.0
7 %define release 11
8
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 Source1: ezmlm-www-1.4.5.tar.gz
17 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 Patch4: smeserver-ezmlm-www-2.0.0-bz12045-httpd24.patch
22
23 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 Requires: e-smith-apache >= 2.6.0-19
26 BuildRequires: e-smith-devtools
27 BuildRequires: gcc
28 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 * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-11.sme
37 - add to core backup [SME: 12124]
38 - update to httpd 2.4 syntax [SME: 12045]
39
40 * Sun Mar 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-10.sme
41 - chmod +x ezw-search [SME: 11909]
42
43 * Sun Mar 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-9.sme
44 - protect indexes and configuration [SME: 11909]
45
46 * Sat Mar 19 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-8.sme
47 - fix wide character error preventing to display message [SME: 11912]
48
49 * Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-7.sme
50 - remove list archive creation from event [SME: 11909]
51 - keep it a manual intervention until we add a button on server-manager
52
53 * Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-5.sme
54 - fix ez_search perms [SME: 11909]
55 - use KinoSearch1
56 - create directory indexes
57
58 * Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme
59 - build for SME10 [SME: 11909]
60 use initial source and compile ourself the index.cgi
61 template the two config files
62 todo improve access rights in template
63
64 * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>
65 - first release
66
67
68 %define debug_package %{nil}
69
70 %prep
71
72 %setup
73 %setup -T -D -a 1
74 cp -r ezmlm-www-1.4.5/* root/opt/mailinglist
75 %patch0 -p1
76 %patch1 -p1
77 %patch2 -p1
78 %patch3 -p1
79 %patch4 -p1
80
81 # sed KinoSearch KinoSearch1
82 sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \
83 -e 's/KinoSearch/KinoSearch1/g'
84 mkdir -p root/opt/mailinglist/search/indexes
85
86 %build
87 perl createlinks
88 #compile the c file
89 cd root/opt/mailinglist
90 cc index.cgi.c -o index.cgi
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
95 rm -f %{name}-%{version}-filelist
96 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
97 --dir '/opt/mailinglist/search/indexes' 'attr(4775,ezmlm,ezmlm)' \
98 --file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \
99 --file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \
100 --file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \
101 --file /etc/cron.hourly/ezw-search 'attr(0755,root,root)' \
102 > %{name}-%{version}-filelist
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post
108
109
110 %postun
111
112
113 %files -f %{name}-%{version}-filelist
114 %defattr(-,root,root)

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