]> git.pld-linux.org Git - packages/enigmail.git/blob - enigmail.spec
- back to old extension directory
[packages/enigmail.git] / enigmail.spec
1 #
2 # Conditional build:
3 %bcond_without  thunderbird     # Mozilla Thunderbird addon
4 %bcond_without  seamonkey       # Mozilla SeaMonkey addon
5 %bcond_with     iceape          # Iceape addon
6 # aliases:
7 %bcond_without  mozilla         # build both Mozilla packages
8 %bcond_with     iceapps         # build Ice* packages
9
10 %if %{with mozilla}
11 %define         with_thunderbird        1
12 %define         with_seamonkey          1
13 %endif
14 %if %{without iceapps}
15 %undefine       with_iceape
16 %endif
17 Summary:        Mozilla mail clients extension for the GnuPG authentication and encryption features
18 Summary(pl.UTF-8):      Rozszerzenie klientów pocztowych Mozilla do uwierzytelniania i szyfrowania w oparciu o GnuPG
19 Name:           enigmail
20 Version:        1.9.5
21 Release:        4
22 Epoch:          1
23 License:        MPL v1.1 or GPL v2+ or LGPL v2.1+
24 Group:          X11/Applications/Mail
25 Source0:        http://www.mozilla-enigmail.org/download/source/%{name}-%{version}.tar.gz
26 # Source0-md5:  15eca51a6e7b3ff62b76e2dbea716305
27 URL:            http://www.mozilla-enigmail.org/
28 BuildRequires:  make >= 3.81
29 BuildRequires:  perl-base >= 5
30 BuildRequires:  python >= 1:2.7
31 BuildRequires:  zip
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Enigmail is an extension to the Mozilla-based mail clients (like
36 Mozilla Thunderbird, Mozilla Seamonkey or Iceape) which
37 allows users to access the authentication and encryption features
38 provided by GnuPG.
39
40 Main Features:
41 - Encrypt/sign mail when sending, decrypt/authenticate received mail
42 - Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
43 - Per-Account based encryption and signing defaults
44 - Per-Recipient rules for automated key selection, and
45   enabling/disabling encryption and signing
46 - OpenPGP key management interface
47
48 %description -l pl.UTF-8
49 Enigmail to rozszerzenie klientów pocztowych opartych na Mozilli (jak
50 Mozilla Thunderbird, Mozilla Seamonkey i Iceape), pozwalające
51 użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego
52 przez GnuPG.
53
54 Główne możliwości:
55 - szyfrowanie/podpisywanie poczty przy wysyłaniu,
56   odszyfrowywanie/uwierzytelnianie poczty odebranej
57 - obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
58 - ustawienia domyślne szyfrowania i podpisywania dla każdego konta
59 - reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
60   podpisywania dla każdego adresata
61 - interfejs do zarządzania kluczami OpenPGP
62
63 %package -n thunderbird-addon-enigmail
64 Summary:        Thunderbird extension for the authentication and encryption features provided by GnuPG
65 Summary(pl.UTF-8):      Rozszerzenie Thunderbirda do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
66 Group:          X11/Applications/Mail
67 Requires:       gnupg2 >= 2.0.7
68 Requires:       gnupg-agent >= 2.0.7
69 Requires:       thunderbird >= 38.0
70 Obsoletes:      icedove-addon-enigmail
71 Obsoletes:      mozilla-thunderbird-addon-enigmail
72 BuildArch:      noarch
73
74 %description -n thunderbird-addon-enigmail
75 Enigmail is an extension to the Mozilla Thunderbird mail client of
76 which allows users to access the authentication and encryption
77 features provided by GnuPG.
78
79 Main Features:
80 - Encrypt/sign mail when sending, decrypt/authenticate received mail
81 - Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
82 - Per-Account based encryption and signing defaults
83 - Per-Recipient rules for automated key selection, and
84   enabling/disabling encryption and signing
85 - OpenPGP key management interface
86
87 %description -n thunderbird-addon-enigmail -l pl.UTF-8
88 Enigmail to rozszerzenie klienta pocztowego Mozilla Thunderbird,
89 pozwalające użytkownikom na dostęp do uwierzytelniania i szyfrowania
90 zapewnianego przez GnuPG.
91
92 Główne możliwości:
93 - szyfrowanie/podpisywanie poczty przy wysyłaniu,
94   odszyfrowywanie/uwierzytelnianie poczty odebranej
95 - obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
96 - ustawienia domyślne szyfrowania i podpisywania dla każdego konta
97 - reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
98   podpisywania dla każdego adresata
99 - interfejs do zarządzania kluczami OpenPGP
100
101 %package -n seamonkey-addon-enigmail
102 Summary:        SeaMonkey extension for the authentication and encryption features provided by GnuPG
103 Summary(pl.UTF-8):      Rozszerzenie SeaMonkeya do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
104 Group:          X11/Applications/Mail
105 Requires:       gnupg2 >= 2.0.7
106 Requires:       gnupg-agent >= 2.0.7
107 Requires:       seamonkey >= 2.35
108 Obsoletes:      iceape-addon-enigmail
109 BuildArch:      noarch
110
111 %description -n seamonkey-addon-enigmail
112 Enigmail is an extension to the mail client of Mozilla SeaMonkey which
113 allows users to access the authentication and encryption features
114 provided by GnuPG.
115
116 Main Features:
117 - Encrypt/sign mail when sending, decrypt/authenticate received mail
118 - Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
119 - Per-Account based encryption and signing defaults
120 - Per-Recipient rules for automated key selection, and
121   enabling/disabling encryption and signing
122 - OpenPGP key management interface
123
124 %description -n seamonkey-addon-enigmail -l pl.UTF-8
125 Enigmail to rozszerzenie klienta pocztowego programu Mozilla
126 SeaMonkey, pozwalające użytkownikom na dostęp do uwierzytelniania i
127 szyfrowania zapewnianego przez GnuPG.
128
129 Główne możliwości:
130 - szyfrowanie/podpisywanie poczty przy wysyłaniu,
131   odszyfrowywanie/uwierzytelnianie poczty odebranej
132 - obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
133 - ustawienia domyślne szyfrowania i podpisywania dla każdego konta
134 - reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
135   podpisywania dla każdego adresata
136 - interfejs do zarządzania kluczami OpenPGP
137
138 %package -n iceape-addon-enigmail
139 Summary:        Iceape extension for the authentication and encryption features provided by GnuPG
140 Summary(pl.UTF-8):      Rozszerzenie Iceape'a do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
141 Group:          X11/Applications/Mail
142 Requires:       gnupg2 >= 2.0.7
143 Requires:       gnupg-agent >= 2.0.7
144 Requires:       iceape >= 2.35
145 Obsoletes:      seamonkey-addon-enigmail
146
147 %description -n iceape-addon-enigmail
148 Enigmail is an extension to the mail client of Iceape which allows
149 users to access the authentication and encryption features provided by
150 GnuPG.
151
152 Main Features:
153 - Encrypt/sign mail when sending, decrypt/authenticate received mail
154 - Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
155 - Per-Account based encryption and signing defaults
156 - Per-Recipient rules for automated key selection, and
157   enabling/disabling encryption and signing
158 - OpenPGP key management interface
159
160 %description -n iceape-addon-enigmail -l pl.UTF-8
161 Enigmail to rozszerzenie klienta pocztowego programu Iceape,
162 pozwalające użytkownikom na dostęp do uwierzytelniania i szyfrowania
163 zapewnianego przez GnuPG.
164
165 Główne możliwości:
166 - szyfrowanie/podpisywanie poczty przy wysyłaniu,
167   odszyfrowywanie/uwierzytelnianie poczty odebranej
168 - obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
169 - ustawienia domyślne szyfrowania i podpisywania dla każdego konta
170 - reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
171   podpisywania dla każdego adresata
172 - interfejs do zarządzania kluczami OpenPGP
173
174 %prep
175 %setup -q -n %{name}
176
177 %build
178 %configure
179
180 %{__make} -j1
181
182 %install
183 for prog in %{?with_iceape:iceape} ; do
184 ext_dir=$RPM_BUILD_ROOT%{_libdir}/$prog/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
185 install -d $ext_dir/{chrome,components,defaults/preferences,modules,wrappers}
186 cp -p build/dist/chrome/enigmail.jar $ext_dir/chrome
187 cp -p build/dist/components/*.{js,xpt} $ext_dir/components
188 cp -p build/dist/defaults/preferences/enigmail.js $ext_dir/defaults/preferences
189 cp -p build/dist/modules/*.js* $ext_dir/modules
190 cp -p build/dist/wrappers/*.sh $ext_dir/wrappers
191 cp -p build/dist/chrome.manifest $ext_dir
192 cp -p build/dist/install.rdf $ext_dir
193 done
194
195 for prog in %{?with_thunderbird:thunderbird} %{?with_seamonkey:seamonkey} ; do
196 ext_dir=$RPM_BUILD_ROOT%{_datadir}/$prog/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
197 install -d $ext_dir/{chrome,components,defaults/preferences,modules,wrappers}
198 cp -p build/dist/chrome/enigmail.jar $ext_dir/chrome
199 cp -p build/dist/components/*.{js,xpt} $ext_dir/components
200 cp -p build/dist/defaults/preferences/enigmail.js $ext_dir/defaults/preferences
201 cp -p build/dist/modules/*.js* $ext_dir/modules
202 cp -p build/dist/wrappers/*.sh $ext_dir/wrappers
203 cp -p build/dist/chrome.manifest $ext_dir
204 cp -p build/dist/install.rdf $ext_dir
205 done
206
207 %clean
208 rm -rf $RPM_BUILD_ROOT
209
210 %define genfiles()\
211 %files -n %{1}-addon-enigmail\
212 %defattr(644,root,root,755)\
213 %dir %{2}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}\
214 %{2}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome\
215 %{2}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components\
216 %{2}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults\
217 %{2}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules\
218 %dir %{2}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/wrappers\
219 %attr(755,root,root) %{2}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/wrappers/gpg-agent-wrapper.sh\
220 %{2}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest\
221 %{2}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf\
222 %{nil}
223
224 %{?with_thunderbird:%{expand:%genfiles thunderbird %{_datadir}}}
225 %{?with_seamonkey:%{expand:%genfiles seamonkey %{_datadir}}}
226 %{?with_iceape:%{expand:%genfiles iceape %{_libdir}}}
This page took 0.065789 seconds and 3 git commands to generate.