1 |
%define name smeserver-roundcube |
%define name smeserver-roundcube |
2 |
%define version 1.2 |
%define version 1.2 |
3 |
%define release 20 |
%define release 21 |
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} |
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 |
* Sat Feb 24 2024 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-21.sme |
41 |
- add nextcloud_attachements plugin support [SME: 12489] |
- add nextcloud_attachements plugin support [SME: 12489] |
42 |
- simplify access setting using access(private,public)/status [SME: 12263] |
- simplify access setting using access(private,public)/status [SME: 12263] |
43 |
- Requires roundcube >= 1.6 |
- Requires roundcube >= 1.6 |
205 |
rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules |
rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules |
206 |
mkdir -p root/usr/local/bin/ |
mkdir -p root/usr/local/bin/ |
207 |
cp %{SOURCE1} root/usr/local/bin/composer |
cp %{SOURCE1} root/usr/local/bin/composer |
208 |
|
mkdir -p root/var/lib/php/roundcube/{session,tmp,opcache} |
209 |
|
|
210 |
%build |
%build |
211 |
perl createlinks |
perl createlinks |
216 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
217 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
218 |
--file /usr/local/bin/composer 'attr(0755,root,www)' \ |
--file /usr/local/bin/composer 'attr(0755,root,www)' \ |
219 |
|
--dir /var/log/php/roundcube 'attr(0755,www,www)' \ |
220 |
|
--dir /var/lib/php/roundcube 'attr(0755,www,www)' \ |
221 |
|
--dir /var/lib/php/roundcube/tmp 'attr(0755,www,www)' \ |
222 |
|
--dir /var/lib/php/roundcube/opcache 'attr(0755,www,www)' \ |
223 |
|
--dir /var/lib/php/roundcube/session 'attr(0755,www,www)' \ |
224 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
225 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
226 |
|
|