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