2014-07-20 20:51:34 +02:00
|
|
|
#
|
|
|
|
# spec file for package enigmail
|
|
|
|
#
|
2019-03-29 14:52:15 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
2019-08-29 16:25:00 +02:00
|
|
|
Version: 2.1.2
|
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
|
2014-07-20 20:51:34 +02:00
|
|
|
Group: Productivity/Networking/Email/Clients
|
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
|
2016-02-29 16:27:53 +01:00
|
|
|
BuildRequires: perl >= 5
|
|
|
|
BuildRequires: python >= 2.7
|
2014-07-20 20:51:34 +02:00
|
|
|
BuildRequires: unzip
|
|
|
|
BuildRequires: zip
|
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
|
2019-09-20 22:36:50 +02:00
|
|
|
This package contains the Enigmail OpenPGP Addon for Mozilla Thunderbird.
|
2014-07-20 20:51:34 +02:00
|
|
|
|
|
|
|
%prep
|
2015-03-26 11:42:09 +01:00
|
|
|
%setup -q -n enigmail
|
2014-07-20 20:51:34 +02:00
|
|
|
|
|
|
|
%build
|
2016-07-13 19:04:58 +02:00
|
|
|
# FIXME: you should use the %%configure macro
|
2015-03-26 11:42:09 +01:00
|
|
|
./configure \
|
2016-02-29 16:27:53 +01:00
|
|
|
CFLAGS="%{optflags}"
|
2014-07-20 20:51:34 +02:00
|
|
|
# parallel build not supported
|
2016-02-29 16:27:53 +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
|
|
|
|
(cd $_enig_dir; unzip $RPM_BUILD_DIR/enigmail/build/enigmail-*.xpi)
|
|
|
|
#rm $_enig_dir/*.xpi
|
|
|
|
|
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
|