filterout -Werror=format-security to fix build with gcc7
[packages/firefox.git] / firefox.spec
CommitLineData
0d00fa1b 1# TODO:
54d6358a 2# - consider --enable-libproxy
2f695f11 3#
ca6a7239 4# Conditional build:
4ab16c9e 5%bcond_with tests # enable tests (whatever they check)
4264118a 6%bcond_without gtk3 # GTK+ 3.x instead of 2.x
2a673919 7%bcond_without kerberos # disable krb5 support
89390b0e 8%bcond_without official # official Firefox branding
86c073e4 9%bcond_with pgo # PGO-enabled build (requires working $DISPLAY == :100)
54d6358a
JR
10# - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964
11%bcond_with shared_js # shared libmozjs library [broken]
51667f5d 12%bcond_without system_icu # build without system ICU
4280d213 13%bcond_without clang # build using Clang/LLVM
54d6358a
JR
14
15# On updating version, grab CVE links from:
16# https://www.mozilla.org/security/known-vulnerabilities/firefox.html
17# Release Notes:
18# https://developer.mozilla.org/en-US/Firefox/Releases
2a673919 19
d97ddc70
JB
20# The actual sqlite version (see RHBZ#480989):
21%define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR)
d97ddc70 22
ae1a4597
JB
23%define nspr_ver 4.14
24%define nss_ver 3.30.2
54d6358a
JR
25
26Summary: Firefox web browser
27Summary(hu.UTF-8): Firefox web böngésző
28Summary(pl.UTF-8): Firefox - przeglądarka WWW
29Name: firefox
412ccc49 30Version: 55.0.3
18a7a80a 31Release: 1
a9334f16 32License: MPL v2.0
51c0f20a 33Group: X11/Applications/Networking
54d6358a 34Source0: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz
412ccc49 35# Source0-md5: bc55a68fdd6770215cfa7a49fe7e3c98
96ef4151
JB
36Source3: %{name}.desktop
37Source4: %{name}.sh
c5cd9be2
JB
38Source5: vendor.js
39Source6: vendor-ac.js
f0a96e4f 40Patch0: idl-parser.patch
f0a96e4f 41Patch2: xulrunner-paths.patch
f0a96e4f
JR
42Patch4: %{name}-prefs.patch
43Patch5: %{name}-pld-bookmarks.patch
44Patch6: %{name}-no-subshell.patch
45Patch7: %{name}-middle_click_paste.patch
46Patch8: %{name}-system-virtualenv.patch
47Patch9: %{name}-Disable-Firefox-Health-Report.patch
48Patch10: freetype.patch
54d6358a 49URL: https://www.mozilla.org/firefox/
0fca8d8d 50BuildRequires: OpenGL-devel
d97ddc70 51BuildRequires: alsa-lib-devel
f0a96e4f 52BuildRequires: autoconf2_13
4a58c474 53BuildRequires: automake
d97ddc70 54BuildRequires: bzip2-devel
0fca8d8d 55BuildRequires: cairo-devel >= 1.10.2-5
daa24698 56BuildRequires: cargo
4a58c474 57%{?with_clang:BuildRequires: clang}
09328230 58BuildRequires: dbus-glib-devel >= 0.60
504c563f 59BuildRequires: fontconfig-devel >= 1:2.7.0
37413542 60BuildRequires: freetype-devel >= 1:2.1.8
4a58c474 61%{!?with_clang:BuildRequires: gcc-c++ >= 6:4.4}
d0a1bb80 62BuildRequires: glib2-devel >= 1:2.22
08ccc3c5
JB
63BuildRequires: gstreamer-devel >= 1.0
64BuildRequires: gstreamer-plugins-base-devel >= 1.0
d0a1bb80
JB
65%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.18.0}
66%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.4.0}
2a673919 67%{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1}
76f62688 68BuildRequires: hunspell-devel >= 1.6.1
8a88dcf7 69BuildRequires: libIDL-devel >= 0.8.0
aa03250a 70BuildRequires: libatomic-devel
d0a1bb80
JB
71# DECnet (dnprogs.spec), not dummy net (libdnet.spec)
72#BuildRequires: libdnet-devel
0fca8d8d 73BuildRequires: libevent-devel >= 1.4.7
4ac83cfe
JB
74# standalone libffi 3.0.9 or gcc's from 4.5(?)+
75BuildRequires: libffi-devel >= 6:3.0.9
edc68de2 76%{?with_system_icu:BuildRequires: libicu-devel >= 58.1}
96ef4151 77# requires libjpeg-turbo implementing at least libjpeg 6b API
ea721d92 78BuildRequires: libjpeg-devel >= 6b
96ef4151 79BuildRequires: libjpeg-turbo-devel
2a673919 80BuildRequires: libpng(APNG)-devel >= 0.10
18a7a80a 81BuildRequires: libpng-devel >= 2:1.6.28
c5cd9be2 82BuildRequires: libstdc++-devel >= 6:4.4
504c563f 83BuildRequires: libvpx-devel >= 1.5.0
96ef4151
JB
84BuildRequires: nspr-devel >= 1:%{nspr_ver}
85BuildRequires: nss-devel >= 1:%{nss_ver}
08ccc3c5 86BuildRequires: pango-devel >= 1:1.22.0
a9334f16 87BuildRequires: pixman-devel >= 0.19.2
56cf7ebf 88BuildRequires: perl-modules >= 5.004
1bb00684 89BuildRequires: pkgconfig
b73005e5 90BuildRequires: pkgconfig(libffi) >= 3.0.9
08ccc3c5 91BuildRequires: pulseaudio-devel
37413542 92BuildRequires: python-modules >= 1:2.5
54d6358a 93%{?with_pgo:BuildRequires: python-modules-sqlite}
a86b0951 94BuildRequires: python-simplejson
89390b0e 95BuildRequires: python-virtualenv >= 15
08ccc3c5 96BuildRequires: readline-devel
6b1581cf 97BuildRequires: rpm >= 4.4.9-56
9df03825 98BuildRequires: rpmbuild(macros) >= 1.601
daa24698 99BuildRequires: rust
54d6358a 100BuildRequires: sed >= 4.0
8323a6a7 101BuildRequires: sqlite3-devel >= 3.17.0
d97ddc70 102BuildRequires: startup-notification-devel >= 0.8
7bfe3691 103BuildRequires: xorg-lib-libX11-devel
0fca8d8d 104BuildRequires: xorg-lib-libXScrnSaver-devel
7bfe3691
JB
105BuildRequires: xorg-lib-libXcomposite-devel
106BuildRequires: xorg-lib-libXdamage-devel
446ffaab 107BuildRequires: xorg-lib-libXext-devel
7bfe3691 108BuildRequires: xorg-lib-libXfixes-devel
446ffaab 109BuildRequires: xorg-lib-libXinerama-devel
de5abc0a 110BuildRequires: xorg-lib-libXt-devel
54d6358a 111%{?with_pgo:BuildRequires: xorg-xserver-Xvfb}
7bfe3691
JB
112%ifarch %{x8664}
113BuildRequires: yasm >= 1.0.1
114%endif
b0a3aa79 115BuildRequires: zip
1dd3785b 116BuildRequires: zlib-devel >= 1.2.3
54d6358a 117BuildConflicts: %{name}-devel < %{version}
f37c2ce5 118Requires(post): mktemp >= 1.5-18
82f4f456 119Requires: browser-plugins >= 2.0
76f62688
JR
120Requires: cairo >= 1.10.2-5
121Requires: dbus-glib >= 0.60
96ef4151 122Requires: desktop-file-utils
76f62688
JR
123Requires: fontconfig-libs >= 1:2.7.0
124Requires: glib2 >= 1:2.22
125%{!?with_gtk3:Requires: gtk+2 >= 2:2.18.0}
126%{?with_gtk3:Requires: gtk+3 >= 3.4.0}
c5cd9be2 127Requires: hicolor-icon-theme
76f62688 128Requires: libjpeg-turbo
18a7a80a 129Requires: libpng >= 2:1.6.28
76f62688
JR
130Requires: libpng(APNG) >= 0.10
131Requires: libvpx >= 1.5.0
d97ddc70 132Requires: myspell-common
96ef4151
JB
133Requires: nspr >= 1:%{nspr_ver}
134Requires: nss >= 1:%{nss_ver}
76f62688
JR
135Requires: pango >= 1:1.22.0
136Requires: sqlite3 >= %{sqlite_build_version}
137Requires: startup-notification >= 0.8
138Provides: xulrunner-libs = 2:%{version}-%{release}
0d52cac8 139Provides: wwwbrowser
76f62688 140Obsoletes: firefox-devel
df016d82 141Obsoletes: firefox-libs
54d6358a 142Obsoletes: iceweasel
76f62688 143Obsoletes: iceweasel-libs
51c0f20a 144Obsoletes: mozilla-firebird
54d6358a 145Obsoletes: mozilla-firefox
2620301e 146Obsoletes: mozilla-firefox-lang-en < 2.0.0.8-3
c2814220 147Obsoletes: mozilla-firefox-libs
54d6358a
JR
148Obsoletes: xulrunner
149Obsoletes: xulrunner-gnome
76f62688 150Obsoletes: xulrunner-libs
54d6358a 151Conflicts: firefox-lang-resources < %{version}
ea721d92 152BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
153
96ef4151
JB
154%define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
155
959fde77 156%if %{with clang}
0922859c 157%define filterout -fvar-tracking-assignments
a132acc2
JP
158%else
159%define filterout -Werror=format-security
959fde77
JR
160%endif
161
54d6358a
JR
162# don't satisfy other packages
163%define _noautoprovfiles %{_libdir}/%{name}
164
4c7e703c 165# and as we don't provide them, don't require either
18a7a80a 166%define _noautoreq liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozjs.so libmozsandbox.so libxul.so
c14d6140 167
ea721d92 168%description
54d6358a
JR
169Firefox is an open-source web browser, designed for standards
170compliance, performance and portability.
171
172%description -l hu.UTF-8
173Firefox egy nyílt forrású webböngésző, hatékonyságra és
174hordozhatóságra tervezve.
ea721d92 175
eace6cdf 176%description -l pl.UTF-8
54d6358a
JR
177Firefox jest przeglądarką WWW rozpowszechnianą zgodnie z ideami
178ruchu otwartego oprogramowania oraz tworzoną z myślą o zgodności ze
179standardami, wydajnością i przenośnością.
180
ae1a4597
JB
181%package -n gmp-api
182Summary: GeckoMediaPlugins API header files
183Summary(pl.UTF-8): Pliki nagłówkowe API GeckoMediaPlugins
184Group: Development/Libraries
185URL: https://wiki.mozilla.org/GeckoMediaPlugins
186# actually C++ compiler; STL is not even used
187Requires: libstdc++-devel
188
189%description -n gmp-api
190GeckoMediaPlugins API header files.
191
192%description -n gmp-api -l pl.UTF-8
193Pliki nagłówkowe API GeckoMediaPlugins.
194
ea721d92 195%prep
54d6358a
JR
196%setup -q
197
198# avoid using included headers (-I. is before HUNSPELL_CFLAGS)
199%{__rm} extensions/spellcheck/hunspell/src/{*.hxx,hunspell.h}
200# hunspell needed for factory including mozHunspell.h
201echo 'LOCAL_INCLUDES += $(MOZ_HUNSPELL_CFLAGS)' >> extensions/spellcheck/src/Makefile.in
202
f0a96e4f 203%patch0 -p2
f0a96e4f 204%patch2 -p2
54d6358a 205%patch4 -p1
f0a96e4f
JR
206%patch5 -p1
207%patch6 -p2
d1eea1c3 208%patch7 -p1
54d6358a 209%patch8 -p2
3c8a14c2 210%patch9 -p1
f0a96e4f 211%patch10 -p2
54d6358a 212
89390b0e
JB
213%{__sed} -i -e '1s,/usr/bin/env python,%{__python},' xpcom/typelib/xpt/tools/xpt.py xpcom/idl-parser/xpidl/xpidl.py
214
54d6358a 215%if %{with pgo}
89390b0e 216%{__sed} -i -e 's@__BROWSER_PATH__@"../../dist/bin/firefox-bin"@' build/automation.py.in
54d6358a 217%endif
29b16068 218
ea721d92 219%build
54d6358a 220cp -p %{_datadir}/automake/config.* build/autoconf
52befddb 221
08ccc3c5
JB
222cat << 'EOF' > .mozconfig
223. $topsrcdir/browser/config/mozconfig
52befddb 224
5086fbc4
JR
225%if %{with clang}
226export CC="clang"
227export CXX="clang++"
228%else
b3d69600
JP
229export CC="%{__cc}"
230export CXX="%{__cxx}"
959fde77 231%endif
e783e2fa 232export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
c7de1677 233export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
e783e2fa 234
2620301e 235mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu}
2620301e 236
f37c2ce5 237# Options for 'configure' (same as command-line options).
c5cd9be2 238ac_add_options --host=%{_target_platform}
52befddb 239ac_add_options --prefix=%{_prefix}
cf471ce5 240%if %{?debug:1}0
f37c2ce5 241ac_add_options --disable-optimize
52befddb 242ac_add_options --enable-debug
243ac_add_options --enable-debug-modules
f37c2ce5
ER
244ac_add_options --enable-debugger-info-modules
245ac_add_options --enable-crash-on-assert
52befddb 246%else
247ac_add_options --disable-debug
4c3cba6f 248ac_add_options --enable-optimize="%{rpmcflags}%{?with_pgo: -Os}"
52befddb 249%endif
d97ddc70 250ac_add_options --disable-strip
c5cd9be2 251ac_add_options --disable-install-strip
52befddb 252%if %{with tests}
253ac_add_options --enable-tests
a9334f16 254ac_add_options --enable-mochitest
c4f9bb37 255%else
54d6358a
JR
256%if %{with pgo}
257ac_add_options --enable-tests
258%else
52befddb 259ac_add_options --disable-tests
54d6358a 260%endif
c4f9bb37 261%endif
c5cd9be2 262ac_add_options --disable-crashreporter
c5cd9be2 263ac_add_options --disable-gconf
a9334f16 264ac_add_options --disable-necko-wifi
f37c2ce5 265ac_add_options --disable-updater
7d0bd05d 266ac_add_options --enable-alsa
a9334f16
JB
267ac_add_options --enable-chrome-format=omni
268ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2}
08ccc3c5 269ac_add_options --enable-extensions=default
c5cd9be2 270ac_add_options --enable-readline
a9334f16 271ac_add_options --enable-safe-browsing
08ccc3c5 272%{?with_shared_js:ac_add_options --enable-shared-js}
2a673919 273ac_add_options --enable-startup-notification
52befddb 274ac_add_options --enable-system-cairo
c5cd9be2 275ac_add_options --enable-system-ffi
d97ddc70 276ac_add_options --enable-system-hunspell
dfdf0ac8 277ac_add_options --enable-system-sqlite
c5cd9be2 278ac_add_options --enable-url-classifier
89390b0e 279%{?with_official:ac_add_options --enable-official-branding}
c5cd9be2 280ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
f37c2ce5 281ac_add_options --with-distribution-id=org.pld-linux
2a673919 282ac_add_options --with-pthreads
d97ddc70 283ac_add_options --with-system-bz2
edc68de2 284ac_add_options --with%{!?with_system_icu:out}-system-icu
2620301e 285ac_add_options --with-system-jpeg
0fca8d8d
JB
286ac_add_options --with-system-libevent
287ac_add_options --with-system-libvpx
52befddb 288ac_add_options --with-system-nspr
f37c2ce5 289ac_add_options --with-system-nss
f37c2ce5 290ac_add_options --with-system-png
2620301e 291ac_add_options --with-system-zlib
c5cd9be2 292ac_add_options --with-x
52befddb 293EOF
33f81726 294
54d6358a
JR
295%if %{with pgo}
296D=$(( RANDOM % (200 - 100 + 1 ) + 5 ))
297/usr/bin/Xvfb :${D} &
298XVFB_PID=$!
299[ -n "$XVFB_PID" ] || exit 1
300export DISPLAY=:${D}
301%{__make} -j1 -f client.mk profiledbuild \
f0a96e4f 302 AUTOCONF=/usr/bin/autoconf2_13 \
54d6358a 303 DESTDIR=obj-%{_target_cpu}/dist \
54d6358a
JR
304 MOZ_MAKE_FLAGS="%{_smp_mflags}"
305kill $XVFB_PID
306%else
08ccc3c5 307%{__make} -j1 -f client.mk build \
f0a96e4f 308 AUTOCONF=/usr/bin/autoconf2_13 \
08ccc3c5 309 MOZ_MAKE_FLAGS="%{_smp_mflags}"
54d6358a 310%endif
ea721d92 311
312%install
313rm -rf $RPM_BUILD_ROOT
45f27404 314install -d \
f37c2ce5 315 $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \
c5cd9be2
JB
316 $RPM_BUILD_ROOT%{_desktopdir} \
317 $RPM_BUILD_ROOT%{_datadir}/%{name}/browser \
54d6358a 318 $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/plugins \
54d6358a 319 $RPM_BUILD_ROOT%{_includedir}/%{name} \
54d6358a 320 $RPM_BUILD_ROOT%{_pkgconfigdir}
75e09104 321
c5cd9be2 322%browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/browser/plugins
8bc15110 323
ae1a4597
JB
324OBJDIR=obj-%{_target_cpu}
325%{__make} -C ${OBJDIR}/browser/installer stage-package \
d541162e 326 DESTDIR=$RPM_BUILD_ROOT \
c5cd9be2 327 installdir=%{_libdir}/%{name} \
f37c2ce5 328 PKG_SKIP_STRIP=1
ea721d92 329
ae1a4597 330cp -aL ${OBJDIR}/dist/firefox/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
0fca8d8d 331
f86547d4 332# move arch independant ones to datadir
ae1a4597
JB
333%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/chrome
334%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/extensions
335%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/icons
336%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults
337%{__mv} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/{pref,preferences}
d97ddc70 338
c5cd9be2
JB
339ln -s ../../../share/%{name}/browser/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome
340ln -s ../../../share/%{name}/browser/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/defaults
8e79a8c3 341ln -s ../../../share/%{name}/browser/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions
c5cd9be2 342ln -s ../../../share/%{name}/browser/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons
f86547d4 343
f1613d3d 344%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
4d687af8
ER
345ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
346
54d6358a
JR
347sed 's,@LIBDIR@,%{_libdir},' %{SOURCE4} > $RPM_BUILD_ROOT%{_bindir}/firefox
348chmod 755 $RPM_BUILD_ROOT%{_bindir}/firefox
ea721d92 349
c5cd9be2 350# install icons and desktop file
89390b0e 351for i in 16 32 48 %{?with_official:22 24 256}; do
c5cd9be2 352 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps
ae1a4597 353 cp -a browser/branding/%{!?with_official:un}official/default${i}.png \
54d6358a 354 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps/firefox.png
c5cd9be2
JB
355done
356
96ef4151 357cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
ea721d92 358
c5cd9be2
JB
359# install our settings
360%if "%{pld_release}" == "ac"
361cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js
362%else
363cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js
364%endif
365
f37c2ce5 366cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
6d77929c 367#!/bin/sh
050f03d2 368umask 022
c5cd9be2 369rm -f %{_libdir}/%{name}/browser/components/{compreg,xpti}.dat
3eeab518 370
f37c2ce5
ER
371# it attempts to touch files in $HOME/.mozilla
372# beware if you run this with sudo!!!
373export HOME=$(mktemp -d)
374# also TMPDIR could be pointing to sudo user's homedir
375unset TMPDIR TMP || :
3eeab518 376
6162f349 377%{_libdir}/%{name}/firefox -register
3eeab518 378
56143477 379rm -rf $HOME
6d77929c 380EOF
82f606de 381chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
3eeab518 382
ae1a4597
JB
383# GeckoMediaPlugin API headers
384install -d $RPM_BUILD_ROOT%{_includedir}
385cp -pr dom/media/gmp/gmp-api $RPM_BUILD_ROOT%{_includedir}
386
6d77929c
JB
387%clean
388rm -rf $RPM_BUILD_ROOT
3eeab518 389
6d77929c 390%post
f37c2ce5 391%{_sbindir}/%{name}-chrome+xpcom-generate
4d9eecad 392%update_browser_plugins
c5cd9be2 393%update_icon_cache hicolor
96ef4151 394%update_desktop_database
4d9eecad
ER
395
396%postun
397if [ "$1" = 0 ]; then
398 %update_browser_plugins
c5cd9be2 399 %update_icon_cache hicolor
4d9eecad 400fi
ea0245e6 401
ea721d92 402%files
403%defattr(644,root,root,755)
f37c2ce5 404%attr(755,root,root) %{_bindir}/%{name}
f37c2ce5
ER
405%attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate
406
54d6358a
JR
407%{_desktopdir}/firefox.desktop
408%{_iconsdir}/hicolor/*/apps/firefox.png
c5cd9be2 409
4d9eecad
ER
410# browser plugins v2
411%{_browserpluginsconfdir}/browsers.d/%{name}.*
412%config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
413
c5cd9be2 414%dir %{_libdir}/%{name}/browser
c5cd9be2 415%dir %{_libdir}/%{name}/browser/plugins
54d6358a 416%dir %{_libdir}/%{name}/browser/features
c5cd9be2
JB
417
418%dir %{_datadir}/%{name}
419%dir %{_datadir}/%{name}/browser
8e79a8c3 420%dir %{_datadir}/%{name}/browser/extensions
c5cd9be2
JB
421%{_datadir}/%{name}/browser/chrome
422%{_datadir}/%{name}/browser/defaults
423%{_datadir}/%{name}/browser/icons
2a673919 424
c5cd9be2 425# symlinks
8e79a8c3 426%{_libdir}/%{name}/browser/extensions
c5cd9be2
JB
427%{_libdir}/%{name}/browser/chrome
428%{_libdir}/%{name}/browser/icons
c5cd9be2 429%{_libdir}/%{name}/browser/defaults
2a673919 430
c5cd9be2
JB
431%attr(755,root,root) %{_libdir}/%{name}/firefox
432%attr(755,root,root) %{_libdir}/%{name}/firefox-bin
daa24698 433%attr(755,root,root) %{_libdir}/%{name}/pingsender
c5cd9be2 434%attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
2a673919 435%{_libdir}/%{name}/application.ini
8323a6a7 436%{_libdir}/%{name}/chrome.manifest
c5cd9be2
JB
437%{_libdir}/%{name}/browser/blocklist.xml
438%{_libdir}/%{name}/browser/chrome.manifest
c5cd9be2 439# the signature of the default theme
54d6358a 440%{_datadir}/%{name}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
c5cd9be2 441%{_libdir}/%{name}/browser/omni.ja
0fca8d8d 442
a7284ee8 443%{_libdir}/%{name}/browser/features/aushelper@mozilla.org.xpi
7bdd344a 444%{_libdir}/%{name}/browser/features/clicktoplay-rollout@mozilla.org.xpi
b1598639
JR
445%{_libdir}/%{name}/browser/features/e10srollout@mozilla.org.xpi
446%{_libdir}/%{name}/browser/features/firefox@getpocket.com.xpi
7bdd344a 447%{_libdir}/%{name}/browser/features/followonsearch@mozilla.com.xpi
daa24698 448%{_libdir}/%{name}/browser/features/screenshots@mozilla.org.xpi
7bdd344a
JR
449%{_libdir}/%{name}/browser/features/shield-recipe-client@mozilla.org.xpi
450%{_libdir}/%{name}/browser/features/webcompat@mozilla.org.xpi
54d6358a 451
82f606de 452%attr(755,root,root) %{_libdir}/%{name}/plugin-container
f99152f1 453%{_libdir}/%{name}/dictionaries
82f4f456 454
a7284ee8
JR
455%dir %{_libdir}/%{name}/fonts
456%{_libdir}/%{name}/fonts/EmojiOneMozilla.ttf
457
82f4f456
JB
458%dir %{_libdir}/%{name}/gmp-clearkey
459%dir %{_libdir}/%{name}/gmp-clearkey/0.1
76f62688 460%{_libdir}/%{name}/gmp-clearkey/0.1/manifest.json
82f4f456 461%attr(755,root,root) %{_libdir}/%{name}/gmp-clearkey/0.1/libclearkey.so
76f62688 462%{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat}
54d6358a 463
54d6358a
JR
464%dir %{_libdir}/%{name}
465%{_libdir}/%{name}/platform.ini
466%{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so}
467%attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
468%attr(755,root,root) %{_libdir}/%{name}/libxul.so
b1598639
JR
469%attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so
470%attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so
8323a6a7 471%attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
54d6358a
JR
472%{_libdir}/%{name}/dependentlibs.list
473%{_libdir}/%{name}/omni.ja
4264118a
JR
474%if %{with gtk3}
475%dir %{_libdir}/%{name}/gtk2
476%attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so
477%attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
478%endif
ae1a4597
JB
479
480%files -n gmp-api
481%defattr(644,root,root,755)
482%{_includedir}/gmp-api
This page took 0.200527 seconds and 4 git commands to generate.