2 # - separate spec for enigmail
3 # - build with system mozldap
6 %bcond_without enigmail # don't build enigmail - GPG/PGP support
7 %bcond_without gnomeui # disable gnomeui support
8 %bcond_without gnome # alias for gnomeui
9 %bcond_without ldap # disable e-mail address lookups in LDAP directories
10 %bcond_without lightning # disable Sunbird/Lightning calendar
11 %bcond_with xulrunner # system xulrunner
12 %bcond_with crashreporter # report crashes to crash-stats.mozilla.com
15 %undefine with_gnomeui
18 %if 0%{?_enable_debug_packages} != 1
19 %undefine crashreporter
22 %define enigmail_ver 1.5.0
23 %define nspr_ver 4.9.3
24 %define nss_ver 3.14.1
26 %define xulrunner_ver 2:17.0
28 %if %{without xulrunner}
29 # The actual sqlite version (see RHBZ#480989):
30 %define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR)
33 Summary: Icedove - email client
34 Summary(pl.UTF-8): Icedove - klient poczty
38 License: MPL 1.1 or GPL v2+ or LGPL v2.1+
39 Group: X11/Applications/Networking
40 Source0: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/thunderbird-%{version}.source.tar.bz2
41 # Source0-md5: 9b7f15fbc672745571d47a3c0e227ca1
42 Source1: http://www.mozilla-enigmail.org/download/source/enigmail-%{enigmail_ver}.tar.gz
43 # Source1-md5: af4b3534417f32dc201765e4de6ecc86
44 Source2: %{name}-branding.tar.bz2
45 # Source2-md5: 2da351522bdd7f4a3bd8aaff4c776976
46 Source3: %{name}-rm_nonfree.sh
47 Source4: %{name}.desktop
49 Patch0: %{name}-branding.patch
50 Patch1: %{name}-enigmail-shared.patch
51 Patch2: %{name}-system-xulrunner.patch
52 Patch3: %{name}-fonts.patch
53 Patch4: %{name}-install.patch
54 Patch5: %{name}-hunspell.patch
55 Patch6: %{name}-prefs.patch
56 Patch7: system-mozldap.patch
57 Patch8: %{name}-makefile.patch
58 Patch9: system-cairo.patch
59 Patch10: %{name}-extensiondir.patch
60 Patch11: crashreporter.patch
61 Patch12: no-subshell.patch
62 # Edit patch below and restore --system-site-packages when system virtualenv gets 1.7 upgrade
63 Patch13: system-virtualenv.patch
64 Patch14: gyp-slashism.patch
65 URL: http://www.pld-linux.org/Packages/Icedove
66 BuildRequires: GConf2-devel >= 1.2.1
67 BuildRequires: alsa-lib-devel
68 BuildRequires: automake
69 BuildRequires: bzip2-devel
70 BuildRequires: cairo-devel >= 1.10
71 BuildRequires: dbus-glib-devel >= 0.60
72 BuildRequires: freetype-devel >= 1:2.1.8
73 BuildRequires: glib2-devel >= 2.0
74 BuildRequires: gtk+2-devel >= 2:2.10.0
75 BuildRequires: hunspell-devel
76 BuildRequires: libIDL-devel >= 0.8.0
77 %{?with_gnomeui:BuildRequires: libgnome-devel >= 2.0}
78 %{?with_gnomeui:BuildRequires: libgnome-keyring-devel}
79 %{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0}
80 BuildRequires: libiw-devel
81 # requires libjpeg-turbo implementing at least libjpeg 6b API
82 BuildRequires: libjpeg-devel >= 6b
83 BuildRequires: libjpeg-turbo-devel
84 BuildRequires: libnotify-devel >= 0.4
85 BuildRequires: libpng-devel >= 1.4.1
86 BuildRequires: libstdc++-devel
87 BuildRequires: nspr-devel >= 1:%{nspr_ver}
88 BuildRequires: nss-devel >= 1:%{nss_ver}
89 BuildRequires: pango-devel >= 1:1.14.0
90 BuildRequires: perl-base >= 1:5.6
91 BuildRequires: pkgconfig
92 BuildRequires: python >= 1:2.5
93 BuildRequires: sed >= 4.0
94 BuildRequires: sqlite3-devel >= 3.7.4
95 BuildRequires: startup-notification-devel >= 0.8
96 BuildRequires: xorg-lib-libXext-devel
97 BuildRequires: xorg-lib-libXinerama-devel
98 BuildRequires: xorg-lib-libXt-devel
101 %if %{with xulrunner}
102 BuildRequires: xulrunner-devel >= %{xulrunner_ver}
104 Requires: myspell-common
105 Requires: nspr >= 1:%{nspr_ver}
106 Requires: nss >= 1:%{nss_ver}
107 Requires: sqlite3 >= %{sqlite_build_version}
109 Requires(post): mktemp >= 1.5-18
110 %if %{with xulrunner}
111 %requires_eq_to xulrunner xulrunner-devel
113 Requires: libjpeg-turbo
114 Obsoletes: mozilla-thunderbird
115 Obsoletes: mozilla-thunderbird-dictionary-en-US
116 Conflicts: icedove-lang-resources < %{version}
117 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
119 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
121 # iceweasel/icedove/iceape provide their own versions
122 %define _noautoprovfiles %{_libdir}/%{name}/components
123 %if %{without xulrunner}
124 # we don't want these to satisfy packages depending on xulrunner
125 %define _noautoprov libmozalloc.so libxpcom.so libxul.so
126 # and as we don't provide them, don't require either
127 %define _noautoreq libmozalloc.so libxpcom.so libxul.so
130 %define topdir %{_builddir}/%{name}-%{version}
131 %define objdir %{topdir}/obj-%{_target_cpu}
134 Icedove is an open-source, fast and portable email client.
136 %description -l pl.UTF-8
137 Icedove jest mającym otwarte źródła, szybkim i przenośnym klientem
140 %package addon-lightning
141 Summary: An integrated calendar for Icedove
142 Summary(pl.UTF-8): Zintegrowany kalendarz dla Icedove
143 License: MPL 1.1 or GPL v2+ or LGPL v2.1+
144 Group: Applications/Networking
145 Requires: %{name} = %{version}-%{release}
147 %description addon-lightning
148 Lightning is an calendar extension to Icedove email client.
150 %description addon-lightning -l pl.UTF-8
151 Lightning to rozszerzenie do klienta poczty Icedove dodające
152 funkcjonalność kalendarza.
154 %package addon-enigmail
155 Summary: Extension for the authentication and encryption features provided by GnuPG
156 Summary(pl.UTF-8): Rozszerzenie do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
158 Group: Applications/Networking
159 URL: http://enigmail.mozdev.org/
160 Requires: %{name} = %{version}-%{release}
162 Obsoletes: mozilla-thunderbird-addon-enigmail
164 %description addon-enigmail
165 Enigmail is an extension to the Icedove mail client which allows users
166 to access the authentication and encryption features provided by
170 - Encrypt/sign mail when sending, decrypt/authenticate received mail
171 - Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
172 - Per-Account based encryption and signing defaults
173 - Per-Recipient rules for automated key selection, and
174 enabling/disabling encryption and signing
175 - OpenPGP key management interface
177 %description addon-enigmail -l pl.UTF-8
178 Enigmail to rozszerzenie klienta pocztowego Icedove pozwalające
179 użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego
183 - szyfrowanie/podpisywanie poczty przy wysyłaniu,
184 odszyfrowywanie/uwierzytelnianie poczty odebranej
185 - obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
186 - ustawienia domyślne szyfrowania i podpisywania dla każdego konta
187 - reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
188 podpisywania dla każdego adresata
189 - interfejs do zarządzania kluczami OpenPGP
193 mv comm-release mozilla
196 %{?with_enigmail:%{__gzip} -dc %{SOURCE1} | %{__tar} -xf - -C mailnews/extensions}
199 %{?with_enigmail:%patch1 -p1}
200 %{?with_xulrunner:%patch2 -p1}
215 cp -f %{_datadir}/automake/config.* mozilla/build/autoconf
216 cp -f %{_datadir}/automake/config.* mozilla/nsprpub/build/autoconf
217 cp -f %{_datadir}/automake/config.* ldap/sdks/c-sdk/config/autoconf
219 cat << EOF > .mozconfig
220 mk_add_options MOZ_OBJDIR=%{objdir}
222 export CFLAGS="%{rpmcflags}"
223 export CXXFLAGS="%{rpmcflags}"
225 %if %{with crashreporter}
226 export MOZ_DEBUG_SYMBOLS=1
229 # Options for 'configure' (same as command-line options).
230 ac_add_options --prefix=%{_prefix}
231 ac_add_options --exec-prefix=%{_exec_prefix}
232 ac_add_options --bindir=%{_bindir}
233 ac_add_options --sbindir=%{_sbindir}
234 ac_add_options --sysconfdir=%{_sysconfdir}
235 ac_add_options --datadir=%{_datadir}
236 ac_add_options --includedir=%{_includedir}
237 ac_add_options --libdir=%{_libdir}
238 ac_add_options --libexecdir=%{_libexecdir}
239 ac_add_options --localstatedir=%{_localstatedir}
240 ac_add_options --sharedstatedir=%{_sharedstatedir}
241 ac_add_options --mandir=%{_mandir}
242 ac_add_options --infodir=%{_infodir}
244 ac_add_options --disable-optimize
245 ac_add_options --enable-debug
246 ac_add_options --enable-debug-modules
247 ac_add_options --enable-debugger-info-modules
248 ac_add_options --enable-crash-on-assert
250 ac_add_options --disable-debug
251 ac_add_options --disable-debug-modules
252 ac_add_options --disable-logging
253 ac_add_options --enable-optimize="%{rpmcflags} -Os"
255 ac_add_options --disable-strip
256 ac_add_options --disable-strip-libs
258 ac_add_options --enable-tests
260 ac_add_options --disable-tests
262 ac_add_options --enable-gio
264 ac_add_options --enable-gnomeui
266 ac_add_options --disable-gnomeui
268 ac_add_options --disable-gnomevfs
270 ac_add_options --enable-ldap
271 ac_add_options --with-system-ldap
273 ac_add_options --disable-ldap
275 %if %{with crashreporter}
276 ac_add_options --enable-crashreporter
278 ac_add_options --disable-crashreporter
280 ac_add_options --disable-xterm-updates
281 ac_add_options --enable-postscript
282 %if %{with lightning}
283 ac_add_options --enable-calendar
285 ac_add_options --disable-calendar
287 ac_add_options --disable-installer
288 ac_add_options --disable-updater
289 ac_add_options --disable-xprint
290 ac_add_options --disable-permissions
291 ac_add_options --disable-pref-extensions
292 ac_add_options --enable-canvas
293 ac_add_options --enable-crypto
294 ac_add_options --enable-mathml
295 ac_add_options --enable-pango
296 ac_add_options --enable-reorder
297 ac_add_options --enable-startup-notification
298 ac_add_options --enable-svg
299 ac_add_options --enable-system-cairo
300 ac_add_options --enable-system-hunspell
301 ac_add_options --enable-system-sqlite
302 ac_add_options --enable-xft
303 ac_add_options --enable-application=mail
304 ac_add_options --enable-default-toolkit=cairo-gtk2
305 ac_add_options --enable-xinerama
306 ac_add_options --with-distribution-id=org.pld-linux
307 ac_add_options --with-branding=icedove/branding
308 %if %{with xulrunner}
309 ac_add_options --enable-shared-js
310 ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
311 ac_add_options --with-system-libxul
313 ac_add_options --with-pthreads
314 ac_add_options --with-system-bz2
315 ac_add_options --with-system-jpeg
316 ac_add_options --with-system-nspr
317 ac_add_options --with-system-nss
318 ac_add_options --with-system-png
319 ac_add_options --with-system-zlib
320 ac_add_options --enable-single-profile
321 ac_add_options --disable-profilesharing
322 ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
325 %{__make} -j1 -f client.mk build \
327 MOZ_MAKE_FLAGS="%{?_smp_mflags}" \
332 %if %{with crashreporter}
333 # create debuginfo for crash-stats.mozilla.com
334 %{__make} -j1 -C obj-%{_target_cpu} buildsymbols
338 cd mailnews/extensions/enigmail
339 ./makemake -r -o %{objdir}
340 %{__make} -C %{objdir}/mailnews/extensions/enigmail \
345 %{__make} -C %{objdir}/mailnews/extensions/enigmail xpi \
352 rm -rf $RPM_BUILD_ROOT
353 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
356 %{__make} -C mail/installer stage-package \
357 DESTDIR=$RPM_BUILD_ROOT \
358 MOZ_PKG_DIR=%{_libdir}/%{name} \
361 %if %{with xulrunner}
362 # needed to find mozilla runtime
363 ln -s ../xulrunner $RPM_BUILD_ROOT%{_libdir}/%{name}/xulrunner
366 # Enable crash reporter for Thunderbird application
367 %if %{with crashreporter}
368 %{__sed} -i -e 's/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/' $RPM_BUILD_ROOT%{_libdir}/%{name}/application.ini
370 # Add debuginfo for crash-stats.mozilla.com
371 install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name}
372 cp -a mozilla/dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name}
375 # copy manually lightning files, somewhy they are not installed by make
376 cp -a mozilla/dist/bin/extensions/calendar-timezones@mozilla.org \
377 mozilla/dist/bin/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} \
378 $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions
380 # move arch independant ones to datadir
381 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
382 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
383 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp
384 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/modules $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
385 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins
386 ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
387 ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
388 ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp
389 ln -s ../../share/%{name}/modules $RPM_BUILD_ROOT%{_libdir}/%{name}/modules
390 ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins
391 %if %{without xulrunner}
392 mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res
393 ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res
396 # dir for arch independant extensions besides arch dependant extensions
397 # see mozilla/xpcom/build/nsXULAppAPI.h
398 # XRE_SYS_LOCAL_EXTENSION_PARENT_DIR and XRE_SYS_SHARE_EXTENSION_PARENT_DIR
399 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions
401 %if %{without xulrunner}
402 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
403 ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
404 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation
405 ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation
408 %{__sed} -e "s|%MOZAPPDIR%|%{_libdir}/%{name}|" \
409 -e "s|%MOZ_APP_DISPLAYNAME%|Icedove|" \
410 %{topdir}/mozilla/mozilla/build/unix/mozilla.in > $RPM_BUILD_ROOT%{_libdir}/%{name}/icedove
412 %{__sed} -e 's,@LIBDIR@,%{_libdir},' %{SOURCE5} > $RPM_BUILD_ROOT%{_bindir}/icedove
413 ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/thunderbird
414 ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/mozilla-thunderbird
416 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
417 cp -p %{topdir}/mozilla/icedove/branding/content/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
419 # files created by regxpcom -register in post
420 touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat
421 touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat
422 cat << 'EOF' > $RPM_BUILD_ROOT%{_libdir}/%{name}/register
425 # make temporary HOME, as it attempts to touch files in $HOME/.mozilla
426 # dangerous if you run this with sudo with keep_env += HOME
427 # also TMPDIR could be pointing to sudo user's homedir so we reset that too.
429 %{__rm} -f %{_libdir}/%{name}/components/{compreg,xpti}.dat
430 TMPDIR= TMP= HOME=$t %{_libdir}/%{name}/icedove -register
433 chmod a+rx $RPM_BUILD_ROOT%{_libdir}/%{name}/register
436 ext_dir=$RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
437 install -d $ext_dir/{chrome,components,defaults/preferences,modules}
439 cp -rfLp chrome/enigmail.jar $ext_dir/chrome
440 cp -rfLp components/enig* $ext_dir/components
441 cp -rfLp components/libenigmime.so $ext_dir/components
442 cp -rfLp defaults/preferences/enigmail.js $ext_dir/defaults/preferences
443 cp -rfLp modules/{commonFuncs,enigmailCommon,keyManagement,pipeConsole,subprocess}.jsm $ext_dir/modules
444 cp -rfLp modules/{subprocess_worker_unix,subprocess_worker_win}.js $ext_dir/modules
446 cp -p %{topdir}/mozilla/mailnews/extensions/enigmail/package/install.rdf $ext_dir
447 cp -p %{topdir}/mozilla/mailnews/extensions/enigmail/package/chrome.manifest $ext_dir/chrome.manifest
450 # never package these. always remove
452 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{freebl3,nss3,nssckbi,nssdbm3,nssutil3,smime3,softokn3,ssl3}.*
454 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{nspr4,plc4,plds4}.so
456 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap,ssldap}60.so
458 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/distribution/extensions/tbtestpilot@labs.mozilla.com.xpi
461 rm -rf $RPM_BUILD_ROOT
464 if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then
465 mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave}
467 for d in chrome defaults icons isp modules res searchplugins; do
468 if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then
469 install -d %{_datadir}/%{name}
470 mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d
476 %{_libdir}/%{name}/register || :
479 %defattr(644,root,root,755)
480 %attr(755,root,root) %{_bindir}/icedove
481 %attr(755,root,root) %{_bindir}/mozilla-thunderbird
482 %attr(755,root,root) %{_bindir}/thunderbird
483 %dir %{_libdir}/%{name}
484 %{_libdir}/%{name}/application.ini
485 %{_libdir}/%{name}/blocklist.xml
486 %{_libdir}/%{name}/chrome.manifest
487 %dir %{_libdir}/%{name}/components
488 %{_libdir}/%{name}/components/*.js
489 %{_libdir}/%{name}/components/*.xpt
490 %{_libdir}/%{name}/components/components.manifest
491 %{_libdir}/%{name}/components/interfaces.manifest
492 %attr(755,root,root) %{_libdir}/%{name}/*.sh
493 %attr(755,root,root) %{_libdir}/%{name}/*-bin
494 %attr(755,root,root) %{_libdir}/%{name}/icedove
495 %attr(755,root,root) %{_libdir}/%{name}/register
496 %if %{without xulrunner}
497 %{_libdir}/%{name}/platform.ini
498 %{_libdir}/%{name}/greprefs.js
499 %attr(755,root,root) %{_libdir}/%{name}/components/*.so
500 %attr(755,root,root) %{_libdir}/%{name}/libmozalloc.so
501 %attr(755,root,root) %{_libdir}/%{name}/libxpcom.so
502 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
503 %attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client
504 %attr(755,root,root) %{_libdir}/%{name}/plugin-container
508 %{_libdir}/%{name}/chrome
509 %{_libdir}/%{name}/defaults
510 %{_libdir}/%{name}/isp
511 %{_libdir}/%{name}/modules
512 %{_libdir}/%{name}/searchplugins
513 %if %{with xulrunner}
514 %{_libdir}/%{name}/xulrunner
516 %{_libdir}/%{name}/dictionaries
517 %{_libdir}/%{name}/hyphenation
518 %{_libdir}/%{name}/res
521 %{_pixmapsdir}/icedove.png
522 %{_desktopdir}/icedove.desktop
524 %dir %{_datadir}/%{name}
525 %{_datadir}/%{name}/chrome
526 %{_datadir}/%{name}/defaults
527 %{_datadir}/%{name}/extensions
528 %{_datadir}/%{name}/isp
529 %{_datadir}/%{name}/modules
531 %exclude %{_datadir}/%{name}/modules/commonFuncs.jsm
532 %exclude %{_datadir}/%{name}/modules/enigmailCommon.jsm
533 %exclude %{_datadir}/%{name}/modules/keyManagement.jsm
534 %exclude %{_datadir}/%{name}/modules/pipeConsole.jsm
535 %exclude %{_datadir}/%{name}/modules/subprocess.jsm
536 %exclude %{_datadir}/%{name}/modules/subprocess_worker_unix.js
537 %exclude %{_datadir}/%{name}/modules/subprocess_worker_win.js
539 %{_datadir}/%{name}/searchplugins
540 %if %{without xulrunner}
541 %{_datadir}/%{name}/res
544 %if %{with crashreporter}
545 %attr(755,root,root) %{_libdir}/%{name}/crashreporter
546 %{_libdir}/%{name}/crashreporter.ini
547 %{_libdir}/%{name}/Throbber-small.gif
550 %dir %{_libdir}/%{name}/extensions
551 %{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
553 # files created by regxpcom -register
554 %ghost %{_libdir}/%{name}/components/compreg.dat
555 %ghost %{_libdir}/%{name}/components/xpti.dat
557 %if %{with lightning}
558 %files addon-lightning
559 %defattr(644,root,root,755)
560 %dir %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
561 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/application.ini
562 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome
563 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest
564 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/defaults
565 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/install.rdf
566 %dir %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components
567 %attr(755,root,root) %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.so
568 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.js
569 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.manifest
570 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.xpt
571 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules
572 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js
573 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones.sqlite
574 %{_libdir}/%{name}/extensions/calendar-timezones@mozilla.org
578 %files addon-enigmail
579 %defattr(644,root,root,755)
580 %dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}
581 %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults
582 %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome
583 %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest
584 %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf
585 %dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components
586 %attr(755,root,root) %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.so
587 %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.xpt
588 %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.js
589 %dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules
590 %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/*.jsm
591 %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/*.js