Changes of Revision 29
iRony.spec
Changed
x
1
2
BuildArch: noarch
3
4
Requires: chwala >= 0.5.2
5
+%if 0%{?rhel} < 8
6
Requires: php-sabre-dav >= 2.1.11
7
Requires: php-sabre-event >= 2.0.2
8
Requires: php-sabre-http >= 3.0.5
9
Requires: php-sabre-vobject >= 3.5.3
10
+%endif
11
Requires: roundcubemail(core) >= 1.3
12
%if 0%{?plesk} < 1
13
Requires: roundcubemail-plugin-kolab_auth >= 3.3.6
14
15
# dead-end symbolic links and/or files and directories not owned
16
# by any package.
17
BuildRequires: chwala >= 0.5.2
18
+
19
+%if 0%{?rhel} < 8
20
BuildRequires: composer
21
%if 0%{?fedora}
22
# fix issue:
23
24
25
BuildRequires: roundcubemail(core) >= 1.3
26
BuildRequires: roundcubemail-plugins-kolab >= 3.3.6
27
+%if 0%{?rhel} < 8
28
BuildRequires: php-sabre-dav >= 2.1.11
29
BuildRequires: php-sabre-event >= 2.0.2
30
BuildRequires: php-sabre-http >= 3.0.5
31
BuildRequires: php-sabre-vobject >= 3.5.3
32
+%endif
33
34
%if 0%{?fedora} >= 21
35
# Fedora 21 has qca2 and qca, qca2 has been renamed to qca, required by kdelibs
36
BuildRequires: qca
37
%endif
38
+%endif
39
40
%description
41
iRony is the CardDAV, CalDAV and WebDAV storage access provider for the
42
43
%build
44
rm -rvf vendor/sabre
45
46
+%if 0%{?rhel} < 8
47
rm -rf composer.json
48
mv composer.json-dist composer.json
49
mkdir -p $HOME/.composer/
50
51
export USE_ZEND_ALLOC=0
52
%endif
53
composer -vvv dumpautoload --optimize
54
+%endif
55
56
%install
57
mkdir -p \
58