1 |
# $Id: smeserver-ezmlm-www.spec,v 1.10 2008/11/25 16:20:22 slords Exp $ |
# $Id: smeserver-ezmlm-www.spec,v 1.2 2022/03/15 20:55:26 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 3 |
8 |
|
|
9 |
Summary: ezmlm-www packaged for sme server |
Summary: ezmlm-www packaged for sme server |
10 |
Name: %{name} |
Name: %{name} |
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 |
|
|
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
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 |
20 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
21 |
|
BuildRequires: gcc |
22 |
AutoReq: no |
AutoReq: no |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
|
|
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 |
|
* Tue Mar 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4.5-3.sme |
32 |
|
- build for SME10 [SME: 11909] |
33 |
|
use initial source and compile ourself the index.cgi |
34 |
|
todo chmod |
35 |
|
todo template the two config files |
36 |
|
todo improve access rights |
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 |
40 |
|
|
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 |
|
|
50 |
%build |
%build |
51 |
|
perl createlinks |
52 |
|
#compile the c file |
53 |
|
cd root/opt/mailinglist |
54 |
|
cc index.cgi.c -o index.cgi |
55 |
|
#cc index.cgi.c -o index.cgi |
56 |
|
#chown popuser index.cgi |
57 |
|
#chmod 4711 index.cgi |
58 |
|
#chmod 755 ezmlm-www.pl |
59 |
|
|
60 |
%install |
%install |
61 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |