1 |
%define name smeserver-radicale |
%define name smeserver-radicale |
2 |
%define version 0.0.3 |
%define version 0.0.3 |
3 |
%define release 3 |
%define release 4 |
4 |
|
|
5 |
Summary: smserver rpm to setup radicale, a carddav and caldav client |
Summary: smserver rpm to setup radicale, a carddav and caldav 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 |
|
Patch0: smeserver-radicale-0.0.3-sme10.patch |
11 |
|
|
12 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
13 |
URL: http://www.contribs.org |
URL: http://www.contribs.org |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
16 |
Prefix: %{_prefix} |
Prefix: %{_prefix} |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
19 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
20 |
Requires: python-pip |
Requires: python36-pip |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
|
|
23 |
%description |
%description |
24 |
smserver rpm to setup the roundcube IMAP mail client. |
smserver rpm to setup the roundcube IMAP mail client. |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Thu Aug 04 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.3-4.sme |
28 |
|
- import to SME10 |
29 |
|
- python 3.6 |
30 |
|
|
31 |
* Sun Oct 18 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.3-3 |
* Sun Oct 18 2015 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.3-3 |
32 |
- change path and permissions to collections |
- change path and permissions to collections |
33 |
|
|
45 |
|
|
46 |
%prep |
%prep |
47 |
%setup |
%setup |
48 |
|
%patch0 -p1 |
49 |
|
|
50 |
|
rm -rf root/etc/rc.d |
51 |
|
|
52 |
%build |
%build |
53 |
perl createlinks |
perl createlinks |
54 |
%{__mkdir_p} root/home/e-smith/files/radicale/collections |
%{__mkdir_p} root/home/e-smith/files/radicale/collections |
55 |
%{__mkdir_p} root/etc/radicale/ |
%{__mkdir_p} root/etc/radicale/ |
56 |
%{__mkdir_p} root/var/log/radicale |
%{__mkdir_p} root/var/log/radicale |
57 |
%{__mkdir_p} root/var/run/radicale |
%{__mkdir_p} root/run/radicale |
58 |
|
|
59 |
%install |
%install |
60 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
66 |
--dir /home/e-smith/files/radicale/collections 'attr(0750,radicale,radicale)' \ |
--dir /home/e-smith/files/radicale/collections 'attr(0750,radicale,radicale)' \ |
67 |
--dir /var/log/radicale 'attr(0755,radicale,radicale)' \ |
--dir /var/log/radicale 'attr(0755,radicale,radicale)' \ |
68 |
--file /var/log/radicale/radicale.log 'attr(0755,radicale,radicale)' \ |
--file /var/log/radicale/radicale.log 'attr(0755,radicale,radicale)' \ |
69 |
--dir /var/run/radicale 'attr(0755,radicale,radicale)' \ |
--dir /run/radicale 'attr(0755,radicale,radicale)' \ |
70 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
71 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
72 |
|
|