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