- saving update to 33.0.1
[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 9%bcond_with tests # enable tests (whatever they check)
a9334f16 10%bcond_with gtk3 # GTK+ 3.x instead of 2.x
2a673919 11%bcond_without kerberos # disable krb5 support
08ccc3c5
JB
12%bcond_with xulrunner # system xulrunner [no longer supported]
13# - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964
14%bcond_with shared_js
2a673919 15
d97ddc70
JB
16%if %{without xulrunner}
17# The actual sqlite version (see RHBZ#480989):
18%define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR)
19%endif
20
08ccc3c5
JB
21%define nspr_ver 4.10.6
22%define nss_ver 3.17.1
96ef4151 23
52dbdf60 24Summary: Firefox Community Edition web browser
948d1385 25Summary(pl.UTF-8): Firefox Community Edition - przeglądarka WWW
ea721d92 26Name: mozilla-firefox
08ccc3c5 27Version: 33.0.1
e6902292 28Release: 1
a9334f16 29License: MPL v2.0
51c0f20a 30Group: X11/Applications/Networking
96ef4151 31Source0: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.bz2
08ccc3c5 32# Source0-md5: 5a1c4b0b2349e3db94b45bd3f03f9288
96ef4151
JB
33Source3: %{name}.desktop
34Source4: %{name}.sh
c5cd9be2
JB
35Source5: vendor.js
36Source6: vendor-ac.js
64fa34f7 37Patch0: %{name}-branding.patch
64fa34f7
JB
38Patch7: %{name}-prefs.patch
39Patch9: %{name}-no-subshell.patch
96ef4151
JB
40Patch11: %{name}-middle_click_paste.patch
41Patch12: %{name}-packaging.patch
96ef4151 42Patch13: %{name}-system-virtualenv.patch
c5cd9be2 43Patch15: %{name}-Disable-Firefox-Health-Report.patch
5f561b4c 44URL: http://www.mozilla.org/projects/firefox/
0fca8d8d 45BuildRequires: OpenGL-devel
d97ddc70 46BuildRequires: alsa-lib-devel
e933d2a8 47BuildRequires: automake
d97ddc70 48BuildRequires: bzip2-devel
0fca8d8d 49BuildRequires: cairo-devel >= 1.10.2-5
09328230 50BuildRequires: dbus-glib-devel >= 0.60
c5cd9be2 51BuildRequires: gcc-c++ >= 6:4.4
96ef4151 52BuildRequires: glib2-devel >= 1:2.20
08ccc3c5
JB
53BuildRequires: gstreamer-devel >= 1.0
54BuildRequires: gstreamer-plugins-base-devel >= 1.0
a9334f16
JB
55%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.14}
56%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.0.0}
2a673919 57%{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1}
d97ddc70 58BuildRequires: hunspell-devel
8a88dcf7 59BuildRequires: libIDL-devel >= 0.8.0
d97ddc70 60BuildRequires: libdnet-devel
0fca8d8d 61BuildRequires: libevent-devel >= 1.4.7
4ac83cfe
JB
62# standalone libffi 3.0.9 or gcc's from 4.5(?)+
63BuildRequires: libffi-devel >= 6:3.0.9
a9334f16 64BuildRequires: libicu-devel >= 50.1
96ef4151 65# requires libjpeg-turbo implementing at least libjpeg 6b API
ea721d92 66BuildRequires: libjpeg-devel >= 6b
96ef4151 67BuildRequires: libjpeg-turbo-devel
2a673919 68BuildRequires: libpng(APNG)-devel >= 0.10
08ccc3c5 69BuildRequires: libpng-devel >= 2:1.6.10
c5cd9be2 70BuildRequires: libstdc++-devel >= 6:4.4
a9334f16 71BuildRequires: libvpx-devel >= 1.3.0
96ef4151
JB
72BuildRequires: nspr-devel >= 1:%{nspr_ver}
73BuildRequires: nss-devel >= 1:%{nss_ver}
08ccc3c5 74BuildRequires: pango-devel >= 1:1.22.0
a9334f16 75BuildRequires: pixman-devel >= 0.19.2
56cf7ebf 76BuildRequires: perl-modules >= 5.004
1bb00684 77BuildRequires: pkgconfig
b73005e5 78BuildRequires: pkgconfig(libffi) >= 3.0.9
08ccc3c5 79BuildRequires: pulseaudio-devel
aef94f18 80BuildRequires: python-modules
96ef4151 81BuildRequires: python-virtualenv
08ccc3c5 82BuildRequires: readline-devel
6b1581cf 83BuildRequires: rpm >= 4.4.9-56
9df03825 84BuildRequires: rpmbuild(macros) >= 1.601
08ccc3c5 85BuildRequires: sqlite3-devel >= 3.8.5
d97ddc70 86BuildRequires: startup-notification-devel >= 0.8
0fca8d8d 87BuildRequires: xorg-lib-libXScrnSaver-devel
446ffaab 88BuildRequires: xorg-lib-libXext-devel
446ffaab 89BuildRequires: xorg-lib-libXinerama-devel
de5abc0a 90BuildRequires: xorg-lib-libXt-devel
f99152f1 91%if %{with xulrunner}
0fca8d8d 92BuildRequires: xulrunner-devel >= 2:%{version}
f99152f1 93%endif
b0a3aa79 94BuildRequires: zip
1dd3785b 95BuildRequires: zlib-devel >= 1.2.3
f37c2ce5 96Requires(post): mktemp >= 1.5-18
96ef4151 97Requires: desktop-file-utils
c5cd9be2 98Requires: hicolor-icon-theme
d97ddc70
JB
99%if %{with xulrunner}
100%requires_eq_to xulrunner xulrunner-devel
101%else
1408fb17 102Requires: browser-plugins >= 2.0
0fca8d8d 103Requires: cairo >= 1.10.2-5
82f606de 104Requires: dbus-glib >= 0.60
96ef4151 105Requires: glib2 >= 1:2.20
a9334f16
JB
106%{!?with_gtk3:Requires: gtk+2 >= 2:2.14}
107%{?with_gtk3:Requires: gtk+3 >= 3.0.0}
96ef4151 108Requires: libjpeg-turbo
08ccc3c5 109Requires: libpng >= 2:1.6.10
2a673919 110Requires: libpng(APNG) >= 0.10
a9334f16 111Requires: libvpx >= 1.3.0
d97ddc70 112Requires: myspell-common
96ef4151
JB
113Requires: nspr >= 1:%{nspr_ver}
114Requires: nss >= 1:%{nss_ver}
08ccc3c5 115Requires: pango >= 1:1.22.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
ea721d92 135%description
52dbdf60
ER
136Firefox Community Edition is an open-source web browser, designed for
137standards compliance, performance and portability.
ea721d92 138
eace6cdf 139%description -l pl.UTF-8
c0bec9dd 140Firefox Community Edition jest przeglądarką WWW rozpowszechnianą
e236f127 141zgodnie z ideami ruchu otwartego oprogramowania oraz tworzoną z myślą
142o zgodności ze standardami, wydajnością i przenośnością.
ea721d92 143
144%prep
d97ddc70 145%setup -qc
0fca8d8d 146mv -f mozilla-release mozilla
56143477 147cd mozilla
d97ddc70 148
d541162e 149%patch0 -p1
d1eea1c3 150%patch7 -p1
64fa34f7 151%patch9 -p2
96ef4151
JB
152%patch11 -p2
153%patch12 -p2
154%patch13 -p2
c5cd9be2 155%patch15 -p1
29b16068 156
ea721d92 157%build
56143477 158cd mozilla
08ccc3c5 159cp -pf %{_datadir}/automake/config.* build/autoconf
52befddb 160
08ccc3c5
JB
161cat << 'EOF' > .mozconfig
162. $topsrcdir/browser/config/mozconfig
52befddb 163
2620301e 164mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu}
2620301e 165
f37c2ce5 166# Options for 'configure' (same as command-line options).
c5cd9be2
JB
167ac_add_options --build=%{_target_platform}
168ac_add_options --host=%{_target_platform}
52befddb 169ac_add_options --prefix=%{_prefix}
170ac_add_options --exec-prefix=%{_exec_prefix}
171ac_add_options --bindir=%{_bindir}
172ac_add_options --sbindir=%{_sbindir}
173ac_add_options --sysconfdir=%{_sysconfdir}
174ac_add_options --datadir=%{_datadir}
175ac_add_options --includedir=%{_includedir}
176ac_add_options --libdir=%{_libdir}
177ac_add_options --libexecdir=%{_libexecdir}
178ac_add_options --localstatedir=%{_localstatedir}
179ac_add_options --sharedstatedir=%{_sharedstatedir}
180ac_add_options --mandir=%{_mandir}
181ac_add_options --infodir=%{_infodir}
cf471ce5 182%if %{?debug:1}0
f37c2ce5 183ac_add_options --disable-optimize
52befddb 184ac_add_options --enable-debug
185ac_add_options --enable-debug-modules
f37c2ce5
ER
186ac_add_options --enable-debugger-info-modules
187ac_add_options --enable-crash-on-assert
52befddb 188%else
189ac_add_options --disable-debug
2620301e 190ac_add_options --disable-debug-modules
f37c2ce5 191ac_add_options --disable-logging
2a673919 192ac_add_options --enable-optimize="%{rpmcflags} -Os"
52befddb 193%endif
d97ddc70
JB
194ac_add_options --disable-strip
195ac_add_options --disable-strip-libs
c5cd9be2 196ac_add_options --disable-install-strip
52befddb 197%if %{with tests}
198ac_add_options --enable-tests
a9334f16 199ac_add_options --enable-mochitest
c4f9bb37 200%else
52befddb 201ac_add_options --disable-tests
a9334f16 202ac_add_options --disable-mochitest
c4f9bb37 203%endif
a9334f16 204ac_add_options --disable-cpp-exceptions
c5cd9be2
JB
205ac_add_options --disable-crashreporter
206ac_add_options --disable-elf-dynstr-gc
207ac_add_options --disable-gconf
f37c2ce5 208ac_add_options --disable-gnomeui
6800f9e1 209ac_add_options --disable-gnomevfs
52befddb 210ac_add_options --disable-installer
f37c2ce5 211ac_add_options --disable-javaxpcom
c5cd9be2 212ac_add_options --disable-long-long-warning
a9334f16 213ac_add_options --disable-necko-wifi
c5cd9be2 214ac_add_options --disable-pedantic
f37c2ce5 215ac_add_options --disable-updater
c5cd9be2
JB
216ac_add_options --disable-xterm-updates
217ac_add_options --enable-canvas
a9334f16
JB
218ac_add_options --enable-chrome-format=omni
219ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2}
08ccc3c5 220ac_add_options --enable-extensions=default
0fca8d8d 221ac_add_options --enable-gio
08ccc3c5 222ac_add_options --enable-gstreamer=1.0
d97ddc70 223ac_add_options --enable-libxul
c5cd9be2 224ac_add_options --enable-mathml
d97ddc70 225ac_add_options --enable-pango
c5cd9be2 226ac_add_options --enable-readline
a9334f16 227ac_add_options --enable-safe-browsing
08ccc3c5 228%{?with_shared_js:ac_add_options --enable-shared-js}
2a673919 229ac_add_options --enable-startup-notification
c5cd9be2 230ac_add_options --enable-svg
52befddb 231ac_add_options --enable-system-cairo
c5cd9be2 232ac_add_options --enable-system-ffi
d97ddc70 233ac_add_options --enable-system-hunspell
dfdf0ac8 234ac_add_options --enable-system-sqlite
c5cd9be2 235ac_add_options --enable-url-classifier
a9334f16 236ac_add_options --enable-xinerama
c5cd9be2 237ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
f37c2ce5 238ac_add_options --with-distribution-id=org.pld-linux
f99152f1 239%if %{with xulrunner}
d97ddc70 240ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
f99152f1 241%endif
2a673919 242ac_add_options --with-pthreads
d97ddc70 243ac_add_options --with-system-bz2
2620301e 244ac_add_options --with-system-jpeg
0fca8d8d
JB
245ac_add_options --with-system-libevent
246ac_add_options --with-system-libvpx
52befddb 247ac_add_options --with-system-nspr
f37c2ce5 248ac_add_options --with-system-nss
c5cd9be2 249ac_add_options --with-system-ply
f37c2ce5 250ac_add_options --with-system-png
2620301e 251ac_add_options --with-system-zlib
a9334f16 252ac_add_options --with-system-icu
c5cd9be2 253ac_add_options --with-x
52befddb 254EOF
33f81726 255
08ccc3c5 256%{__make} -j1 -f client.mk build \
3d445135 257 CC="%{__cc}" \
08ccc3c5
JB
258 CXX="%{__cxx}" \
259 MOZ_MAKE_FLAGS="%{_smp_mflags}"
ea721d92 260
261%install
262rm -rf $RPM_BUILD_ROOT
56143477 263cd mozilla
45f27404 264install -d \
f37c2ce5 265 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \
c5cd9be2
JB
266 $RPM_BUILD_ROOT%{_desktopdir} \
267 $RPM_BUILD_ROOT%{_datadir}/%{name}/browser \
268 $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/plugins
75e09104 269
c5cd9be2 270%browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/browser/plugins
8bc15110 271
2a673919 272%{__make} -C obj-%{_target_cpu}/browser/installer stage-package \
d541162e 273 DESTDIR=$RPM_BUILD_ROOT \
c5cd9be2 274 installdir=%{_libdir}/%{name} \
f37c2ce5 275 PKG_SKIP_STRIP=1
ea721d92 276
c5cd9be2 277cp -a obj-%{_target_cpu}/dist/firefox/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
d97ddc70 278
0fca8d8d
JB
279%if %{with xulrunner}
280# >= 5.0 seems to require this
281ln -s ../xulrunner $RPM_BUILD_ROOT%{_libdir}/%{name}/xulrunner
282%endif
283
f86547d4 284# move arch independant ones to datadir
c5cd9be2 285mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/chrome
8e79a8c3 286mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/extensions
c5cd9be2
JB
287mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/icons
288mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/searchplugins
f99152f1 289%if %{without xulrunner}
c5cd9be2
JB
290mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults
291mv $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/{pref,preferences}
292%else
293mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults
f99152f1 294%endif
d97ddc70 295
c5cd9be2
JB
296ln -s ../../../share/%{name}/browser/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome
297ln -s ../../../share/%{name}/browser/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/defaults
8e79a8c3 298ln -s ../../../share/%{name}/browser/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions
c5cd9be2
JB
299ln -s ../../../share/%{name}/browser/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons
300ln -s ../../../share/%{name}/browser/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/searchplugins
f86547d4 301
f99152f1 302%if %{without xulrunner}
f1613d3d 303%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
4d687af8 304ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
f99152f1 305%endif
4d687af8 306
96ef4151 307sed 's,@LIBDIR@,%{_libdir},' %{SOURCE4} > $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
c5cd9be2
JB
311# install icons and desktop file
312for i in 48 64; do
313 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps
314 cp -a browser/branding/unofficial/content/icon${i}.png \
315 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps/mozilla-firefox.png
316done
317
96ef4151 318cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
ea721d92 319
c5cd9be2
JB
320# install our settings
321%if "%{pld_release}" == "ac"
322cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js
323%else
324cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js
325%endif
326
d97ddc70 327# files created by firefox -register
c5cd9be2
JB
328touch $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/components/compreg.dat
329touch $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/components/xpti.dat
f37c2ce5
ER
330
331cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
6d77929c 332#!/bin/sh
050f03d2 333umask 022
c5cd9be2 334rm -f %{_libdir}/%{name}/browser/components/{compreg,xpti}.dat
3eeab518 335
f37c2ce5
ER
336# it attempts to touch files in $HOME/.mozilla
337# beware if you run this with sudo!!!
338export HOME=$(mktemp -d)
339# also TMPDIR could be pointing to sudo user's homedir
340unset TMPDIR TMP || :
3eeab518 341
6162f349 342%{_libdir}/%{name}/firefox -register
3eeab518 343
56143477 344rm -rf $HOME
6d77929c 345EOF
82f606de 346chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
3eeab518 347
6d77929c
JB
348%clean
349rm -rf $RPM_BUILD_ROOT
3eeab518 350
b1662829 351%pretrans
3e7a635d 352if [ -d %{_libdir}/%{name}/browser/extensions ] && [ ! -L %{_libdir}/%{name}/browser/extensions ]; then
8e79a8c3 353 install -d %{_datadir}/%{name}/browser
3e7a635d
JB
354 if [ -e %{_datadir}/%{name}/browser/extensions ]; then
355 mv %{_datadir}/%{name}/browser/extensions{,.rpmsave}
356 fi
357 mv -v %{_libdir}/%{name}/browser/extensions %{_datadir}/%{name}/browser/extensions
8e79a8c3 358fi
ade6d95c
ER
359if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then
360 mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave}
361fi
f86547d4
ER
362exit 0
363
6d77929c 364%post
f37c2ce5 365%{_sbindir}/%{name}-chrome+xpcom-generate
4d9eecad 366%update_browser_plugins
c5cd9be2 367%update_icon_cache hicolor
96ef4151 368%update_desktop_database
4d9eecad
ER
369
370%postun
371if [ "$1" = 0 ]; then
372 %update_browser_plugins
c5cd9be2 373 %update_icon_cache hicolor
4d9eecad 374fi
ea0245e6 375
ea721d92 376%files
377%defattr(644,root,root,755)
f37c2ce5 378%attr(755,root,root) %{_bindir}/%{name}
fb0d8197 379%attr(755,root,root) %{_bindir}/firefox
f37c2ce5
ER
380%attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate
381
c5cd9be2
JB
382%{_desktopdir}/mozilla-firefox.desktop
383%{_iconsdir}/hicolor/*/apps/mozilla-firefox.png
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}
c5cd9be2
JB
390%dir %{_libdir}/%{name}/browser
391%dir %{_libdir}/%{name}/browser/components
c5cd9be2
JB
392%dir %{_libdir}/%{name}/browser/plugins
393
394%dir %{_datadir}/%{name}
395%dir %{_datadir}/%{name}/browser
8e79a8c3 396%dir %{_datadir}/%{name}/browser/extensions
c5cd9be2
JB
397%{_datadir}/%{name}/browser/chrome
398%{_datadir}/%{name}/browser/defaults
399%{_datadir}/%{name}/browser/icons
400%{_datadir}/%{name}/browser/searchplugins
2a673919 401
c5cd9be2 402# symlinks
8e79a8c3 403%{_libdir}/%{name}/browser/extensions
c5cd9be2
JB
404%{_libdir}/%{name}/browser/chrome
405%{_libdir}/%{name}/browser/icons
406%{_libdir}/%{name}/browser/searchplugins
407%if %{with xulrunner}
408%{_libdir}/%{name}/xulrunner
2a673919 409%endif
c5cd9be2 410%{_libdir}/%{name}/browser/defaults
2a673919 411
c5cd9be2
JB
412%attr(755,root,root) %{_libdir}/%{name}/firefox
413%attr(755,root,root) %{_libdir}/%{name}/firefox-bin
414%attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
2a673919 415%{_libdir}/%{name}/application.ini
c5cd9be2
JB
416%{_libdir}/%{name}/browser/blocklist.xml
417%{_libdir}/%{name}/browser/chrome.manifest
418%{_libdir}/%{name}/browser/components/components.manifest
419%attr(755,root,root) %{_libdir}/%{name}/browser/components/libbrowsercomps.so
420# the signature of the default theme
8e79a8c3 421%{_datadir}/%{name}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
c5cd9be2
JB
422%{_libdir}/%{name}/browser/omni.ja
423%{_libdir}/%{name}/webapprt
424%attr(755,root,root) %{_libdir}/%{name}/webapprt-stub
0fca8d8d 425
c5cd9be2
JB
426# files created by firefox -register
427%ghost %{_libdir}/%{name}/browser/components/compreg.dat
428%ghost %{_libdir}/%{name}/browser/components/xpti.dat
0fca8d8d 429
f99152f1 430%if %{without xulrunner}
c5cd9be2 431# private xulrunner instance
96ef4151 432%{_libdir}/%{name}/dependentlibs.list
f99152f1 433%{_libdir}/%{name}/platform.ini
c5cd9be2
JB
434%dir %{_libdir}/%{name}/components
435%{_libdir}/%{name}/components/components.manifest
2a673919 436%attr(755,root,root) %{_libdir}/%{name}/components/libdbusservice.so
2a673919 437%attr(755,root,root) %{_libdir}/%{name}/components/libmozgnome.so
c5cd9be2 438%attr(755,root,root) %{_libdir}/%{name}/libmozalloc.so
08ccc3c5 439%{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so}
c5cd9be2 440%attr(755,root,root) %{_libdir}/%{name}/libxul.so
f99152f1 441%attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client
82f606de 442%attr(755,root,root) %{_libdir}/%{name}/plugin-container
f99152f1 443%{_libdir}/%{name}/dictionaries
c5cd9be2
JB
444%{_libdir}/%{name}/chrome.manifest
445%{_libdir}/%{name}/omni.ja
f99152f1 446%endif
This page took 0.211751 seconds and 4 git commands to generate.