]>
Commit | Line | Data |
---|---|---|
840a614a JB |
1 | # |
2 | # Conditional build: | |
6d8531e5 | 3 | %bcond_without thunderbird # Mozilla Thunderbird addon |
7ee2474a | 4 | %bcond_without seamonkey # Mozilla SeaMonkey addon |
5a2a572b | 5 | |
840a614a JB |
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 | |
8 | Name: enigmail | |
5a2a572b JR |
9 | Version: 2.1.2 |
10 | Release: 1 | |
840a614a JB |
11 | Epoch: 1 |
12 | License: MPL v1.1 or GPL v2+ or LGPL v2.1+ | |
13 | Group: X11/Applications/Mail | |
5a2a572b JR |
14 | Source0: https://enigmail.net/download/source/%{name}-%{version}.tar.gz |
15 | # Source0-md5: 50ace3f61a9c937d59b6a15bb9b260fa | |
16 | URL: http://enigmail.net/ | |
840a614a JB |
17 | BuildRequires: make >= 3.81 |
18 | BuildRequires: perl-base >= 5 | |
19 | BuildRequires: python >= 1:2.7 | |
20 | BuildRequires: zip | |
5a2a572b | 21 | BuildRequires: unzip |
840a614a JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | Enigmail is an extension to the Mozilla-based mail clients (like | |
8de18756 | 26 | Mozilla Thunderbird, Mozilla Seamonkey or Iceape) which |
840a614a JB |
27 | allows users to access the authentication and encryption features |
28 | provided by GnuPG. | |
29 | ||
30 | Main 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 | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | Enigmail to rozszerzenie klientów pocztowych opartych na Mozilli (jak | |
8de18756 | 40 | Mozilla Thunderbird, Mozilla Seamonkey i Iceape), pozwalające |
840a614a JB |
41 | użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego |
42 | przez GnuPG. | |
43 | ||
44 | Główne możliwości: | |
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 | |
52 | ||
6d8531e5 | 53 | %package -n thunderbird-addon-enigmail |
840a614a JB |
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 | |
f7c8db79 JB |
57 | Requires: gnupg2 >= 2.0.7 |
58 | Requires: gnupg-agent >= 2.0.7 | |
6d8531e5 | 59 | Requires: thunderbird >= 38.0 |
6657af64 JB |
60 | Obsoletes: icedove-addon-enigmail |
61 | Obsoletes: mozilla-thunderbird-addon-enigmail | |
8de18756 | 62 | BuildArch: noarch |
840a614a | 63 | |
6d8531e5 | 64 | %description -n thunderbird-addon-enigmail |
840a614a JB |
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. | |
68 | ||
69 | Main Features: | |
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 | |
76 | ||
6d8531e5 | 77 | %description -n thunderbird-addon-enigmail -l pl.UTF-8 |
840a614a JB |
78 | Enigmail to rozszerzenie klienta pocztowego Mozilla Thunderbird, |
79 | pozwalające użytkownikom na dostęp do uwierzytelniania i szyfrowania | |
80 | zapewnianego przez GnuPG. | |
81 | ||
82 | Główne możliwości: | |
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 | |
90 | ||
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 | |
f7c8db79 JB |
95 | Requires: gnupg2 >= 2.0.7 |
96 | Requires: gnupg-agent >= 2.0.7 | |
97 | Requires: seamonkey >= 2.35 | |
7ee2474a JR |
98 | Obsoletes: iceape-addon-enigmail |
99 | BuildArch: noarch | |
840a614a JB |
100 | |
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 | |
104 | provided by GnuPG. | |
105 | ||
106 | Main 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 | |
113 | ||
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. | |
118 | ||
119 | Główne możliwości: | |
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 | |
127 | ||
840a614a JB |
128 | %prep |
129 | %setup -q -n %{name} | |
130 | ||
131 | %build | |
132 | %configure | |
133 | ||
86234366 | 134 | %{__make} -j1 |
840a614a JB |
135 | |
136 | %install | |
5a2a572b JR |
137 | install -d $RPM_BUILD_ROOT%{_datadir}/thunderbird/distribution/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\} |
138 | unzip build/%{name}-%{version}.xpi -d $RPM_BUILD_ROOT%{_datadir}/thunderbird/distribution/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}/ | |
139 | ||
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\} | |
8de18756 | 142 | |
840a614a JB |
143 | %clean |
144 | rm -rf $RPM_BUILD_ROOT | |
145 | ||
5a2a572b JR |
146 | %if %{with thunderbird} |
147 | %files -n thunderbird-addon-enigmail | |
148 | %defattr(644,root,root,755) | |
149 | %dir %{_datadir}/thunderbird/distribution/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5} | |
150 | %{_datadir}/thunderbird/distribution/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome | |
151 | %{_datadir}/thunderbird/distribution/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/bootstrap.js | |
152 | %{_datadir}/thunderbird/distribution/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest | |
153 | %{_datadir}/thunderbird/distribution/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf | |
154 | %{_datadir}/thunderbird/distribution/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/manifest.json | |
155 | %endif | |
156 | ||
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 | |
166 | %endif |