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