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

Annotation 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.14 - (hide annotations) (download)
Fri Jul 22 06:14:16 2022 UTC (21 months, 4 weeks ago) by jpp
Branch: MAIN
Changes since 1.13: +7 -2 lines
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-11.sme
- add to core backup [SME: 12124]

1 jpp 1.14 # $Id: smeserver-ezmlm-www.spec,v 1.13 2022/03/20 17:38:36 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 jpp 1.14 %define release 11
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.12
22 jpp 1.1 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
24     BuildRequires: e-smith-devtools
25 jpp 1.3 BuildRequires: gcc
26 jpp 1.1 AutoReq: no
27    
28     %description
29     ezmlm-www This project provides a useful web interface for Ezmlm
30     mailing list archives. It extends ezmlm-cgi.c capabilities and features
31     by using a modular architecture: it is fully Perl-based.
32    
33     %changelog
34 jpp 1.14 * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-11.sme
35     - add to core backup [SME: 12124]
36    
37 jpp 1.13 * Sun Mar 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-10.sme
38     - chmod +x ezw-search [SME: 11909]
39    
40 jpp 1.12 * Sun Mar 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-9.sme
41     - protect indexes and configuration [SME: 11909]
42    
43 jpp 1.11 * 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 jpp 1.10 * Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-7.sme
47 jpp 1.9 - remove list archive creation from event [SME: 11909]
48     - keep it a manual intervention until we add a button on server-manager
49    
50 jpp 1.8 * Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-5.sme
51 jpp 1.6 - fix ez_search perms [SME: 11909]
52     - use KinoSearch1
53     - create directory indexes
54    
55 jpp 1.2 * Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme
56     - build for SME10 [SME: 11909]
57 jpp 1.3 use initial source and compile ourself the index.cgi
58 jpp 1.5 template the two config files
59     todo improve access rights in template
60 jpp 1.2
61 jpp 1.1 * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>
62     - first release
63    
64    
65     %define debug_package %{nil}
66    
67     %prep
68    
69     %setup
70 jpp 1.3 %setup -T -D -a 1
71     cp -r ezmlm-www-1.4.5/* root/opt/mailinglist
72 jpp 1.4 %patch0 -p1
73 jpp 1.11 %patch1 -p1
74 jpp 1.12 %patch2 -p1
75 jpp 1.14 %patch3 -p1
76 jpp 1.11
77 jpp 1.6 # sed KinoSearch KinoSearch1
78 jpp 1.10 sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \
79     -e 's/KinoSearch/KinoSearch1/g'
80     mkdir -p root/opt/mailinglist/search/indexes
81 jpp 1.1
82     %build
83 jpp 1.2 perl createlinks
84 jpp 1.3 #compile the c file
85     cd root/opt/mailinglist
86     cc index.cgi.c -o index.cgi
87 jpp 1.1
88     %install
89     rm -rf $RPM_BUILD_ROOT
90     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
91     rm -f %{name}-%{version}-filelist
92 jpp 1.4 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
93 jpp 1.6 --dir '/opt/mailinglist/search/indexes' 'attr(4775,ezmlm,ezmlm)' \
94 jpp 1.5 --file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \
95     --file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \
96     --file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \
97 jpp 1.13 --file /etc/cron.hourly/ezw-search 'attr(0755,root,root)' \
98 jpp 1.4 > %{name}-%{version}-filelist
99 jpp 1.1
100     %clean
101     rm -rf $RPM_BUILD_ROOT
102    
103     %post
104    
105    
106     %postun
107    
108    
109     %files -f %{name}-%{version}-filelist
110     %defattr(-,root,root)

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