PHPList integration on SME Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
2.3 KiB

11 years ago
%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
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 <daniel@firewall-services.com> 0.1-3
- Fix typo in BouncesPassword prop name
* Thu Dec 30 2010 Daniel Berteaud <daniel@firewall-services.com> 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 <daniel@firewall-services.com> 0.1-1
- Minor templates cleanup
* Mon Dec 20 2010 Pierre Bourdin <pierre@firewall-services.com> 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 <pierre@firewall-services.com> 0.1-0.beta8
- patch for force SSL connection and add access variable in DB configuration
* Thu Dec 09 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta2
- patch some forgotten parameters in configuration files and add DB configuration
* Wed Dec 08 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta0
- initial release
%prep
%setup
%build
perl ./createlinks
%{__mkdir_p} %{buildroot}/var/lib/phplist
%{__mkdir_p} %{buildroot}/var/log/phplist
11 years ago
%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 \
--dir /var/lib/phplist 'attr(0750,www,www)' \
--dir /var/log/phplist 'attr(0750,smelog,smelog)' \
--file /var/service/phplist/run 'attr(0750,root,root)' \
--file /var/service/phplist/log/run 'attr(0750,root,root)' \
11 years ago
> %{name}-%{version}-filelist
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
%clean
rm -rf $RPM_BUILD_ROOT
%postun
true