1 |
%define name smeserver-roundcube |
%define name smeserver-roundcube |
2 |
%define version 1.2 |
%define version 1.2 |
3 |
%define release 19 |
%define release 20 |
4 |
|
|
5 |
Summary: smserver rpm to setup roundcube, an IMAP mail client |
Summary: smserver rpm to setup roundcube, an IMAP mail client |
6 |
Name: %{name} |
Name: %{name} |
17 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
18 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
19 |
Requires: e-smith-apache >= 2.6.0-19 |
Requires: e-smith-apache >= 2.6.0-19 |
20 |
Requires: roundcubemail >= 1.5.3 |
Requires: roundcubemail >= 1.6 |
21 |
Requires: git |
Requires: git |
22 |
Requires: smeserver-dovecot-extras |
Requires: smeserver-dovecot-extras |
23 |
Requires: jq |
Requires: jq |
31 |
Patch3: smeserver-roundcube-1.2-bz11430-login.patch |
Patch3: smeserver-roundcube-1.2-bz11430-login.patch |
32 |
Patch4: smeserver-roundcube-1.2-bz11430-plugins.patch |
Patch4: smeserver-roundcube-1.2-bz11430-plugins.patch |
33 |
Patch5: smeserver-roundcube-1.2-Update-params-forv1_6-roundcube.patch |
Patch5: smeserver-roundcube-1.2-Update-params-forv1_6-roundcube.patch |
34 |
|
Patch6: smeserver-roundcube-1.2-bz12489-bz12263.patch |
35 |
|
|
36 |
%description |
%description |
37 |
smeserver rpm to setup the roundcube IMAP mail client. |
smeserver rpm to setup the roundcube IMAP mail client. |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Sat Feb 24 2024 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-20.sme |
41 |
|
- add nextcloud_attachements plugin support [SME: 12489] |
42 |
|
TODO template the file /usr/share/roundcubemail/plugins/nextcloud_attachments/config.inc.php |
43 |
|
- simplify access setting using access(private,public)/status [SME: 12263] |
44 |
|
- Requires roundcube >= 1.6 |
45 |
|
up to php81, add dedicated php pool |
46 |
|
using update event to config plugins |
47 |
|
|
48 |
* Tue Oct 31 2023 Brian Read <brianr@koozali.org> 1.2-19.sme |
* Tue Oct 31 2023 Brian Read <brianr@koozali.org> 1.2-19.sme |
49 |
- Update params for changes from v1.6 roundcube [SME: 12415] |
- Update params for changes from v1.6 roundcube [SME: 12415] |
50 |
|
|
202 |
%patch3 -p1 |
%patch3 -p1 |
203 |
%patch4 -p1 |
%patch4 -p1 |
204 |
%patch5 -p1 |
%patch5 -p1 |
205 |
|
%patch6 -p1 |
206 |
rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules |
rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules |
207 |
mkdir -p root/usr/local/bin/ |
mkdir -p root/usr/local/bin/ |
208 |
cp %{SOURCE1} root/usr/local/bin/composer |
cp %{SOURCE1} root/usr/local/bin/composer |
228 |
|
|
229 |
%post |
%post |
230 |
#Update the plugins |
#Update the plugins |
231 |
echo "" |
# now in smeserver-roundcube-update event |
232 |
echo "Update the Roundcube Plugins, please wait" |
#echo "" |
233 |
echo "" |
#echo "Update the Roundcube Plugins, please wait" |
234 |
/usr/bin/rcplugin_update.sh |
#echo "" |
235 |
echo "" |
#/usr/bin/rcplugin_update.sh |
236 |
|
#echo "" |
237 |
|
|
238 |
%postun |
%postun |
239 |
#uninstall |
#uninstall |
240 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
241 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/usr/bin/systemctl restart httpd-e-smith |
|
/usr/local/bin/svc -h /service/httpd-e-smith |
|
242 |
fi |
fi |
243 |
|
|
244 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |