|
@@ -21,11 +21,18 @@
|
|
|
%define version_internal 1.9.2
|
|
|
%define mozappdir %{_libdir}/%{name}-%{version_internal}
|
|
|
|
|
|
+# Separated plugins are supported on x86(64) only
|
|
|
+%ifarch %{ix86} x86_64
|
|
|
+%define separated_plugins 1
|
|
|
+%else
|
|
|
+%define separated_plugins 0
|
|
|
+%endif
|
|
|
+
|
|
|
Summary: XUL Runtime for Gecko Applications
|
|
|
Summary(ja): Gecko アプリケーションのための XUL ランタイム
|
|
|
Name: xulrunner
|
|
|
Version: 1.9.2.4
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
URL: http://www.mozilla.org/projects/xulrunner/
|
|
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
Group: Applications/Internet
|
|
@@ -163,6 +170,10 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{version_internal}/' \
|
|
|
%{__cp} %{SOURCE11} .mozconfig
|
|
|
%endif
|
|
|
|
|
|
+%if !%{?separated_plugins}
|
|
|
+echo "ac_add_options --disable-ipc" >> .mozconfig
|
|
|
+%endif
|
|
|
+
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
%build
|
|
@@ -409,7 +420,9 @@ fi
|
|
|
%{mozappdir}/xulrunner
|
|
|
%{mozappdir}/xulrunner-bin
|
|
|
%{mozappdir}/xulrunner-stub
|
|
|
+%if %{?separated_plugins}
|
|
|
%{mozappdir}/plugin-container
|
|
|
+%endif
|
|
|
%{mozappdir}/platform.ini
|
|
|
%{mozappdir}/dependentlibs.list
|
|
|
%{_sysconfdir}/ld.so.conf.d/xulrunner*.conf
|
|
@@ -437,6 +450,9 @@ fi
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Jun 23 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9.2.4-2
|
|
|
+- enable ipc only on ix86/x86_64 arches
|
|
|
+
|
|
|
* Wed Jun 23 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.2.4-1
|
|
|
- update to 1.9.2.4 (sync with firefox-3.6.4)
|
|
|
- add patch10 to fix build failure
|