2014-07-20 20:51:34 +02:00
|
|
|
#
|
|
|
|
# spec file for package enigmail
|
|
|
|
#
|
2023-09-05 20:58:17 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2015-03-26 11:42:09 +01:00
|
|
|
# Copyright (c) 2014 Wolfgang Rosenauer <wr@rosenauer.org>
|
2014-07-20 20:51:34 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-10 12:16:02 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-07-20 20:51:34 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: enigmail
|
2020-10-07 11:39:14 +02:00
|
|
|
Version: 2.2.4
|
2014-07-20 20:51:34 +02:00
|
|
|
Release: 0
|
2019-09-20 22:36:50 +02:00
|
|
|
Summary: OpenPGP addon for Mozilla Thunderbird
|
2016-09-07 12:30:03 +02:00
|
|
|
License: MPL-2.0
|
2018-12-10 12:16:02 +01:00
|
|
|
URL: https://www.enigmail.net/
|
2015-03-26 11:42:09 +01:00
|
|
|
# git clone git://git.code.sf.net/p/enigmail/source enigmail
|
|
|
|
Source0: https://www.enigmail.net/download/source/%{name}-%{version}.tar.gz
|
|
|
|
Source1: https://www.enigmail.net/download/source/%{name}-%{version}.tar.gz.asc
|
|
|
|
# https://www.enigmail.net/documentation/pgp-key.php
|
2014-07-20 20:51:34 +02:00
|
|
|
Source2: enigmail.keyring
|
2019-11-03 11:16:33 +01:00
|
|
|
BuildRequires: fdupes
|
2016-02-29 16:27:53 +01:00
|
|
|
BuildRequires: perl >= 5
|
2019-12-15 13:29:14 +01:00
|
|
|
BuildRequires: python3
|
2014-07-20 20:51:34 +02:00
|
|
|
BuildRequires: unzip
|
|
|
|
BuildRequires: zip
|
2020-09-25 08:35:43 +02:00
|
|
|
Requires: MozillaThunderbird >= 78
|
2016-02-29 16:27:53 +01:00
|
|
|
Requires: gpg2 >= 2.0.7
|
2014-07-20 20:51:34 +02:00
|
|
|
Requires: pinentry-gui
|
|
|
|
|
|
|
|
%description
|
2020-09-25 08:35:43 +02:00
|
|
|
This package contains the Enigmail OpenPGP Addon for Mozilla Thunderbird 78.
|
|
|
|
The addon will assist the migration from Enigmail to Thunderbird's built-in
|
|
|
|
OpenPGP support.
|
2014-07-20 20:51:34 +02:00
|
|
|
|
|
|
|
%prep
|
2015-03-26 11:42:09 +01:00
|
|
|
%setup -q -n enigmail
|
2023-09-05 20:58:17 +02:00
|
|
|
if test -f /usr/lib/rpm/config.sub; then
|
|
|
|
# The file has been edited in a way that the automatic update fails
|
|
|
|
cp /usr/lib/rpm/config.sub .
|
|
|
|
fi
|
2014-07-20 20:51:34 +02:00
|
|
|
|
|
|
|
%build
|
2019-11-03 11:16:33 +01:00
|
|
|
%configure
|
2020-01-03 18:53:06 +01:00
|
|
|
make # %{?_smp_mflags}
|
2014-07-20 20:51:34 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
# Thunderbird location
|
2015-03-26 11:42:09 +01:00
|
|
|
_enig_dir=%{buildroot}%{_libdir}/mozilla/extensions/\{3550f703-e582-4d05-9a08-453d09bdfdc6\}/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
|
2014-07-20 20:51:34 +02:00
|
|
|
mkdir -p $_enig_dir
|
2019-11-03 11:16:33 +01:00
|
|
|
(cd $_enig_dir; unzip $RPM_BUILD_DIR/enigmail/build-tb/enigmail-*.xpi)
|
2014-07-20 20:51:34 +02:00
|
|
|
#rm $_enig_dir/*.xpi
|
2019-11-03 11:16:33 +01:00
|
|
|
%fdupes %{buildroot}
|
2014-07-20 20:51:34 +02:00
|
|
|
|
2016-09-07 12:30:03 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/appdata/
|
2018-03-26 13:03:16 +02:00
|
|
|
install -m644 public/thunderbird-enigmail.metainfo.xml %{buildroot}%{_datadir}/appdata/enigmail.appdata.xml
|
2016-09-07 12:30:03 +02:00
|
|
|
|
2014-07-20 20:51:34 +02:00
|
|
|
%files
|
2018-03-26 13:03:16 +02:00
|
|
|
%license LICENSE
|
2014-07-20 20:51:34 +02:00
|
|
|
%{_libdir}/mozilla/
|
2016-09-07 12:30:03 +02:00
|
|
|
%dir %{_datadir}/appdata
|
|
|
|
%{_datadir}/appdata/enigmail.appdata.xml
|
2014-07-20 20:51:34 +02:00
|
|
|
|
|
|
|
%changelog
|