74225448c7a12a0e1f9ab6b104fbe65b684deacd
[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_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
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:        49.0.2
29 Release:        1
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:  5afc916c83998aef07b1adae1db21cbc
34 Source3:        %{name}.desktop
35 Source4:        %{name}.sh
36 Source5:        vendor.js
37 Source6:        vendor-ac.js
38 Patch0:         idl-parser.patch
39 Patch1:         xulrunner-new-libxul.patch
40 Patch2:         xulrunner-paths.patch
41 Patch3:         xulrunner-pc.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:  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 %patch0 -p2
209 %patch1 -p1
210 %patch2 -p2
211 %patch3 -p1
212 %patch4 -p1
213 %patch5 -p1
214 %patch6 -p2
215 %patch7 -p1
216 %patch8 -p2
217 %patch9 -p1
218 %patch10 -p2
219
220 %{__sed} -i -e '1s,/usr/bin/env python,%{__python},' xpcom/typelib/xpt/tools/xpt.py xpcom/idl-parser/xpidl/xpidl.py
221
222 %if %{with pgo}
223 %{__sed} -i -e 's@__BROWSER_PATH__@"../../dist/bin/firefox-bin"@' build/automation.py.in
224 %endif
225
226 %build
227 cp -p %{_datadir}/automake/config.* build/autoconf
228
229 cat << 'EOF' > .mozconfig
230 . $topsrcdir/browser/config/mozconfig
231
232 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu}
233
234 # Options for 'configure' (same as command-line options).
235 ac_add_options --host=%{_target_platform}
236 ac_add_options --prefix=%{_prefix}
237 %if %{?debug:1}0
238 ac_add_options --disable-optimize
239 ac_add_options --enable-debug
240 ac_add_options --enable-debug-modules
241 ac_add_options --enable-debugger-info-modules
242 ac_add_options --enable-crash-on-assert
243 %else
244 ac_add_options --disable-debug
245 ac_add_options --enable-optimize="%{rpmcflags} -Os"
246 %endif
247 ac_add_options --disable-strip
248 ac_add_options --disable-install-strip
249 %if %{with tests}
250 ac_add_options --enable-tests
251 ac_add_options --enable-mochitest
252 %else
253 %if %{with pgo}
254 ac_add_options --enable-tests
255 %else
256 ac_add_options --disable-tests
257 %endif
258 %endif
259 ac_add_options --disable-crashreporter
260 ac_add_options --disable-gconf
261 ac_add_options --disable-gnomeui
262 ac_add_options --disable-necko-wifi
263 ac_add_options --disable-updater
264 ac_add_options --enable-chrome-format=omni
265 ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2}
266 ac_add_options --enable-extensions=default
267 ac_add_options --enable-gio
268 ac_add_options --enable-readline
269 ac_add_options --enable-safe-browsing
270 %{?with_shared_js:ac_add_options --enable-shared-js}
271 ac_add_options --enable-startup-notification
272 ac_add_options --enable-system-cairo
273 ac_add_options --enable-system-ffi
274 ac_add_options --enable-system-hunspell
275 ac_add_options --enable-system-sqlite
276 ac_add_options --enable-url-classifier
277 %{?with_official:ac_add_options --enable-official-branding}
278 ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
279 ac_add_options --with-distribution-id=org.pld-linux
280 ac_add_options --with-pthreads
281 ac_add_options --with-system-bz2
282 ac_add_options --with-system-icu
283 ac_add_options --with-system-jpeg
284 ac_add_options --with-system-libevent
285 ac_add_options --with-system-libvpx
286 ac_add_options --with-system-nspr
287 ac_add_options --with-system-nss
288 ac_add_options --with-system-png
289 ac_add_options --with-system-zlib
290 ac_add_options --with-x
291 EOF
292
293 %if %{with pgo}
294 D=$(( RANDOM % (200 - 100 + 1 ) + 5 ))
295 /usr/bin/Xvfb :${D} &
296 XVFB_PID=$!
297 [ -n "$XVFB_PID" ] || exit 1
298 export DISPLAY=:${D}
299 %{__make} -j1 -f client.mk profiledbuild \
300         AUTOCONF=/usr/bin/autoconf2_13 \
301         DESTDIR=obj-%{_target_cpu}/dist \
302         MOZ_MAKE_FLAGS="%{_smp_mflags}"
303 kill $XVFB_PID
304 %else
305 %{__make} -j1 -f client.mk build \
306         AUTOCONF=/usr/bin/autoconf2_13 \
307         MOZ_MAKE_FLAGS="%{_smp_mflags}"
308 %endif
309
310 %install
311 rm -rf $RPM_BUILD_ROOT
312 install -d \
313         $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \
314         $RPM_BUILD_ROOT%{_desktopdir} \
315         $RPM_BUILD_ROOT%{_datadir}/%{name}/browser \
316         $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/plugins \
317         $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/{lib,bin} \
318         $RPM_BUILD_ROOT%{_includedir}/%{name} \
319         $RPM_BUILD_ROOT%{_datadir}/idl/%{name} \
320         $RPM_BUILD_ROOT%{_pkgconfigdir}
321
322 %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/browser/plugins
323
324 cd obj-%{_target_cpu}
325 %{__make} -C browser/installer stage-package libxul.pc libxul-embedding.pc mozilla-js.pc mozilla-plugin.pc \
326         DESTDIR=$RPM_BUILD_ROOT \
327         installdir=%{_libdir}/%{name} \
328         INSTALL_SDK=1 \
329         PKG_SKIP_STRIP=1
330
331 cp -aL browser/installer/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
332 cp -aL dist/firefox/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
333 cp -aL dist/idl/* $RPM_BUILD_ROOT%{_datadir}/idl/%{name}
334 cp -aL dist/include/* $RPM_BUILD_ROOT%{_includedir}/%{name}
335 cp -aL dist/include/xpcom-config.h $RPM_BUILD_ROOT%{_libdir}/%{name}-devel
336 cp -aL dist/sdk/lib/* $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/lib
337 cp -aL dist/sdk/bin/* $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/bin
338 find $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk -name "*.pyc" | xargs rm -f
339
340 ln -s %{_libdir}/%{name} $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/bin
341 ln -s %{_includedir}/%{name} $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/include
342 ln -s %{_datadir}/idl/%{name} $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/idl
343 ln -s %{_libdir}/%{name}-devel/sdk/lib $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/lib
344
345 # replace copies with symlinks
346 %{?with_shared_js:ln -sf %{_libdir}/%{name}/libmozjs.so $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/lib/libmozjs.so}
347 ln -sf %{_libdir}/%{name}/libxul.so $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/lib/libxul.so
348 # temp fix for https://bugzilla.mozilla.org/show_bug.cgi?id=63955
349 chmod a+rx $RPM_BUILD_ROOT%{_libdir}/%{name}-devel/sdk/bin/xpt.py
350
351 # move arch independant ones to datadir
352 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/chrome
353 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/extensions
354 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/icons
355 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults
356 mv $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/{pref,preferences}
357
358 ln -s ../../../share/%{name}/browser/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/chrome
359 ln -s ../../../share/%{name}/browser/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/defaults
360 ln -s ../../../share/%{name}/browser/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/extensions
361 ln -s ../../../share/%{name}/browser/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/icons
362
363 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
364 ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
365
366 sed 's,@LIBDIR@,%{_libdir},' %{SOURCE4} > $RPM_BUILD_ROOT%{_bindir}/firefox
367 chmod 755 $RPM_BUILD_ROOT%{_bindir}/firefox
368
369 # install icons and desktop file
370 for i in 16 32 48 %{?with_official:22 24 256}; do
371         install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps
372         cp -a ../browser/branding/%{!?with_official:un}official/default${i}.png \
373                 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${i}x${i}/apps/firefox.png
374 done
375
376 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
377
378 # install our settings
379 %if "%{pld_release}" == "ac"
380 cp -a %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js
381 %else
382 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/%{name}/browser/defaults/preferences/vendor.js
383 %endif
384
385 # files created by firefox -register
386 touch $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/components/compreg.dat
387 touch $RPM_BUILD_ROOT%{_libdir}/%{name}/browser/components/xpti.dat
388
389 cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
390 #!/bin/sh
391 umask 022
392 rm -f %{_libdir}/%{name}/browser/components/{compreg,xpti}.dat
393
394 # it attempts to touch files in $HOME/.mozilla
395 # beware if you run this with sudo!!!
396 export HOME=$(mktemp -d)
397 # also TMPDIR could be pointing to sudo user's homedir
398 unset TMPDIR TMP || :
399
400 %{_libdir}/%{name}/firefox -register
401
402 rm -rf $HOME
403 EOF
404 chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
405
406 %clean
407 rm -rf $RPM_BUILD_ROOT
408
409 %post
410 %{_sbindir}/%{name}-chrome+xpcom-generate
411 %update_browser_plugins
412 %update_icon_cache hicolor
413 %update_desktop_database
414
415 %postun
416 if [ "$1" = 0 ]; then
417         %update_browser_plugins
418         %update_icon_cache hicolor
419 fi
420
421 %files
422 %defattr(644,root,root,755)
423 %attr(755,root,root) %{_bindir}/%{name}
424 %attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate
425
426 %{_desktopdir}/firefox.desktop
427 %{_iconsdir}/hicolor/*/apps/firefox.png
428
429 # browser plugins v2
430 %{_browserpluginsconfdir}/browsers.d/%{name}.*
431 %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
432
433 %dir %{_libdir}/%{name}/browser
434 %dir %{_libdir}/%{name}/browser/components
435 %dir %{_libdir}/%{name}/browser/plugins
436 %dir %{_libdir}/%{name}/browser/features
437
438 %dir %{_datadir}/%{name}
439 %dir %{_datadir}/%{name}/browser
440 %dir %{_datadir}/%{name}/browser/extensions
441 %{_datadir}/%{name}/browser/chrome
442 %{_datadir}/%{name}/browser/defaults
443 %{_datadir}/%{name}/browser/icons
444
445 # symlinks
446 %{_libdir}/%{name}/browser/extensions
447 %{_libdir}/%{name}/browser/chrome
448 %{_libdir}/%{name}/browser/icons
449 %{_libdir}/%{name}/browser/defaults
450
451 %attr(755,root,root) %{_libdir}/%{name}/firefox
452 %attr(755,root,root) %{_libdir}/%{name}/firefox-bin
453 %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
454 %{_libdir}/%{name}/application.ini
455 %{_libdir}/%{name}/browser/blocklist.xml
456 %{_libdir}/%{name}/browser/chrome.manifest
457 %{_libdir}/%{name}/browser/components/components.manifest
458 %attr(755,root,root) %{_libdir}/%{name}/browser/components/libbrowsercomps.so
459 # the signature of the default theme
460 %{_datadir}/%{name}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
461 %{_libdir}/%{name}/browser/omni.ja
462
463 %{_libdir}/%{name}/browser/features/e10srollout@mozilla.org.xpi
464 %{_libdir}/%{name}/browser/features/firefox@getpocket.com.xpi
465 %{_libdir}/%{name}/browser/features/webcompat@mozilla.org.xpi
466
467 # files created by firefox -register
468 %ghost %{_libdir}/%{name}/browser/components/compreg.dat
469 %ghost %{_libdir}/%{name}/browser/components/xpti.dat
470
471 %attr(755,root,root) %{_libdir}/%{name}/plugin-container
472 %{_libdir}/%{name}/dictionaries
473
474 %dir %{_libdir}/%{name}/gmp-clearkey
475 %dir %{_libdir}/%{name}/gmp-clearkey/0.1
476 %{_libdir}/%{name}/gmp-clearkey/0.1/clearkey.info
477 %attr(755,root,root) %{_libdir}/%{name}/gmp-clearkey/0.1/libclearkey.so
478
479 %files libs
480 %defattr(644,root,root,755)
481 %dir %{_libdir}/%{name}
482 %{_libdir}/%{name}/platform.ini
483 %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so}
484 %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
485 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
486 %attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so
487 %attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so
488 %{_libdir}/%{name}/dependentlibs.list
489 %{_libdir}/%{name}/omni.ja
490 %if %{with gtk3}
491 %dir %{_libdir}/%{name}/gtk2
492 %attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so
493 %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
494 %endif
495
496 %files devel
497 %defattr(644,root,root,755)
498 %{_includedir}/%{name}
499 %{_datadir}/idl/%{name}
500 %dir %{_libdir}/%{name}-devel
501 %{_libdir}/%{name}-devel/bin
502 %{_libdir}/%{name}-devel/idl
503 %{_libdir}/%{name}-devel/lib
504 %{_libdir}/%{name}-devel/include
505 %{_libdir}/%{name}-devel/*.h
506 %dir %{_libdir}/%{name}-devel/sdk
507 %{_libdir}/%{name}-devel/sdk/lib
508 %dir %{_libdir}/%{name}-devel/sdk/bin
509 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/header.py
510 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/run-mozilla.sh
511 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/typelib.py
512 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/xpcshell
513 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/xpidl.py
514 %{_libdir}/%{name}-devel/sdk/bin/xpidllex.py
515 %{_libdir}/%{name}-devel/sdk/bin/xpidlyacc.py
516 %attr(755,root,root) %{_libdir}/%{name}-devel/sdk/bin/xpt.py
517 %{_libdir}/%{name}-devel/sdk/bin/ply
518
519 %{_pkgconfigdir}/libxul.pc
520 %{_pkgconfigdir}/libxul-embedding.pc
521 %{_pkgconfigdir}/mozilla-js.pc
522 %{_pkgconfigdir}/mozilla-plugin.pc
This page took 0.079876 seconds and 2 git commands to generate.