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