/[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.4 - (hide annotations) (download)
Wed Mar 16 04:27:12 2022 UTC (2 years, 8 months ago) by jpp
Branch: MAIN
Changes since 1.3: +7 -2 lines
* Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme
- build for SME10 [SME: 11909]
  use initial source and compile ourself the index.cgi
  todo chmod
  todo template the two config files
  todo improve access rights

1 jpp 1.4 # $Id: smeserver-ezmlm-www.spec,v 1.3 2022/03/16 04:10:13 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.2 %define release 3
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.2
19 jpp 1.1 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 jpp 1.3 BuildRequires: gcc
23 jpp 1.1 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 jpp 1.2 * Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme
33     - build for SME10 [SME: 11909]
34 jpp 1.3 use initial source and compile ourself the index.cgi
35     todo chmod
36     todo template the two config files
37     todo improve access rights
38 jpp 1.2
39 jpp 1.1 * Wed Dec 5 2007 Normando Hall <nhall@unixlan.com.ar>
40     - first release
41    
42    
43     %define debug_package %{nil}
44    
45     %prep
46    
47     %setup
48 jpp 1.3 %setup -T -D -a 1
49     cp -r ezmlm-www-1.4.5/* root/opt/mailinglist
50 jpp 1.4 %patch0 -p1
51 jpp 1.1
52     %build
53 jpp 1.2 perl createlinks
54 jpp 1.3 #compile the c file
55     cd root/opt/mailinglist
56     cc index.cgi.c -o index.cgi
57     #cc index.cgi.c -o index.cgi
58     #chown popuser index.cgi
59     #chmod 4711 index.cgi
60     #chmod 755 ezmlm-www.pl
61 jpp 1.1
62     %install
63     rm -rf $RPM_BUILD_ROOT
64     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
65     rm -f %{name}-%{version}-filelist
66 jpp 1.4 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
67     --file /usr/share/freepbx/scripts/restore-astdb.php 'attr(0750,root,root)' \
68     --dir /var/service/httpd-fpbx 'attr(01755,root,root)' \
69     > %{name}-%{version}-filelist
70 jpp 1.1
71     %clean
72     rm -rf $RPM_BUILD_ROOT
73    
74     %post
75     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
76     /etc/rc.d/init.d/httpd-e-smith sigusr1
77    
78    
79     %postun
80     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
81     /etc/rc.d/init.d/httpd-e-smith sigusr1
82    
83    
84     %files -f %{name}-%{version}-filelist
85     %defattr(-,root,root)
86    
87    
88     %attr(0755,root,root) /opt/mailinglist/search/ez_indexer.pl
89     %attr(0755,root,root) /opt/mailinglist/ezmlm-www.pl
90     %attr(4711,ezmlm,ezmlm) /opt/mailinglist/index.cgi

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