/[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.6 - (show annotations) (download)
Sat Mar 19 02:57:09 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-ezmlm-www-2_0_0-4_el7_sme
Changes since 1.5: +12 -2 lines
* Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-4.sme
- fix ez_search perms  [SME: 11909]
- use KinoSearch1
- create directory indexes

1 # $Id: smeserver-ezmlm-www.spec,v 1.5 2022/03/16 04:35:00 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 4
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
19 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20 Requires: perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch ezmlm-web perl-Ezmlm perl-Mail-Ezmlm-Archive
21 BuildRequires: e-smith-devtools
22 BuildRequires: gcc
23 AutoReq: no
24 ##BuildArchitectures: noarch
25
26 %description
27 ezmlm-www This project provides a useful web interface for Ezmlm
28 mailing list archives. It extends ezmlm-cgi.c capabilities and features
29 by using a modular architecture: it is fully Perl-based.
30
31 %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
38 - build for SME10 [SME: 11909]
39 use initial source and compile ourself the index.cgi
40 template the two config files
41 todo improve access rights in template
42
43 * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>
44 - first release
45
46
47 %define debug_package %{nil}
48
49 %prep
50
51 %setup
52 %setup -T -D -a 1
53 cp -r ezmlm-www-1.4.5/* root/opt/mailinglist
54 %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
61 perl createlinks
62 #compile the c file
63 cd root/opt/mailinglist
64 cc index.cgi.c -o index.cgi
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
69 rm -f %{name}-%{version}-filelist
70 /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)' \
73 --file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \
74 --file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \
75 > %{name}-%{version}-filelist
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post
81
82
83 %postun
84
85
86 %files -f %{name}-%{version}-filelist
87 %defattr(-,root,root)

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