]>
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.13.1 | |
23 | %define nss_ver 3.29.5 | |
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 | |
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: bd9eccc20354ad3e69e0265f0a7f5c90 | |
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 | %prep | |
174 | %setup -q | |
175 | ||
176 | # avoid using included headers (-I. is before HUNSPELL_CFLAGS) | |
177 | %{__rm} extensions/spellcheck/hunspell/src/{*.hxx,hunspell.h} | |
178 | # hunspell needed for factory including mozHunspell.h | |
179 | echo 'LOCAL_INCLUDES += $(MOZ_HUNSPELL_CFLAGS)' >> extensions/spellcheck/src/Makefile.in | |
180 | ||
181 | %patch0 -p2 | |
182 | %patch1 -p1 | |
183 | %patch2 -p2 | |
184 | %patch4 -p1 | |
185 | %patch5 -p1 | |
186 | %patch6 -p2 | |
187 | %patch7 -p1 | |
188 | %patch8 -p2 | |
189 | %patch9 -p1 | |
190 | %patch10 -p2 | |
191 | ||
192 | %{__sed} -i -e '1s,/usr/bin/env python,%{__python},' xpcom/typelib/xpt/tools/xpt.py xpcom/idl-parser/xpidl/xpidl.py | |
193 | ||
194 | %if %{with pgo} | |
195 | %{__sed} -i -e 's@__BROWSER_PATH__@"../../dist/bin/firefox-bin"@' build/automation.py.in | |
196 | %endif | |
197 | ||
198 | %build | |
199 | cp -p %{_datadir}/automake/config.* build/autoconf | |
200 | ||
201 | cat << 'EOF' > .mozconfig | |
202 | . $topsrcdir/browser/config/mozconfig | |
203 | ||
204 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu} | |
205 | ||
206 | # Options for 'configure' (same as command-line options). | |
207 | ac_add_options --host=%{_target_platform} | |
208 | ac_add_options --prefix=%{_prefix} | |
209 | %if %{?debug:1}0 | |
210 | ac_add_options --disable-optimize | |
211 | ac_add_options --enable-debug | |
212 | ac_add_options --enable-debug-modules | |
213 | ac_add_options --enable-debugger-info-modules | |
214 | ac_add_options --enable-crash-on-assert | |
215 | %else | |
216 | ac_add_options --disable-debug | |
217 | ac_add_options --enable-optimize="%{rpmcflags} -Os" | |
218 | %endif | |
219 | ac_add_options --disable-strip | |
220 | ac_add_options --disable-install-strip | |
221 | %if %{with tests} | |
222 | ac_add_options --enable-tests | |
223 | ac_add_options --enable-mochitest | |
224 | %else | |
225 | %if %{with pgo} | |
226 | ac_add_options --enable-tests | |
227 | %else | |
228 | ac_add_options --disable-tests | |
229 | %endif | |
230 | %endif | |
231 | ac_add_options --disable-crashreporter | |
232 | ac_add_options --disable-gconf | |
233 | ac_add_options --disable-gnomeui | |
234 | ac_add_options --disable-necko-wifi | |
235 | ac_add_options --disable-updater | |
236 | ac_add_options --enable-alsa | |
237 | ac_add_options --enable-chrome-format=omni | |
238 | ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2} | |
239 | ac_add_options --enable-extensions=default | |
240 | ac_add_options --enable-gio | |
241 | ac_add_options --enable-readline | |
242 | ac_add_options --enable-safe-browsing | |
243 | %{?with_shared_js:ac_add_options --enable-shared-js} | |
244 | ac_add_options --enable-startup-notification | |
245 | ac_add_options --enable-system-cairo | |
246 | ac_add_options --enable-system-ffi | |
247 | ac_add_options --enable-system-hunspell | |
248 | ac_add_options --enable-system-sqlite | |
249 | ac_add_options --enable-url-classifier | |
250 | %{?with_official:ac_add_options --enable-official-branding} | |
251 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} | |
252 | ac_add_options --with-distribution-id=org.pld-linux | |
253 | ac_add_options --with-pthreads | |
254 | ac_add_options --with-system-bz2 | |
255 | ac_add_options --with%{!?with_system_icu:out}-system-icu | |
256 | ac_add_options --with-system-jpeg | |
257 | ac_add_options --with-system-libevent | |
258 | ac_add_options --with-system-libvpx | |
259 | ac_add_options --with-system-nspr | |
260 | ac_add_options --with-system-nss | |
261 | ac_add_options --with-system-png | |
262 | ac_add_options --with-system-zlib | |
263 | ac_add_options --with-x | |
264 | EOF | |
265 | ||
266 | %if %{with pgo} | |
267 | D=$(( RANDOM % (200 - 100 + 1 ) + 5 )) | |
268 | /usr/bin/Xvfb :${D} & | |
269 | XVFB_PID=$! | |
270 | [ -n "$XVFB_PID" ] || exit 1 | |
271 | export DISPLAY=:${D} | |
272 | %{__make} -j1 -f client.mk profiledbuild \ | |
273 | AUTOCONF=/usr/bin/autoconf2_13 \ | |
274 | DESTDIR=obj-%{_target_cpu}/dist \ | |
275 | MOZ_MAKE_FLAGS="%{_smp_mflags}" | |
276 | kill $XVFB_PID | |
277 | %else | |
278 | %{__make} -j1 -f client.mk build \ | |
279 | AUTOCONF=/usr/bin/autoconf2_13 \ | |
280 | MOZ_MAKE_FLAGS="%{_smp_mflags}" | |
281 | %endif | |
282 | ||
283 | %install | |
284 | rm -rf $RPM_BUILD_ROOT | |
285 | install -d \ | |
286 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \ | |
287 | $RPM_BUILD_ROOT%{_desktopdir} \ | |
288 | $RPM_BUILD_ROOT%{_datadir}/%{name}/browser \ | |
289 | $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/plugins \ | |
290 | $RPM_BUILD_ROOT%{_includedir}/%{name} \ | |
291 | $RPM_BUILD_ROOT%{_pkgconfigdir} | |
292 | ||
293 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/browser/plugins | |
294 | ||
295 | cd obj-%{_target_cpu} | |
296 | %{__make} -C browser/installer stage-package \ | |
297 | DESTDIR=$RPM_BUILD_ROOT \ | |
298 | installdir=%{_libdir}/%{name} \ | |
299 | PKG_SKIP_STRIP=1 | |
300 | ||
301 | cp -aL dist/firefox/* $RPM_BUILD_ROOT%{_libdir}/%{name}/ | |
302 | ||
303 | # move arch independant ones to datadir | |
304 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/chrome | |
305 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/extensions | |
306 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/icons | |
307 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults | |
308 | mv $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/{pref,preferences} | |
309 | ||
310 | ln -s ../../../share/%{name}/browser/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome | |
311 | ln -s ../../../share/%{name}/browser/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/defaults | |
312 | ln -s ../../../share/%{name}/browser/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions | |
313 | ln -s ../../../share/%{name}/browser/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons | |
314 | ||
315 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
316 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
317 | ||
318 | sed 's,@LIBDIR@,%{_libdir},' %{SOURCE4} > $RPM_BUILD_ROOT%{_bindir}/firefox | |
319 | chmod 755 $RPM_BUILD_ROOT%{_bindir}/firefox | |
320 | ||
321 | # install icons and desktop file | |
322 | for i in 16 32 48 %{?with_official:22 24 256}; do | |
323 | install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps | |
324 | cp -a ../browser/branding/%{!?with_official:un}official/default${i}.png \ | |
325 | $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps/firefox.png | |
326 | done | |
327 | ||
328 | cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
329 | ||
330 | # install our settings | |
331 | %if "%{pld_release}" == "ac" | |
332 | cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js | |
333 | %else | |
334 | cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js | |
335 | %endif | |
336 | ||
337 | cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate | |
338 | #!/bin/sh | |
339 | umask 022 | |
340 | rm -f %{_libdir}/%{name}/browser/components/{compreg,xpti}.dat | |
341 | ||
342 | # it attempts to touch files in $HOME/.mozilla | |
343 | # beware if you run this with sudo!!! | |
344 | export HOME=$(mktemp -d) | |
345 | # also TMPDIR could be pointing to sudo user's homedir | |
346 | unset TMPDIR TMP || : | |
347 | ||
348 | %{_libdir}/%{name}/firefox -register | |
349 | ||
350 | rm -rf $HOME | |
351 | EOF | |
352 | chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate | |
353 | ||
354 | %clean | |
355 | rm -rf $RPM_BUILD_ROOT | |
356 | ||
357 | %post | |
358 | %{_sbindir}/%{name}-chrome+xpcom-generate | |
359 | %update_browser_plugins | |
360 | %update_icon_cache hicolor | |
361 | %update_desktop_database | |
362 | ||
363 | %postun | |
364 | if [ "$1" = 0 ]; then | |
365 | %update_browser_plugins | |
366 | %update_icon_cache hicolor | |
367 | fi | |
368 | ||
369 | %files | |
370 | %defattr(644,root,root,755) | |
371 | %attr(755,root,root) %{_bindir}/%{name} | |
372 | %attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate | |
373 | ||
374 | %{_desktopdir}/firefox.desktop | |
375 | %{_iconsdir}/hicolor/*/apps/firefox.png | |
376 | ||
377 | # browser plugins v2 | |
378 | %{_browserpluginsconfdir}/browsers.d/%{name}.* | |
379 | %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist | |
380 | ||
381 | %dir %{_libdir}/%{name}/browser | |
382 | %dir %{_libdir}/%{name}/browser/plugins | |
383 | %dir %{_libdir}/%{name}/browser/features | |
384 | ||
385 | %dir %{_datadir}/%{name} | |
386 | %dir %{_datadir}/%{name}/browser | |
387 | %dir %{_datadir}/%{name}/browser/extensions | |
388 | %{_datadir}/%{name}/browser/chrome | |
389 | %{_datadir}/%{name}/browser/defaults | |
390 | %{_datadir}/%{name}/browser/icons | |
391 | ||
392 | # symlinks | |
393 | %{_libdir}/%{name}/browser/extensions | |
394 | %{_libdir}/%{name}/browser/chrome | |
395 | %{_libdir}/%{name}/browser/icons | |
396 | %{_libdir}/%{name}/browser/defaults | |
397 | ||
398 | %attr(755,root,root) %{_libdir}/%{name}/firefox | |
399 | %attr(755,root,root) %{_libdir}/%{name}/firefox-bin | |
400 | %attr(755,root,root) %{_libdir}/%{name}/pingsender | |
401 | %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh | |
402 | %{_libdir}/%{name}/application.ini | |
403 | %{_libdir}/%{name}/chrome.manifest | |
404 | %{_libdir}/%{name}/browser/blocklist.xml | |
405 | %{_libdir}/%{name}/browser/chrome.manifest | |
406 | # the signature of the default theme | |
407 | %{_datadir}/%{name}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi | |
408 | %{_libdir}/%{name}/browser/omni.ja | |
409 | ||
410 | %{_libdir}/%{name}/browser/features/aushelper@mozilla.org.xpi | |
411 | %{_libdir}/%{name}/browser/features/e10srollout@mozilla.org.xpi | |
412 | %{_libdir}/%{name}/browser/features/firefox@getpocket.com.xpi | |
413 | %{_libdir}/%{name}/browser/features/webcompat@mozilla.org.xpi | |
414 | %{_libdir}/%{name}/browser/features/screenshots@mozilla.org.xpi | |
415 | ||
416 | %attr(755,root,root) %{_libdir}/%{name}/plugin-container | |
417 | %{_libdir}/%{name}/dictionaries | |
418 | ||
419 | %dir %{_libdir}/%{name}/fonts | |
420 | %{_libdir}/%{name}/fonts/EmojiOneMozilla.ttf | |
421 | ||
422 | %dir %{_libdir}/%{name}/gmp-clearkey | |
423 | %dir %{_libdir}/%{name}/gmp-clearkey/0.1 | |
424 | %{_libdir}/%{name}/gmp-clearkey/0.1/manifest.json | |
425 | %attr(755,root,root) %{_libdir}/%{name}/gmp-clearkey/0.1/libclearkey.so | |
426 | %{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat} | |
427 | ||
428 | %dir %{_libdir}/%{name} | |
429 | %{_libdir}/%{name}/platform.ini | |
430 | %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so} | |
431 | %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so | |
432 | %attr(755,root,root) %{_libdir}/%{name}/libxul.so | |
433 | %attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so | |
434 | %attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so | |
435 | %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so | |
436 | %{_libdir}/%{name}/dependentlibs.list | |
437 | %{_libdir}/%{name}/omni.ja | |
438 | %if %{with gtk3} | |
439 | %dir %{_libdir}/%{name}/gtk2 | |
440 | %attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so | |
441 | %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so | |
442 | %endif |