summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-10-16 10:37:09 +0200
committerRemi Collet <remi@php.net>2023-10-16 10:37:09 +0200
commit4005cda10efcbc63395c25b73f8c816007087481 (patch)
treeab6eb3af3f1ffecf1c3588bec9e04fd29ad53a47
parent69bedd7921b59569f46df6d08bcd55d4e60f5990 (diff)
check archive
-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