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