File enigmail.spec of Package enigmail.13869

# spec file for package enigmail
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Wolfgang Rosenauer <>
# 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.

# Please submit bugfixes or comments via

Name:           enigmail
Version:        2.1.5
Release:        0
Summary:        OpenPGP addon for Mozilla Thunderbird
License:        MPL-2.0
# git clone git:// enigmail
Source2:        enigmail.keyring
BuildRequires:  fdupes
BuildRequires:  perl >= 5
BuildRequires:  python3
BuildRequires:  unzip
BuildRequires:  zip
Requires:       gpg2 >= 2.0.7
Requires:       pinentry-gui

This package contains the Enigmail OpenPGP Addon for Mozilla Thunderbird.

%setup -q -n enigmail

make # %{?_smp_mflags}

# Thunderbird location
mkdir -p $_enig_dir
(cd $_enig_dir; unzip $RPM_BUILD_DIR/enigmail/build-tb/enigmail-*.xpi)
#rm $_enig_dir/*.xpi
%fdupes %{buildroot}

mkdir -p %{buildroot}%{_datadir}/appdata/
install -m644 public/thunderbird-enigmail.metainfo.xml %{buildroot}%{_datadir}/appdata/enigmail.appdata.xml

%license LICENSE
%dir %{_datadir}/appdata

openSUSE Build Service is sponsored by