[packages/enigmail] - separated from mozilla-thunderbird/seamonkey/icedove/iceape

qboosh qboosh at pld-linux.org
Wed Nov 5 19:09:09 CET 2014


commit 840a614a532de1969bd129a9265d5a16b5208a2b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Nov 5 19:09:17 2014 +0100

    - separated from mozilla-thunderbird/seamonkey/icedove/iceape

 enigmail.spec | 250 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 250 insertions(+)
---
diff --git a/enigmail.spec b/enigmail.spec
new file mode 100644
index 0000000..2b93681
--- /dev/null
+++ b/enigmail.spec
@@ -0,0 +1,250 @@
+#
+# Conditional build:
+%bcond_with	thunderbird	# Mozilla Thunderbird addon
+%bcond_with	seamonkey	# Mozilla SeaMonkey addon
+%bcond_without	icedove		# Icedove addon
+%bcond_without	iceape		# Iceape addon
+# aliases:
+%bcond_with	mozilla		# build both Mozilla packages
+%bcond_without	iceapps		# don't build any Ice* packages
+
+%if %{with mozilla}
+%define		with_thunderbird	1
+%define		with_seamonkey		1
+%endif
+%if %{without iceapps}
+%undefine	with_icedove
+%undefine	with_iceape
+%endif
+Summary:	Mozilla mail clients extension for the GnuPG authentication and encryption features
+Summary(pl.UTF-8):	Rozszerzenie klientów pocztowych Mozilla do uwierzytelniania i szyfrowania w oparciu o GnuPG
+Name:		enigmail
+Version:	1.7.2
+Release:	1
+Epoch:		1
+License:	MPL v1.1 or GPL v2+ or LGPL v2.1+
+Group:		X11/Applications/Mail
+Source0:	http://www.mozilla-enigmail.org/download/source/%{name}-%{version}.tar.gz
+# Source0-md5:	d506093139dbeed51c70f00dfe308bc2
+URL:		http://www.mozilla-enigmail.org/
+BuildRequires:	make >= 3.81
+BuildRequires:	perl-base >= 5
+BuildRequires:	python >= 1:2.7
+BuildRequires:	zip
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Enigmail is an extension to the Mozilla-based mail clients (like
+Mozilla Thunderbird, Mozilla Seamonkey, Icedove or Iceape) which
+allows users to access the authentication and encryption features
+provided by GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -l pl.UTF-8
+Enigmail to rozszerzenie klientów pocztowych opartych na Mozilli (jak
+Mozilla Thunderbird, Mozilla Seamonkey, Icedove i Iceape), pozwalające
+użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego
+przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%package -n mozilla-thunderbird-addon-enigmail
+Summary:	Thunderbird extension for the authentication and encryption features provided by GnuPG
+Summary(pl.UTF-8):	Rozszerzenie Thunderbirda do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
+Group:		X11/Applications/Mail
+Requires:	gnupg
+Requires:	mozilla-thunderbird >= 24
+
+%description -n mozilla-thunderbird-addon-enigmail
+Enigmail is an extension to the Mozilla Thunderbird mail client of
+which allows users to access the authentication and encryption
+features provided by GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -n mozilla-thunderbird-addon-enigmail -l pl.UTF-8
+Enigmail to rozszerzenie klienta pocztowego Mozilla Thunderbird,
+pozwalające użytkownikom na dostęp do uwierzytelniania i szyfrowania
+zapewnianego przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%package -n seamonkey-addon-enigmail
+Summary:	SeaMonkey extension for the authentication and encryption features provided by GnuPG
+Summary(pl.UTF-8):	Rozszerzenie SeaMonkeya do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
+Group:		X11/Applications/Mail
+Requires:	gnupg
+Requires:	seamonkey >= 2.26
+
+%description -n seamonkey-addon-enigmail
+Enigmail is an extension to the mail client of Mozilla SeaMonkey which
+allows users to access the authentication and encryption features
+provided by GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -n seamonkey-addon-enigmail -l pl.UTF-8
+Enigmail to rozszerzenie klienta pocztowego programu Mozilla
+SeaMonkey, pozwalające użytkownikom na dostęp do uwierzytelniania i
+szyfrowania zapewnianego przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%package -n icedove-addon-enigmail
+Summary:	Icedove extension for the authentication and encryption features provided by GnuPG
+Summary(pl.UTF-8):	Rozszerzenie Icedove'a do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
+Group:		X11/Applications/Mail
+Requires:	gnupg
+Requires:	icedove >= 24
+Obsoletes:	mozilla-thunderbird-addon-enigmail
+
+%description -n icedove-addon-enigmail
+Enigmail is an extension to the Icedove mail client of which allows
+users to access the authentication and encryption features provided by
+GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -n icedove-addon-enigmail -l pl.UTF-8
+Enigmail to rozszerzenie klienta pocztowego Icedove, pozwalające
+użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego
+przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%package -n iceape-addon-enigmail
+Summary:	Iceape extension for the authentication and encryption features provided by GnuPG
+Summary(pl.UTF-8):	Rozszerzenie Iceape'a do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
+Group:		X11/Applications/Mail
+Requires:	gnupg
+Requires:	icedove >= 2.26
+Obsoletes:	seamonkey-addon-enigmail
+
+%description -n iceape-addon-enigmail
+Enigmail is an extension to the mail client of Iceape which allows
+users to access the authentication and encryption features provided by
+GnuPG.
+
+Main Features:
+- Encrypt/sign mail when sending, decrypt/authenticate received mail
+- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
+- Per-Account based encryption and signing defaults
+- Per-Recipient rules for automated key selection, and
+  enabling/disabling encryption and signing
+- OpenPGP key management interface
+
+%description -n iceape-addon-enigmail -l pl.UTF-8
+Enigmail to rozszerzenie klienta pocztowego programu Iceape,
+pozwalające użytkownikom na dostęp do uwierzytelniania i szyfrowania
+zapewnianego przez GnuPG.
+
+Główne możliwości:
+- szyfrowanie/podpisywanie poczty przy wysyłaniu,
+  odszyfrowywanie/uwierzytelnianie poczty odebranej
+- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
+- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
+- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
+  podpisywania dla każdego adresata
+- interfejs do zarządzania kluczami OpenPGP
+
+%prep
+%setup -q -n %{name}
+
+%build
+%configure
+
+%{__make}
+
+%install
+for prog in %{?with_thunderbird:mozilla-thunderbird} %{?with_seamonkey:seamonkey} %{?with_icedove:icedove} %{?with_iceape:iceape} ; do
+ext_dir=$RPM_BUILD_ROOT%{_libdir}/$prog/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
+install -d $ext_dir/{chrome,components,defaults/preferences,modules,wrappers}
+cp -p build/dist/chrome/enigmail.jar $ext_dir/chrome
+cp -p build/dist/components/*.{js,xpt} $ext_dir/components
+cp -p build/dist/defaults/preferences/enigmail.js $ext_dir/defaults/preferences
+cp -p build/dist/modules/*.js* $ext_dir/modules
+# ELF inside
+cp -a build/dist/platform $ext_dir/platform
+cp -p build/dist/wrappers/*.sh $ext_dir/wrappers
+cp -p build/dist/install.rdf $ext_dir
+cp -p build/dist/chrome.manifest $ext_dir
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%define genfiles()\
+%files -n %{1}-addon-enigmail\
+%defattr(644,root,root,755)\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_*-gcc3\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_*-gcc3/lib\
+%attr(755,root,root) %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/platform/Linux_*-gcc3/lib/libsubprocess-*-gcc3.so\
+%dir %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/wrappers\
+%attr(755,root,root) %{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/wrappers/gpg-agent-wrapper.sh\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest\
+%{_libdir}/%{1}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf\
+%{nil}
+
+%{?with_thunderbird:%{expand:%genfiles mozilla-thunderbird}}
+%{?with_seamonkey:%{expand:%genfiles seamonkey}}
+%{?with_icedove:%{expand:%genfiles icedove}}
+%{?with_iceape:%{expand:%genfiles iceape}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/enigmail.git/commitdiff/840a614a532de1969bd129a9265d5a16b5208a2b



More information about the pld-cvs-commit mailing list