From 8752dc81c8d7e66be0029ee01c43e58747989dfa Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 5 Aug 2014 14:05:58 +0200 Subject: [PATCH] Spec file update --- smeserver-phplist.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/smeserver-phplist.spec b/smeserver-phplist.spec index ec2a638..3c6adfa 100644 --- a/smeserver-phplist.spec +++ b/smeserver-phplist.spec @@ -1,6 +1,6 @@ %define name smeserver-phplist -%define version 0.1 -%define release 3 +%define version 0.2.0 +%define release 1 Summary: sme server integration of phplist Name: %{name} Version: %{version} @@ -13,8 +13,8 @@ Source: %{name}-%{version}.tar.gz BuildArchitectures: noarch BuildRequires: e-smith-devtools BuildRoot: /var/tmp/%{name}-%{version} -Requires: e-smith-release >= 7.0 -Requires: phplist +Requires: e-smith-release >= 8.0 +Requires: phplist >= 3.0.6 Requires: smeserver-webapps-common AutoReqProv: no @@ -23,6 +23,12 @@ This rpm provides all the needed templates to get phplist running on SME Server %changelog +* Wed Jul 30 2014 Daniel Berteaud 0.2.0-1 +- Nearly complete rewrite +- Change the way bounces are processed +- Add a daemon to process the queue and the bounces +- Requires phplist 3.0.6 + * Fri Dec 31 2010 Daniel Berteaud 0.1-3 - Fix typo in BouncesPassword prop name @@ -54,8 +60,8 @@ running on SME Server %build perl ./createlinks -%{__mkdir_p} %{buildroot}/var/lib/phplist -%{__mkdir_p} %{buildroot}/var/log/phplist +%{__mkdir_p} root/var/lib/phplist +%{__mkdir_p} root/var/log/phplist %install rm -rf $RPM_BUILD_ROOT @@ -64,6 +70,7 @@ rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --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)' \ > %{name}-%{version}-filelist