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