/[packages]/cauldron/firefox/current/SPECS/firefox.spec
ViewVC logotype

Diff of /cauldron/firefox/current/SPECS/firefox.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 445221 by shlomif, Mon Jun 3 09:13:34 2013 UTC revision 445222 by tv, Thu Jun 20 10:27:38 2013 UTC
# Line 10  Line 10 
10  # Stay on ESR for stable releases and for cauldron before mageia 3.  # Stay on ESR for stable releases and for cauldron before mageia 3.
11  # /!\ Do not update more than FF 17 for mga3. /!\  # /!\ Do not update more than FF 17 for mga3. /!\
12    
13  %define major 17.0.6  %define major 21
14  %define ff_epoch 0  %define ff_epoch 0
15  # (tpg) set version HERE !!!  # (tpg) set version HERE !!!
16  %define realver %{major}esr  #define extra esr
17    %define extra %nil
18    %define realver %{version}%extra
19  %define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}  %define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
20    
21  # (tpg) MOZILLA_FIVE_HOME  # (tpg) MOZILLA_FIVE_HOME
22  %define mozillalibdir %{_libdir}/%{name}-%{major}  %define mozillalibdir %{_libdir}/%{name}-%{version}
23  %define pluginsdir %{_libdir}/mozilla/plugins  %define pluginsdir %{_libdir}/mozilla/plugins
24    
25  # libxul.so is provided by libxulrunnner2.0.  # libxul.so is provided by libxulrunnner2.0.
# Line 32  Line 34 
34    
35  %define release %mkrel 2  %define release %mkrel 2
36    
37  %define update_channel esr17  %define update_channel %{extra}%major
38    
39  Summary:        Next generation web browser  Summary:        Next generation web browser
40  Name:           firefox  Name:           firefox
41  Version:        %{major}  Version:        %{major}.0
42  Epoch:          %{ff_epoch}  Epoch:          %{ff_epoch}
43  Release:        %{release}  Release:        %{release}
44  License:        MPLv1+  License:        MPLv1+
# Line 49  Source9:       kde.js Line 51  Source9:       kde.js
51  Patch1:         firefox-6.0-lang.patch  Patch1:         firefox-6.0-lang.patch
52  Patch2:         firefox-vendor.patch  Patch2:         firefox-vendor.patch
53  Patch3:         mozilla-firefox-1.5.0.6-systemproxy.patch  Patch3:         mozilla-firefox-1.5.0.6-systemproxy.patch
54  Patch4:         firefox-17.0-nss-binary.patch  Patch4:         firefox-21.0-nss-binary.patch
55  # (OpenSuse) add patch to make firefox always use /usr/bin/firefox when "make firefox  # (OpenSuse) add patch to make firefox always use /usr/bin/firefox when "make firefox
56  # the default web browser" is used fix mdv bug#58784  # the default web browser" is used fix mdv bug#58784
57  Patch5:         firefox-6.0-appname.patch  Patch5:         firefox-21.0-appname.patch
58  Patch6:         firefox-7.0-fix-str-fmt.patch  Patch6:         firefox-7.0-fix-str-fmt.patch
59  Patch7:         mozilla-firefox-run-mozilla.patch  Patch7:         mozilla-firefox-run-mozilla.patch
60  Patch8:         firefox-disable-check-default-browser.patch  Patch8:         firefox-disable-check-default-browser.patch
# Line 62  Patch10:       firefox-3.5.3-default-mail-hand Line 64  Patch10:       firefox-3.5.3-default-mail-hand
64  Patch11:        firefox-kde.patch  Patch11:        firefox-kde.patch
65  Patch12:        mozilla-kde.patch  Patch12:        mozilla-kde.patch
66  Patch13:        firefox-13-fix-nspr-include.patch  Patch13:        firefox-13-fix-nspr-include.patch
67  Patch14:        firefox-13-fix-cairo-build.patch  Patch14:        firefox-21-fix-cairo-build.patch
 Patch34:        Bug-814693-Allow-webrtc-to-build-on-more-architectur.patch  
 # (cjw) use system virtualenv  
 Patch36:        iceape-2.12-system-virtualenv.patch  
68  Patch37:        firefox-17.0-nss-version.patch  Patch37:        firefox-17.0-nss-version.patch
69  # (cjw) build against system ogg libs  # (cjw) build against system ogg libs
70  Patch38:        firefox-17.0-system-ogg.patch  Patch38:        firefox-21.0-system-ogg.patch
 # (cjw) use mozilla ogg player instead of gstreamer  
 Patch39:        firefox-17.0-moz-ogg.patch  
71  BuildRequires:  gtk+2-devel  BuildRequires:  gtk+2-devel
72  BuildRequires:  unzip  BuildRequires:  unzip
73  BuildRequires:  zip  BuildRequires:  zip
# Line 120  BuildRequires: pkgconfig(vorbis) Line 117  BuildRequires: pkgconfig(vorbis)
117  BuildRequires:  pkgconfig(theoradec)  BuildRequires:  pkgconfig(theoradec)
118  BuildRequires:  pkgconfig(opus)  BuildRequires:  pkgconfig(opus)
119    
120  Provides:       %{name} = %{epoch}:%{major}  Provides:       %{name} = %{epoch}:%{version}
121  Provides:       mozilla-firefox = %{epoch}:%{version}-%{release}  Provides:       mozilla-firefox = %{epoch}:%{version}-%{release}
122  Provides:       webclient  Provides:       webclient
123    
# Line 162  Obsoletes:     firefox-beta-devel < 18 Line 159  Obsoletes:     firefox-beta-devel < 18
159  Files and macros mainly for building Firefox extensions.  Files and macros mainly for building Firefox extensions.
160    
161  %prep  %prep
162    %if 0%{?extra}
163  %setup -qn mozilla-%update_channel  %setup -qn mozilla-%update_channel
164    %else
165    %setup -qn mozilla-release
166    %endif
167  %patch1 -p1 -b .lang  %patch1 -p1 -b .lang
168  %patch2 -p1 -b .vendor  %patch2 -p1 -b .vendor
169  #patch3 -p1 -b .systemproxy  #patch3 -p1 -b .systemproxy
# Line 175  Files and macros mainly for building Fir Line 176  Files and macros mainly for building Fir
176  %patch10 -p1 -b .default-mail-handler  %patch10 -p1 -b .default-mail-handler
177  %patch14 -p1  %patch14 -p1
178  ## KDE INTEGRATION  ## KDE INTEGRATION
179  %patch11 -p1 -b .kde  #patch11 -p1 -b .kde
180  %patch12 -p1 -b .kdemoz  #patch12 -p1 -b .kdemoz
181    
182    
 %patch34 -p1 -b .webrtc  
 %patch36 -p2 -b .system-virtualenv  
183  %patch37 -p0  %patch37 -p0
184  %patch38 -p1  %patch38 -p1
 %patch39 -p1  
185    
186  pushd js/src  pushd js/src
187  autoconf-2.13  autoconf-2.13
# Line 353  touch %{buildroot}%{mozillalibdir}/defau Line 351  touch %{buildroot}%{mozillalibdir}/defau
351  mkdir -p %{buildroot}%{_sys_macros_dir}  mkdir -p %{buildroot}%{_sys_macros_dir}
352  cat <<FIN >%{buildroot}%{_sys_macros_dir}/%{name}.macros  cat <<FIN >%{buildroot}%{_sys_macros_dir}/%{name}.macros
353  # Macros from %{name} package  # Macros from %{name} package
354  %%firefox_major              %{major}  %%firefox_major              %{version}
355  %%firefox_epoch              %{ff_epoch}  %%firefox_epoch              %{ff_epoch}
356  %%firefox_version            %{major}  %%firefox_version            %{version}
357  %%firefox_mozillapath        %{mozillalibdir}  %%firefox_mozillapath        %{mozillalibdir}
358  %%firefox_pluginsdir         %{pluginsdir}  %%firefox_pluginsdir         %{pluginsdir}
359  %%firefox_appid              \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}  %%firefox_appid              \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
# Line 386  fi Line 384  fi
384  %{_iconsdir}/%{name}.png  %{_iconsdir}/%{name}.png
385  %{_liconsdir}/%{name}.png  %{_liconsdir}/%{name}.png
386  %{_datadir}/applications/*.desktop  %{_datadir}/applications/*.desktop
387  %{_libdir}/%{name}-%{major}*  %{_libdir}/%{name}-%{version}*
388  %ghost %{mozillalibdir}/defaults/profile/bookmarks.html  %ghost %{mozillalibdir}/defaults/profile/bookmarks.html
389  %dir %{_libdir}/mozilla  %dir %{_libdir}/mozilla
390  %dir %{pluginsdir}  %dir %{pluginsdir}

Legend:
Removed from v.445221  
changed lines
  Added in v.445222

  ViewVC Help
Powered by ViewVC 1.1.30