]> git.pld-linux.org Git - packages/thunderbird.git/blame - icedove.spec
- BR: alsa-lib-devel, bzip2-devel, libiw-devel, libnotify-devel
[packages/thunderbird.git] / icedove.spec
CommitLineData
c4ddd260 1# TODO:
c4ddd260 2# - separate spec for enigmail
283702b9 3# - fix icedove (building) and installing nss/nspr libs!
283702b9 4# - build with system mozldap
91bac034
ER
5# - about dialog broken:
6#XML Parsing Error: undefined entity
7#Location: chrome://messenger/content/aboutDialog.xul
8#Line Number 27, Column 37: <description id="copyright">&logoTrademark;</description>
9#------------------------------------^
c4ddd260 10#
44be9ed4 11# Conditional builds
12%bcond_without enigmail # don't build enigmail - GPG/PGP support
13%bcond_without gnomeui # disable gnomeui support
14%bcond_without gnomevfs # disable GNOME comp. (gconf+libgnome+gnomevfs) and gnomevfs ext.
15%bcond_without gnome # disable all GNOME components (gnome+gnomeui+gnomevfs)
16%bcond_without ldap # disable e-mail address lookups in LDAP directories
6578c165 17%bcond_without lightning # disable sunbird calendar
765a3a27
ER
18%bcond_with xulrunner # build with xulrunner
19%bcond_with crashreporter # report crashes to crash-stats.mozilla.com
88149483 20
44be9ed4 21%if %{without gnome}
22%undefine with_gnomeui
23%undefine with_gnomevfs
24%endif
88149483 25
765a3a27
ER
26%if %{?_enable_debug_packages} != 1
27%undefine crashreporter
28%endif
29
f4aadbdb 30%define enigmail_ver 1.1.2
44be9ed4 31
7d981f69
ER
32%if %{without xulrunner}
33# The actual sqlite version (see RHBZ#480989):
34%define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR)
35%endif
36
44be9ed4 37Summary: Icedove - email client
38Summary(pl.UTF-8): Icedove - klient poczty
39Name: icedove
ecf04393 40Version: 3.1.2
765a3a27 41Release: 0.10
44be9ed4 42License: MPL 1.1 or GPL v2+ or LGPL v2.1+
75c0f419 43Group: X11/Applications/Networking
cadfb931 44Source0: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/thunderbird-%{version}.source.tar.bz2
ecf04393 45# Source0-md5: 48e80576a7af70e64d30a5162364525a
44be9ed4 46Source1: http://www.mozilla-enigmail.org/download/source/enigmail-%{enigmail_ver}.tar.gz
f4aadbdb 47# Source1-md5: 7d329d5e8afbbb28214ca1995beb09c9
44be9ed4 48Source2: %{name}-branding.tar.bz2
fff49dda 49# Source2-md5: 85fdf877e2f1bc41329d8086ef5cf0f1
44be9ed4 50Source3: %{name}-rm_nonfree.sh
51Source4: %{name}.desktop
52Source5: %{name}.sh
44be9ed4 53Patch0: %{name}-branding.patch
faa5c89d
SP
54Patch1: %{name}-enigmail-shared.patch
55Patch2: %{name}-gcc.patch
56Patch3: %{name}-fonts.patch
57Patch4: %{name}-install.patch
5e9bb798 58Patch5: %{name}-hunspell.patch
faa5c89d 59Patch6: %{name}-prefs.patch
9a743685 60Patch7: system-mozldap.patch
a85e0ecb 61Patch8: %{name}-makefile.patch
ca336c77 62Patch9: %{name}-libpng.patch
ccc206fe 63Patch10: %{name}-extensiondir.patch
765a3a27 64Patch11: crashreporter.patch
4922c320 65URL: http://www.pld-linux.org/Packages/Icedove
44be9ed4 66%{?with_gnomevfs:BuildRequires: GConf2-devel >= 1.2.1}
51a3b6db 67BuildRequires: alsa-lib-devel
44be9ed4 68BuildRequires: automake
51a3b6db 69BuildRequires: bzip2-devel
44be9ed4 70BuildRequires: freetype-devel >= 1:2.1.8
71%{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.0}
72BuildRequires: gtk+2-devel >= 1:2.0.0
5e9bb798 73BuildRequires: hunspell-devel
44be9ed4 74BuildRequires: libIDL-devel >= 0.8.0
75%{?with_gnomevfs:BuildRequires: libgnome-devel >= 2.0}
51a3b6db 76%{?with_gnomeui:BuildRequires: libgnome-keyring-devel}
44be9ed4 77%{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0}
51a3b6db 78BuildRequires: libiw-devel
44be9ed4 79BuildRequires: libjpeg-devel >= 6b
51a3b6db 80BuildRequires: libnotify-devel >= 0.4
44be9ed4 81BuildRequires: libpng-devel >= 1.2.0
82BuildRequires: libstdc++-devel
cadfb931
SP
83BuildRequires: nspr-devel >= 1:4.8
84BuildRequires: nss-devel >= 1:3.12.0
44be9ed4 85BuildRequires: pango-devel >= 1:1.1.0
1c62cadb 86BuildRequires: pkgconfig
44be9ed4 87BuildRequires: sed >= 4.0
4b6bc367 88BuildRequires: sqlite3-devel >= 3.6.22
1c62cadb 89BuildRequires: startup-notification-devel >= 0.8
44be9ed4 90BuildRequires: xorg-lib-libXext-devel
44be9ed4 91BuildRequires: xorg-lib-libXinerama-devel
44be9ed4 92BuildRequires: xorg-lib-libXt-devel
1c62cadb 93BuildRequires: zip
7d981f69
ER
94%if %{with xulrunner}
95%else
44be9ed4 96Requires: myspell-common
97Requires: nspr >= 1:4.6.1
98Requires: nss >= 1:3.11.3
4b6bc367 99Requires: sqlite3 >= %{sqlite_build_version}
7d981f69 100%endif
44be9ed4 101Obsoletes: mozilla-thunderbird
102Obsoletes: mozilla-thunderbird-dictionary-en-US
103BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
104
9e366f18
AM
105%define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
106
44be9ed4 107# iceweasel/icedove/iceape provide their own versions
108%define _noautoreqdep libgfxpsshar.so libgkgfx.so libgtkxtbin.so libjsj.so libxpcom_compat.so libxpcom_core.so libxpistub.so
109%define _noautoprovfiles %{_libdir}/%{name}/components
110# we don't want these to satisfy xulrunner-devel
5ac9187e 111%define _noautoprov libgtkembedmoz.so libmozjs.so libxpcom.so libxul.so
44be9ed4 112# and as we don't provide them, don't require either
5ac9187e 113%define _noautoreq libgtkembedmoz.so libmozjs.so libxpcom.so libxul.so
44be9ed4 114
115%description
116Icedove is an open-source,fast and portable email client.
117
118%description -l pl.UTF-8
119Icedove jest open sourcowym, szybkim i przenośnym klientem poczty.
120
6578c165 121%package addon-lightning
122Summary: An integrated calendar for Icedove
123Summary(pl.UTF-8): Zintegrowany kalendarz dla Icedove
124License: MPL 1.1 or GPL v2+ or LGPL v2.1+
125Group: Applications/Networking
126Requires: %{name} = %{version}-%{release}
127
128%description addon-lightning
129Lightning is an calendar extension to Icedove email client.
130
131%description addon-lightning -l pl.UTF-8
132Lightning to rozszerzenie do klienta poczty Icedove dodające
133funkcjonalność kalendarza.
134
44be9ed4 135%package addon-enigmail
136Summary: Extension for the authentication and encryption features provided by GnuPG
137Summary(pl.UTF-8): Rozszerzenie do uwierzytelniania i szyfrowania zapewnianego przez GnuPG
138License: MPL/LGPL
139Group: Applications/Networking
140URL: http://enigmail.mozdev.org/
cd056caa 141Requires: %{name} = %{version}-%{release}
d076d93e 142Requires: gnupg
75991bbb 143Obsoletes: mozilla-thunderbird-addon-enigmail
44be9ed4 144
145%description addon-enigmail
c5e06599 146Enigmail is an extension to the Icedove mail client which allows users
147to access the authentication and encryption features provided by
148GnuPG.
44be9ed4 149
150Main Features:
151- Encrypt/sign mail when sending, decrypt/authenticate received mail
152- Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156)
153- Per-Account based encryption and signing defaults
154- Per-Recipient rules for automated key selection, and
155 enabling/disabling encryption and signing
156- OpenPGP key management interface
157
158%description addon-enigmail -l pl.UTF-8
c5e06599 159Enigmail to rozszerzenie klienta pocztowego Icedove pozwalające
faa5c89d
SP
160użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego
161przez GnuPG.
44be9ed4 162
163Główne możliwości:
164- szyfrowanie/podpisywanie poczty przy wysyłaniu,
165 odszyfrowywanie/uwierzytelnianie poczty odebranej
166- obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156)
167- ustawienia domyślne szyfrowania i podpisywania dla każdego konta
168- reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz
169 podpisywania dla każdego adresata
170- interfejs do zarządzania kluczami OpenPGP
171
172%prep
983562b1 173%setup -qc
a85e0ecb 174mv -f comm-1.9.2 mozilla
983562b1 175%setup -q -T -D -a2
176cd mozilla
44be9ed4 177%{?with_enigmail:tar xvfz %{SOURCE1} -C mailnews/extensions}
178/bin/sh %{SOURCE3}
983562b1 179%patch0 -p1
faa5c89d
SP
180%{?with_enigmail:%patch1 -p1}
181%patch2 -p1
4ccc2157 182%patch3 -p1
faa5c89d 183%patch4 -p1
5e9bb798 184%patch5 -p1
983562b1 185%patch6 -p1
9a743685 186%patch7 -p1
a85e0ecb 187%patch8 -p0
ca336c77 188%patch9 -p0
ccc206fe 189%patch10 -p2
765a3a27 190%patch11 -p2
44be9ed4 191
192%build
983562b1 193cd mozilla
cadfb931
SP
194cp -f %{_datadir}/automake/config.* mozilla/build/autoconf
195cp -f %{_datadir}/automake/config.* mozilla/nsprpub/build/autoconf
44be9ed4 196cp -f %{_datadir}/automake/config.* directory/c-sdk/config/autoconf
197
9a743685
ER
198install -d libxul-sdk
199ln -snf %{_libdir}/xulrunner-sdk libxul-sdk/sdk
9a743685 200
fbac75ca 201cat << EOF > .mozconfig
cb0e4412
SP
202mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu}
203
8c107b4e
ER
204export CFLAGS="%{rpmcflags}"
205export CXXFLAGS="%{rpmcflags}"
765a3a27
ER
206
207%if %{with crashreporter}
208export MOZ_DEBUG_SYMBOLS=1
209%endif
210
59c5a0e8 211# Options for 'configure' (same as command-line options).
44be9ed4 212ac_add_options --prefix=%{_prefix}
213ac_add_options --exec-prefix=%{_exec_prefix}
214ac_add_options --bindir=%{_bindir}
215ac_add_options --sbindir=%{_sbindir}
216ac_add_options --sysconfdir=%{_sysconfdir}
217ac_add_options --datadir=%{_datadir}
218ac_add_options --includedir=%{_includedir}
219ac_add_options --libdir=%{_libdir}
220ac_add_options --libexecdir=%{_libexecdir}
221ac_add_options --localstatedir=%{_localstatedir}
222ac_add_options --sharedstatedir=%{_sharedstatedir}
223ac_add_options --mandir=%{_mandir}
224ac_add_options --infodir=%{_infodir}
225%if %{?debug:1}0
59c5a0e8 226ac_add_options --disable-optimize
44be9ed4 227ac_add_options --enable-debug
228ac_add_options --enable-debug-modules
59c5a0e8
SP
229ac_add_options --enable-debugger-info-modules
230ac_add_options --enable-crash-on-assert
44be9ed4 231%else
232ac_add_options --disable-debug
233ac_add_options --disable-debug-modules
59c5a0e8
SP
234ac_add_options --disable-logging
235ac_add_options --enable-optimize="%{rpmcflags} -Os"
44be9ed4 236%endif
88149483
ER
237ac_add_options --disable-strip
238ac_add_options --disable-strip-libs
44be9ed4 239%if %{with tests}
240ac_add_options --enable-tests
241%else
242ac_add_options --disable-tests
243%endif
244%if %{with gnomeui}
245ac_add_options --enable-gnomeui
246%else
247ac_add_options --disable-gnomeui
248%endif
249%if %{with gnomevfs}
250ac_add_options --enable-gnomevfs
251%else
252ac_add_options --disable-gnomevfs
253%endif
254%if %{with ldap}
255ac_add_options --enable-ldap
9a743685 256ac_add_options --with-system-ldap
44be9ed4 257%else
258ac_add_options --disable-ldap
259%endif
765a3a27
ER
260%if %{with crashreporter}
261ac_add_options --enable-crashreporter
262%else
59c5a0e8 263ac_add_options --disable-crashreporter
765a3a27 264%endif
59c5a0e8 265ac_add_options --disable-xterm-updates
59c5a0e8 266ac_add_options --enable-postscript
d076d93e 267%if %{with lightning}
cb0e4412 268ac_add_options --enable-calendar
d076d93e
SP
269%else
270ac_add_options --disable-calendar
271%endif
44be9ed4 272ac_add_options --disable-installer
273ac_add_options --disable-jsd
88149483 274ac_add_options --disable-updater
44be9ed4 275ac_add_options --disable-xprint
cadfb931
SP
276ac_add_options --disable-permissions
277ac_add_options --disable-pref-extensions
44be9ed4 278ac_add_options --enable-canvas
279ac_add_options --enable-crypto
44be9ed4 280ac_add_options --enable-mathml
44be9ed4 281ac_add_options --enable-pango
282ac_add_options --enable-reorder
88149483
ER
283ac_add_options --enable-startup-notification
284ac_add_options --enable-svg
44be9ed4 285ac_add_options --enable-system-cairo
5e9bb798 286ac_add_options --enable-system-hunspell
7d981f69 287ac_add_options --enable-system-sqlite
44be9ed4 288ac_add_options --enable-xft
cadfb931
SP
289ac_add_options --enable-application=mail
290ac_add_options --enable-default-toolkit=cairo-gtk2
44be9ed4 291ac_add_options --enable-xinerama
88149483
ER
292ac_add_options --with-distribution-id=org.pld-linux
293ac_add_options --with-branding=icedove/branding
294%if %{with xulrunner}
fbac75ca
ER
295ac_add_options --with-libxul-sdk=$(pwd)/libxul-sdk
296ac_add_options --enable-shared
297%else
298ac_add_options --enable-static
88149483
ER
299%endif
300ac_add_options --with-pthreads
301ac_add_options --with-system-bz2
44be9ed4 302ac_add_options --with-system-jpeg
303ac_add_options --with-system-nspr
304ac_add_options --with-system-nss
305ac_add_options --with-system-png
306ac_add_options --with-system-zlib
44be9ed4 307ac_add_options --enable-single-profile
308ac_add_options --disable-profilesharing
44be9ed4 309ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
310EOF
311
90e998ba 312%{__make} -j1 -f client.mk build \
d076d93e 313 STRIP="/bin/true" \
765a3a27 314 MOZ_MAKE_FLAGS="%{?_smp_mflags}" \
d076d93e 315 CC="%{__cc}" \
44be9ed4 316 CXX="%{__cxx}"
317
765a3a27
ER
318%if %{with crashreporter}
319# create debuginfo for crash-stats.mozilla.com
320%{__make} -j1 -C obj-%{_target_cpu} buildsymbols
321%endif
322
44be9ed4 323%if %{with enigmail}
ecf04393 324top=$(pwd)
59c5a0e8 325cd mailnews/extensions/enigmail
ecf04393
ER
326./makemake -r -o $top/obj-%{_target_cpu}
327%{__make} -C $top/obj-%{_target_cpu}/mailnews/extensions/enigmail \
d076d93e
SP
328 STRIP="/bin/true" \
329 CC="%{__cc}" \
330 CXX="%{__cxx}"
44be9ed4 331%endif
332
333%install
334rm -rf $RPM_BUILD_ROOT
765a3a27 335install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
44be9ed4 336
ecf04393
ER
337cd mozilla/obj-%{_target_cpu}
338%{__make} -C mail/installer stage-package \
44be9ed4 339 DESTDIR=$RPM_BUILD_ROOT \
340 MOZ_PKG_APPDIR=%{_libdir}/%{name} \
341 PKG_SKIP_STRIP=1
342
765a3a27
ER
343# Enable crash reporter for Firefox application
344%if %{with crashreporter}
345%{__sed} -i -e 's/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/' $RPM_BUILD_ROOT%{_libdir}/%{name}/application.ini
346
347# Add debuginfo for crash-stats.mozilla.com
51a3b6db 348install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name}
765a3a27
ER
349cp -a mozilla/dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name}
350%endif
351
ecf04393
ER
352# copy manually lightning files, somewhy they are not installed by make
353cp -a mozilla/dist/bin/extensions/calendar-timezones@mozilla.org \
354 mozilla/dist/bin/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} \
355 $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions
356
44be9ed4 357# move arch independant ones to datadir
358mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
359mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
360mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs
44be9ed4 361mv $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp
9e097178 362mv $RPM_BUILD_ROOT%{_libdir}/%{name}/modules $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
44be9ed4 363mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res
364ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
365ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
366ln -s ../../share/%{name}/greprefs $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs
44be9ed4 367ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp
9e097178 368ln -s ../../share/%{name}/modules $RPM_BUILD_ROOT%{_libdir}/%{name}/modules
44be9ed4 369ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res
370
371rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
372ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
373
374%{__sed} -e 's,@LIBDIR@,%{_libdir},' %{SOURCE5} > $RPM_BUILD_ROOT%{_bindir}/icedove
375ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/thunderbird
376ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/mozilla-thunderbird
377
293928f3 378cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
765a3a27 379cp -a ../icedove/branding/content/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
44be9ed4 380
52fc61e6
ER
381# files created by regxpcom -register
382touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat
383touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat
384
44be9ed4 385%if %{with enigmail}
283702b9
ER
386ext_dir=$RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\}
387install -d $ext_dir/{chrome,components,defaults/preferences}
52fc61e6
ER
388cd mozilla/dist/bin
389cp -rfLp chrome/enigmail.jar $ext_dir/chrome
390cp -rfLp chrome/enigmime.jar $ext_dir/chrome
391cp -rfLp components/enig* $ext_dir/components
392cp -rfLp components/libenigmime.so $ext_dir/components
f6a43e2f 393cp -rfLp components/libipc.so $ext_dir/components
52fc61e6
ER
394cp -rfLp components/ipc.xpt $ext_dir/components
395cp -rfLp defaults/preferences/enigmail.js $ext_dir/defaults/preferences
396cd -
397cp -a ../mailnews/extensions/enigmail/package/install.rdf $ext_dir
f6a43e2f 398cp -a ../mailnews/extensions/enigmail/package/chrome.manifest $ext_dir/chrome.manifest
44be9ed4 399%endif
400
9a743685
ER
401# remove unecessary stuff
402rm $RPM_BUILD_ROOT%{_libdir}/%{name}/README.txt
293928f3 403rm $RPM_BUILD_ROOT%{_libdir}/%{name}/components/components.list
f3b6d696 404rm $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/components.list
44be9ed4 405
9a743685 406# never package these
283702b9
ER
407# nss
408rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{freebl3,nss3,nssckbi,nssdbm3,nssutil3,smime3,softokn3,ssl3}.*
409# nspr
410rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{nspr4,plc4,plds4}.so
283702b9
ER
411# mozldap
412rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap,ssldap}60.so
413
44be9ed4 414%clean
415rm -rf $RPM_BUILD_ROOT
416
417%pretrans
418if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then
419 mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave}
420fi
9e097178 421for d in chrome defaults greprefs icons isp modules res; do
44be9ed4 422 if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then
423 install -d %{_datadir}/%{name}
424 mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d
425 fi
426done
427exit 0
428
429%files
430%defattr(644,root,root,755)
431%attr(755,root,root) %{_bindir}/icedove
432%attr(755,root,root) %{_bindir}/mozilla-thunderbird
433%attr(755,root,root) %{_bindir}/thunderbird
434%dir %{_libdir}/%{name}
765a3a27
ER
435%{_libdir}/%{name}/application.ini
436%{_libdir}/%{name}/platform.ini
44be9ed4 437%dir %{_libdir}/%{name}/components
438%attr(755,root,root) %{_libdir}/%{name}/components/*.so
439%{_libdir}/%{name}/components/*.js
440%{_libdir}/%{name}/components/*.xpt
283702b9
ER
441%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so
442%attr(755,root,root) %{_libdir}/%{name}/libxpcom.so
443%attr(755,root,root) %{_libdir}/%{name}/libxpcom_core.so
44be9ed4 444%attr(755,root,root) %{_libdir}/%{name}/*.sh
445%attr(755,root,root) %{_libdir}/%{name}/*-bin
446%attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client
bc9cd18a 447%attr(755,root,root) %{_libdir}/%{name}/icedove
44be9ed4 448
449# symlinks
450%{_libdir}/%{name}/chrome
451%{_libdir}/%{name}/defaults
452%{_libdir}/%{name}/dictionaries
453%{_libdir}/%{name}/greprefs
44be9ed4 454%{_libdir}/%{name}/isp
9e097178 455%{_libdir}/%{name}/modules
44be9ed4 456%{_libdir}/%{name}/res
457
293928f3 458%{_pixmapsdir}/*.png
44be9ed4 459%{_desktopdir}/*.desktop
460
461%dir %{_datadir}/%{name}
462%{_datadir}/%{name}/chrome
463%{_datadir}/%{name}/defaults
464%{_datadir}/%{name}/greprefs
44be9ed4 465%{_datadir}/%{name}/isp
9e097178 466%{_datadir}/%{name}/modules
44be9ed4 467%{_datadir}/%{name}/res
468
765a3a27
ER
469%if %{with crashreporter}
470%attr(755,root,root) %{_libdir}/%{name}/crashreporter
471%{_libdir}/%{name}/crashreporter.ini
472%{_libdir}/%{name}/Throbber-small.gif
473%endif
474
44be9ed4 475%dir %{_libdir}/%{name}/extensions
476%{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
6578c165 477
52fc61e6
ER
478# files created by regxpcom -register
479%ghost %{_libdir}/%{name}/components/compreg.dat
480%ghost %{_libdir}/%{name}/components/xpti.dat
481
6578c165 482%if %{with lightning}
483%files addon-lightning
484%defattr(644,root,root,755)
f3b6d696
ER
485%dir %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
486%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/defaults
487%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome
488%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest
489%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/install.rdf
490%dir %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components
491%attr(755,root,root) %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.so
492%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.xpt
493%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.js
494%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules
495%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js
496%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones.sqlite
497
6578c165 498%{_libdir}/%{name}/extensions/calendar-timezones@mozilla.org
499%endif
44be9ed4 500
501%if %{with enigmail}
502%files addon-enigmail
503%defattr(644,root,root,755)
f6a43e2f
ER
504%dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}
505%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults
506%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome
507%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest
508%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf
509%dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components
510%attr(755,root,root) %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.so
511%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.xpt
512%{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.js
44be9ed4 513%endif
This page took 0.099834 seconds and 4 git commands to generate.