[-]
[+]
|
Changed |
mozilla-xulrunner181.spec
|
|
|
Renamed |
l10n-1.8.1.16.tar.bz2
^
|
[-]
[+]
|
Added |
mozilla-xulrunner181-1.8.1.16-rpmlintrc
^
|
@@ -0,0 +1 @@
+addFilter("no-jar-manifest")
|
[-]
[+]
|
Added |
mozilla-xulrunner181.spec.old
^
|
@@ -0,0 +1,391 @@
+#
+# spec file for package mozilla-xulrunner181 (Version 1.8.1.14)
+#
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+# norootforbuild
+
+Name: mozilla-xulrunner181
+BuildRequires: gcc-c++ java-devel libgnomeui-devel libidl-devel update-desktop-files zip
+License: LGPL, MPL
+Version: 1.8.1.14
+Release: 1
+Summary: Mozilla Runtime Environment 1.8.1.x
+URL: http://www.mozilla.org/
+Group: Productivity/Other
+Provides: gecko181
+%if 0%{?suse_version} > 1010
+Obsoletes: mozilla-xulrunner
+# For upgrade from 10.2 betas:
+Obsoletes: mozilla-xulrunner180
+%endif
+%if 0%{?suse_version} == 1020
+%define ga_version 1.8.1b2
+Provides: mozilla-xulrunner181 = 1.8.0.99
+%endif
+%if 0%{?suse_version} == 1030
+%define ga_version 1.8.1.4
+Provides: mozilla-xulrunner181 = %{ga_version}
+%endif
+Source: xulrunner-source-%{version}.tar.bz2
+Source1: l10n-%{version}.tar.bz2
+Patch1: abuild.patch
+Patch2: nss-opt.patch
+Patch3: mozilla-gcc4.3-fixes.patch
+Patch4: idldir.patch
+Patch5: mozilla-path_len.patch
+Patch6: gcc-undefined-ops.patch
+Patch7: xulrunner-apilibdir.patch
+Patch8: nsIPermission.patch
+Patch9: rpath.patch
+Patch10: system-proxies.patch
+Patch11: mozilla-xulrunner181-milestone.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+PreReq: libstdc++ expat pango xorg-x11-libs fontconfig freetype2
+PreReq: gtk2 atk glib2 update-alternatives
+### build configuration ###
+%define has_system_cairo 0
+%define has_system_nspr 0
+%define has_system_nss 0
+%define pango 0
+%if 0%{?suse_version} > 930 || 0%{?opensuse_bs}
+%define has_system_cairo 1
+%define has_system_nspr 1
+%endif
+%if 0%{?is_plus} || 0%{?suse_version} >= 930
+%define pango 1
+%endif
+%if 0%{?suse_version} > 1010 || 0%{?opensuse_bs}
+# NSS version on 10.1 is too old
+%define has_system_nss 1
+%endif
+%define releasedate 2008041000
+%define apiversion 1.8.1
+%define uaweight 181140
+### configuration end ###
+%define my_provides %{_tmppath}/my-provides
+%define my_requires %{_tmppath}/my-requires
+%if %has_system_nspr
+BuildRequires: mozilla-nspr-devel
+PreReq: mozilla-nspr >= %( echo `rpm -q --queryformat '%{VERSION}' mozilla-nspr`)
+%endif
+%if %has_system_nss
+BuildRequires: mozilla-nss-devel
+PreReq: mozilla-nss
+%endif
+
+%description
+XULRunner is a single installable package that can be used to bootstrap
+multiple XUL+XPCOM applications that are as rich as Firefox and
+Thunderbird.
+
+
+Authors:
+--------
+ Mozilla Foundation <drivers@mozilla.org>
+
+%package devel
+Summary: XULRunner/Gecko SDK 1.8.1.x
+Group: Development/Libraries/Other
+%if 0%{?suse_version} > 1010
+Obsoletes: gecko-sdk
+# For upgrade from 10.2 betas:
+Obsoletes: mozilla-xulrunner180-devel
+%endif
+%if %has_system_nspr
+Requires: mozilla-nspr-devel >= %( echo `rpm -q --queryformat '%{VERSION}' mozilla-nspr-devel`)
+%endif
+%if %has_system_nss
+Requires: mozilla-nss-devel >= %( echo `rpm -q --queryformat '%{VERSION}' mozilla-nss-devel`)
+%endif
+PreReq: %{name} = %{version}
+
+%description devel
+Software Development Kit to embed XUL or Gecko into other applications.
+
+
+
+Authors:
+--------
+ Mozilla Foundation <drivers@mozilla.org>
+
+%package l10n
+Summary: Translations for XULRunner 1.8.1.x
+Group: Productivity/Other
+PreReq: %{name} = %{version}
+%if 0%{?suse_version} > 1010
+# For upgrade from 10.2 betas:
+Obsoletes: mozilla-xulrunner180-l10n
+%endif
+
+%description l10n
+XULRunner is a single installable package that can be used to bootstrap
+multiple XUL+XPCOM applications that are as rich as Firefox and
+Thunderbird.
+
+This package contains all supported languages but en-US which is
+delivered in the main package.
+
+Authors:
+--------
+ Mozilla Foundation <drivers@mozilla.org>
+
+%debug_package
+
+%prep
+%setup -n mozilla -b 1 -q
+%patch1
+%patch2
+%patch3
+%patch4
+%patch5 -p1
+%patch6
+%patch7
+%patch8
+%patch9
+%patch10
+%patch11
+
+%build
+%ifarch %x86
+%if 0%{?suse_version} <= 1010
+export JAVA_HOME=/usr/lib/jvm/java-1.4.2-sun
+%endif
+%endif
+export MOZ_BUILD_DATE=%{releasedate}
+export LD_LIBRARY_PATH=$RPM_BUILD_DIR/mozilla/dist/bin
+export CFLAGS="$RPM_OPT_FLAGS -g -Os -fno-strict-aliasing"
+%if 0%{?suse_version} > 1000
+export CFLAGS="$CFLAGS -fstack-protector"
+%endif
+%ifarch ppc64
+export CFLAGS="$CFLAGS -mminimal-toc"
+%endif
+export CXXFLAGS="$CFLAGS"
+#%if %suse_version > 1020
+#export ac_cv_visibility_hidden="no"
+#%endif
+export RPATH="-Wl,-rpath -Wl,%{_libdir}/xulrunner-%{version}"
+export MOZCONFIG=$RPM_BUILD_DIR/mozconfig
+export MOZILLA_OFFICIAL=1
+export BUILD_OFFICIAL=1
+export MOZ_MILESTONE_RELEASE=1
+#
+cat << EOF > $MOZCONFIG
+mk_add_options MOZILLA_OFFICIAL=1
+mk_add_options BUILD_OFFICIAL=1
+mk_add_options MOZ_MILESTONE_RELEASE=1
+mk_add_options MOZ_MAKE_FLAGS=%{?jobs:-j%jobs}
+. \$topsrcdir/xulrunner/config/mozconfig
+ac_add_options --prefix=%{_prefix}
+ac_add_options --libdir=%{_libdir}
+ac_add_options --sysconfdir=%{_sysconfdir}
+ac_add_options --mandir=%{_mandir}
+ac_add_options --includedir=%{_includedir}
+ac_add_options --enable-optimize
+ac_add_options --enable-extensions=default,cookie,permissions
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-png
+ac_add_options --with-system-zlib
+ac_add_options --enable-default-toolkit=gtk2
+ac_add_options --enable-xft
+ac_add_options --disable-freetype2
+ac_add_options --enable-svg
+ac_add_options --enable-canvas
|
|
Changed |
xulrunner-source-1.8.1.16.tar.bz2
^
|