--- rpms/smeserver-phplist/contribs10/smeserver-phplist.spec 2022/08/02 07:07:29 1.1 +++ rpms/smeserver-phplist/contribs10/smeserver-phplist.spec 2022/08/02 19:54:10 1.2 @@ -1,18 +1,21 @@ Summary: sme server integration of phplist Name: smeserver-phplist Version: 0.2.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GNU GPL version 2 URL: http://www.phplist.com Group: SMEserver/addon Source: %{name}-%{version}.tar.gz +Patch0: smeserver-phplist-0.2.1-sme10.patch BuildArchitectures: noarch BuildRequires: e-smith-devtools BuildRoot: /var/tmp/%{name}-%{version} -Requires: e-smith-release >= 8.0 -Requires: phplist >= 3.0.6 +Requires: e-smith-release >= 10.0 +Requires: e-smith-apache >= 2.6.0-19 +Requires: phplist >= 3.6.8 Requires: smeserver-webapps-common +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-pear-HTTP_Request php80-php-session php80-php-xml php80-php-zlib php80-php-mbstring php80-php-gd AutoReqProv: no %description @@ -20,6 +23,9 @@ This rpm provides all the needed templat running on SME Server %changelog +* Tue Aug 02 2022 Jean-Philippe Pialasse 0.2.1-2.sme +- fix [SME: ] + * Wed Mar 18 2020 Daniel Berteaud 0.2.1-1 - new package built with tito @@ -57,6 +63,8 @@ running on SME Server %prep %setup +%patch0 -p1 +rm -rf root/var/service/ %build perl ./createlinks @@ -71,8 +79,11 @@ rm -f %{name}-%{version}-filelist --dir /var/lib/phplist 'attr(0750,www,www)' \ --dir /var/log/phplist 'attr(0750,smelog,smelog)' \ --file /var/lib/phplist/bounces.mbox 'config(noreplace) %attr(0640,www,www)' \ - --file /var/service/phplist/run 'attr(0750,root,root)' \ - --file /var/service/phplist/log/run 'attr(0750,root,root)' \ + --file /usr/sbin/e-smith/systemd/phplist 'attr(0750,root,root)' \ + --dir /var/lib/php/phplist 'attr(0755,www,www)' \ + --dir /var/lib/php/phplist/tmp 'attr(0755,www,www)' \ + --dir /var/lib/php/phplist/opcache 'attr(0755,www,www)' \ + --dir /var/lib/php/phplist/session 'attr(0755,www,www)' \ > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist