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

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

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

Revision 1.1 by jpp, Tue Mar 15 20:45:27 2022 UTC Revision 1.11 by jpp, Sat Mar 19 20:16:37 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-ezmlm-www.spec,v 1.10 2008/11/25 16:20:22 slords Exp $  # $Id: smeserver-ezmlm-www.spec,v 1.10 2022/03/19 04:04:53 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 1.4.5  %define version 2.0.0
7  %define release 2  %define release 8
8    
9  Summary: ezmlm-www packaged for sme server  Summary: ezmlm-www packaged for sme server
10  Name: %{name}  Name: %{name}
# Line 13  Release: %{release}%{?dist} Line 13  Release: %{release}%{?dist}
13  License: GPL  License: GPL
14  Group: Networking/Other  Group: Networking/Other
15  Source: %{name}-%{version}.tar.gz  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  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  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  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  BuildRequires: e-smith-devtools
22    BuildRequires: gcc
23  AutoReq: no  AutoReq: no
 BuildArchitectures: noarch  
24    
25  %description  %description
26  ezmlm-www This project provides a useful web interface for Ezmlm  ezmlm-www This project provides a useful web interface for Ezmlm
# Line 25  mailing list archives. It extends ezmlm- Line 28  mailing list archives. It extends ezmlm-
28  by using a modular architecture: it is fully Perl-based.  by using a modular architecture: it is fully Perl-based.
29    
30  %changelog  %changelog
31    * Sat Mar 19 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-8.sme
32    - fix wide character error preventing to display message [SME: 11912]
33    
34    * Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-7.sme
35    - remove list archive creation from event [SME: 11909]
36    - keep it a manual intervention until we add a button on server-manager
37    
38    * Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-5.sme
39    - fix ez_search perms  [SME: 11909]
40    - use KinoSearch1
41    - create directory indexes
42    
43    * Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme
44    - build for SME10 [SME: 11909]
45      use initial source and compile ourself the index.cgi
46      template the two config files
47      todo improve access rights in template
48    
49  * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>  * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>
50  - first release  - first release
51    
# Line 34  by using a modular architecture: it is f Line 55  by using a modular architecture: it is f
55  %prep  %prep
56    
57  %setup  %setup
58    %setup -T -D -a 1
59    cp -r ezmlm-www-1.4.5/* root/opt/mailinglist
60    %patch0 -p1
61    %patch1 -p1
62    
63    # sed KinoSearch KinoSearch1
64    sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \
65            -e 's/KinoSearch/KinoSearch1/g'
66    mkdir -p root/opt/mailinglist/search/indexes
67    
68  %build  %build
69    perl createlinks
70    #compile the c file
71    cd root/opt/mailinglist
72    cc  index.cgi.c -o index.cgi
73    
74  %install  %install
75  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
76  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
77  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
78  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
79      --dir  '/opt/mailinglist/search/indexes' 'attr(4775,ezmlm,ezmlm)' \
80      --file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \
81      --file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \
82      --file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \
83    > %{name}-%{version}-filelist
84    
85  %clean  %clean
86  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
87    
88  %post  %post
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/rc.d/init.d/httpd-e-smith sigusr1  
89    
90    
91  %postun  %postun
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/rc.d/init.d/httpd-e-smith sigusr1  
92    
93    
94  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
95  %defattr(-,root,root)  %defattr(-,root,root)
   
   
 %attr(0755,root,root) /opt/mailinglist/search/ez_indexer.pl  
 %attr(0755,root,root) /opt/mailinglist/ezmlm-www.pl  
 %attr(4711,ezmlm,ezmlm) /opt/mailinglist/index.cgi  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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