%define name smeserver-phplist %define version 0.1 %define release 3 Summary: sme server integration of phplist Name: %{name} Version: %{version} Release: %{release}%{?dist} License: GNU GPL version 2 URL: http://www.phplist.com Group: SMEserver/addon Source: %{name}-%{version}.tar.gz Patch0: smeserver-phplist-0.1-fix_templates_location.patch Patch1: smeserver-phplist-0.1-enhance_http_template.patch Patch2: smeserver-phplist-0.1-sql_database_config.patch Patch3: smeserver-phplist-0.1-DbPassANDtpltmeta.patch Patch4: smeserver-phplist-0.1-SyntaxeSQL.patch Patch5: smeserver-phplist-0.1-ConfigSecurity.patch Patch6: smeserver-phplist-0.1-SQLParam.patch Patch7: smeserver-phplist-0.1-SSL_and_Access.patch Patch8: smeserver-phplist-0.1-Restrict_Admin.patch Patch9: smeserver-phplist-0.1-cleanup_tempaltes.patch Patch10: smeserver-phplist-0.1-fix_mysql_grant.patch Patch11: smeserver-phplist-0.1-ssl_rewrite.patch Patch12: smeserver-phplist-0.1-lemonldap_support.patch Patch13: smeserver-phplist-0.1-fix_bounce_password.patch BuildArchitectures: noarch BuildRequires: e-smith-devtools BuildRoot: /var/tmp/%{name}-%{version} Requires: e-smith-release >= 7.0 Requires: phplist Requires: smeserver-webapps-common AutoReqProv: no %description This rpm provides all the needed templates to get phplist running on SME Server %changelog * Fri Dec 31 2010 Daniel Berteaud 0.1-3 - Fix typo in BouncesPassword prop name * Thu Dec 30 2010 Daniel Berteaud 0.1-2 - Change the way mysql permissions are applied - Rewrite URL to force SSL for /lists/admin - Add LemonLDAP auth support (disable basic auth) - Add AdminUsers prop (only for basic auth) * Mon Dec 20 2010 Daniel Berteaud 0.1-1 - Minor templates cleanup * Mon Dec 20 2010 Pierre Bourdin 0.1-0.beta9 - patch to restrict admin interface with SSL + login - Separation of the main Alias for Apache in two parts, Admin and Subscibe part * Mon Dec 20 2010 Pierre Bourdin 0.1-0.beta8 - patch for force SSL connection and add access variable in DB configuration * Thu Dec 09 2010 Pierre Bourdin 0.1-0.beta2 - patch some forgotten parameters in configuration files and add DB configuration * Wed Dec 08 2010 Pierre Bourdin 0.1-0.beta0 - initial release %prep %setup %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %build perl ./createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root) %clean rm -rf $RPM_BUILD_ROOT %postun true