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