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