SPECS (AC-branch): mozilla-thunderbird.spec - fix some permissions...
glen
glen at pld-linux.org
Wed Nov 1 15:12:05 CET 2006
Author: glen Date: Wed Nov 1 14:12:05 2006 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- fix some permissions, add some dirs, cleanups
---- Files affected:
SPECS:
mozilla-thunderbird.spec (1.61.2.6 -> 1.61.2.7)
---- Diffs:
================================================================
Index: SPECS/mozilla-thunderbird.spec
diff -u SPECS/mozilla-thunderbird.spec:1.61.2.6 SPECS/mozilla-thunderbird.spec:1.61.2.7
--- SPECS/mozilla-thunderbird.spec:1.61.2.6 Sat Sep 16 18:50:01 2006
+++ SPECS/mozilla-thunderbird.spec Wed Nov 1 15:11:59 2006
@@ -1,6 +1,8 @@
# $Revision$, $Date$
# TODO:
-# - CHECK all features of enigmail
+# - CHECK all features of enigmail
+# - separate pkg for enigmail
+# - merge changes from mozilla-firefox at DEVEL
#
# Conditional builds
%bcond_without enigmail # don't build enigmail - GPG/PGP support
@@ -99,8 +101,8 @@
cp -f %{_datadir}/automake/config.* nsprpub/build/autoconf
cp -f %{_datadir}/automake/config.* directory/c-sdk/config/autoconf
-cat << EOF > .mozconfig
-. \$topsrcdir/mail/config/mozconfig
+cat << 'EOF' > .mozconfig
+. $topsrcdir/mail/config/mozconfig
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
@@ -168,15 +170,14 @@
EOF
-
%{__make} -j1 -f client.mk build_all \
CC="%{__cc}" \
CXX="%{__cxx}"
%if %{with enigmail}
- cd mailnews/extensions/enigmail
- ./makemake -r
- %{__make}
+ cd mailnews/extensions/enigmail
+ ./makemake -r
+ %{__make}
%endif
%install
@@ -189,6 +190,7 @@
EXCLUDE_NSPR_LIBS=1
%{__sed} -e 's, at LIBDIR@,%{_libdir},' %{SOURCE3} > $RPM_BUILD_ROOT%{_bindir}/mozilla-thunderbird
+ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/thunderbird
tar -xvz -C $RPM_BUILD_ROOT%{_libdir} -f dist/mozilla-thunderbird-*.tar.gz
@@ -207,16 +209,18 @@
mv -f $RPM_BUILD_ROOT%{_thunderbirddir}/defaults/preferences/enigmail.js $_enig_dir/defaults/preferences
cp -f mailnews/extensions/enigmail/package/install.rdf $_enig_dir
rm -rf $RPM_BUILD_ROOT%{_thunderbirddir}/defaults/preferences
-rm -rf $RPM_BUILD_ROOT%{_thunderbirddir}/chrome/enigmail-en-US.jar
-rm -rf $RPM_BUILD_ROOT%{_thunderbirddir}/chrome/enigmail-skin.jar
-rm -rf $RPM_BUILD_ROOT%{_thunderbirddir}/chrome/enigmime.jar
+rm -f $RPM_BUILD_ROOT%{_thunderbirddir}/chrome/enigmail-en-US.jar
+rm -f $RPM_BUILD_ROOT%{_thunderbirddir}/chrome/enigmail-skin.jar
+rm -f $RPM_BUILD_ROOT%{_thunderbirddir}/chrome/enigmime.jar
rm -rf $RPM_BUILD_ROOT%{_thunderbirddir}/components/enig*
-rm -rf $RPM_BUILD_ROOT%{_thunderbirddir}/components/libenigmime.so
-rm -rf $RPM_BUILD_ROOT%{_thunderbirddir}/components/ipc.xpt
+rm -f $RPM_BUILD_ROOT%{_thunderbirddir}/components/libenigmime.so
+rm -f $RPM_BUILD_ROOT%{_thunderbirddir}/components/ipc.xpt
cp -f %{SOURCE4} $_enig_dir/chrome.manifest
cp -f %{SOURCE5} $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-thunderbird.png
%endif
+install -d $RPM_BUILD_ROOT%{_thunderbirddir}/updates
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -245,7 +249,7 @@
%attr(755,root,root) %{_thunderbirddir}/reg*
%attr(755,root,root) %{_thunderbirddir}/thunderbird
%{_thunderbirddir}/*.txt
-%{_thunderbirddir}/x*
+%attr(755,root,root) %{_firefoxdir}/x*
%{_thunderbirddir}/chrome/US.jar
%{_thunderbirddir}/chrome/classic.jar
%{_thunderbirddir}/chrome/comm.jar
@@ -264,6 +268,7 @@
%if %{with enigmail}
%{_thunderbirddir}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}
%endif
+%dir %{_thunderbirddir}/updates
%{_thunderbirddir}/updater
%{_thunderbirddir}/updater.ini
%{_pixmapsdir}/*
@@ -282,6 +287,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.61.2.7 2006/11/01 14:11:59 glen
+- fix some permissions, add some dirs, cleanups
+
Revision 1.61.2.6 2006/09/16 16:50:01 hawk
- updated to 1.5.0.7
(fixes CVE-2006-4253 CVE-2006-4340 CVE-2006-4565 CVE-2006-4566 CVE-2006-4567
@@ -311,8 +319,8 @@
- rel 2
Revision 1.64 2006/07/08 16:59:57 aflinta
- - added gcc patch
- - disabled smp build (otherwise it will fail)
+- added gcc patch
+- disabled smp build (otherwise it will fail)
Revision 1.62 2006/06/03 15:59:49 qboosh
- removed obsolete noautoprovfiles for nspr
@@ -325,7 +333,7 @@
- tons of warnings burn my eyes. mozilla sources are evil.
Revision 1.59 2006/04/30 20:36:57 mguevara
-1.5.0.2 rel 3 - ldap works fine - bcond enables it by default
+- 1.5.0.2 rel 3 - ldap works fine - bcond enables it by default
Revision 1.58 2006/04/30 10:38:42 mguevara
- 1.5.0.2-2.1 - added ldap bcond
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mozilla-thunderbird.spec?r1=1.61.2.6&r2=1.61.2.7&f=u
More information about the pld-cvs-commit
mailing list