/[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.4 by jpp, Wed Mar 16 04:27:12 2022 UTC Revision 1.9 by jpp, Sat Mar 19 03:51:00 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-ezmlm-www.spec,v 1.3 2022/03/16 04:10:13 jpp Exp $  # $Id: smeserver-ezmlm-www.spec,v 1.8 2022/03/19 03:30:10 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 2.0.0  %define version 2.0.0
7  %define release 3  %define release 6
8    
9  Summary: ezmlm-www packaged for sme server  Summary: ezmlm-www packaged for sme server
10  Name: %{name}  Name: %{name}
# Line 21  Requires: perl-Mail-Box perl-User-Identi Line 21  Requires: perl-Mail-Box perl-User-Identi
21  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
22  BuildRequires: gcc  BuildRequires: gcc
23  AutoReq: no  AutoReq: no
24  BuildArchitectures: noarch  ##BuildArchitectures: noarch
25    
26  %description  %description
27  ezmlm-www This project provides a useful web interface for Ezmlm  ezmlm-www This project provides a useful web interface for Ezmlm
# Line 29  mailing list archives. It extends ezmlm- Line 29  mailing list archives. It extends ezmlm-
29  by using a modular architecture: it is fully Perl-based.  by using a modular architecture: it is fully Perl-based.
30    
31  %changelog  %changelog
32    * Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-6.sme
33    - remove list archive creation from event [SME: 11909]
34    - keep it a manual intervention until we add a button on server-manager
35    
36    * Fri Mar 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-5.sme
37    - fix ez_search perms  [SME: 11909]
38    - use KinoSearch1
39    - create directory indexes
40    
41  * Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme  * Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme
42  - build for SME10 [SME: 11909]  - build for SME10 [SME: 11909]
43    use initial source and compile ourself the index.cgi    use initial source and compile ourself the index.cgi
44    todo chmod    template the two config files
45    todo template the two config files    todo improve access rights in template
   todo improve access rights  
46    
47  * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>  * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>
48  - first release  - first release
# Line 48  by using a modular architecture: it is f Line 56  by using a modular architecture: it is f
56  %setup -T -D -a 1  %setup -T -D -a 1
57  cp -r ezmlm-www-1.4.5/* root/opt/mailinglist  cp -r ezmlm-www-1.4.5/* root/opt/mailinglist
58  %patch0 -p1  %patch0 -p1
59    # sed KinoSearch KinoSearch1
60    #sed -i root/opt/mailinglist/search/ez_indexer.pl -i root/opt/mailinglist/ezmlm-www.pl \
61    #       -e 's/KinoSearch/KinoSearch1/g'
62    #mkdir -p root/opt/mailinglist/search/indexes
63    
64  %build  %build
65  perl createlinks  perl createlinks
66  #compile the c file  #compile the c file
67  cd root/opt/mailinglist  cd root/opt/mailinglist
68  cc  index.cgi.c -o index.cgi  cc  index.cgi.c -o index.cgi
    #cc index.cgi.c -o index.cgi  
    #chown popuser index.cgi  
    #chmod 4711 index.cgi  
    #chmod 755 ezmlm-www.pl  
69    
70  %install  %install
71  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
72  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
73  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
74  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
75    --file /usr/share/freepbx/scripts/restore-astdb.php 'attr(0750,root,root)' \    --dir  '/opt/mailinglist/search/indexes' 'attr(4775,ezmlm,ezmlm)' \
76    --dir /var/service/httpd-fpbx 'attr(01755,root,root)' \    --file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \
77      --file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \
78      --file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \
79  > %{name}-%{version}-filelist  > %{name}-%{version}-filelist
80    
81  %clean  %clean
82  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
83    
84  %post  %post
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/rc.d/init.d/httpd-e-smith sigusr1  
85    
86    
87  %postun  %postun
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/rc.d/init.d/httpd-e-smith sigusr1  
88    
89    
90  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
91  %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