1 |
Summary: sme server integration of phplist |
Summary: sme server integration of phplist |
2 |
Name: smeserver-phplist |
Name: smeserver-phplist |
3 |
Version: 0.2.1 |
Version: 0.2.1 |
4 |
Release: 1%{?dist} |
Release: 2%{?dist} |
5 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
6 |
URL: http://www.phplist.com |
URL: http://www.phplist.com |
7 |
Group: SMEserver/addon |
Group: SMEserver/addon |
8 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
9 |
|
Patch0: smeserver-phplist-0.2.1-sme10.patch |
10 |
|
|
11 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
12 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
13 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
14 |
Requires: e-smith-release >= 8.0 |
Requires: e-smith-release >= 10.0 |
15 |
Requires: phplist >= 3.0.6 |
Requires: e-smith-apache >= 2.6.0-19 |
16 |
|
Requires: phplist >= 3.6.8 |
17 |
Requires: smeserver-webapps-common |
Requires: smeserver-webapps-common |
18 |
|
Requires: php80-php php80-php-mysqli php80-php-mysqlnd php80-php-pecl-mysql php80-php-curl php80-php-gd php80-php-gettext php80-php-iconv php80-php-imap php80-php-mbstring php80-php-mysqli php80-php-session php80-php-xml php80-php-zlib php80-php-mbstring php80-php-gd |
19 |
|
#php80-php-pear-HTTP_Request |
20 |
AutoReqProv: no |
AutoReqProv: no |
21 |
|
|
22 |
%description |
%description |
24 |
running on SME Server |
running on SME Server |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-2.sme |
28 |
|
- fix [SME: ] |
29 |
|
|
30 |
* Wed Mar 18 2020 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1 |
* Wed Mar 18 2020 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1 |
31 |
- new package built with tito |
- new package built with tito |
32 |
|
|
64 |
|
|
65 |
%prep |
%prep |
66 |
%setup |
%setup |
67 |
|
%patch0 -p1 |
68 |
|
rm -rf root/var/service/ |
69 |
|
|
70 |
%build |
%build |
71 |
perl ./createlinks |
perl ./createlinks |
72 |
%{__mkdir_p} root/var/lib/phplist |
%{__mkdir_p} root/var/lib/php/phplist/{tmp,opcache,session} |
73 |
%{__mkdir_p} root/var/log/phplist |
%{__mkdir_p} root/var/log/phplist |
74 |
|
%{__mkdir_p} root/var/log/php/phplist |
75 |
|
|
76 |
|
|
77 |
%install |
%install |
78 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
82 |
--dir /var/lib/phplist 'attr(0750,www,www)' \ |
--dir /var/lib/phplist 'attr(0750,www,www)' \ |
83 |
--dir /var/log/phplist 'attr(0750,smelog,smelog)' \ |
--dir /var/log/phplist 'attr(0750,smelog,smelog)' \ |
84 |
--file /var/lib/phplist/bounces.mbox 'config(noreplace) %attr(0640,www,www)' \ |
--file /var/lib/phplist/bounces.mbox 'config(noreplace) %attr(0640,www,www)' \ |
85 |
--file /var/service/phplist/run 'attr(0750,root,root)' \ |
--file /usr/sbin/e-smith/systemd/phplist 'attr(0750,root,root)' \ |
86 |
--file /var/service/phplist/log/run 'attr(0750,root,root)' \ |
--dir /var/lib/php/phplist 'attr(0755,www,www)' \ |
87 |
|
--dir /var/lib/php/phplist/tmp 'attr(0755,www,www)' \ |
88 |
|
--dir /var/lib/php/phplist/opcache 'attr(0755,www,www)' \ |
89 |
|
--dir /var/lib/php/phplist/session 'attr(0755,www,www)' \ |
90 |
|
--ignoredir /var/qmail/alias --ignoredir /var/lib/phplist \ |
91 |
|
--file /usr/local/bin/phplist 'attr(0750,root,www)' \ |
92 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
93 |
|
|
94 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |