1 # |
1 # |
2 # spec file for package xulrunner |
2 # spec file for package xulrunner |
3 # |
3 # |
4 # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. |
4 # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 # 2006-2013 Wolfgang Rosenauer |
5 # 2006-2014 Wolfgang Rosenauer |
6 # |
6 # |
7 # All modifications and additions to the file contributed by third parties |
7 # All modifications and additions to the file contributed by third parties |
8 # remain the property of their copyright owners, unless otherwise agreed |
8 # remain the property of their copyright owners, unless otherwise agreed |
9 # upon. The license for this file, and modifications and additions to the |
9 # upon. The license for this file, and modifications and additions to the |
10 # file, is the same license as for the pristine package itself (unless the |
10 # file, is the same license as for the pristine package itself (unless the |
14 # published by the Open Source Initiative. |
14 # published by the Open Source Initiative. |
15 |
15 |
16 # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
16 # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
17 # |
17 # |
18 |
18 |
19 %if %suse_version > 1220 |
19 %define version_internal 31.2.0 |
20 %define gstreamer_ver 0.10 |
20 %define apiversion 31 |
|
21 %define uaweight 3120000 |
|
22 %define releasedate 2014101100 |
|
23 |
|
24 %if %suse_version > 1210 |
|
25 %if %suse_version > 1310 |
|
26 %define gstreamer_ver 1.0 |
|
27 %define gstreamer 1 |
21 %else |
28 %else |
22 %define gstreamer_ver 0.10 |
29 %define gstreamer_ver 0.10 |
|
30 %endif |
23 %endif |
31 %endif |
24 |
32 |
25 Name: xulrunner |
33 Name: xulrunner |
26 BuildRequires: Mesa-devel |
34 BuildRequires: Mesa-devel |
27 BuildRequires: autoconf213 |
35 BuildRequires: autoconf213 |
31 BuildRequires: hunspell-devel |
39 BuildRequires: hunspell-devel |
32 BuildRequires: libcurl-devel |
40 BuildRequires: libcurl-devel |
33 BuildRequires: libgnomeui-devel |
41 BuildRequires: libgnomeui-devel |
34 BuildRequires: libidl-devel |
42 BuildRequires: libidl-devel |
35 BuildRequires: libnotify-devel |
43 BuildRequires: libnotify-devel |
|
44 %if %suse_version > 1140 |
|
45 BuildRequires: makeinfo |
|
46 %endif |
36 BuildRequires: nss-shared-helper-devel |
47 BuildRequires: nss-shared-helper-devel |
37 BuildRequires: pkg-config |
48 BuildRequires: pkg-config |
38 BuildRequires: python |
49 BuildRequires: python |
39 BuildRequires: startup-notification-devel |
50 BuildRequires: startup-notification-devel |
40 BuildRequires: unzip |
51 BuildRequires: unzip |
45 BuildRequires: libiw-devel |
56 BuildRequires: libiw-devel |
46 BuildRequires: libproxy-devel |
57 BuildRequires: libproxy-devel |
47 %else |
58 %else |
48 BuildRequires: wireless-tools |
59 BuildRequires: wireless-tools |
49 %endif |
60 %endif |
50 BuildRequires: mozilla-nspr-devel >= 4.10 |
61 BuildRequires: mozilla-nspr-devel >= 4.10.6 |
51 BuildRequires: mozilla-nss-devel >= 3.15.1 |
62 BuildRequires: mozilla-nss-devel >= 3.16.5 |
52 %if %suse_version > 1210 |
63 %if %suse_version > 1210 |
53 BuildRequires: pkgconfig(gstreamer-%gstreamer_ver) |
64 BuildRequires: pkgconfig(gstreamer-%gstreamer_ver) |
54 BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver) |
65 BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver) |
55 BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver) |
66 BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver) |
56 %endif |
67 %if 0%{?gstreamer} == 1 |
57 Version: 24.0 |
68 Requires: libgstreamer-1_0-0 |
|
69 Recommends: gstreamer-fluendo-mp3 |
|
70 Recommends: gstreamer-plugin-libav |
|
71 %else |
|
72 Requires: libgstreamer-0_10-0 |
|
73 Recommends: gstreamer-0_10-fluendo-mp3 |
|
74 Recommends: gstreamer-0_10-plugins-ffmpeg |
|
75 %endif |
|
76 %endif |
|
77 Version: 31.2.0 |
58 Release: 0 |
78 Release: 0 |
59 %define releasedate 2013091000 |
|
60 %define version_internal 24.0 |
|
61 %define apiversion 24 |
|
62 %define uaweight 2400000 |
|
63 Summary: Mozilla Runtime Environment |
79 Summary: Mozilla Runtime Environment |
64 License: MPL-2.0 |
80 License: MPL-2.0 |
65 Group: Productivity/Other |
81 Group: Productivity/Other |
66 Url: http://www.mozilla.org/ |
82 Url: http://www.mozilla.org/ |
67 Provides: gecko |
83 Provides: gecko |
77 Source6: create-tar.sh |
93 Source6: create-tar.sh |
78 Source7: baselibs.conf |
94 Source7: baselibs.conf |
79 Source8: source-stamp.txt |
95 Source8: source-stamp.txt |
80 Source9: compare-locales.tar.bz2 |
96 Source9: compare-locales.tar.bz2 |
81 Patch1: toolkit-download-folder.patch |
97 Patch1: toolkit-download-folder.patch |
82 Patch2: mozilla-pkgconfig.patch |
98 Patch2: mozilla-nongnome-proxies.patch |
83 Patch3: mozilla-idldir.patch |
99 Patch3: mozilla-prefer_plugin_pref.patch |
84 Patch4: mozilla-nongnome-proxies.patch |
100 Patch4: mozilla-shared-nss-db.patch |
85 Patch5: mozilla-prefer_plugin_pref.patch |
101 Patch5: mozilla-kde.patch |
86 Patch6: mozilla-language.patch |
102 Patch6: mozilla-preferences.patch |
87 Patch7: mozilla-ntlm-full-path.patch |
103 Patch7: mozilla-language.patch |
88 Patch9: mozilla-sle11.patch |
104 Patch8: mozilla-ntlm-full-path.patch |
89 Patch10: mozilla-ppc.patch |
105 Patch9: mozilla-repo.patch |
90 Patch11: mozilla-libproxy-compat.patch |
106 Patch10: mozilla-sle11.patch |
|
107 Patch11: mozilla-icu-strncat.patch |
|
108 Patch12: mozilla-arm-disable-edsp.patch |
|
109 Patch13: mozilla-ppc.patch |
|
110 Patch14: mozilla-libproxy-compat.patch |
|
111 Patch15: mozilla-nullptr-gcc45.patch |
|
112 Patch16: mozilla-idldir.patch |
|
113 # Gecko/Toolkit AArch64 Porting |
|
114 Patch30: mozilla-aarch64-bmo-810631.patch |
|
115 |
91 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
116 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
92 Requires: mozilla-js = %{version} |
117 Requires: mozilla-js = %{version} |
93 Requires(post): update-alternatives coreutils |
118 Requires(post): update-alternatives coreutils |
94 Requires(preun): update-alternatives coreutils |
119 Requires(preun): update-alternatives coreutils |
95 Provides: xulrunner-esr = %{version} |
120 Provides: xulrunner-esr = %{version} |