--- rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www.spec 2022/03/15 20:55:26 1.2 +++ rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www.spec 2022/03/16 04:10:13 1.3 @@ -1,9 +1,9 @@ -# $Id: smeserver-ezmlm-www.spec,v 1.1 2022/03/15 20:45:27 jpp Exp $ +# $Id: smeserver-ezmlm-www.spec,v 1.2 2022/03/15 20:55:26 jpp Exp $ # Authority: picsone # Name: Normando Hall %define name smeserver-ezmlm-www -%define version 1.4.5 +%define version 2.0.0 %define release 3 Summary: ezmlm-www packaged for sme server @@ -13,11 +13,12 @@ Release: %{release}%{?dist} License: GPL Group: Networking/Other Source: %{name}-%{version}.tar.gz -Patch0: smeserver-ezmlm-www-1.4.5-bz11909-sme10.patch +Source1: ezmlm-www-1.4.5.tar.gz BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot Requires: perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch ezmlm-web perl-Ezmlm perl-Mail-Ezmlm-Archive BuildRequires: e-smith-devtools +BuildRequires: gcc AutoReq: no BuildArchitectures: noarch @@ -29,7 +30,10 @@ by using a modular architecture: it is f %changelog * Tue Mar 15 2022 Jean-Philippe Pialasse 1.4.5-3.sme - build for SME10 [SME: 11909] - todo use initial source and compile ourself the index.cgi + use initial source and compile ourself the index.cgi + todo chmod + todo template the two config files + todo improve access rights * Wed Dec 5 2007 Normando Hall - first release @@ -40,10 +44,18 @@ by using a modular architecture: it is f %prep %setup -%patch0 -p1 +%setup -T -D -a 1 +cp -r ezmlm-www-1.4.5/* root/opt/mailinglist %build perl createlinks +#compile the c file +cd root/opt/mailinglist +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 %install rm -rf $RPM_BUILD_ROOT