/[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.6 - (show annotations) (download)
Thu Aug 4 04:03:04 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-phplist-0_2_1-3_el7_sme, HEAD
Changes since 1.5: +5 -2 lines
* Wed Aug 03 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-3.sme
- make http auth not the default.

1 Summary: sme server integration of phplist
2 Name: smeserver-phplist
3 Version: 0.2.1
4 Release: 3%{?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 * Wed Aug 03 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-3.sme
28 - make http auth not the default.
29
30 * Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-2.sme
31 - ported to SME10
32
33 * Wed Mar 18 2020 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
34 - new package built with tito
35
36 * Wed Jul 30 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
37 - Nearly complete rewrite
38 - Change the way bounces are processed
39 - Add a daemon to process the queue and the bounces
40 - Requires phplist 3.0.6
41
42 * Fri Dec 31 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-3
43 - Fix typo in BouncesPassword prop name
44
45 * Thu Dec 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-2
46 - Change the way mysql permissions are applied
47 - Rewrite URL to force SSL for /lists/admin
48 - Add LemonLDAP auth support (disable basic auth)
49 - Add AdminUsers prop (only for basic auth)
50
51 * Mon Dec 20 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-1
52 - Minor templates cleanup
53
54 * Mon Dec 20 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta9
55 - patch to restrict admin interface with SSL + login
56 - Separation of the main Alias for Apache in two parts, Admin and Subscibe part
57
58 * Mon Dec 20 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta8
59 - patch for force SSL connection and add access variable in DB configuration
60
61 * Thu Dec 09 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta2
62 - patch some forgotten parameters in configuration files and add DB configuration
63
64 * Wed Dec 08 2010 Pierre Bourdin <pierre@firewall-services.com> 0.1-0.beta0
65 - initial release
66
67
68 %prep
69 %setup
70 %patch0 -p1
71 rm -rf root/var/service/
72
73 %build
74 perl ./createlinks
75 %{__mkdir_p} root/var/lib/php/phplist/{tmp,opcache,session}
76 %{__mkdir_p} root/var/log/phplist
77 %{__mkdir_p} root/var/log/php/phplist
78
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
83 rm -f %{name}-%{version}-filelist
84 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
85 --dir /var/lib/phplist 'attr(0750,www,www)' \
86 --dir /var/log/phplist 'attr(0750,smelog,smelog)' \
87 --file /var/lib/phplist/bounces.mbox 'config(noreplace) %attr(0640,www,www)' \
88 --file /usr/sbin/e-smith/systemd/phplist 'attr(0750,root,root)' \
89 --dir /var/lib/php/phplist 'attr(0755,www,www)' \
90 --dir /var/lib/php/phplist/tmp 'attr(0755,www,www)' \
91 --dir /var/lib/php/phplist/opcache 'attr(0755,www,www)' \
92 --dir /var/lib/php/phplist/session 'attr(0755,www,www)' \
93 --ignoredir /var/qmail/alias --ignoredir /var/lib/phplist \
94 --file /usr/local/bin/phplist 'attr(0750,root,www)' \
95 > %{name}-%{version}-filelist
96
97 %files -f %{name}-%{version}-filelist
98 %defattr(-,root,root)
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %postun
104
105 true
106

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