Commit 2c514c06 authored by Manfred Kutas's avatar Manfred Kutas

Merge pull request #335 in ZP/z-push from...

Merge pull request #335 in ZP/z-push from bugfix/ZP-1016-further-improve-rhel-scl-packaging to develop

* commit '92f6052d':
  ZP-1016 Further improve RHEL*SCL packaging. Released under the Affero GNU General Public License (AGPL) version 3.
  ZP-1016 Further improve RHEL*SCL packaging. Released under the Affero GNU General Public License (AGPL) version 3.
parents 3ccff644 92f6052d
...@@ -32,10 +32,16 @@ Requires: php-posix ...@@ -32,10 +32,16 @@ Requires: php-posix
%else %else
Requires: php-process Requires: php-process
%endif %endif
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56
Requires: rh-php56-php-soap
Requires: rh-php56-php-mbstring
Requires: rh-php56-php-process
%else
Requires: php >= 5.4.0 Requires: php >= 5.4.0
Requires: php-soap Requires: php-soap
Requires: php-mbstring Requires: php-mbstring
%endif
%description -n %name-common %description -n %name-common
Z-push is an implementation of the ActiveSync protocol which is used 'over-the-air' for multi platform ActiveSync devices. Devices supported are including Windows Mobile, Android, iPhone, and Nokia. With Z-push any groupware can be connected and synced with these devices. Z-push is an implementation of the ActiveSync protocol which is used 'over-the-air' for multi platform ActiveSync devices. Devices supported are including Windows Mobile, Android, iPhone, and Nokia. With Z-push any groupware can be connected and synced with these devices.
...@@ -133,9 +139,13 @@ Synchronizes a Kopano global address book ...@@ -133,9 +139,13 @@ Synchronizes a Kopano global address book
Summary: Z-Push ipc shared memory provider Summary: Z-Push ipc shared memory provider
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version Requires: %name-common = %version
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56-php-process
%else
Requires: php-sysvshm Requires: php-sysvshm
Requires: php-sysvsem Requires: php-sysvsem
Requires: php-pcntl Requires: php-pcntl
%endif
%description -n %name-ipc-sharedmemory %description -n %name-ipc-sharedmemory
Provider for Z-Push, that adds the ability to use ipc shared memory Provider for Z-Push, that adds the ability to use ipc shared memory
...@@ -197,8 +207,12 @@ Requires: %name-common = %version ...@@ -197,8 +207,12 @@ Requires: %name-common = %version
Requires: apache2 Requires: apache2
Requires: mod_php_any Requires: mod_php_any
%else %else
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: httpd24-httpd
%else
Requires: httpd Requires: httpd
%endif %endif
%endif
%description -n %name-config-apache %description -n %name-config-apache
Z-push apache configuration files Z-push apache configuration files
...@@ -211,8 +225,12 @@ Requires: %name-autodiscover = %version ...@@ -211,8 +225,12 @@ Requires: %name-autodiscover = %version
Requires: apache2 Requires: apache2
Requires: mod_php_any Requires: mod_php_any
%else %else
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: httpd24-httpd
%else
Requires: httpd Requires: httpd
%endif %endif
%endif
%description -n %name-config-apache-autodiscover %description -n %name-config-apache-autodiscover
Z-push autodiscover apache configuration files Z-push autodiscover apache configuration files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment