- up to 19.0, further sync with iceweasel
[packages/firefox.git] / mozilla-firefox.spec
CommitLineData
82f606de 1# NOTE: PLD distributes iceweasel instead
dfdf0ac8 2#
0d00fa1b 3# TODO:
cec5c010
ER
4# - (12:22:58) patrys: can you also move _libdir/mozilla-firefox to just _libdir/firefox?
5# (12:23:25) patrys: it's not like we ship official firefox
0af918cf 6# - fix wrapper script to allow playing with profiles (must not use -remote)
2f695f11 7#
ca6a7239 8# Conditional build:
4ab16c9e
JB
9%bcond_with tests # enable tests (whatever they check)
10%bcond_without gnomeui # disable gnomeui support
9df03825 11%bcond_without gnome # synonym for gnomeui (gconf, libnotify and gio are still enabled)
2a673919 12%bcond_without kerberos # disable krb5 support
d97ddc70 13%bcond_without xulrunner # system xulrunner
2a673919 14
4ab16c9e
JB
15%if %{without gnome}
16%undefine with_gnomeui
4ab16c9e 17%endif
2a673919 18
d97ddc70
JB
19%if %{without xulrunner}
20# The actual sqlite version (see RHBZ#480989):
21%define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR)
22%endif
23
96ef4151
JB
24%define nspr_ver 4.9.5
25%define nss_ver 3.14.3
26
52dbdf60 27Summary: Firefox Community Edition web browser
948d1385 28Summary(pl.UTF-8): Firefox Community Edition - przeglądarka WWW
ea721d92 29Name: mozilla-firefox
96ef4151 30Version: 19.0
e6902292 31Release: 1
4ab16c9e 32License: MPL 1.1 or GPL v2+ or LGPL v2.1+
51c0f20a 33Group: X11/Applications/Networking
96ef4151
JB
34Source0: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.bz2
35# Source0-md5: 3dc732b6ce177792b43324f4bc7164d8
36Source3: %{name}.desktop
37Source4: %{name}.sh
64fa34f7
JB
38Patch0: %{name}-branding.patch
39Patch1: %{name}-install.patch
40Patch2: %{name}-gcc3.patch
41Patch3: %{name}-agent.patch
42Patch4: %{name}-agent-ac.patch
43Patch5: %{name}-ti-agent.patch
64fa34f7
JB
44Patch7: %{name}-prefs.patch
45Patch9: %{name}-no-subshell.patch
96ef4151
JB
46Patch10: %{name}-system-cairo.patch
47Patch11: %{name}-middle_click_paste.patch
48Patch12: %{name}-packaging.patch
49# Edit patch below and restore --system-site-packages when system virtualenv gets 1.7 upgrade
50Patch13: %{name}-system-virtualenv.patch
5f561b4c 51URL: http://www.mozilla.org/projects/firefox/
9df03825 52BuildRequires: GConf2-devel >= 1.2.1
0fca8d8d 53BuildRequires: OpenGL-devel
d97ddc70 54BuildRequires: alsa-lib-devel
e933d2a8 55BuildRequires: automake
d97ddc70 56BuildRequires: bzip2-devel
0fca8d8d 57BuildRequires: cairo-devel >= 1.10.2-5
09328230 58BuildRequires: dbus-glib-devel >= 0.60
96ef4151 59BuildRequires: glib2-devel >= 1:2.20
b73005e5 60BuildRequires: gtk+2-devel >= 2:2.14
2a673919 61%{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1}
d97ddc70 62BuildRequires: hunspell-devel
8a88dcf7 63BuildRequires: libIDL-devel >= 0.8.0
d97ddc70 64BuildRequires: libdnet-devel
0fca8d8d 65BuildRequires: libevent-devel >= 1.4.7
4ac83cfe
JB
66# standalone libffi 3.0.9 or gcc's from 4.5(?)+
67BuildRequires: libffi-devel >= 6:3.0.9
4ab16c9e 68%{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0}
d97ddc70 69BuildRequires: libiw-devel
96ef4151 70# requires libjpeg-turbo implementing at least libjpeg 6b API
ea721d92 71BuildRequires: libjpeg-devel >= 6b
96ef4151 72BuildRequires: libjpeg-turbo-devel
17eb28c6 73BuildRequires: libnotify-devel >= 0.4
2a673919 74BuildRequires: libpng(APNG)-devel >= 0.10
96ef4151 75BuildRequires: libpng-devel >= 1.5.13
ea721d92 76BuildRequires: libstdc++-devel
b73005e5 77BuildRequires: libvpx-devel >= 1.0.0
96ef4151
JB
78BuildRequires: nspr-devel >= 1:%{nspr_ver}
79BuildRequires: nss-devel >= 1:%{nss_ver}
82f606de 80BuildRequires: pango-devel >= 1:1.14.0
56cf7ebf 81BuildRequires: perl-modules >= 5.004
1bb00684 82BuildRequires: pkgconfig
b73005e5 83BuildRequires: pkgconfig(libffi) >= 3.0.9
aef94f18 84BuildRequires: python-modules
96ef4151 85BuildRequires: python-virtualenv
6b1581cf 86BuildRequires: rpm >= 4.4.9-56
9df03825 87BuildRequires: rpmbuild(macros) >= 1.601
96ef4151 88BuildRequires: sqlite3-devel >= 3.7.14.1
d97ddc70 89BuildRequires: startup-notification-devel >= 0.8
0fca8d8d 90BuildRequires: xorg-lib-libXScrnSaver-devel
446ffaab 91BuildRequires: xorg-lib-libXext-devel
446ffaab 92BuildRequires: xorg-lib-libXinerama-devel
de5abc0a 93BuildRequires: xorg-lib-libXt-devel
f99152f1 94%if %{with xulrunner}
0fca8d8d 95BuildRequires: xulrunner-devel >= 2:%{version}
f99152f1 96%endif
b0a3aa79 97BuildRequires: zip
1dd3785b 98BuildRequires: zlib-devel >= 1.2.3
f37c2ce5 99Requires(post): mktemp >= 1.5-18
96ef4151 100Requires: desktop-file-utils
d97ddc70
JB
101%if %{with xulrunner}
102%requires_eq_to xulrunner xulrunner-devel
103%else
1408fb17 104Requires: browser-plugins >= 2.0
0fca8d8d 105Requires: cairo >= 1.10.2-5
82f606de 106Requires: dbus-glib >= 0.60
96ef4151 107Requires: glib2 >= 1:2.20
b73005e5 108Requires: gtk+2 >= 2:2.14
96ef4151
JB
109Requires: libjpeg-turbo
110Requires: libpng >= 1.5.13
2a673919 111Requires: libpng(APNG) >= 0.10
d97ddc70 112Requires: myspell-common
96ef4151
JB
113Requires: nspr >= 1:%{nspr_ver}
114Requires: nss >= 1:%{nss_ver}
82f606de 115Requires: pango >= 1:1.14.0
d97ddc70 116Requires: sqlite3 >= %{sqlite_build_version}
82f606de 117Requires: startup-notification >= 0.8
f99152f1 118%endif
0d52cac8 119Provides: wwwbrowser
51c0f20a 120Obsoletes: mozilla-firebird
2620301e 121Obsoletes: mozilla-firefox-lang-en < 2.0.0.8-3
c2814220 122Obsoletes: mozilla-firefox-libs
4ac83cfe 123Conflicts: mozilla-firefox-lang-resources < %{version}
ea721d92 124BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
125
96ef4151
JB
126%define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
127
09328230
JB
128# don't satisfy other packages (don't use %{name} here)
129%define _noautoprovfiles %{_libdir}/mozilla-firefox
64fa34f7 130%if %{without xulrunner}
4c7e703c 131# and as we don't provide them, don't require either
96ef4151 132%define _noautoreq libmozalloc.so libmozjs.so libxpcom.so libxul.so
64fa34f7 133%endif
c14d6140 134
2a673919 135%if "%{cc_version}" >= "3.4"
2de50ddb 136%define specflags -fno-strict-aliasing -fno-tree-vrp -fno-stack-protector
2a673919
PZ
137%else
138%define specflags -fno-strict-aliasing
139%endif
d3b02e37 140
ea721d92 141%description
52dbdf60
ER
142Firefox Community Edition is an open-source web browser, designed for
143standards compliance, performance and portability.
ea721d92 144
eace6cdf 145%description -l pl.UTF-8
c0bec9dd 146Firefox Community Edition jest przeglądarką WWW rozpowszechnianą
e236f127 147zgodnie z ideami ruchu otwartego oprogramowania oraz tworzoną z myślą
148o zgodności ze standardami, wydajnością i przenośnością.
ea721d92 149
150%prep
d97ddc70 151%setup -qc
0fca8d8d 152mv -f mozilla-release mozilla
56143477 153cd mozilla
d97ddc70 154
d541162e 155%patch0 -p1
64fa34f7 156%patch1 -p1
6ef56845 157
158%if "%{cc_version}" < "3.4"
64fa34f7 159%patch2 -p2
6ef56845 160%endif
161
162%if "%{pld_release}" == "th"
64fa34f7 163%patch3 -p1
2a673919 164%endif
6ef56845 165
166%if "%{pld_release}" == "ac"
64fa34f7 167%patch4 -p1
6ef56845 168%endif
169
170%if "%{pld_release}" == "ti"
64fa34f7 171%patch5 -p1
6b1581cf 172%endif
a4a42caf 173
d1eea1c3 174%patch7 -p1
64fa34f7
JB
175
176%patch9 -p2
96ef4151
JB
177%patch10 -p2
178%patch11 -p2
179%patch12 -p2
180%patch13 -p2
29b16068 181
438df47f
JB
182# config/rules.mk is patched by us and js/src/config/rules.mk
183# is supposed to be exact copy
184cp -a config/rules.mk js/src/config/rules.mk
185
ea721d92 186%build
56143477 187cd mozilla
52befddb 188cp -f %{_datadir}/automake/config.* build/autoconf
52befddb 189
d97ddc70
JB
190cat << EOF > .mozconfig
191. \$topsrcdir/browser/config/mozconfig
52befddb 192
2620301e 193mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu}
96ef4151
JB
194# parallel build fails on _xpidlgen/
195%if %{without xulrunner}
196mk_add_options MOZ_MAKE_FLAGS=%{_smp_mflags}
197%endif
2620301e 198
f37c2ce5 199# Options for 'configure' (same as command-line options).
52befddb 200ac_add_options --prefix=%{_prefix}
201ac_add_options --exec-prefix=%{_exec_prefix}
202ac_add_options --bindir=%{_bindir}
203ac_add_options --sbindir=%{_sbindir}
204ac_add_options --sysconfdir=%{_sysconfdir}
205ac_add_options --datadir=%{_datadir}
206ac_add_options --includedir=%{_includedir}
207ac_add_options --libdir=%{_libdir}
208ac_add_options --libexecdir=%{_libexecdir}
209ac_add_options --localstatedir=%{_localstatedir}
210ac_add_options --sharedstatedir=%{_sharedstatedir}
211ac_add_options --mandir=%{_mandir}
212ac_add_options --infodir=%{_infodir}
4ac83cfe 213ac_add_options --disable-elf-hack
cf471ce5 214%if %{?debug:1}0
f37c2ce5 215ac_add_options --disable-optimize
52befddb 216ac_add_options --enable-debug
217ac_add_options --enable-debug-modules
f37c2ce5
ER
218ac_add_options --enable-debugger-info-modules
219ac_add_options --enable-crash-on-assert
52befddb 220%else
221ac_add_options --disable-debug
2620301e 222ac_add_options --disable-debug-modules
f37c2ce5 223ac_add_options --disable-logging
2a673919 224ac_add_options --enable-optimize="%{rpmcflags} -Os"
52befddb 225%endif
d97ddc70
JB
226ac_add_options --disable-strip
227ac_add_options --disable-strip-libs
52befddb 228%if %{with tests}
229ac_add_options --enable-tests
c4f9bb37 230%else
52befddb 231ac_add_options --disable-tests
c4f9bb37 232%endif
6800f9e1 233%if %{with gnomeui}
f37c2ce5
ER
234ac_add_options --enable-gnomeui
235%else
f37c2ce5
ER
236ac_add_options --disable-gnomeui
237%endif
6800f9e1 238ac_add_options --disable-gnomevfs
2a673919 239ac_add_options --disable-crashreporter
52befddb 240ac_add_options --disable-installer
f37c2ce5
ER
241ac_add_options --disable-javaxpcom
242ac_add_options --disable-updater
0fca8d8d 243ac_add_options --enable-gio
d97ddc70
JB
244ac_add_options --enable-libxul
245ac_add_options --enable-pango
0fca8d8d 246ac_add_options --enable-shared-js
2a673919 247ac_add_options --enable-startup-notification
52befddb 248ac_add_options --enable-system-cairo
d97ddc70 249ac_add_options --enable-system-hunspell
dfdf0ac8 250ac_add_options --enable-system-sqlite
f37c2ce5 251ac_add_options --with-distribution-id=org.pld-linux
f99152f1 252%if %{with xulrunner}
d97ddc70 253ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
f99152f1 254%endif
2a673919 255ac_add_options --with-pthreads
d97ddc70 256ac_add_options --with-system-bz2
b73005e5 257ac_add_options --with-system-ffi
2620301e 258ac_add_options --with-system-jpeg
0fca8d8d
JB
259ac_add_options --with-system-libevent
260ac_add_options --with-system-libvpx
52befddb 261ac_add_options --with-system-nspr
f37c2ce5 262ac_add_options --with-system-nss
f37c2ce5 263ac_add_options --with-system-png
2620301e 264ac_add_options --with-system-zlib
6162f349 265ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
52befddb 266EOF
33f81726 267
0fca8d8d 268%{__make} -f client.mk build \
2a673919 269 STRIP="/bin/true" \
3d445135 270 CC="%{__cc}" \
33f81726 271 CXX="%{__cxx}"
ea721d92 272
273%install
274rm -rf $RPM_BUILD_ROOT
56143477 275cd mozilla
45f27404 276install -d \
f37c2ce5 277 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \
45f27404 278 $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \
93639547 279 $RPM_BUILD_ROOT%{_datadir}/%{name}
75e09104 280
8bc15110
PZ
281%browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins
282
2a673919 283%{__make} -C obj-%{_target_cpu}/browser/installer stage-package \
d541162e 284 DESTDIR=$RPM_BUILD_ROOT \
0fca8d8d 285 MOZ_PKG_DIR=%{_libdir}/%{name} \
f37c2ce5 286 PKG_SKIP_STRIP=1
ea721d92 287
d97ddc70
JB
288install -d \
289 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
290
0fca8d8d
JB
291%if %{with xulrunner}
292# >= 5.0 seems to require this
293ln -s ../xulrunner $RPM_BUILD_ROOT%{_libdir}/%{name}/xulrunner
294%endif
295
f86547d4
ER
296# move arch independant ones to datadir
297mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
298mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
f86547d4 299mv $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions
f86547d4 300mv $RPM_BUILD_ROOT%{_libdir}/%{name}/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/icons
2a673919 301mv $RPM_BUILD_ROOT%{_libdir}/%{name}/modules $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
f86547d4 302mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins
f99152f1 303%if %{without xulrunner}
0fca8d8d 304mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs.js
f99152f1 305mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res
306%endif
d97ddc70 307
f86547d4
ER
308ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
309ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
f86547d4 310ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions
2a673919 311ln -s ../../share/%{name}/modules $RPM_BUILD_ROOT%{_libdir}/%{name}/modules
f86547d4 312ln -s ../../share/%{name}/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/icons
f86547d4 313ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins
f99152f1 314%if %{without xulrunner}
0fca8d8d 315ln -s ../../share/%{name}/greprefs.js $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js
f99152f1 316ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res
317%endif
f86547d4 318
f99152f1 319%if %{without xulrunner}
f1613d3d 320%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
4d687af8 321ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
64fa34f7
JB
322%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation
323ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation
f99152f1 324%endif
4d687af8 325
96ef4151 326sed 's,@LIBDIR@,%{_libdir},' %{SOURCE4} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox
82f606de 327chmod 755 $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox
8bc15110 328ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox
ea721d92 329
d97ddc70 330cp -a browser/branding/unofficial/content/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firefox.png
96ef4151 331cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
ea721d92 332
d97ddc70 333# files created by firefox -register
6162f349
ER
334touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat
335touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat
f37c2ce5
ER
336
337cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
6d77929c 338#!/bin/sh
050f03d2 339umask 022
6162f349 340rm -f %{_libdir}/%{name}/components/{compreg,xpti}.dat
3eeab518 341
f37c2ce5
ER
342# it attempts to touch files in $HOME/.mozilla
343# beware if you run this with sudo!!!
344export HOME=$(mktemp -d)
345# also TMPDIR could be pointing to sudo user's homedir
346unset TMPDIR TMP || :
3eeab518 347
6162f349 348%{_libdir}/%{name}/firefox -register
3eeab518 349
56143477 350rm -rf $HOME
6d77929c 351EOF
82f606de 352chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
3eeab518 353
6d77929c
JB
354%clean
355rm -rf $RPM_BUILD_ROOT
3eeab518 356
b1662829 357%pretrans
ade6d95c
ER
358if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then
359 mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave}
360fi
0fca8d8d 361for d in chrome defaults extensions greprefs.js icons res searchplugins; do
f86547d4
ER
362 if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then
363 install -d %{_datadir}/%{name}
364 mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d
365 fi
366done
367exit 0
368
6d77929c 369%post
f37c2ce5 370%{_sbindir}/%{name}-chrome+xpcom-generate
4d9eecad 371%update_browser_plugins
96ef4151 372%update_desktop_database
4d9eecad
ER
373
374%postun
375if [ "$1" = 0 ]; then
376 %update_browser_plugins
377fi
ea0245e6 378
ea721d92 379%files
380%defattr(644,root,root,755)
f37c2ce5 381%attr(755,root,root) %{_bindir}/%{name}
fb0d8197 382%attr(755,root,root) %{_bindir}/firefox
f37c2ce5
ER
383%attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate
384
4d9eecad
ER
385# browser plugins v2
386%{_browserpluginsconfdir}/browsers.d/%{name}.*
387%config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
388
c2814220 389%dir %{_libdir}/%{name}
09328230 390%if %{without xulrunner}
64fa34f7 391%attr(755,root,root) %{_libdir}/%{name}/libmozalloc.so
09328230
JB
392%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so
393%attr(755,root,root) %{_libdir}/%{name}/libxpcom.so
394%attr(755,root,root) %{_libdir}/%{name}/libxul.so
395%endif
2a673919
PZ
396%{_libdir}/%{name}/blocklist.xml
397
398%if %{with crashreporter}
399%{_libdir}/%{name}/crashreporter
400%{_libdir}/%{name}/crashreporter-override.ini
401%{_libdir}/%{name}/crashreporter.ini
402%{_libdir}/%{name}/Throbber-small.gif
403%endif
404
405# config?
2a673919 406%{_libdir}/%{name}/application.ini
0fca8d8d 407%{_libdir}/%{name}/chrome.manifest
c2814220 408
6162f349 409%dir %{_libdir}/%{name}/components
2a673919 410
96ef4151 411%{_libdir}/%{name}/components/Aitc.js
4ac83cfe 412%{_libdir}/%{name}/components/ChromeProfileMigrator.js
96ef4151
JB
413%{_libdir}/%{name}/components/DownloadsStartup.js
414%{_libdir}/%{name}/components/DownloadsUI.js
fd4f0696 415%{_libdir}/%{name}/components/FeedConverter.js
fd4f0696 416%{_libdir}/%{name}/components/FeedWriter.js
64fa34f7 417%{_libdir}/%{name}/components/FirefoxProfileMigrator.js
96ef4151 418%{_libdir}/%{name}/components/PageThumbsProtocol.js
0fca8d8d 419%{_libdir}/%{name}/components/PlacesProtocolHandler.js
96ef4151 420%{_libdir}/%{name}/components/ProfileMigrator.js
0fca8d8d 421%{_libdir}/%{name}/components/Weave.js
2a673919
PZ
422%{_libdir}/%{name}/components/WebContentConverter.js
423%{_libdir}/%{name}/components/browser.xpt
424%{_libdir}/%{name}/components/fuelApplication.js
f99152f1 425%{_libdir}/%{name}/components/nsBrowserContentHandler.js
426%{_libdir}/%{name}/components/nsBrowserGlue.js
d97ddc70 427%{_libdir}/%{name}/components/nsPrivateBrowsingService.js
f99152f1 428%{_libdir}/%{name}/components/nsSessionStartup.js
429%{_libdir}/%{name}/components/nsSessionStore.js
430%{_libdir}/%{name}/components/nsSetDefaultBrowser.js
431%{_libdir}/%{name}/components/nsSidebar.js
0fca8d8d
JB
432
433%{_libdir}/%{name}/components/components.manifest
434%{_libdir}/%{name}/components/interfaces.manifest
435
f99152f1 436%if %{without xulrunner}
96ef4151 437%{_libdir}/%{name}/dependentlibs.list
f99152f1 438%{_libdir}/%{name}/platform.ini
96ef4151
JB
439%{_libdir}/%{name}/components/AppsService.js
440%{_libdir}/%{name}/components/BrowserElementParent.js
0fca8d8d 441%{_libdir}/%{name}/components/ConsoleAPI.js
96ef4151 442%{_libdir}/%{name}/components/ContactManager.js
f99152f1 443%{_libdir}/%{name}/components/FeedProcessor.js
d97ddc70
JB
444%{_libdir}/%{name}/components/GPSDGeolocationProvider.js
445%{_libdir}/%{name}/components/NetworkGeolocationProvider.js
0fca8d8d 446%{_libdir}/%{name}/components/PlacesCategoriesStarter.js
96ef4151 447%{_libdir}/%{name}/components/SettingsManager.js
9df03825 448%{_libdir}/%{name}/components/TelemetryPing.js
0fca8d8d
JB
449%{_libdir}/%{name}/components/addonManager.js
450%{_libdir}/%{name}/components/amContentHandler.js
451%{_libdir}/%{name}/components/amWebInstallListener.js
452%{_libdir}/%{name}/components/contentAreaDropListener.js
453%{_libdir}/%{name}/components/contentSecurityPolicy.js
454%{_libdir}/%{name}/components/crypto-SDR.js
fd4f0696 455%{_libdir}/%{name}/components/jsconsole-clhandler.js
96ef4151 456%{_libdir}/%{name}/components/messageWakeupService.js
5259c459 457%{_libdir}/%{name}/components/nsBadCertHandler.js
2a673919 458%{_libdir}/%{name}/components/nsBlocklistService.js
2a673919
PZ
459%{_libdir}/%{name}/components/nsContentDispatchChooser.js
460%{_libdir}/%{name}/components/nsContentPrefService.js
fd4f0696 461%{_libdir}/%{name}/components/nsDefaultCLH.js
2a673919 462%{_libdir}/%{name}/components/nsDownloadManagerUI.js
fd4f0696 463%{_libdir}/%{name}/components/nsFilePicker.js
d97ddc70 464%{_libdir}/%{name}/components/nsFormAutoComplete.js
0fca8d8d 465%{_libdir}/%{name}/components/nsFormHistory.js
2a673919 466%{_libdir}/%{name}/components/nsHandlerService.js
fd4f0696 467%{_libdir}/%{name}/components/nsHelperAppDlg.js
82f606de 468%{_libdir}/%{name}/components/nsINIProcessor.js
0fca8d8d 469%{_libdir}/%{name}/components/nsInputListAutoComplete.js
2a673919
PZ
470%{_libdir}/%{name}/components/nsLivemarkService.js
471%{_libdir}/%{name}/components/nsLoginInfo.js
472%{_libdir}/%{name}/components/nsLoginManager.js
473%{_libdir}/%{name}/components/nsLoginManagerPrompter.js
d97ddc70 474%{_libdir}/%{name}/components/nsPlacesAutoComplete.js
0fca8d8d
JB
475%{_libdir}/%{name}/components/nsPlacesExpiration.js
476%{_libdir}/%{name}/components/nsPrompter.js
fd4f0696 477%{_libdir}/%{name}/components/nsProxyAutoConfig.js
d97ddc70
JB
478%{_libdir}/%{name}/components/nsSearchService.js
479%{_libdir}/%{name}/components/nsSearchSuggestions.js
2a673919 480%{_libdir}/%{name}/components/nsTaggingService.js
2a673919 481%{_libdir}/%{name}/components/nsURLFormatter.js
9df03825 482%{_libdir}/%{name}/components/nsUrlClassifierHashCompleter.js
fd4f0696
ER
483%{_libdir}/%{name}/components/nsUrlClassifierLib.js
484%{_libdir}/%{name}/components/nsUrlClassifierListManager.js
2a673919 485%{_libdir}/%{name}/components/nsWebHandlerApp.js
2a673919 486%{_libdir}/%{name}/components/storage-Legacy.js
d97ddc70 487%{_libdir}/%{name}/components/storage-mozStorage.js
2a673919 488%{_libdir}/%{name}/components/txEXSLTRegExFunctions.js
f99152f1 489%endif
2a673919 490
96ef4151
JB
491%{_libdir}/%{name}/webapprt
492%attr(755,root,root) %{_libdir}/%{name}/webapprt-stub
493
2a673919 494%attr(755,root,root) %{_libdir}/%{name}/components/libbrowsercomps.so
f99152f1 495%if %{without xulrunner}
2a673919 496%attr(755,root,root) %{_libdir}/%{name}/components/libdbusservice.so
f99152f1 497%endif
2a673919 498
9df03825 499%if %{without xulrunner}
2a673919 500%attr(755,root,root) %{_libdir}/%{name}/components/libmozgnome.so
2a673919
PZ
501%endif
502
2a673919 503%attr(755,root,root) %{_libdir}/%{name}/firefox
d97ddc70 504%dir %{_libdir}/%{name}/plugins
f99152f1 505%if %{without xulrunner}
d97ddc70 506%attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
2a673919 507%attr(755,root,root) %{_libdir}/%{name}/firefox-bin
f99152f1 508%attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client
82f606de 509%attr(755,root,root) %{_libdir}/%{name}/plugin-container
f99152f1 510%endif
0fca8d8d 511
93639547
ER
512%{_pixmapsdir}/mozilla-firefox.png
513%{_desktopdir}/mozilla-firefox.desktop
cdbdbff1 514
f86547d4
ER
515# symlinks
516%{_libdir}/%{name}/chrome
517%{_libdir}/%{name}/defaults
f86547d4 518%{_libdir}/%{name}/extensions
f86547d4 519%{_libdir}/%{name}/icons
2a673919 520%{_libdir}/%{name}/modules
f86547d4 521%{_libdir}/%{name}/searchplugins
0fca8d8d
JB
522%if %{with xulrunner}
523%{_libdir}/%{name}/xulrunner
524%else
f99152f1 525%{_libdir}/%{name}/dictionaries
64fa34f7 526%{_libdir}/%{name}/hyphenation
0fca8d8d 527%{_libdir}/%{name}/greprefs.js
f99152f1 528%{_libdir}/%{name}/res
529%endif
f37c2ce5 530
f86547d4
ER
531%dir %{_datadir}/%{name}
532%{_datadir}/%{name}/chrome
533%{_datadir}/%{name}/defaults
f86547d4 534%{_datadir}/%{name}/icons
2a673919 535%{_datadir}/%{name}/modules
f86547d4 536%{_datadir}/%{name}/searchplugins
f99152f1 537%if %{without xulrunner}
0fca8d8d 538%{_datadir}/%{name}/greprefs.js
f99152f1 539%{_datadir}/%{name}/res
540%endif
f86547d4
ER
541
542%dir %{_datadir}/%{name}/extensions
f86547d4
ER
543# the signature of the default theme
544%{_datadir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
f37c2ce5 545
d97ddc70 546# files created by firefox -register
6162f349
ER
547%ghost %{_libdir}/%{name}/components/compreg.dat
548%ghost %{_libdir}/%{name}/components/xpti.dat
This page took 0.163388 seconds and 4 git commands to generate.