/[smecontribs]/rpms/smeserver-phplist/contribs10/smeserver-phplist.spec
ViewVC logotype

Contents of /rpms/smeserver-phplist/contribs10/smeserver-phplist.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Aug 2 19:54:10 2022 UTC (23 months, 1 week ago) by jpp
Branch: MAIN
Changes since 1.1: +16 -5 lines
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-2.sme
- fix [SME: ]

1 Summary: sme server integration of phplist
2 Name: smeserver-phplist
3 Version: 0.2.1
4 Release: 2%{?dist}
5 License: GNU GPL version 2
6 URL: http://www.phplist.com
7 Group: SMEserver/addon
8 Source: %{name}-%{version}.tar.gz
9 Patch0: smeserver-phplist-0.2.1-sme10.patch
10
11 BuildArchitectures: noarch
12 BuildRequires: e-smith-devtools
13 BuildRoot: /var/tmp/%{name}-%{version}
14 Requires: e-smith-release >= 10.0
15 Requires: e-smith-apache >= 2.6.0-19
16 Requires: phplist >= 3.6.8
17 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-pear-HTTP_Request php80-php-session php80-php-xml php80-php-zlib php80-php-mbstring php80-php-gd
19 AutoReqProv: no
20
21 %description
22 This rpm provides all the needed templates to get phplist
23 running on SME Server
24
25 %changelog
26 * Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-2.sme
27 - fix [SME: ]
28
29 * Wed Mar 18 2020 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
30 - new package built with tito
31
32 * Wed Jul 30 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
33 - Nearly complete rewrite
34 - Change the way bounces are processed
35 - Add a daemon to process the queue and the bounces
36 - Requires phplist 3.0.6
37
38 * Fri Dec 31 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-3
39 - Fix typo in BouncesPassword prop name
40
41 * Thu Dec 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-2
42 - Change the way mysql permissions are applied
43 - Rewrite URL to force SSL for /lists/admin
44 - Add LemonLDAP auth support (disable basic auth)
45 - Add AdminUsers prop (only for basic auth)
46
47 * Mon Dec 20 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-1
48 - Minor templates cleanup
49
50 * Mon Dec 20 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta9
51 - patch to restrict admin interface with SSL + login
52 - Separation of the main Alias for Apache in two parts, Admin and Subscibe part
53
54 * Mon Dec 20 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta8
55 - patch for force SSL connection and add access variable in DB configuration
56
57 * Thu Dec 09 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta2
58 - patch some forgotten parameters in configuration files and add DB configuration
59
60 * Wed Dec 08 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta0
61 - initial release
62
63
64 %prep
65 %setup
66 %patch0 -p1
67 rm -rf root/var/service/
68
69 %build
70 perl ./createlinks
71 %{__mkdir_p} root/var/lib/phplist
72 %{__mkdir_p} root/var/log/phplist
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
77 rm -f %{name}-%{version}-filelist
78 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
79 --dir /var/lib/phplist 'attr(0750,www,www)' \
80 --dir /var/log/phplist 'attr(0750,smelog,smelog)' \
81 --file /var/lib/phplist/bounces.mbox 'config(noreplace) %attr(0640,www,www)' \
82 --file /usr/sbin/e-smith/systemd/phplist 'attr(0750,root,root)' \
83 --dir /var/lib/php/phplist 'attr(0755,www,www)' \
84 --dir /var/lib/php/phplist/tmp 'attr(0755,www,www)' \
85 --dir /var/lib/php/phplist/opcache 'attr(0755,www,www)' \
86 --dir /var/lib/php/phplist/session 'attr(0755,www,www)' \
87 > %{name}-%{version}-filelist
88
89 %files -f %{name}-%{version}-filelist
90 %defattr(-,root,root)
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %postun
96
97 true
98

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed