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