]>
Commit | Line | Data |
---|---|---|
c4ddd260 | 1 | # TODO: |
283702b9 | 2 | # - build with system mozldap |
c4ddd260 | 3 | # |
44be9ed4 | 4 | # Conditional builds |
3366507a | 5 | %bcond_with gtk3 # GTK+ 3.x instead of 2.x |
44be9ed4 | 6 | %bcond_without ldap # disable e-mail address lookups in LDAP directories |
e820c55e | 7 | %bcond_without lightning # disable Sunbird/Lightning calendar |
fac7e24d | 8 | %bcond_with xulrunner # system xulrunner |
765a3a27 | 9 | %bcond_with crashreporter # report crashes to crash-stats.mozilla.com |
a97d3356 JR |
10 | # - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964 |
11 | %bcond_with shared_js # shared libmozjs library [broken] | |
88149483 | 12 | |
f4114a7f | 13 | %if 0%{?_enable_debug_packages} != 1 |
765a3a27 ER |
14 | %undefine crashreporter |
15 | %endif | |
16 | ||
62096d2c | 17 | %define nspr_ver 4.10.6 |
3a30e2d7 | 18 | %define nss_ver 3.19.2.1 |
44be9ed4 | 19 | |
62096d2c | 20 | %define xulrunner_ver 2:31.3.0 |
4f34f106 | 21 | |
7d981f69 ER |
22 | %if %{without xulrunner} |
23 | # The actual sqlite version (see RHBZ#480989): | |
24 | %define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR) | |
25 | %endif | |
26 | ||
cae5b55b JR |
27 | Summary: Thunderbird - email client |
28 | Summary(pl.UTF-8): Thunderbird - klient poczty | |
29 | Name: thunderbird | |
7a5e9406 JR |
30 | Version: 45.8.0 |
31 | Release: 0.1 | |
3366507a | 32 | License: MPL v2.0 |
2d289b25 | 33 | Group: X11/Applications/Mail |
cae5b55b | 34 | Source0: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz |
7a5e9406 | 35 | # Source0-md5: 4e04b1618273f946f00f8ea547578895 |
44be9ed4 | 36 | Source4: %{name}.desktop |
37 | Source5: %{name}.sh | |
f53f9bcd | 38 | Patch2: %{name}-prefs.patch |
f53f9bcd JR |
39 | Patch5: %{name}-extensiondir.patch |
40 | Patch6: no-subshell.patch | |
f53f9bcd | 41 | Patch8: enable-addons.patch |
7a5e9406 | 42 | Patch9: mozilla-1269171-badalloc.patch |
cae5b55b | 43 | URL: http://www.mozilla.org/projects/thunderbird/ |
6458b220 | 44 | BuildRequires: GConf2-devel >= 1.2.1 |
51a3b6db | 45 | BuildRequires: alsa-lib-devel |
44be9ed4 | 46 | BuildRequires: automake |
51a3b6db | 47 | BuildRequires: bzip2-devel |
e820c55e JB |
48 | BuildRequires: cairo-devel >= 1.10 |
49 | BuildRequires: dbus-glib-devel >= 0.60 | |
44be9ed4 | 50 | BuildRequires: freetype-devel >= 1:2.1.8 |
6f32f966 | 51 | BuildRequires: glib2-devel >= 1:2.20 |
d0b96b40 JR |
52 | BuildRequires: gstreamer0.10-devel |
53 | BuildRequires: gstreamer0.10-plugins-base-devel | |
3366507a JB |
54 | %{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.14} |
55 | %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.0.0} | |
5e9bb798 | 56 | BuildRequires: hunspell-devel |
44be9ed4 | 57 | BuildRequires: libIDL-devel >= 0.8.0 |
d0b96b40 | 58 | BuildRequires: libevent-devel |
9b89aca5 | 59 | BuildRequires: libicu-devel >= 50.1 |
51a3b6db | 60 | BuildRequires: libiw-devel |
e82da7a1 | 61 | # requires libjpeg-turbo implementing at least libjpeg 6b API |
44be9ed4 | 62 | BuildRequires: libjpeg-devel >= 6b |
e82da7a1 | 63 | BuildRequires: libjpeg-turbo-devel |
e820c55e | 64 | BuildRequires: libpng-devel >= 1.4.1 |
44be9ed4 | 65 | BuildRequires: libstdc++-devel |
cae5b55b | 66 | BuildRequires: libvpx-devel >= 1.3.0 |
d0b96b40 | 67 | BuildRequires: mozldap-devel |
f4114a7f ER |
68 | BuildRequires: nspr-devel >= 1:%{nspr_ver} |
69 | BuildRequires: nss-devel >= 1:%{nss_ver} | |
62096d2c | 70 | BuildRequires: pango-devel >= 1:1.22.0 |
e820c55e | 71 | BuildRequires: perl-base >= 1:5.6 |
1c62cadb | 72 | BuildRequires: pkgconfig |
e820c55e | 73 | BuildRequires: python >= 1:2.5 |
cae5b55b | 74 | BuildRequires: python-virtualenv |
44be9ed4 | 75 | BuildRequires: sed >= 4.0 |
62096d2c | 76 | BuildRequires: sqlite3-devel >= 3.8.4.2 |
1c62cadb | 77 | BuildRequires: startup-notification-devel >= 0.8 |
ffb12c8e | 78 | BuildRequires: virtualenv |
44be9ed4 | 79 | BuildRequires: xorg-lib-libXext-devel |
44be9ed4 | 80 | BuildRequires: xorg-lib-libXinerama-devel |
44be9ed4 | 81 | BuildRequires: xorg-lib-libXt-devel |
5745d706 | 82 | BuildRequires: yasm |
1c62cadb | 83 | BuildRequires: zip |
7d981f69 | 84 | %if %{with xulrunner} |
62096d2c | 85 | BuildRequires: xulrunner-devel < 2:32 |
cae5b55b | 86 | BuildRequires: xulrunner-devel >= %{xulrunner_ver} |
7d981f69 | 87 | %else |
6f32f966 | 88 | Requires: glib2 >= 1:2.20 |
3366507a JB |
89 | %{!?with_gtk3:Requires: gtk+2 >= 2:2.14} |
90 | %{?with_gtk3:Requires: gtk+3 >= 3.0.0} | |
62096d2c | 91 | Requires: libvpx >= 1.3.0 |
44be9ed4 | 92 | Requires: myspell-common |
f4114a7f ER |
93 | Requires: nspr >= 1:%{nspr_ver} |
94 | Requires: nss >= 1:%{nss_ver} | |
62096d2c | 95 | Requires: pango >= 1:1.22.0 |
4b6bc367 | 96 | Requires: sqlite3 >= %{sqlite_build_version} |
7d981f69 | 97 | %endif |
4f34f106 ER |
98 | Requires(post): mktemp >= 1.5-18 |
99 | %if %{with xulrunner} | |
100 | %requires_eq_to xulrunner xulrunner-devel | |
101 | %endif | |
e82da7a1 | 102 | Requires: libjpeg-turbo |
44be9ed4 | 103 | Obsoletes: mozilla-thunderbird |
104 | Obsoletes: mozilla-thunderbird-dictionary-en-US | |
cae5b55b | 105 | Conflicts: thunderbird-lang-resources < %{version} |
44be9ed4 | 106 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
107 | ||
9e366f18 AM |
108 | %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+ |
109 | ||
cae5b55b | 110 | # firefox/thunderbird/seamonkey provide their own versions |
44be9ed4 | 111 | %define _noautoprovfiles %{_libdir}/%{name}/components |
fb7d4f06 JB |
112 | %if %{without xulrunner} |
113 | # we don't want these to satisfy packages depending on xulrunner | |
6f32f966 | 114 | %define _noautoprov libmozalloc.so libmozjs.so libxul.so |
44be9ed4 | 115 | # and as we don't provide them, don't require either |
6f32f966 | 116 | %define _noautoreq libmozalloc.so libmozjs.so libxul.so |
fb7d4f06 | 117 | %endif |
44be9ed4 | 118 | |
7a5e9406 | 119 | %define topdir %{_builddir}/thunderbird-%{version} |
9e7875fc ER |
120 | %define objdir %{topdir}/obj-%{_target_cpu} |
121 | ||
44be9ed4 | 122 | %description |
cae5b55b | 123 | Thunderbird is an open-source, fast and portable email client. |
44be9ed4 | 124 | |
125 | %description -l pl.UTF-8 | |
cae5b55b | 126 | Thunderbird jest mającym otwarte źródła, szybkim i przenośnym klientem |
6b327de6 | 127 | poczty. |
44be9ed4 | 128 | |
6578c165 | 129 | %package addon-lightning |
cae5b55b JR |
130 | Summary: An integrated calendar for Thunderbird |
131 | Summary(pl.UTF-8): Zintegrowany kalendarz dla Thunderbird | |
6578c165 | 132 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ |
133 | Group: Applications/Networking | |
134 | Requires: %{name} = %{version}-%{release} | |
135 | ||
136 | %description addon-lightning | |
cae5b55b | 137 | Lightning is an calendar extension to Thunderbird email client. |
6578c165 | 138 | |
139 | %description addon-lightning -l pl.UTF-8 | |
cae5b55b | 140 | Lightning to rozszerzenie do klienta poczty Thunderbird dodające |
6578c165 | 141 | funkcjonalność kalendarza. |
142 | ||
44be9ed4 | 143 | %prep |
cae5b55b | 144 | %setup -q |
f53f9bcd | 145 | %patch2 -p1 |
f53f9bcd | 146 | %patch5 -p2 |
983562b1 | 147 | %patch6 -p1 |
f53f9bcd | 148 | %patch8 -p1 |
7a5e9406 | 149 | %patch9 -p1 |
d0b96b40 | 150 | |
44be9ed4 | 151 | %build |
fbac75ca | 152 | cat << EOF > .mozconfig |
9e7875fc | 153 | mk_add_options MOZ_OBJDIR=%{objdir} |
cb0e4412 | 154 | |
fac7e24d | 155 | export CFLAGS="%{rpmcflags}" |
73d54cb2 | 156 | export CXXFLAGS="%{rpmcflags}" |
765a3a27 ER |
157 | |
158 | %if %{with crashreporter} | |
159 | export MOZ_DEBUG_SYMBOLS=1 | |
160 | %endif | |
161 | ||
59c5a0e8 | 162 | # Options for 'configure' (same as command-line options). |
44be9ed4 | 163 | ac_add_options --prefix=%{_prefix} |
164 | ac_add_options --exec-prefix=%{_exec_prefix} | |
165 | ac_add_options --bindir=%{_bindir} | |
166 | ac_add_options --sbindir=%{_sbindir} | |
167 | ac_add_options --sysconfdir=%{_sysconfdir} | |
168 | ac_add_options --datadir=%{_datadir} | |
169 | ac_add_options --includedir=%{_includedir} | |
170 | ac_add_options --libdir=%{_libdir} | |
171 | ac_add_options --libexecdir=%{_libexecdir} | |
172 | ac_add_options --localstatedir=%{_localstatedir} | |
173 | ac_add_options --sharedstatedir=%{_sharedstatedir} | |
174 | ac_add_options --mandir=%{_mandir} | |
175 | ac_add_options --infodir=%{_infodir} | |
176 | %if %{?debug:1}0 | |
59c5a0e8 | 177 | ac_add_options --disable-optimize |
44be9ed4 | 178 | ac_add_options --enable-debug |
179 | ac_add_options --enable-debug-modules | |
59c5a0e8 SP |
180 | ac_add_options --enable-debugger-info-modules |
181 | ac_add_options --enable-crash-on-assert | |
44be9ed4 | 182 | %else |
183 | ac_add_options --disable-debug | |
184 | ac_add_options --disable-debug-modules | |
59c5a0e8 SP |
185 | ac_add_options --disable-logging |
186 | ac_add_options --enable-optimize="%{rpmcflags} -Os" | |
44be9ed4 | 187 | %endif |
88149483 ER |
188 | ac_add_options --disable-strip |
189 | ac_add_options --disable-strip-libs | |
44be9ed4 | 190 | %if %{with tests} |
191 | ac_add_options --enable-tests | |
192 | %else | |
193 | ac_add_options --disable-tests | |
194 | %endif | |
3366507a JB |
195 | %if %{with lightning} |
196 | ac_add_options --enable-calendar | |
44be9ed4 | 197 | %else |
3366507a | 198 | ac_add_options --disable-calendar |
44be9ed4 | 199 | %endif |
765a3a27 ER |
200 | %if %{with crashreporter} |
201 | ac_add_options --enable-crashreporter | |
202 | %else | |
59c5a0e8 | 203 | ac_add_options --disable-crashreporter |
765a3a27 | 204 | %endif |
d0b96b40 | 205 | ac_add_options --disable-elf-dynstr-gc |
59e5e620 | 206 | ac_add_options --disable-elf-hack |
3366507a JB |
207 | ac_add_options --disable-gnomeui |
208 | ac_add_options --disable-gnomevfs | |
44be9ed4 | 209 | ac_add_options --disable-installer |
d0b96b40 | 210 | ac_add_options --disable-javaxpcom |
3366507a | 211 | ac_add_options --disable-profilesharing |
88149483 | 212 | ac_add_options --disable-updater |
3366507a JB |
213 | ac_add_options --disable-xterm-updates |
214 | ac_add_options --enable-application=mail | |
44be9ed4 | 215 | ac_add_options --enable-crypto |
3366507a JB |
216 | ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2} |
217 | ac_add_options --enable-gio | |
218 | %if %{with ldap} | |
219 | ac_add_options --enable-ldap | |
220 | ac_add_options --with-system-ldap | |
221 | %else | |
222 | ac_add_options --disable-ldap | |
223 | %endif | |
d0b96b40 | 224 | ac_add_options --enable-libxul |
44be9ed4 | 225 | ac_add_options --enable-pango |
3366507a | 226 | ac_add_options --enable-postscript |
a97d3356 | 227 | %{?with_shared_js:ac_add_options --enable-shared-js} |
3366507a | 228 | ac_add_options --enable-single-profile |
88149483 | 229 | ac_add_options --enable-startup-notification |
44be9ed4 | 230 | ac_add_options --enable-system-cairo |
5e9bb798 | 231 | ac_add_options --enable-system-hunspell |
7d981f69 | 232 | ac_add_options --enable-system-sqlite |
3366507a JB |
233 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} |
234 | ac_add_options --with-distribution-id=org.pld-linux | |
88149483 | 235 | %if %{with xulrunner} |
d0b96b40 | 236 | ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul) |
3366507a | 237 | ac_add_options --with-system-libxul |
88149483 ER |
238 | %endif |
239 | ac_add_options --with-pthreads | |
240 | ac_add_options --with-system-bz2 | |
d0b96b40 | 241 | ac_add_options --with-system-ffi |
9b89aca5 | 242 | ac_add_options --with-system-icu |
44be9ed4 | 243 | ac_add_options --with-system-jpeg |
d0b96b40 JR |
244 | ac_add_options --with-system-libevent |
245 | ac_add_options --with-system-libvpx | |
44be9ed4 | 246 | ac_add_options --with-system-nspr |
247 | ac_add_options --with-system-nss | |
248 | ac_add_options --with-system-png | |
249 | ac_add_options --with-system-zlib | |
44be9ed4 | 250 | EOF |
251 | ||
d0b96b40 | 252 | mkdir -p %{objdir}/config |
7a5e9406 | 253 | ln -sf %{topdir}/mozilla/config/*.mk %{objdir}/config |
d0b96b40 | 254 | |
90e998ba | 255 | %{__make} -j1 -f client.mk build \ |
d076d93e | 256 | STRIP="/bin/true" \ |
765a3a27 | 257 | MOZ_MAKE_FLAGS="%{?_smp_mflags}" \ |
d0b96b40 | 258 | installdir=%{_libdir}/%{name} \ |
de09c00d | 259 | XLIBS="-lX11 -lXt" \ |
d076d93e | 260 | CC="%{__cc}" \ |
44be9ed4 | 261 | CXX="%{__cxx}" |
262 | ||
765a3a27 ER |
263 | %if %{with crashreporter} |
264 | # create debuginfo for crash-stats.mozilla.com | |
265 | %{__make} -j1 -C obj-%{_target_cpu} buildsymbols | |
266 | %endif | |
267 | ||
44be9ed4 | 268 | %install |
269 | rm -rf $RPM_BUILD_ROOT | |
765a3a27 | 270 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}} |
44be9ed4 | 271 | |
9e7875fc | 272 | cd %{objdir} |
ecf04393 | 273 | %{__make} -C mail/installer stage-package \ |
44be9ed4 | 274 | DESTDIR=$RPM_BUILD_ROOT \ |
d0b96b40 | 275 | installdir=%{_libdir}/%{name} \ |
44be9ed4 | 276 | PKG_SKIP_STRIP=1 |
277 | ||
cae5b55b | 278 | cp -a dist/thunderbird/* $RPM_BUILD_ROOT%{_libdir}/%{name}/ |
d0b96b40 | 279 | |
9b40a2c3 JB |
280 | %if %{with xulrunner} |
281 | # needed to find mozilla runtime | |
282 | ln -s ../xulrunner $RPM_BUILD_ROOT%{_libdir}/%{name}/xulrunner | |
283 | %endif | |
cae5b55b | 284 | |
9b40a2c3 | 285 | # Enable crash reporter for Thunderbird application |
765a3a27 ER |
286 | %if %{with crashreporter} |
287 | %{__sed} -i -e 's/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/' $RPM_BUILD_ROOT%{_libdir}/%{name}/application.ini | |
288 | ||
289 | # Add debuginfo for crash-stats.mozilla.com | |
51a3b6db | 290 | install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name} |
3a30e2d7 | 291 | cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name} |
765a3a27 ER |
292 | %endif |
293 | ||
44be9ed4 | 294 | # move arch independant ones to datadir |
eca54e0f | 295 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins |
eca54e0f | 296 | ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins |
44be9ed4 | 297 | |
c6ec3c1c ER |
298 | # dir for arch independant extensions besides arch dependant extensions |
299 | # see mozilla/xpcom/build/nsXULAppAPI.h | |
300 | # XRE_SYS_LOCAL_EXTENSION_PARENT_DIR and XRE_SYS_SHARE_EXTENSION_PARENT_DIR | |
301 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions | |
302 | ||
73d54cb2 | 303 | %if %{without xulrunner} |
63d8f5c3 | 304 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries |
44be9ed4 | 305 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries |
73d54cb2 | 306 | %endif |
e6bc19b3 | 307 | |
cae5b55b JR |
308 | #%{__sed} -e "s|%MOZAPPDIR%|%{_libdir}/%{name}|" \ |
309 | # -e "s|%MOZ_APP_DISPLAYNAME%|Thunderbird|" \ | |
310 | # %{topdir}/mozilla/mozilla/build/unix/mozilla.in > $RPM_BUILD_ROOT%{_libdir}/%{name}/thunderbird | |
0889474f | 311 | |
cae5b55b | 312 | %{__sed} -e 's,@LIBDIR@,%{_libdir},' %{SOURCE5} > $RPM_BUILD_ROOT%{_bindir}/thunderbird |
44be9ed4 | 313 | ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/thunderbird |
314 | ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/mozilla-thunderbird | |
315 | ||
d0b96b40 | 316 | cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop |
44be9ed4 | 317 | |
e8f4ba81 | 318 | # files created by regxpcom -register in post |
52fc61e6 ER |
319 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat |
320 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat | |
e8f4ba81 ER |
321 | cat << 'EOF' > $RPM_BUILD_ROOT%{_libdir}/%{name}/register |
322 | #!/bin/sh | |
323 | umask 022 | |
324 | # make temporary HOME, as it attempts to touch files in $HOME/.mozilla | |
325 | # dangerous if you run this with sudo with keep_env += HOME | |
326 | # also TMPDIR could be pointing to sudo user's homedir so we reset that too. | |
327 | t=$(mktemp -d) | |
d50a2a28 | 328 | %{__rm} -f %{_libdir}/%{name}/components/{compreg,xpti}.dat |
cae5b55b | 329 | TMPDIR= TMP= HOME=$t %{_libdir}/%{name}/thunderbird -register |
e8f4ba81 ER |
330 | rm -rf $t |
331 | EOF | |
332 | chmod a+rx $RPM_BUILD_ROOT%{_libdir}/%{name}/register | |
52fc61e6 | 333 | |
283702b9 | 334 | # mozldap |
d0b96b40 JR |
335 | %{__sed} -i '/lib\(ldap\|ldif\|prldap\)60.so/d' $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list |
336 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap}60.so | |
283702b9 | 337 | |
44be9ed4 | 338 | %clean |
339 | rm -rf $RPM_BUILD_ROOT | |
340 | ||
341 | %pretrans | |
342 | if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then | |
343 | mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave} | |
344 | fi | |
eca54e0f | 345 | for d in chrome defaults icons isp modules res searchplugins; do |
44be9ed4 | 346 | if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then |
347 | install -d %{_datadir}/%{name} | |
348 | mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d | |
349 | fi | |
350 | done | |
351 | exit 0 | |
352 | ||
e8f4ba81 ER |
353 | %post |
354 | %{_libdir}/%{name}/register || : | |
355 | ||
44be9ed4 | 356 | %files |
357 | %defattr(644,root,root,755) | |
cae5b55b | 358 | %attr(755,root,root) %{_bindir}/thunderbird |
44be9ed4 | 359 | %attr(755,root,root) %{_bindir}/mozilla-thunderbird |
360 | %attr(755,root,root) %{_bindir}/thunderbird | |
361 | %dir %{_libdir}/%{name} | |
765a3a27 | 362 | %{_libdir}/%{name}/application.ini |
6b327de6 JB |
363 | %{_libdir}/%{name}/blocklist.xml |
364 | %{_libdir}/%{name}/chrome.manifest | |
44be9ed4 | 365 | %dir %{_libdir}/%{name}/components |
6b327de6 | 366 | %{_libdir}/%{name}/components/components.manifest |
73d54cb2 JB |
367 | %attr(755,root,root) %{_libdir}/%{name}/*.sh |
368 | %attr(755,root,root) %{_libdir}/%{name}/*-bin | |
cae5b55b | 369 | %attr(755,root,root) %{_libdir}/%{name}/thunderbird |
73d54cb2 | 370 | %attr(755,root,root) %{_libdir}/%{name}/register |
d0b96b40 | 371 | %{_libdir}/%{name}/omni.ja |
73d54cb2 | 372 | %if %{without xulrunner} |
a367af64 | 373 | %{_libdir}/%{name}/dependentlibs.list |
73d54cb2 | 374 | %{_libdir}/%{name}/platform.ini |
73d54cb2 | 375 | %attr(755,root,root) %{_libdir}/%{name}/components/*.so |
0516fc42 | 376 | %attr(755,root,root) %{_libdir}/%{name}/libmozalloc.so |
a97d3356 | 377 | %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so} |
0516fc42 | 378 | %attr(755,root,root) %{_libdir}/%{name}/libxul.so |
cf62736e | 379 | %attr(755,root,root) %{_libdir}/%{name}/plugin-container |
73d54cb2 | 380 | %endif |
44be9ed4 | 381 | |
382 | # symlinks | |
383 | %{_libdir}/%{name}/chrome | |
384 | %{_libdir}/%{name}/defaults | |
44be9ed4 | 385 | %{_libdir}/%{name}/isp |
eca54e0f | 386 | %{_libdir}/%{name}/searchplugins |
9b40a2c3 JB |
387 | %if %{with xulrunner} |
388 | %{_libdir}/%{name}/xulrunner | |
389 | %else | |
73d54cb2 | 390 | %{_libdir}/%{name}/dictionaries |
73d54cb2 | 391 | %endif |
44be9ed4 | 392 | |
cae5b55b JR |
393 | %{_pixmapsdir}/thunderbird.png |
394 | %{_desktopdir}/thunderbird.desktop | |
44be9ed4 | 395 | |
396 | %dir %{_datadir}/%{name} | |
3a30e2d7 JR |
397 | %dir %{_libdir}/%{name}/distribution |
398 | %dir %{_libdir}/%{name}/distribution/extensions | |
eca54e0f | 399 | %{_datadir}/%{name}/extensions |
eca54e0f | 400 | %{_datadir}/%{name}/searchplugins |
44be9ed4 | 401 | |
765a3a27 ER |
402 | %if %{with crashreporter} |
403 | %attr(755,root,root) %{_libdir}/%{name}/crashreporter | |
404 | %{_libdir}/%{name}/crashreporter.ini | |
405 | %{_libdir}/%{name}/Throbber-small.gif | |
406 | %endif | |
407 | ||
44be9ed4 | 408 | %dir %{_libdir}/%{name}/extensions |
409 | %{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} | |
6578c165 | 410 | |
52fc61e6 ER |
411 | # files created by regxpcom -register |
412 | %ghost %{_libdir}/%{name}/components/compreg.dat | |
413 | %ghost %{_libdir}/%{name}/components/xpti.dat | |
414 | ||
cae5b55b | 415 | %{_iconsdir}/hicolor/*/apps/thunderbird.* |
d0b96b40 | 416 | |
6578c165 | 417 | %if %{with lightning} |
418 | %files addon-lightning | |
419 | %defattr(644,root,root,755) | |
3a30e2d7 JR |
420 | %dir %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} |
421 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/app.ini | |
422 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.jar | |
423 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest | |
424 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/defaults | |
425 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/install.rdf | |
426 | %dir %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components | |
427 | %attr(755,root,root) %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.so | |
428 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.js | |
429 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*manifest | |
430 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.xpt | |
431 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules | |
432 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js | |
433 | %dir %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones | |
434 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones/zones.json | |
6578c165 | 435 | %endif |