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