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

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