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