summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roundcubemail.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/roundcubemail.spec b/roundcubemail.spec
index cf76478..d7927ef 100644
--- a/roundcubemail.spec
+++ b/roundcubemail.spec
@@ -42,6 +42,8 @@ Summary: Round Cube Webmail is a browser-based multilingual IMAP client
License: GPL-3.0-or-later AND GPL-2.0-only AND LGPL-2.0-or-later AND CC-BY-SA-3.0 AND MIT AND BSD-2-Clause AND BSD-3-Clause AND PHP-3.01
URL: http://www.roundcube.net
Source0: https://github.com/roundcube/roundcubemail/releases/download/%{upstream_version}%{?upstream_prever:-%{upstream_prever}}/roundcubemail-%{upstream_version}%{?upstream_prever:-%{upstream_prever}}-complete.tar.gz
+Source8: https://github.com/roundcube/roundcubemail/releases/download/%{upstream_version}%{?upstream_prever:-%{upstream_prever}}/roundcubemail-%{upstream_version}%{?upstream_prever:-%{upstream_prever}}-complete.tar.gz.asc
+Source9: https://roundcube.net/download/pubkey.asc
Source1: roundcubemail.httpd
Source3: roundcubemail.nginx
@@ -55,6 +57,7 @@ Patch1: roundcubemail-1.6-confpath.patch
BuildArch: noarch
+BuildRequires: gnupg2
BuildRequires: php(language) >= 7.3
# For test
BuildRequires: php-cli
@@ -190,6 +193,8 @@ CSS 2.
%prep
+%{?gpgverify: %{gpgverify} --keyring=%{SOURCE9} --signature=%{SOURCE8} --data=%{SOURCE0}}
+
%setup -q -n roundcubemail-%{upstream_version}%{?upstream_prever:-%{upstream_prever}}
%patch -P1 -p1 -b .rpm