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