1 |
# $Id: smeserver-ezmlm-www.spec,v 1.2 2022/03/15 20:55:26 jpp Exp $ |
# $Id: smeserver-ezmlm-www.spec,v 1.3 2022/03/16 04:10:13 jpp Exp $ |
2 |
# Authority: picsone |
# Authority: picsone |
3 |
# Name: Normando Hall |
# Name: Normando Hall |
4 |
|
|
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 |
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 |
47 |
%setup |
%setup |
48 |
%setup -T -D -a 1 |
%setup -T -D -a 1 |
49 |
cp -r ezmlm-www-1.4.5/* root/opt/mailinglist |
cp -r ezmlm-www-1.4.5/* root/opt/mailinglist |
50 |
|
%patch0 -p1 |
51 |
|
|
52 |
%build |
%build |
53 |
perl createlinks |
perl createlinks |
63 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
64 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
65 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
66 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/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 |
|
|
71 |
%clean |
%clean |
72 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |