SPECS: mozilla-firefox.spec - install speedup

glen glen at pld-linux.org
Sat Dec 23 02:48:09 CET 2006


Author: glen                         Date: Sat Dec 23 01:48:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install speedup

---- Files affected:
SPECS:
   mozilla-firefox.spec (1.164 -> 1.165) 

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox.spec
diff -u SPECS/mozilla-firefox.spec:1.164 SPECS/mozilla-firefox.spec:1.165
--- SPECS/mozilla-firefox.spec:1.164	Thu Dec 21 13:39:18 2006
+++ SPECS/mozilla-firefox.spec	Sat Dec 23 02:48:03 2006
@@ -14,13 +14,14 @@
 Summary(pl):	Mozilla Firefox - przeglądarka WWW
 Name:		mozilla-firefox
 Version:	2.0.0.1
-Release:	0.1
+Release:	0.2
 License:	MPL/LGPL
 Group:		X11/Applications/Networking
 Source0:	ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}-source.tar.bz2
 # Source0-md5:	7a1fc804ed735c5b7e9b1498bac8b5db
 Source1:	%{name}.desktop
 Source2:	%{name}.sh
+Patch0:		mozilla-install.patch
 Patch1:		%{name}-lib_path.patch
 Patch3:		%{name}-nopangoxft.patch
 Patch5:		%{name}-fonts.patch
@@ -118,6 +119,7 @@
 %prep
 %setup -qc
 cd mozilla
+%patch0 -p1
 %patch1 -p1
 %patch3 -p1
 %patch5 -p1
@@ -206,11 +208,10 @@
 	$RPM_BUILD_ROOT{%{_includedir},%{_pkgconfigdir}}
 
 %{__make} -C xpinstall/packager stage-package \
-	MOZ_PKG_APPNAME=%{name} \
-	SIGN_NSS= \
+	DESTDIR=$RPM_BUILD_ROOT \
+	MOZ_PKG_APPDIR=%{_firefoxdir} \
 	PKG_SKIP_STRIP=1
 
-cp -a dist/%{name} $RPM_BUILD_ROOT%{_libdir}
 sed 's, at LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox
 ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox
 
@@ -221,8 +222,8 @@
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 # header/development files
-cp -rfL dist/include	$RPM_BUILD_ROOT%{_includedir}/%{name}
-cp -rfL dist/idl	$RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -rfLp dist/include	$RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -rfLp dist/idl	$RPM_BUILD_ROOT%{_includedir}/%{name}
 ln -sf necko/nsIURI.h $RPM_BUILD_ROOT%{_includedir}/mozilla-firefox/nsIURI.h
 install dist/bin/regxpcom $RPM_BUILD_ROOT%{_bindir}
 mv $RPM_BUILD_ROOT{%{_firefoxdir},%{_bindir}}/xpidl
@@ -354,6 +355,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.165  2006/12/23 01:48:03  glen
+- install speedup
+
 Revision 1.164  2006/12/21 12:39:18  qboosh
 - up to 2.0.0.1 (untested)
   (fixes CVE-2006-6497 CVE-2006-6498 CVE-2006-6499 CVE-2006-6500 CVE-2006-6501
================================================================

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



More information about the pld-cvs-commit mailing list