diff options
author | Remi Collet <remi@remirepo.net> | 2024-10-11 15:30:10 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-10-11 15:30:10 +0200 |
commit | 5cdd9d1c580b60dd29e56c7cdb859a3ca30feeb2 (patch) | |
tree | 783c454a9be5280f2cb335518579302941ec21dc /roundcubemail.spec | |
parent | 1f8794df1aab64038176f4b9a4411ca1e39a0b9f (diff) |
Diffstat (limited to 'roundcubemail.spec')
-rw-r--r-- | roundcubemail.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roundcubemail.spec b/roundcubemail.spec index c200012..ec548ce 100644 --- a/roundcubemail.spec +++ b/roundcubemail.spec @@ -9,6 +9,7 @@ # %bcond_with internet +%bcond_with generators # support for apache / nginx / php-fpm %global with_phpfpm 1 @@ -55,6 +56,9 @@ BuildRequires: gnupg2 BuildRequires: php(language) >= 7.3 # For test BuildRequires: php-cli +%if %{with generators} +BuildRequires: composer-generators +%endif %if %{with_phpfpm} Requires: webserver @@ -133,6 +137,7 @@ Provides: bundled(js-jstimezonedetect) = 1.0.7 # License Unkown Provides: bundled(js-tinymce-langs) = 5.8.2 +%if %{without generators} # Bundled PHP libraries # see vendor/composer/installed.json # License BSD @@ -170,6 +175,7 @@ Provides: bundled(php-ralouphie-getallheaders) = 3.0.3 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.3 # License PHP License Provides: bundled(php-pear-net-socket) = v1.2.2 +%endif %description @@ -189,8 +195,10 @@ CSS 2. %setup -q -n roundcubemail-%{upstream_version}%{?upstream_prever:-%{upstream_prever}} %patch -P1 -p1 -b .rpm +%if %{without generators} : PHP bundled libraries php %{SOURCE5} vendor/composer/installed.json +%endif %if %{with internet} : JS bundled libraries |