3 %bcond_without thunderbird # Mozilla Thunderbird addon
4 %bcond_without seamonkey # Mozilla SeaMonkey addon
6 Summary: Mozilla mail clients extension for the GnuPG authentication and encryption features
7 Summary(pl.UTF-8): Rozszerzenie klientów pocztowych Mozilla do uwierzytelniania i szyfrowania w oparciu o GnuPG
12 License: MPL v1.1 or GPL v2+ or LGPL v2.1+
13 Group: X11/Applications/Mail
14 Source0: https://enigmail.net/download/source/%{name}-%{version}.tar.gz
15 # Source0-md5: 50ace3f61a9c937d59b6a15bb9b260fa
16 URL: http://enigmail.net/
17 BuildRequires: make >= 3.81
18 BuildRequires: perl-base >= 5
19 BuildRequires: python >= 1:2.7
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Enigmail is an extension to the Mozilla-based mail clients (like
26 Mozilla Thunderbird, Mozilla Seamonkey or Iceape) which
27 allows users to access the authentication and encryption features
31 - Encrypt/sign mail when sending, decrypt/authenticate received mail
32 - Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
33 - Per-Account based encryption and signing defaults
34 - Per-Recipient rules for automated key selection, and
35 enabling/disabling encryption and signing
36 - OpenPGP key management interface
38 %description -l pl.UTF-8
39 Enigmail to rozszerzenie klientów pocztowych opartych na Mozilli (jak
40 Mozilla Thunderbird, Mozilla Seamonkey i Iceape), pozwalające
41 użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego
45 - szyfrowanie/podpisywanie poczty przy wysyłaniu,
46 odszyfrowywanie/uwierzytelnianie poczty odebranej
47 - obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
48 - ustawienia domyślne szyfrowania i podpisywania dla każdego konta
49 - reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
50 podpisywania dla każdego adresata
51 - interfejs do zarządzania kluczami OpenPGP
53 %package -n thunderbird-addon-enigmail
54 Summary: Thunderbird extension for the authentication and encryption features provided by GnuPG
55 Summary(pl.UTF-8): Rozszerzenie Thunderbirda do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
56 Group: X11/Applications/Mail
57 Requires: gnupg2 >= 2.0.7
58 Requires: gnupg-agent >= 2.0.7
59 Requires: thunderbird >= 38.0
60 Obsoletes: icedove-addon-enigmail
61 Obsoletes: mozilla-thunderbird-addon-enigmail
64 %description -n thunderbird-addon-enigmail
65 Enigmail is an extension to the Mozilla Thunderbird mail client of
66 which allows users to access the authentication and encryption
67 features provided by GnuPG.
70 - Encrypt/sign mail when sending, decrypt/authenticate received mail
71 - Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
72 - Per-Account based encryption and signing defaults
73 - Per-Recipient rules for automated key selection, and
74 enabling/disabling encryption and signing
75 - OpenPGP key management interface
77 %description -n thunderbird-addon-enigmail -l pl.UTF-8
78 Enigmail to rozszerzenie klienta pocztowego Mozilla Thunderbird,
79 pozwalające użytkownikom na dostęp do uwierzytelniania i szyfrowania
80 zapewnianego przez GnuPG.
83 - szyfrowanie/podpisywanie poczty przy wysyłaniu,
84 odszyfrowywanie/uwierzytelnianie poczty odebranej
85 - obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
86 - ustawienia domyślne szyfrowania i podpisywania dla każdego konta
87 - reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
88 podpisywania dla każdego adresata
89 - interfejs do zarządzania kluczami OpenPGP
91 %package -n seamonkey-addon-enigmail
92 Summary: SeaMonkey extension for the authentication and encryption features provided by GnuPG
93 Summary(pl.UTF-8): Rozszerzenie SeaMonkeya do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
94 Group: X11/Applications/Mail
95 Requires: gnupg2 >= 2.0.7
96 Requires: gnupg-agent >= 2.0.7
97 Requires: seamonkey >= 2.35
98 Obsoletes: iceape-addon-enigmail
101 %description -n seamonkey-addon-enigmail
102 Enigmail is an extension to the mail client of Mozilla SeaMonkey which
103 allows users to access the authentication and encryption features
107 - Encrypt/sign mail when sending, decrypt/authenticate received mail
108 - Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
109 - Per-Account based encryption and signing defaults
110 - Per-Recipient rules for automated key selection, and
111 enabling/disabling encryption and signing
112 - OpenPGP key management interface
114 %description -n seamonkey-addon-enigmail -l pl.UTF-8
115 Enigmail to rozszerzenie klienta pocztowego programu Mozilla
116 SeaMonkey, pozwalające użytkownikom na dostęp do uwierzytelniania i
117 szyfrowania zapewnianego przez GnuPG.
120 - szyfrowanie/podpisywanie poczty przy wysyłaniu,
121 odszyfrowywanie/uwierzytelnianie poczty odebranej
122 - obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
123 - ustawienia domyślne szyfrowania i podpisywania dla każdego konta
124 - reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
125 podpisywania dla każdego adresata
126 - interfejs do zarządzania kluczami OpenPGP
137 install -d $RPM_BUILD_ROOT%{_datadir}/thunderbird/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
138 unzip build/%{name}-%{version}.xpi -d $RPM_BUILD_ROOT%{_datadir}/thunderbird/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}/
140 install -d $RPM_BUILD_ROOT%{_datadir}/seamonkey/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
141 unzip build/%{name}-%{version}.xpi -d $RPM_BUILD_ROOT%{_datadir}/seamonkey/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
144 rm -rf $RPM_BUILD_ROOT
146 %if %{with thunderbird}
147 %files -n thunderbird-addon-enigmail
148 %defattr(644,root,root,755)
149 %dir %{_datadir}/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}
150 %{_datadir}/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome
151 %{_datadir}/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/bootstrap.js
152 %{_datadir}/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest
153 %{_datadir}/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf
154 %{_datadir}/thunderbird/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/manifest.json
157 %if %{with seamonkey}
158 %files -n seamonkey-addon-enigmail
159 %defattr(644,root,root,755)
160 %dir %{_datadir}/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}
161 %{_datadir}/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome
162 %{_datadir}/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/bootstrap.js
163 %{_datadir}/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest
164 %{_datadir}/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf
165 %{_datadir}/seamonkey/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/manifest.json