]>
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_without 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 | ||
14 | # On updating version, grab CVE links from: | |
15 | # https://www.mozilla.org/security/known-vulnerabilities/firefox.html | |
16 | # Release Notes: | |
17 | # https://developer.mozilla.org/en-US/Firefox/Releases | |
18 | ||
19 | # The actual sqlite version (see RHBZ#480989): | |
20 | %define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR) | |
21 | ||
22 | %define nspr_ver 4.14 | |
23 | %define nss_ver 3.30.2 | |
24 | ||
25 | Summary: Firefox web browser | |
26 | Summary(hu.UTF-8): Firefox web böngésző | |
27 | Summary(pl.UTF-8): Firefox - przeglądarka WWW | |
28 | Name: firefox | |
29 | Version: 54.0.1 | |
30 | Release: 1 | |
31 | License: MPL v2.0 | |
32 | Group: X11/Applications/Networking | |
33 | Source0: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz | |
34 | # Source0-md5: bb6cc95056feba6acc487d773bc13e71 | |
35 | Source3: %{name}.desktop | |
36 | Source4: %{name}.sh | |
37 | Source5: vendor.js | |
38 | Source6: vendor-ac.js | |
39 | Patch0: idl-parser.patch | |
40 | Patch1: xulrunner-new-libxul.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: automake | |
53 | BuildRequires: autoconf2_13 | |
54 | BuildRequires: bzip2-devel | |
55 | BuildRequires: cairo-devel >= 1.10.2-5 | |
56 | BuildRequires: cargo | |
57 | BuildRequires: dbus-glib-devel >= 0.60 | |
58 | BuildRequires: fontconfig-devel >= 1:2.7.0 | |
59 | BuildRequires: freetype-devel >= 1:2.1.8 | |
60 | BuildRequires: gcc-c++ >= 6:4.4 | |
61 | BuildRequires: glib2-devel >= 1:2.22 | |
62 | BuildRequires: gstreamer-devel >= 1.0 | |
63 | BuildRequires: gstreamer-plugins-base-devel >= 1.0 | |
64 | %{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.18.0} | |
65 | %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.4.0} | |
66 | %{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1} | |
67 | BuildRequires: hunspell-devel >= 1.6.1 | |
68 | BuildRequires: libIDL-devel >= 0.8.0 | |
69 | # DECnet (dnprogs.spec), not dummy net (libdnet.spec) | |
70 | #BuildRequires: libdnet-devel | |
71 | BuildRequires: libevent-devel >= 1.4.7 | |
72 | # standalone libffi 3.0.9 or gcc's from 4.5(?)+ | |
73 | BuildRequires: libffi-devel >= 6:3.0.9 | |
74 | %{?with_system_icu:BuildRequires: libicu-devel >= 58.1} | |
75 | # requires libjpeg-turbo implementing at least libjpeg 6b API | |
76 | BuildRequires: libjpeg-devel >= 6b | |
77 | BuildRequires: libjpeg-turbo-devel | |
78 | BuildRequires: libpng(APNG)-devel >= 0.10 | |
79 | BuildRequires: libpng-devel >= 2:1.6.28 | |
80 | BuildRequires: libstdc++-devel >= 6:4.4 | |
81 | BuildRequires: libvpx-devel >= 1.5.0 | |
82 | BuildRequires: nspr-devel >= 1:%{nspr_ver} | |
83 | BuildRequires: nss-devel >= 1:%{nss_ver} | |
84 | BuildRequires: pango-devel >= 1:1.22.0 | |
85 | BuildRequires: pixman-devel >= 0.19.2 | |
86 | BuildRequires: perl-modules >= 5.004 | |
87 | BuildRequires: pkgconfig | |
88 | BuildRequires: pkgconfig(libffi) >= 3.0.9 | |
89 | BuildRequires: pulseaudio-devel | |
90 | BuildRequires: python-modules >= 1:2.5 | |
91 | %{?with_pgo:BuildRequires: python-modules-sqlite} | |
92 | BuildRequires: python-simplejson | |
93 | BuildRequires: python-virtualenv >= 15 | |
94 | BuildRequires: readline-devel | |
95 | BuildRequires: rpm >= 4.4.9-56 | |
96 | BuildRequires: rpmbuild(macros) >= 1.601 | |
97 | BuildRequires: rust | |
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 | |
118 | Requires: cairo >= 1.10.2-5 | |
119 | Requires: dbus-glib >= 0.60 | |
120 | Requires: desktop-file-utils | |
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} | |
125 | Requires: hicolor-icon-theme | |
126 | Requires: libjpeg-turbo | |
127 | Requires: libpng >= 2:1.6.28 | |
128 | Requires: libpng(APNG) >= 0.10 | |
129 | Requires: libvpx >= 1.5.0 | |
130 | Requires: myspell-common | |
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 | |
136 | Provides: xulrunner-libs = 2:%{version}-%{release} | |
137 | Provides: wwwbrowser | |
138 | Obsoletes: firefox-devel | |
139 | Obsoletes: firefox-libs | |
140 | Obsoletes: iceweasel | |
141 | Obsoletes: iceweasel-libs | |
142 | Obsoletes: mozilla-firebird | |
143 | Obsoletes: mozilla-firefox | |
144 | Obsoletes: mozilla-firefox-lang-en < 2.0.0.8-3 | |
145 | Obsoletes: mozilla-firefox-libs | |
146 | Obsoletes: xulrunner | |
147 | Obsoletes: xulrunner-gnome | |
148 | Obsoletes: xulrunner-libs | |
149 | Conflicts: firefox-lang-resources < %{version} | |
150 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
151 | ||
152 | %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+ | |
153 | ||
154 | # don't satisfy other packages | |
155 | %define _noautoprovfiles %{_libdir}/%{name} | |
156 | ||
157 | # and as we don't provide them, don't require either | |
158 | %define _noautoreq liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozjs.so libmozsandbox.so libxul.so | |
159 | ||
160 | %description | |
161 | Firefox is an open-source web browser, designed for standards | |
162 | compliance, performance and portability. | |
163 | ||
164 | %description -l hu.UTF-8 | |
165 | Firefox egy nyílt forrású webböngésző, hatékonyságra és | |
166 | hordozhatóságra tervezve. | |
167 | ||
168 | %description -l pl.UTF-8 | |
169 | Firefox jest przeglądarką WWW rozpowszechnianą zgodnie z ideami | |
170 | ruchu otwartego oprogramowania oraz tworzoną z myślą o zgodności ze | |
171 | standardami, wydajnością i przenośnością. | |
172 | ||
173 | %package -n gmp-api | |
174 | Summary: GeckoMediaPlugins API header files | |
175 | Summary(pl.UTF-8): Pliki nagłówkowe API GeckoMediaPlugins | |
176 | Group: Development/Libraries | |
177 | URL: https://wiki.mozilla.org/GeckoMediaPlugins | |
178 | # actually C++ compiler; STL is not even used | |
179 | Requires: libstdc++-devel | |
180 | ||
181 | %description -n gmp-api | |
182 | GeckoMediaPlugins API header files. | |
183 | ||
184 | %description -n gmp-api -l pl.UTF-8 | |
185 | Pliki nagłówkowe API GeckoMediaPlugins. | |
186 | ||
187 | %prep | |
188 | %setup -q | |
189 | ||
190 | # avoid using included headers (-I. is before HUNSPELL_CFLAGS) | |
191 | %{__rm} extensions/spellcheck/hunspell/src/{*.hxx,hunspell.h} | |
192 | # hunspell needed for factory including mozHunspell.h | |
193 | echo 'LOCAL_INCLUDES += $(MOZ_HUNSPELL_CFLAGS)' >> extensions/spellcheck/src/Makefile.in | |
194 | ||
195 | %patch0 -p2 | |
196 | %patch1 -p1 | |
197 | %patch2 -p2 | |
198 | %patch4 -p1 | |
199 | %patch5 -p1 | |
200 | %patch6 -p2 | |
201 | %patch7 -p1 | |
202 | %patch8 -p2 | |
203 | %patch9 -p1 | |
204 | %patch10 -p2 | |
205 | ||
206 | %{__sed} -i -e '1s,/usr/bin/env python,%{__python},' xpcom/typelib/xpt/tools/xpt.py xpcom/idl-parser/xpidl/xpidl.py | |
207 | ||
208 | %if %{with pgo} | |
209 | %{__sed} -i -e 's@__BROWSER_PATH__@"../../dist/bin/firefox-bin"@' build/automation.py.in | |
210 | %endif | |
211 | ||
212 | %build | |
213 | cp -p %{_datadir}/automake/config.* build/autoconf | |
214 | ||
215 | cat << 'EOF' > .mozconfig | |
216 | . $topsrcdir/browser/config/mozconfig | |
217 | ||
218 | export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64" | |
219 | export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64" | |
220 | ||
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 | |
234 | ac_add_options --enable-optimize="%{rpmcflags} -Os" | |
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 \ | |
307 | $RPM_BUILD_ROOT%{_includedir}/%{name} \ | |
308 | $RPM_BUILD_ROOT%{_pkgconfigdir} | |
309 | ||
310 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/browser/plugins | |
311 | ||
312 | OBJDIR=obj-%{_target_cpu} | |
313 | %{__make} -C ${OBJDIR}/browser/installer stage-package \ | |
314 | DESTDIR=$RPM_BUILD_ROOT \ | |
315 | installdir=%{_libdir}/%{name} \ | |
316 | PKG_SKIP_STRIP=1 | |
317 | ||
318 | cp -aL ${OBJDIR}/dist/firefox/* $RPM_BUILD_ROOT%{_libdir}/%{name}/ | |
319 | ||
320 | # move arch independant ones to datadir | |
321 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/chrome | |
322 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/extensions | |
323 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/icons | |
324 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults | |
325 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/{pref,preferences} | |
326 | ||
327 | ln -s ../../../share/%{name}/browser/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome | |
328 | ln -s ../../../share/%{name}/browser/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/defaults | |
329 | ln -s ../../../share/%{name}/browser/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions | |
330 | ln -s ../../../share/%{name}/browser/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons | |
331 | ||
332 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
333 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
334 | ||
335 | sed 's,@LIBDIR@,%{_libdir},' %{SOURCE4} > $RPM_BUILD_ROOT%{_bindir}/firefox | |
336 | chmod 755 $RPM_BUILD_ROOT%{_bindir}/firefox | |
337 | ||
338 | # install icons and desktop file | |
339 | for i in 16 32 48 %{?with_official:22 24 256}; do | |
340 | install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps | |
341 | cp -a browser/branding/%{!?with_official:un}official/default${i}.png \ | |
342 | $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps/firefox.png | |
343 | done | |
344 | ||
345 | cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
346 | ||
347 | # install our settings | |
348 | %if "%{pld_release}" == "ac" | |
349 | cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js | |
350 | %else | |
351 | cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js | |
352 | %endif | |
353 | ||
354 | cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate | |
355 | #!/bin/sh | |
356 | umask 022 | |
357 | rm -f %{_libdir}/%{name}/browser/components/{compreg,xpti}.dat | |
358 | ||
359 | # it attempts to touch files in $HOME/.mozilla | |
360 | # beware if you run this with sudo!!! | |
361 | export HOME=$(mktemp -d) | |
362 | # also TMPDIR could be pointing to sudo user's homedir | |
363 | unset TMPDIR TMP || : | |
364 | ||
365 | %{_libdir}/%{name}/firefox -register | |
366 | ||
367 | rm -rf $HOME | |
368 | EOF | |
369 | chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate | |
370 | ||
371 | # GeckoMediaPlugin API headers | |
372 | install -d $RPM_BUILD_ROOT%{_includedir} | |
373 | cp -pr dom/media/gmp/gmp-api $RPM_BUILD_ROOT%{_includedir} | |
374 | ||
375 | %clean | |
376 | rm -rf $RPM_BUILD_ROOT | |
377 | ||
378 | %post | |
379 | %{_sbindir}/%{name}-chrome+xpcom-generate | |
380 | %update_browser_plugins | |
381 | %update_icon_cache hicolor | |
382 | %update_desktop_database | |
383 | ||
384 | %postun | |
385 | if [ "$1" = 0 ]; then | |
386 | %update_browser_plugins | |
387 | %update_icon_cache hicolor | |
388 | fi | |
389 | ||
390 | %files | |
391 | %defattr(644,root,root,755) | |
392 | %attr(755,root,root) %{_bindir}/%{name} | |
393 | %attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate | |
394 | ||
395 | %{_desktopdir}/firefox.desktop | |
396 | %{_iconsdir}/hicolor/*/apps/firefox.png | |
397 | ||
398 | # browser plugins v2 | |
399 | %{_browserpluginsconfdir}/browsers.d/%{name}.* | |
400 | %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist | |
401 | ||
402 | %dir %{_libdir}/%{name}/browser | |
403 | %dir %{_libdir}/%{name}/browser/plugins | |
404 | %dir %{_libdir}/%{name}/browser/features | |
405 | ||
406 | %dir %{_datadir}/%{name} | |
407 | %dir %{_datadir}/%{name}/browser | |
408 | %dir %{_datadir}/%{name}/browser/extensions | |
409 | %{_datadir}/%{name}/browser/chrome | |
410 | %{_datadir}/%{name}/browser/defaults | |
411 | %{_datadir}/%{name}/browser/icons | |
412 | ||
413 | # symlinks | |
414 | %{_libdir}/%{name}/browser/extensions | |
415 | %{_libdir}/%{name}/browser/chrome | |
416 | %{_libdir}/%{name}/browser/icons | |
417 | %{_libdir}/%{name}/browser/defaults | |
418 | ||
419 | %attr(755,root,root) %{_libdir}/%{name}/firefox | |
420 | %attr(755,root,root) %{_libdir}/%{name}/firefox-bin | |
421 | %attr(755,root,root) %{_libdir}/%{name}/pingsender | |
422 | %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh | |
423 | %{_libdir}/%{name}/application.ini | |
424 | %{_libdir}/%{name}/chrome.manifest | |
425 | %{_libdir}/%{name}/browser/blocklist.xml | |
426 | %{_libdir}/%{name}/browser/chrome.manifest | |
427 | # the signature of the default theme | |
428 | %{_datadir}/%{name}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi | |
429 | %{_libdir}/%{name}/browser/omni.ja | |
430 | ||
431 | %{_libdir}/%{name}/browser/features/aushelper@mozilla.org.xpi | |
432 | %{_libdir}/%{name}/browser/features/e10srollout@mozilla.org.xpi | |
433 | %{_libdir}/%{name}/browser/features/firefox@getpocket.com.xpi | |
434 | %{_libdir}/%{name}/browser/features/webcompat@mozilla.org.xpi | |
435 | %{_libdir}/%{name}/browser/features/screenshots@mozilla.org.xpi | |
436 | ||
437 | %attr(755,root,root) %{_libdir}/%{name}/plugin-container | |
438 | %{_libdir}/%{name}/dictionaries | |
439 | ||
440 | %dir %{_libdir}/%{name}/fonts | |
441 | %{_libdir}/%{name}/fonts/EmojiOneMozilla.ttf | |
442 | ||
443 | %dir %{_libdir}/%{name}/gmp-clearkey | |
444 | %dir %{_libdir}/%{name}/gmp-clearkey/0.1 | |
445 | %{_libdir}/%{name}/gmp-clearkey/0.1/manifest.json | |
446 | %attr(755,root,root) %{_libdir}/%{name}/gmp-clearkey/0.1/libclearkey.so | |
447 | %{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat} | |
448 | ||
449 | %dir %{_libdir}/%{name} | |
450 | %{_libdir}/%{name}/platform.ini | |
451 | %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so} | |
452 | %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so | |
453 | %attr(755,root,root) %{_libdir}/%{name}/libxul.so | |
454 | %attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so | |
455 | %attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so | |
456 | %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so | |
457 | %{_libdir}/%{name}/dependentlibs.list | |
458 | %{_libdir}/%{name}/omni.ja | |
459 | %if %{with gtk3} | |
460 | %dir %{_libdir}/%{name}/gtk2 | |
461 | %attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so | |
462 | %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so | |
463 | %endif | |
464 | ||
465 | %files -n gmp-api | |
466 | %defattr(644,root,root,755) | |
467 | %{_includedir}/gmp-api |