/[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.2 by jpp, Tue Mar 15 20:55:26 2022 UTC Revision 1.5 by jpp, Wed Mar 16 04:35:00 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-ezmlm-www.spec,v 1.1 2022/03/15 20:45:27 jpp Exp $  # $Id: smeserver-ezmlm-www.spec,v 1.4 2022/03/16 04:27:12 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 3  %define release 3
8    
9  Summary: ezmlm-www packaged for sme server  Summary: ezmlm-www packaged for sme server
# 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  Patch0: smeserver-ezmlm-www-1.4.5-bz11909-sme10.patch  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  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
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  by using a modular architecture: it is f Line 31  by using a modular architecture: it is f
31  %changelog  %changelog
32  * 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
33  - build for SME10 [SME: 11909]  - build for SME10 [SME: 11909]
34    todo use initial source and compile ourself the index.cgi    use initial source and compile ourself the index.cgi
35      template the two config files
36      todo improve access rights in template
37    
38  * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>  * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>
39  - first release  - first release
# Line 40  by using a modular architecture: it is f Line 44  by using a modular architecture: it is f
44  %prep  %prep
45    
46  %setup  %setup
47    %setup -T -D -a 1
48    cp -r ezmlm-www-1.4.5/* root/opt/mailinglist
49  %patch0 -p1  %patch0 -p1
50    
51  %build  %build
52  perl createlinks  perl createlinks
53    #compile the c file
54    cd root/opt/mailinglist
55    cc  index.cgi.c -o index.cgi
56    
57  %install  %install
58  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
59  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
60  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
61  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
62      --file /opt/mailinglist/search/ez_indexer.pl 'attr(0755,root,root)' \
63      --file /opt/mailinglist/ezmlm-www.pl 'attr(0755,root,root)' \
64      --file /opt/mailinglist/index.cgi 'attr(4711,ezmlm,ezmlm)' \
65    > %{name}-%{version}-filelist
66    
67  %clean  %clean
68  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
69    
70  %post  %post
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/rc.d/init.d/httpd-e-smith sigusr1  
71    
72    
73  %postun  %postun
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/rc.d/init.d/httpd-e-smith sigusr1  
74    
75    
76  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
77  %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