[packages/seamonkey] - updated to 2.26.1 - enigmail moved to separate package (enigmail.spec)

qboosh qboosh at pld-linux.org
Tue Nov 25 16:41:36 CET 2014


commit 7235ee5854b76d640126fef89c31d57191eeeb2f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 25 16:41:32 2014 +0100

    - updated to 2.26.1
    - enigmail moved to separate package (enigmail.spec)

 seamonkey.spec | 72 +++-------------------------------------------------------
 1 file changed, 3 insertions(+), 69 deletions(-)
---
diff --git a/seamonkey.spec b/seamonkey.spec
index 5b58c8b..3bf2b00 100644
--- a/seamonkey.spec
+++ b/seamonkey.spec
@@ -1,15 +1,13 @@
 #
 # Conditional build:
-%bcond_with	enigmail	# enigmail - GPG/PGP support [broken as of 2.26]
 %bcond_with	gtk3		# GTK+ 3.x instead of 2.x
 %bcond_without	ldap		# disable e-mail address lookups in LDAP directories
 %bcond_without	lightning	# disable Sunbird/Lightning calendar
 %bcond_without	kerberos	# disable krb5 support
-%bcond_with	xulrunner	# build with system xulrunner (incomplete? enigmail not supported)
+%bcond_with	xulrunner	# build with system xulrunner (incomplete?)
 %bcond_with	crashreporter	# report crashes to crash-stats.mozilla.com
 %bcond_with	tests		# enable tests (whatever they check)
 
-%define		enigmail_ver	1.6
 %define		nspr_ver	4.10.3
 %define		nss_ver		3.16
 %define		xulrunner_ver	29.0
@@ -24,14 +22,12 @@ Summary(es.UTF-8):	Navegador de Internet SeaMonkey Community Edition
 Summary(pl.UTF-8):	SeaMonkey Community Edition - przeglądarka WWW
 Summary(pt_BR.UTF-8):	Navegador SeaMonkey Community Edition
 Name:		seamonkey
-Version:	2.26
+Version:	2.26.1
 Release:	1
 License:	MPL v2.0
 Group:		X11/Applications/Networking
 Source0:	http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/source/%{name}-%{version}.source.tar.bz2
-# Source0-md5:	1749f6350209e35e0bede3bf4e56c42c
-Source1:	http://www.mozilla-enigmail.org/download/source/enigmail-%{enigmail_ver}.tar.gz
-# Source1-md5:	4a2bbcb020bdb282a660fda8c70d5608
+# Source0-md5:	4bfa46b370b4d211eef56b90277a9517
 Source4:	%{name}.desktop
 Source5:	%{name}-composer.desktop
 Source6:	%{name}-chat.desktop
@@ -184,23 +180,6 @@ Lightning is an calendar extension to Icedove email client.
 Lightning to rozszerzenie do klienta poczty Icedove dodające
 funkcjonalność kalendarza.
 
-%package addon-enigmail
-Summary:	Enigmail %{enigmail_ver} - PGP/GPG support for SeaMonkey Community Edition
-Summary(pl.UTF-8):	Enigmail %{enigmail_ver} - obsługa PGP/GPG dla SeaMonkey Community Edition
-Group:		X11/Applications/Networking
-Requires:	%{name} = %{version}-%{release}
-Requires:	gnupg >= 1.4.2.2
-
-%description addon-enigmail
-Enigmail is an extension to the mail client of SeaMonkey / Mozilla /
-Netscape and Mozilla Thunderbird which allows users to access the
-authentication and encryption features provided by GnuPG.
-
-%description addon-enigmail -l pl.UTF-8
-Enigmail jest rozszerzeniem dla klienta pocztowego SeaMonkey, Mozilla
-i Mozilla Thunderdbird pozwalającym użytkownikowi korzystać z
-funkcjonalności GnuPG.
-
 %package chat
 Summary:	SeaMonkey Community Edition Chat - integrated IRC client
 Summary(pl.UTF-8):	SeaMonkey Community Edition Chat - zintegrowany klient IRC-a
@@ -253,7 +232,6 @@ chrome w SeaMonkey Community Edition lub tworzących strony WWW.
 %prep
 %setup -qc
 cd comm-release
-tar -C mailnews/extensions -zxf %{SOURCE1}
 %patch1 -p1
 %patch2 -p1
 %patch3 -p2
@@ -388,20 +366,6 @@ EOF
 %{__make} -j1 -C obj-%{_target_cpu} buildsymbols
 %endif
 
-%if %{with enigmail}
-cd mailnews/extensions/enigmail
-./makemake -r -o %{objdir}
-%{__make} -j1 -C %{objdir}/mailnews/extensions/enigmail \
-	STRIP="/bin/true" \
-	CC="%{__cc}" \
-	CXX="%{__cxx}"
-
-%{__make} -j1 -C %{objdir}/mailnews/extensions/enigmail xpi \
-	STRIP="/bin/true" \
-	CC="%{__cc}" \
-	CXX="%{__cxx}"
-%endif
-
 %install
 rm -rf $RPM_BUILD_ROOT
 cd comm-release
@@ -497,20 +461,6 @@ rm -rf $HOME
 EOF
 chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/register
 
-%if %{with enigmail}
-ext_dir=$RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
-install -d $ext_dir/{chrome,components,defaults/preferences,modules}
-cd mozilla/dist/bin
-cp -rfLp chrome/enigmail.jar $ext_dir/chrome
-cp -rfLp components/enig* $ext_dir/components
-cp -rfLp defaults/preferences/enigmail.js $ext_dir/defaults/preferences
-cp -rfLp modules/{commonFuncs,enigmailCommon,keyManagement,pipeConsole,subprocess}.jsm $ext_dir/modules
-cp -rfLp modules/{subprocess_worker_unix,subprocess_worker_win}.js $ext_dir/modules
-cd -
-cp -p %{topdir}/comm-release/mailnews/extensions/enigmail/package/install.rdf $ext_dir
-cp -p %{topdir}/comm-release/mailnews/extensions/enigmail/package/chrome.manifest $ext_dir/chrome.manifest
-%endif
-
 %if %{without xulrunner}
 # never package these. always remove
 # mozldap
@@ -640,22 +590,6 @@ fi
 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones.sqlite
 %endif
 
-%if %{with enigmail}
-%files addon-enigmail
-%defattr(644,root,root,755)
-%dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}
-%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults
-%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome
-%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest
-%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf
-%dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components
-%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.xpt
-%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.js
-%dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules
-%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/*.jsm
-%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/*.js
-%endif
-
 %files chat
 %defattr(644,root,root,755)
 %{_libdir}/%{name}/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/seamonkey.git/commitdiff/7235ee5854b76d640126fef89c31d57191eeeb2f



More information about the pld-cvs-commit mailing list