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