SPECS: mozilla.spec - added enigmail extension (ported revision 1....

hawk hawk at pld-linux.org
Tue Jan 24 10:55:22 CET 2006


Author: hawk                         Date: Tue Jan 24 09:55:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added enigmail extension (ported revision 1.300.2.20 from DEVEL)
- builds, works, release 1.3

---- Files affected:
SPECS:
   mozilla.spec (1.379 -> 1.380) 

---- Diffs:

================================================================
Index: SPECS/mozilla.spec
diff -u SPECS/mozilla.spec:1.379 SPECS/mozilla.spec:1.380
--- SPECS/mozilla.spec:1.379	Sat Dec 31 13:39:28 2005
+++ SPECS/mozilla.spec	Tue Jan 24 10:55:17 2006
@@ -19,7 +19,7 @@
 Summary(ru):	Web browser
 Name:		mozilla
 Version:	1.7.12
-Release:	1.2
+Release:	1.3
 Epoch:		5
 License:	Mozilla Public License
 Group:		X11/Applications/Networking
@@ -33,8 +33,12 @@
 Source7:	%{name}-mail.desktop
 Source9:	%{name}-terminal.desktop
 Source10:	%{name}-venkman.desktop
-#Source11:	%{name}-libart.tar.bz2
-## Source11-md5:	d6834f4881d5947b4e0540f46b7edfb6
+Source11:	http://www.mozilla-enigmail.org/downloads/src/ipc-1.1.3.tar.gz
+# Source11-md5:	64ba4c6e3b52568468c4f6680ec7e679
+Source12:	http://www.mozilla-enigmail.org/downloads/src/enigmail-0.93.0.tar.gz
+# Source12-md5:	cb7126705924cb7f0de205b4ff4e28b4
+#Source13:	%{name}-libart.tar.bz2
+## Source13-md5:	d6834f4881d5947b4e0540f46b7edfb6
 Patch0:		%{name}-pld-homepage.patch
 Patch1:		%{name}-nss.patch
 Patch2:		%{name}-ldap_nspr_includes.patch
@@ -48,7 +52,10 @@
 Patch8:		%{name}-gcc-bugs.patch
 Patch9:		%{name}-nspr.patch
 Patch10:	firefox-1.0-gcc4-compile.patch
+Patch11:	%{name}-enigmail-makemake.patch
 URL:		http://www.mozilla.org/
+BuildRequires:	/bin/csh
+BuildRequires:	/bin/ex
 BuildRequires:	automake
 BuildRequires:	tar >= 1:1.15.1
 %{?with_gtk1:BuildRequires:	ORBit-devel}
@@ -175,6 +182,23 @@
 ëĚÉĹÎÔ ĐĎŢÔŮ É ÎĎ×ĎÓÔĹĘ, ÎÁ ĎÓÎĎ×Ĺ Mozilla. đĎÄÄĹŇÖÉ×ÁĹÔ IMAP, POP É
 NNTP É ÉÍĹĹÔ ĐŇĎÓÔĎĘ ÉÎÔĹŇĆĹĘÓ ĐĎĚŘÚĎ×ÁÔĹĚŃ.
 
+%package addon-enigmail
+Summary:	Enigmail - PGP/GPG support for Mozilla
+Summary(pl):	Enigmail - obsługa PGP/GPG dla Mozilli
+Group:		X11/Applications/Networking
+Requires(post,postun):	/sbin/ldconfig
+Requires(post,postun):	%{name}-mailnews = %{epoch}:%{version}-%{release}
+Requires:	%{name}-mailnews = %{epoch}:%{version}-%{release}
+
+%description addon-enigmail
+Enigmail is an extension to the mail client of Mozilla / Netscape and
+Mozilla Thunderbird which allows users to access the authentication and
+encryption features provided by GnuPG.
+
+%description addon-enigmail -l pl
+Rozszerzenie Mozilla Mail dla Mozilla Mail. Pozwala na łatwe korzystanie
+z dobrodziejstw GnuPG.
+
 %package chat
 Summary:	Mozilla Chat - IRC client integrated with Mozilla
 Summary(pl):	Mozilla Chat - zintegrowany z Mozillą klient IRC-a
@@ -274,6 +298,12 @@
 %prep
 %setup -q -c -T
 tar jxf %{SOURCE0} --strip-components=1
+
+cd extensions
+tar xvfz %{SOURCE11}
+tar xvfz %{SOURCE12}
+cd ..
+
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -285,6 +315,7 @@
 %patch8 -p0
 %patch9 -p1
 %patch10 -p0
+%patch11 -p1
 
 %build
 BUILD_OFFICIAL="1"; export BUILD_OFFICIAL
@@ -329,6 +360,13 @@
 
 %{__make}
 
+cd extensions/ipc
+./makemake -r
+%{__make}
+cd ../enigmail
+./makemake -r
+%{__make}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d \
@@ -476,6 +514,12 @@
 /sbin/ldconfig
 %{_sbindir}/mozilla-chrome+xpcom-generate
 
+%post addon-enigmail
+%{_sbindir}/mozilla-chrome+xpcom-generate
+
+%postun addon-enigmail
+%{_sbindir}/mozilla-chrome+xpcom-generate
+
 %post chat
 %{_sbindir}/mozilla-chrome+xpcom-generate
 
@@ -802,6 +846,22 @@
 
 %{_desktopdir}/mozilla-mail.desktop
 
+%files addon-enigmail
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/components/libenigmime.so
+%{_libdir}/%{name}/components/enigmail.xpt
+%{_libdir}/%{name}/components/enigmime.xpt
+%{_libdir}/%{name}/components/ipc.xpt
+%{_libdir}/%{name}/components/enigmail.js
+%{_libdir}/%{name}/components/enigprefs-service.js
+%{_datadir}/%{name}/chrome/enigmail-en-US.jar
+%{_datadir}/%{name}/chrome/enigmail-skin-tbird.jar
+%{_datadir}/%{name}/chrome/enigmail-skin.jar
+%{_datadir}/%{name}/chrome/enigmail.jar
+%{_datadir}/%{name}/chrome/enigmime.jar
+%dir %{_datadir}/%{name}/chrome/overlayinfo/global
+%ghost %{_datadir}/%{name}/chrome/overlayinfo/global/content/overlays.rdf
+
 %files chat
 %defattr(644,root,root,755)
 %{_libdir}/%{name}/components/chatzilla-service.js
@@ -870,6 +930,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.380  2006/01/24 09:55:17  hawk
+- added enigmail extension (ported revision 1.300.2.20 from DEVEL)
+- builds, works, release 1.3
+
 Revision 1.379  2005/12/31 12:39:28  pluto
 - apply gcc4 patch.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mozilla.spec?r1=1.379&r2=1.380&f=u



More information about the pld-cvs-commit mailing list