8d54e5b579497ef13c9fc07d6bb0a1f75f1acf1e
[packages/firefox52-esr.git] / firefox52-esr.spec
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_with     system_icu      # build with system ICU (disabled due to crashes with system icu 58.2)
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         _basename       firefox
24 %define         nspr_ver        4.13.1
25 %define         nss_ver         3.28.5
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
31 Version:        52.5.3
32 Release:        1
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
36 # Source0-md5:  83cb993309bb62021b9772bf1f71571f
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
44 Patch3:         xulrunner-pc.patch
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
55 BuildRequires:  automake
56 BuildRequires:  autoconf2_13
57 BuildRequires:  bzip2-devel
58 BuildRequires:  cairo-devel >= 1.10.2-5
59 %{?with_clang:BuildRequires:    clang}
60 BuildRequires:  dbus-glib-devel >= 0.60
61 BuildRequires:  fontconfig-devel >= 1:2.7.0
62 BuildRequires:  freetype-devel >= 1:2.1.8
63 %{!?with_clang:BuildRequires:   gcc-c++ >= 6:4.4}
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
88 BuildRequires:  pixman-devel >= 0.19.2
89 BuildRequires:  perl-modules >= 5.004
90 BuildRequires:  pkgconfig
91 BuildRequires:  pkgconfig(libffi) >= 3.0.9
92 BuildRequires:  pulseaudio-devel
93 BuildRequires:  python-modules >= 1:2.5
94 %{?with_pgo:BuildRequires:      python-modules-sqlite}
95 BuildRequires:  python-simplejson
96 BuildRequires:  python-virtualenv >= 15
97 BuildRequires:  readline-devel
98 BuildRequires:  rpm >= 4.4.9-56
99 BuildRequires:  rpmbuild(macros) >= 1.601
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:       desktop-file-utils
121 Requires:       hicolor-icon-theme
122 Requires:       myspell-common
123 Requires:       %{name}-libs = %{version}-%{release}
124 Provides:       wwwbrowser
125 Obsoletes:      iceweasel
126 Obsoletes:      mozilla-firebird
127 Obsoletes:      mozilla-firefox
128 Obsoletes:      mozilla-firefox-lang-en < 2.0.0.8-3
129 Obsoletes:      mozilla-firefox-libs
130 Obsoletes:      xulrunner
131 Obsoletes:      xulrunner-gnome
132 Conflicts:      firefox-lang-resources < %{version}
133 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
134
135 %define         filterout_cpp           -D_FORTIFY_SOURCE=[0-9]+
136
137 # don't satisfy other packages
138 %define         _noautoprovfiles        %{_libdir}/%{name}
139
140 # and as we don't provide them, don't require either
141 %define         _noautoreq      liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozjs.so libmozsandbox.so libxul.so
142
143 %description
144 Firefox is an open-source web browser, designed for standards
145 compliance, performance and portability.
146
147 %description -l hu.UTF-8
148 Firefox egy nyílt forrású webböngésző, hatékonyságra és
149 hordozhatóságra tervezve.
150
151 %description -l pl.UTF-8
152 Firefox jest przeglądarką WWW rozpowszechnianą zgodnie z ideami
153 ruchu otwartego oprogramowania oraz tworzoną z myślą o zgodności ze
154 standardami, wydajnością i przenośnością.
155
156 %package libs
157 Summary:        Firefox shared libraries
158 Summary(pl.UTF-8):      Biblioteki współdzielone Firefoksa
159 Group:          X11/Libraries
160 Requires:       cairo >= 1.10.2-5
161 Requires:       dbus-glib >= 0.60
162 Requires:       fontconfig-libs >= 1:2.7.0
163 Requires:       glib2 >= 1:2.22
164 %{!?with_gtk3:Requires: gtk+2 >= 2:2.18.0}
165 %{?with_gtk3:Requires:  gtk+3 >= 3.4.0}
166 Requires:       libjpeg-turbo
167 Requires:       libpng >= 2:1.6.25
168 Requires:       libpng(APNG) >= 0.10
169 Requires:       libvpx >= 1.5.0
170 Requires:       nspr >= 1:%{nspr_ver}
171 Requires:       nss >= 1:%{nss_ver}
172 Requires:       pango >= 1:1.22.0
173 Requires:       sqlite3 >= %{sqlite_build_version}
174 Requires:       startup-notification >= 0.8
175 Provides:       xulrunner-libs = 2:%{version}-%{release}
176 Obsoletes:      iceweasel-libs
177 Obsoletes:      xulrunner-libs < 2:%{version}
178
179 %description libs
180 XULRunner shared libraries.
181
182 %description libs -l pl.UTF-8
183 Biblioteki współdzielone XULRunnera.
184
185 %package devel
186 Summary:        Headers for developing programs that will use Firefox
187 Summary(pl.UTF-8):      Pliki nagłówkowe do tworzenia programów używających Firefoksa
188 Group:          X11/Development/Libraries
189 Requires:       %{name}-libs = %{version}-%{release}
190 Requires:       nspr-devel >= 1:%{nspr_ver}
191 Requires:       nss-devel >= 1:%{nss_ver}
192 Requires:       python-ply
193 Provides:       xulrunner-devel = 2:%{version}-%{release}
194 Obsoletes:      iceweasel-devel
195 Obsoletes:      mozilla-devel
196 Obsoletes:      mozilla-firefox-devel
197 Obsoletes:      seamonkey-devel
198 Obsoletes:      xulrunner-devel
199
200 %description devel
201 Firefox development package.
202
203 %description devel -l pl.UTF-8
204 Pakiet programistyczny Firefoksa.
205
206 %prep
207 %setup -q -n %{_basename}-%{version}esr
208
209 # avoid using included headers (-I. is before HUNSPELL_CFLAGS)
210 %{__rm} extensions/spellcheck/hunspell/src/{*.hxx,hunspell.h}
211 # hunspell needed for factory including mozHunspell.h
212 echo 'LOCAL_INCLUDES += $(MOZ_HUNSPELL_CFLAGS)' >> extensions/spellcheck/src/Makefile.in
213
214 %patch0 -p2
215 %patch1 -p1
216 %patch2 -p2
217 %patch3 -p1
218 %patch4 -p1
219 %patch5 -p1
220 %patch6 -p2
221 %patch7 -p1
222 %patch8 -p2
223 %patch9 -p1
224 %patch10 -p2
225
226 %{__sed} -i -e '1s,/usr/bin/env python,%{__python},' xpcom/typelib/xpt/tools/xpt.py xpcom/idl-parser/xpidl/xpidl.py
227
228 %if %{with pgo}
229 %{__sed} -i -e 's@__BROWSER_PATH__@"../../dist/bin/firefox-bin"@' build/automation.py.in
230 %endif
231
232 %build
233 cp -p %{_datadir}/automake/config.* build/autoconf
234
235 cat << 'EOF' > .mozconfig
236 . $topsrcdir/browser/config/mozconfig
237
238 %if %{with clang}
239 export CC="clang"
240 export CXX="clang++"
241 %else
242 export CC="%{__cc}"
243 export CXX="%{__cxx}"
244 %endif
245
246 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu}
247
248 # Options for 'configure' (same as command-line options).
249 ac_add_options --host=%{_target_platform}
250 ac_add_options --prefix=%{_prefix}
251 %if %{?debug:1}0
252 ac_add_options --disable-optimize
253 ac_add_options --enable-debug
254 ac_add_options --enable-debug-modules
255 ac_add_options --enable-debugger-info-modules
256 ac_add_options --enable-crash-on-assert
257 %else
258 ac_add_options --disable-debug
259 ac_add_options --enable-optimize="%{rpmcflags}"
260 %endif
261 ac_add_options --disable-strip
262 ac_add_options --disable-install-strip
263 %if %{with tests}
264 ac_add_options --enable-tests
265 ac_add_options --enable-mochitest
266 %else
267 %if %{with pgo}
268 ac_add_options --enable-tests
269 %else
270 ac_add_options --disable-tests
271 %endif
272 %endif
273 ac_add_options --disable-crashreporter
274 ac_add_options --disable-gconf
275 ac_add_options --disable-gnomeui
276 ac_add_options --disable-necko-wifi
277 ac_add_options --disable-updater
278 ac_add_options --enable-alsa
279 ac_add_options --enable-chrome-format=omni
280 ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2}
281 ac_add_options --enable-extensions=default
282 ac_add_options --enable-gio
283 ac_add_options --enable-readline
284 ac_add_options --enable-safe-browsing
285 %{?with_shared_js:ac_add_options --enable-shared-js}
286 ac_add_options --enable-startup-notification
287 ac_add_options --enable-system-cairo
288 ac_add_options --enable-system-ffi
289 ac_add_options --enable-system-hunspell
290 ac_add_options --enable-system-sqlite
291 ac_add_options --enable-url-classifier
292 %{?with_official:ac_add_options --enable-official-branding}
293 ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
294 ac_add_options --with-distribution-id=org.pld-linux
295 ac_add_options --with-pthreads
296 ac_add_options --with-system-bz2
297 ac_add_options --with%{!?with_system_icu:out}-system-icu
298 ac_add_options --with-system-jpeg
299 ac_add_options --with-system-libevent
300 ac_add_options --with-system-libvpx
301 ac_add_options --with-system-nspr
302 ac_add_options --with-system-nss
303 ac_add_options --with-system-png
304 ac_add_options --with-system-zlib
305 ac_add_options --with-x
306 EOF
307
308 %if %{with pgo}
309 D=$(( RANDOM % (200 - 100 + 1 ) + 5 ))
310 /usr/bin/Xvfb :${D} &
311 XVFB_PID=$!
312 [ -n "$XVFB_PID" ] || exit 1
313 export DISPLAY=:${D}
314 %{__make} -j1 -f client.mk profiledbuild \
315         AUTOCONF=/usr/bin/autoconf2_13 \
316         DESTDIR=obj-%{_target_cpu}/dist \
317         MOZ_MAKE_FLAGS="%{_smp_mflags}"
318 kill $XVFB_PID
319 %else
320 %{__make} -j1 -f client.mk build \
321         AUTOCONF=/usr/bin/autoconf2_13 \
322         MOZ_MAKE_FLAGS="%{_smp_mflags}"
323 %endif
324
325 %install
326 rm -rf $RPM_BUILD_ROOT
327 install -d \
328         $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \
329         $RPM_BUILD_ROOT%{_desktopdir} \
330         $RPM_BUILD_ROOT%{_datadir}/%{name}/browser \
331         $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/plugins \
332         $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/{lib,bin} \
333         $RPM_BUILD_ROOT%{_includedir}/%{name} \
334         $RPM_BUILD_ROOT%{_datadir}/idl/%{name} \
335         $RPM_BUILD_ROOT%{_pkgconfigdir}
336
337 %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/browser/plugins
338
339 cd obj-%{_target_cpu}
340 %{__make} -C browser/installer stage-package libxul.pc libxul-embedding.pc mozilla-js.pc mozilla-plugin.pc \
341         DESTDIR=$RPM_BUILD_ROOT \
342         INSTALL_SDK=1 \
343         PKG_SKIP_STRIP=1 \
344         idldir=%{_datadir}/idl/%{name} \
345         includedir=%{_includedir}/%{name} \
346         installdir=%{_libdir}/%{name} \
347         sdkdir=%{_libdir}/%{name}-devel
348
349 cp -aL browser/installer/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
350 cp -aL dist/firefox/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
351 cp -aL dist/idl/* $RPM_BUILD_ROOT%{_datadir}/idl/%{name}
352 cp -aL dist/include/* $RPM_BUILD_ROOT%{_includedir}/%{name}
353 cp -aL dist/include/xpcom-config.h $RPM_BUILD_ROOT%{_libdir}/%{name}-devel
354 cp -aL dist/sdk/lib/* $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/lib
355 cp -aL dist/sdk/bin/* $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/bin
356 find $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk -name "*.pyc" | xargs rm -f
357
358 ln -s %{_libdir}/%{name} $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/bin
359 ln -s %{_includedir}/%{name} $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/include
360 ln -s %{_datadir}/idl/%{name} $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/idl
361 ln -s %{_libdir}/%{name}-devel/sdk/lib $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/lib
362
363 # replace copies with symlinks
364 %{?with_shared_js:ln -sf %{_libdir}/%{name}/libmozjs.so $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/lib/libmozjs.so}
365 ln -sf %{_libdir}/%{name}/libxul.so $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/lib/libxul.so
366 # temp fix for https://bugzilla.mozilla.org/show_bug.cgi?id=63955
367 chmod a+rx $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/bin/xpt.py
368
369 # move arch independant ones to datadir
370 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/chrome
371 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/extensions
372 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/icons
373 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults
374 %{__mv} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/{pref,preferences}
375
376 ln -s ../../../share/%{name}/browser/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome
377 ln -s ../../../share/%{name}/browser/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/defaults
378 ln -s ../../../share/%{name}/browser/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions
379 ln -s ../../../share/%{name}/browser/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons
380
381 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
382 ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
383
384 sed 's,@LIBDIR@,%{_libdir},;s,@NAME@,%{name},' %{SOURCE4} > $RPM_BUILD_ROOT%{_bindir}/%{name}
385 chmod 755 $RPM_BUILD_ROOT%{_bindir}/%{name}
386
387 # install icons and desktop file
388 for i in 16 32 48 %{?with_official:22 24 256}; do
389         install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps
390         cp -a ../browser/branding/%{!?with_official:un}official/default${i}.png \
391                 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps/%{name}.png
392 done
393
394 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
395
396 # install our settings
397 %if "%{pld_release}" == "ac"
398 cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js
399 %else
400 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js
401 %endif
402
403 cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
404 #!/bin/sh
405 umask 022
406 rm -f %{_libdir}/%{name}/browser/components/{compreg,xpti}.dat
407
408 # it attempts to touch files in $HOME/.mozilla
409 # beware if you run this with sudo!!!
410 export HOME=$(mktemp -d)
411 # also TMPDIR could be pointing to sudo user's homedir
412 unset TMPDIR TMP || :
413
414 %{_libdir}/%{name}/firefox -register
415
416 rm -rf $HOME
417 EOF
418 chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
419
420 %clean
421 rm -rf $RPM_BUILD_ROOT
422
423 %post
424 %{_sbindir}/%{name}-chrome+xpcom-generate
425 %update_browser_plugins
426 %update_icon_cache hicolor
427 %update_desktop_database
428
429 %postun
430 if [ "$1" = 0 ]; then
431         %update_browser_plugins
432         %update_icon_cache hicolor
433 fi
434
435 %files
436 %defattr(644,root,root,755)
437 %attr(755,root,root) %{_bindir}/%{name}
438 %attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate
439
440 %{_desktopdir}/%{name}.desktop
441 %{_iconsdir}/hicolor/*/apps/%{name}.png
442
443 # browser plugins v2
444 %{_browserpluginsconfdir}/browsers.d/%{name}.*
445 %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
446
447 %dir %{_libdir}/%{name}/browser
448 %dir %{_libdir}/%{name}/browser/plugins
449 %dir %{_libdir}/%{name}/browser/features
450
451 %dir %{_datadir}/%{name}
452 %dir %{_datadir}/%{name}/browser
453 %dir %{_datadir}/%{name}/browser/extensions
454 %{_datadir}/%{name}/browser/chrome
455 %{_datadir}/%{name}/browser/defaults
456 %{_datadir}/%{name}/browser/icons
457
458 # symlinks
459 %{_libdir}/%{name}/browser/extensions
460 %{_libdir}/%{name}/browser/chrome
461 %{_libdir}/%{name}/browser/icons
462 %{_libdir}/%{name}/browser/defaults
463
464 %attr(755,root,root) %{_libdir}/%{name}/firefox
465 %attr(755,root,root) %{_libdir}/%{name}/firefox-bin
466 %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
467 %{_libdir}/%{name}/application.ini
468 %{_libdir}/%{name}/chrome.manifest
469 %{_libdir}/%{name}/browser/blocklist.xml
470 %{_libdir}/%{name}/browser/chrome.manifest
471 # the signature of the default theme
472 %{_datadir}/%{name}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
473 %{_libdir}/%{name}/browser/omni.ja
474
475 %{_libdir}/%{name}/browser/features/aushelper@mozilla.org.xpi
476 %{_libdir}/%{name}/browser/features/e10srollout@mozilla.org.xpi
477 %{_libdir}/%{name}/browser/features/firefox@getpocket.com.xpi
478 %{_libdir}/%{name}/browser/features/webcompat@mozilla.org.xpi
479
480 %attr(755,root,root) %{_libdir}/%{name}/plugin-container
481 %{_libdir}/%{name}/dictionaries
482
483 %dir %{_libdir}/%{name}/fonts
484 %{_libdir}/%{name}/fonts/EmojiOneMozilla.ttf
485
486 %dir %{_libdir}/%{name}/gmp-clearkey
487 %dir %{_libdir}/%{name}/gmp-clearkey/0.1
488 %{_libdir}/%{name}/gmp-clearkey/0.1/clearkey.info
489 %attr(755,root,root) %{_libdir}/%{name}/gmp-clearkey/0.1/libclearkey.so
490 %{!?with_system_icu:%{_libdir}/%{name}//icudt58l.dat}
491
492 %files libs
493 %defattr(644,root,root,755)
494 %dir %{_libdir}/%{name}
495 %{_libdir}/%{name}/platform.ini
496 %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so}
497 %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
498 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
499 %attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so
500 %attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so
501 %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
502 %{_libdir}/%{name}/dependentlibs.list
503 %{_libdir}/%{name}/omni.ja
504 %if %{with gtk3}
505 %dir %{_libdir}/%{name}/gtk2
506 %attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so
507 %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
508 %endif
509
510 %files devel
511 %defattr(644,root,root,755)
512 %{_includedir}/%{name}
513 %{_datadir}/idl/%{name}
514 %dir %{_libdir}/%{name}-devel
515 %{_libdir}/%{name}-devel/bin
516 %{_libdir}/%{name}-devel/idl
517 %{_libdir}/%{name}-devel/lib
518 %{_libdir}/%{name}-devel/include
519 %{_libdir}/%{name}-devel/*.h
520 %dir %{_libdir}/%{name}-devel/sdk
521 %{_libdir}/%{name}-devel/sdk/lib
522 %dir %{_libdir}/%{name}-devel/sdk/bin
523 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/header.py
524 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/run-mozilla.sh
525 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/typelib.py
526 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/xpcshell
527 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/xpidl.py
528 %{_libdir}/%{name}-devel/sdk/bin/xpidllex.py
529 %{_libdir}/%{name}-devel/sdk/bin/xpidlyacc.py
530 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/xpt.py
531 %{_libdir}/%{name}-devel/sdk/bin/ply
532
533 %{_pkgconfigdir}/libxul.pc
534 %{_pkgconfigdir}/libxul-embedding.pc
535 %{_pkgconfigdir}/mozilla-js.pc
536 %{_pkgconfigdir}/mozilla-plugin.pc
This page took 0.089467 seconds and 2 git commands to generate.