8 |
# This is a discussed topic. Please, do not flame it again. |
# This is a discussed topic. Please, do not flame it again. |
9 |
|
|
10 |
# Stay on ESR for stable releases and for cauldron before mageia2 . |
# Stay on ESR for stable releases and for cauldron before mageia2 . |
11 |
%define major 14.0.1 |
%define major 15.0 |
12 |
%define ff_epoch 0 |
%define ff_epoch 0 |
13 |
# (tpg) set version HERE !!! |
# (tpg) set version HERE !!! |
14 |
%define realver %{major} |
%define realver %{major} |
28 |
|
|
29 |
%define _use_syshunspell 1 |
%define _use_syshunspell 1 |
30 |
|
|
31 |
%define release %mkrel 5 |
%define release %mkrel 1 |
32 |
|
|
33 |
%define update_channel release |
%define update_channel release |
34 |
|
|
64 |
Patch13: firefox-13-fix-nspr-include.patch |
Patch13: firefox-13-fix-nspr-include.patch |
65 |
Patch14: firefox-13-fix-cairo-build.patch |
Patch14: firefox-13-fix-cairo-build.patch |
66 |
Patch34: xulrunner_nojit.patch |
Patch34: xulrunner_nojit.patch |
67 |
Patch35: firefox-5.0-asciidel.patch |
# (cjw) make youtube show a green light for html5 h.264 support (?) |
68 |
Patch36: firefox-15b2-native-nss-nspr.patch |
Patch35: iceape-2.11-gstreamer-h264-avc1.42001E.patch |
69 |
|
# (cjw) use system virtualenv |
70 |
|
Patch36: iceape-2.12-system-virtualenv.patch |
71 |
|
# (cjw) from hg: fix segfault in gstreamer video playback code, see https://bugzilla.mozilla.org/show_bug.cgi?id=761030 |
72 |
|
Patch37: iceape-2.12-b8c6c7c773c3-gstreamer-video-segfault.patch |
73 |
|
# (cjw) make system-nss and system-nspr options work again (...) |
74 |
|
Patch38: firefox-15b2-native-nss-nspr.patch |
75 |
BuildRequires: gtk+2-devel |
BuildRequires: gtk+2-devel |
76 |
BuildRequires: unzip |
BuildRequires: unzip |
77 |
BuildRequires: zip |
BuildRequires: zip |
114 |
BuildRequires: libvpx-devel |
BuildRequires: libvpx-devel |
115 |
BuildRequires: autoconf2.1 |
BuildRequires: autoconf2.1 |
116 |
BuildRequires: libiw-devel |
BuildRequires: libiw-devel |
117 |
BuildRequires: gstreamer0.10-devel |
BuildRequires: python-virtualenv |
118 |
BuildRequires: libgstreamer0.10-plugins-base-devel |
BuildRequires: gstreamer0.10-devel |
119 |
|
BuildRequires: libgstreamer0.10-plugins-base-devel |
120 |
|
BuildRequires: pkgconfig(opus) |
121 |
|
|
122 |
%if 0%{?prel} |
%if 0%{?prel} |
123 |
Provides: %{name} = %{epoch}:%{realver}-0.%{prel} |
Provides: %{name} = %{epoch}:%{realver}-0.%{prel} |
190 |
%patch34 -p1 |
%patch34 -p1 |
191 |
%endif |
%endif |
192 |
%endif |
%endif |
193 |
%patch35 -p1 |
%patch35 -p2 -b .h264-youtube-ok |
194 |
|
%patch36 -p2 -b .system-virtualenv |
195 |
|
%patch37 -p1 -b .gstreamer-crash |
196 |
|
%patch38 -p1 -b .system-nss-nspr |
197 |
|
|
198 |
pushd js/src |
pushd js/src |
199 |
autoconf-2.13 |
autoconf-2.13 |
200 |
popd |
popd |
228 |
ac_add_options --enable-webm |
ac_add_options --enable-webm |
229 |
ac_add_options --enable-gio |
ac_add_options --enable-gio |
230 |
ac_add_options --disable-gnomevfs |
ac_add_options --disable-gnomevfs |
|
# This option doesn't exist anymore |
|
|
#ac_add_options --disable-installer |
|
231 |
ac_add_options --disable-updater |
ac_add_options --disable-updater |
232 |
ac_add_options --disable-tests |
ac_add_options --disable-tests |
233 |
ac_add_options --disable-debug |
ac_add_options --disable-debug |
256 |
ac_add_options --with-valgrind |
ac_add_options --with-valgrind |
257 |
ac_add_options --with-java-include-path=%{java_home}/include |
ac_add_options --with-java-include-path=%{java_home}/include |
258 |
ac_add_options --with-java-bin-path=%{java_home}/bin |
ac_add_options --with-java-bin-path=%{java_home}/bin |
259 |
|
ac_add_options --enable-opus |
260 |
%endif |
%endif |
261 |
|
|
262 |
EOF |
EOF |