1 |
%define name smeserver-roundcube |
%define name smeserver-roundcube |
2 |
%define version 1.2 |
%define version 1.2 |
3 |
%define release 15 |
%define release 16 |
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} |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
9 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
10 |
|
Source1: composer.phar |
11 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
12 |
URL: http://www.contribs.org |
URL: http://www.contribs.org |
13 |
Group: SMEserver/addon |
Group: SMEserver/addon |
35 |
smserver rpm to setup the roundcube IMAP mail client. |
smserver rpm to setup the roundcube IMAP mail client. |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
* Sat Dec 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-15.sme |
* Sat Dec 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-16.sme |
39 |
- remove sieverules [SME: 11430] |
- remove sieverules [SME: 11430] |
40 |
change skin on availability for 1.6 |
change skin on availability for 1.6 |
41 |
|
|
186 |
%patch3 -p1 |
%patch3 -p1 |
187 |
%patch4 -p1 |
%patch4 -p1 |
188 |
rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules |
rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules |
189 |
|
cp %{source1} root/usr/local/bin/composer |
190 |
|
|
191 |
%build |
%build |
192 |
perl createlinks |
perl createlinks |
196 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
197 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
198 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
199 |
--ignoredir /usr/share/roundcubemail \ |
--file /usr/local/bin/composer 'attr(0755,root,www)' \ |
200 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
201 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
202 |
|
|