]>
Commit | Line | Data |
---|---|---|
c4ddd260 | 1 | # TODO: |
283702b9 | 2 | # - build with system mozldap |
210a9feb | 3 | # - fix startup crash "TypeError: a is null" |
c4ddd260 | 4 | # |
44be9ed4 | 5 | # Conditional builds |
8b3db612 | 6 | %bcond_with tests # enable tests (whatever they check) |
210a9feb | 7 | %bcond_without gtk3 # GTK+ 3.x instead of 2.x |
44be9ed4 | 8 | %bcond_without ldap # disable e-mail address lookups in LDAP directories |
e820c55e | 9 | %bcond_without lightning # disable Sunbird/Lightning calendar |
506cce80 | 10 | %bcond_without official # official Thunderbird branding |
765a3a27 | 11 | %bcond_with crashreporter # report crashes to crash-stats.mozilla.com |
a97d3356 JR |
12 | # - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964 |
13 | %bcond_with shared_js # shared libmozjs library [broken] | |
99b97bc4 | 14 | %bcond_with system_icu # build with system ICU (disabled due to crashes with system icu 58.2) |
293b5895 | 15 | %bcond_without clang # build using Clang/LLVM |
88149483 | 16 | |
f4114a7f | 17 | %if 0%{?_enable_debug_packages} != 1 |
765a3a27 ER |
18 | %undefine crashreporter |
19 | %endif | |
20 | ||
8b3db612 | 21 | %define nspr_ver 4.13.1 |
5b7bcd89 | 22 | %define nss_ver 3.28.5 |
44be9ed4 | 23 | |
7d981f69 ER |
24 | # The actual sqlite version (see RHBZ#480989): |
25 | %define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR) | |
7d981f69 | 26 | |
cae5b55b JR |
27 | Summary: Thunderbird - email client |
28 | Summary(pl.UTF-8): Thunderbird - klient poczty | |
29 | Name: thunderbird | |
962f00cb | 30 | Version: 52.3.0 |
1e1b81a7 | 31 | Release: 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 |
962f00cb | 35 | # Source0-md5: 5841ee1a70423b9385110c82b78bef47 |
dd12359d JR |
36 | Source1: %{name}.desktop |
37 | Source2: %{name}.sh | |
38 | Patch0: prefs.patch | |
39 | Patch1: no-subshell.patch | |
40 | Patch2: enable-addons.patch | |
210a9feb | 41 | Patch3: mozilla-1245783.patch |
cae5b55b | 42 | URL: http://www.mozilla.org/projects/thunderbird/ |
51a3b6db | 43 | BuildRequires: alsa-lib-devel |
ea3df35f | 44 | BuildRequires: autoconf2_13 >= 2.13 |
51a3b6db | 45 | BuildRequires: bzip2-devel |
e820c55e | 46 | BuildRequires: cairo-devel >= 1.10 |
a22a585b | 47 | %{?with_clang:BuildRequires: clang} |
e820c55e | 48 | BuildRequires: dbus-glib-devel >= 0.60 |
5b7bcd89 | 49 | BuildRequires: fontconfig-devel >= 2.7.0 |
44be9ed4 | 50 | BuildRequires: freetype-devel >= 1:2.1.8 |
ea3df35f | 51 | BuildRequires: glib2-devel >= 1:2.22 |
99b97bc4 JR |
52 | %{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.18.0} |
53 | %{?with_gtk3:BuildRequires: gtk+3-devel >= 3.4.0} | |
5e9bb798 | 54 | BuildRequires: hunspell-devel |
5b9c8e4c | 55 | BuildRequires: libatomic-devel |
d0b96b40 | 56 | BuildRequires: libevent-devel |
5b7bcd89 | 57 | BuildRequires: libffi-devel > 3.0.9 |
99b97bc4 | 58 | %{?with_system_icu:BuildRequires: libicu-devel >= 58.1} |
51a3b6db | 59 | BuildRequires: libiw-devel |
e82da7a1 | 60 | # requires libjpeg-turbo implementing at least libjpeg 6b API |
44be9ed4 | 61 | BuildRequires: libjpeg-devel >= 6b |
e82da7a1 | 62 | BuildRequires: libjpeg-turbo-devel |
ea3df35f | 63 | BuildRequires: libpng-devel >= 2:1.6.25 |
44be9ed4 | 64 | BuildRequires: libstdc++-devel |
5b7bcd89 | 65 | BuildRequires: libvpx-devel >= 1.5.0 |
d0b96b40 | 66 | BuildRequires: mozldap-devel |
f4114a7f ER |
67 | BuildRequires: nspr-devel >= 1:%{nspr_ver} |
68 | BuildRequires: nss-devel >= 1:%{nss_ver} | |
62096d2c | 69 | BuildRequires: pango-devel >= 1:1.22.0 |
e820c55e | 70 | BuildRequires: perl-base >= 1:5.6 |
5b7bcd89 | 71 | BuildRequires: pixman-devel >= 0.19.2 |
1c62cadb | 72 | BuildRequires: pkgconfig |
ea3df35f | 73 | BuildRequires: python >= 1:2.7 |
cae5b55b | 74 | BuildRequires: python-virtualenv |
44be9ed4 | 75 | BuildRequires: sed >= 4.0 |
5b7bcd89 | 76 | BuildRequires: sqlite3-devel >= 3.17.0 |
1c62cadb | 77 | BuildRequires: startup-notification-devel >= 0.8 |
ffb12c8e | 78 | BuildRequires: virtualenv |
ea3df35f JB |
79 | BuildRequires: xorg-lib-libX11-devel |
80 | BuildRequires: xorg-lib-libXcomposite-devel | |
81 | BuildRequires: xorg-lib-libXdamage-devel | |
44be9ed4 | 82 | BuildRequires: xorg-lib-libXext-devel |
ea3df35f | 83 | BuildRequires: xorg-lib-libXfixes-devel |
44be9ed4 | 84 | BuildRequires: xorg-lib-libXt-devel |
ea3df35f JB |
85 | %ifarch %{ix86} %{x8664} |
86 | BuildRequires: yasm >= 1.0.1 | |
87 | %endif | |
1c62cadb | 88 | BuildRequires: zip |
ea3df35f JB |
89 | BuildRequires: zlib-devel >= 1.2.3 |
90 | Requires(post): mktemp >= 1.5-18 | |
91 | Requires: dbus-glib >= 0.60 | |
92 | Requires: glib2 >= 1:2.22 | |
99b97bc4 JR |
93 | %{!?with_gtk3:Requires: gtk+2 >= 2:2.18.0} |
94 | %{?with_gtk3:Requires: gtk+3 >= 3.4.0} | |
ea3df35f | 95 | Requires: libpng >= 2:1.6.25 |
5b7bcd89 | 96 | Requires: libvpx >= 1.5.0 |
44be9ed4 | 97 | Requires: myspell-common |
f4114a7f ER |
98 | Requires: nspr >= 1:%{nspr_ver} |
99 | Requires: nss >= 1:%{nss_ver} | |
62096d2c | 100 | Requires: pango >= 1:1.22.0 |
4b6bc367 | 101 | Requires: sqlite3 >= %{sqlite_build_version} |
ea3df35f | 102 | Requires: startup-notification >= 0.8 |
e82da7a1 | 103 | Requires: libjpeg-turbo |
99b97bc4 | 104 | Obsoletes: icedove |
44be9ed4 | 105 | Obsoletes: mozilla-thunderbird |
106 | Obsoletes: mozilla-thunderbird-dictionary-en-US | |
cae5b55b | 107 | Conflicts: thunderbird-lang-resources < %{version} |
44be9ed4 | 108 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
109 | ||
9e366f18 AM |
110 | %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+ |
111 | ||
e9df532c JR |
112 | %if %{with clang} |
113 | %define filterout -fvar-tracking-assignments | |
114 | %endif | |
115 | ||
cae5b55b | 116 | # firefox/thunderbird/seamonkey provide their own versions |
44be9ed4 | 117 | %define _noautoprovfiles %{_libdir}/%{name}/components |
99b97bc4 | 118 | |
fb7d4f06 | 119 | # we don't want these to satisfy packages depending on xulrunner |
6f32f966 | 120 | %define _noautoprov libmozalloc.so libmozjs.so libxul.so |
44be9ed4 | 121 | # and as we don't provide them, don't require either |
6f32f966 | 122 | %define _noautoreq libmozalloc.so libmozjs.so libxul.so |
44be9ed4 | 123 | |
7a5e9406 | 124 | %define topdir %{_builddir}/thunderbird-%{version} |
9e7875fc ER |
125 | %define objdir %{topdir}/obj-%{_target_cpu} |
126 | ||
44be9ed4 | 127 | %description |
cae5b55b | 128 | Thunderbird is an open-source, fast and portable email client. |
44be9ed4 | 129 | |
130 | %description -l pl.UTF-8 | |
cae5b55b | 131 | Thunderbird jest mającym otwarte źródła, szybkim i przenośnym klientem |
6b327de6 | 132 | poczty. |
44be9ed4 | 133 | |
6578c165 | 134 | %package addon-lightning |
cae5b55b JR |
135 | Summary: An integrated calendar for Thunderbird |
136 | Summary(pl.UTF-8): Zintegrowany kalendarz dla Thunderbird | |
6578c165 | 137 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ |
138 | Group: Applications/Networking | |
139 | Requires: %{name} = %{version}-%{release} | |
99b97bc4 | 140 | Obsoletes: icedove-addon-lightning |
6578c165 | 141 | |
142 | %description addon-lightning | |
cae5b55b | 143 | Lightning is an calendar extension to Thunderbird email client. |
6578c165 | 144 | |
145 | %description addon-lightning -l pl.UTF-8 | |
cae5b55b | 146 | Lightning to rozszerzenie do klienta poczty Thunderbird dodające |
6578c165 | 147 | funkcjonalność kalendarza. |
148 | ||
44be9ed4 | 149 | %prep |
cae5b55b | 150 | %setup -q |
dd12359d JR |
151 | %patch0 -p1 |
152 | %patch1 -p1 | |
f53f9bcd | 153 | %patch2 -p1 |
dd12359d | 154 | %patch3 -p1 |
d0b96b40 | 155 | |
44be9ed4 | 156 | %build |
fbac75ca | 157 | cat << EOF > .mozconfig |
9e7875fc | 158 | mk_add_options MOZ_OBJDIR=%{objdir} |
cb0e4412 | 159 | |
19f2dc46 JR |
160 | %if %{with clang} |
161 | export CC="clang" | |
162 | export CXX="clang++" | |
163 | %else | |
164 | export CC="%{__cc}" | |
165 | export CXX="%{__cxx}" | |
166 | %endif | |
167 | export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64" | |
168 | export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64" | |
169 | ||
765a3a27 ER |
170 | %if %{with crashreporter} |
171 | export MOZ_DEBUG_SYMBOLS=1 | |
172 | %endif | |
173 | ||
59c5a0e8 | 174 | # Options for 'configure' (same as command-line options). |
44be9ed4 | 175 | ac_add_options --prefix=%{_prefix} |
44be9ed4 | 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 | |
59c5a0e8 | 184 | ac_add_options --enable-optimize="%{rpmcflags} -Os" |
44be9ed4 | 185 | %endif |
88149483 | 186 | ac_add_options --disable-strip |
210a9feb | 187 | ac_add_options --disable-install-strip |
44be9ed4 | 188 | %if %{with tests} |
189 | ac_add_options --enable-tests | |
210a9feb | 190 | ac_add_options --enable-mochitest |
44be9ed4 | 191 | %else |
192 | ac_add_options --disable-tests | |
193 | %endif | |
3366507a JB |
194 | %if %{with lightning} |
195 | ac_add_options --enable-calendar | |
44be9ed4 | 196 | %else |
3366507a | 197 | ac_add_options --disable-calendar |
44be9ed4 | 198 | %endif |
765a3a27 ER |
199 | %if %{with crashreporter} |
200 | ac_add_options --enable-crashreporter | |
201 | %else | |
59c5a0e8 | 202 | ac_add_options --disable-crashreporter |
765a3a27 | 203 | %endif |
99b97bc4 | 204 | #ac_add_options --disable-elf-hack |
8b3db612 | 205 | ac_add_options --disable-gconf |
3366507a | 206 | ac_add_options --disable-gnomeui |
8b3db612 | 207 | ac_add_options --disable-necko-wifi |
88149483 | 208 | ac_add_options --disable-updater |
8b3db612 | 209 | ac_add_options --enable-alsa |
3366507a | 210 | ac_add_options --enable-application=mail |
ea3df35f | 211 | ac_add_options --enable-chrome-format=omni |
3366507a JB |
212 | ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2} |
213 | ac_add_options --enable-gio | |
214 | %if %{with ldap} | |
215 | ac_add_options --enable-ldap | |
3366507a JB |
216 | %else |
217 | ac_add_options --disable-ldap | |
218 | %endif | |
ea3df35f JB |
219 | %{?with_official:ac_add_options --enable-official-branding} |
220 | ac_add_options --enable-readline | |
a97d3356 | 221 | %{?with_shared_js:ac_add_options --enable-shared-js} |
88149483 | 222 | ac_add_options --enable-startup-notification |
44be9ed4 | 223 | ac_add_options --enable-system-cairo |
210a9feb | 224 | ac_add_options --enable-system-ffi |
5e9bb798 | 225 | ac_add_options --enable-system-hunspell |
7d981f69 | 226 | ac_add_options --enable-system-sqlite |
210a9feb | 227 | ac_add_options --enable-url-classifier |
3366507a JB |
228 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} |
229 | ac_add_options --with-distribution-id=org.pld-linux | |
88149483 ER |
230 | ac_add_options --with-pthreads |
231 | ac_add_options --with-system-bz2 | |
99b97bc4 | 232 | ac_add_options --with%{!?with_system_icu:out}-system-icu |
44be9ed4 | 233 | ac_add_options --with-system-jpeg |
d0b96b40 JR |
234 | ac_add_options --with-system-libevent |
235 | ac_add_options --with-system-libvpx | |
44be9ed4 | 236 | ac_add_options --with-system-nspr |
237 | ac_add_options --with-system-nss | |
238 | ac_add_options --with-system-png | |
239 | ac_add_options --with-system-zlib | |
210a9feb | 240 | ac_add_options --with-x |
44be9ed4 | 241 | EOF |
242 | ||
d0b96b40 | 243 | mkdir -p %{objdir}/config |
7a5e9406 | 244 | ln -sf %{topdir}/mozilla/config/*.mk %{objdir}/config |
d0b96b40 | 245 | |
90e998ba | 246 | %{__make} -j1 -f client.mk build \ |
210a9feb JR |
247 | AUTOCONF=/usr/bin/autoconf2_13 \ |
248 | MOZ_MAKE_FLAGS="%{_smp_mflags}" | |
44be9ed4 | 249 | |
765a3a27 ER |
250 | %if %{with crashreporter} |
251 | # create debuginfo for crash-stats.mozilla.com | |
252 | %{__make} -j1 -C obj-%{_target_cpu} buildsymbols | |
253 | %endif | |
254 | ||
44be9ed4 | 255 | %install |
256 | rm -rf $RPM_BUILD_ROOT | |
99b97bc4 | 257 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/plugins,%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}} |
44be9ed4 | 258 | |
9e7875fc | 259 | cd %{objdir} |
ecf04393 | 260 | %{__make} -C mail/installer stage-package \ |
44be9ed4 | 261 | DESTDIR=$RPM_BUILD_ROOT \ |
d0b96b40 | 262 | installdir=%{_libdir}/%{name} \ |
44be9ed4 | 263 | PKG_SKIP_STRIP=1 |
264 | ||
cae5b55b | 265 | cp -a dist/thunderbird/* $RPM_BUILD_ROOT%{_libdir}/%{name}/ |
d0b96b40 | 266 | |
9b40a2c3 | 267 | # Enable crash reporter for Thunderbird application |
765a3a27 ER |
268 | %if %{with crashreporter} |
269 | %{__sed} -i -e 's/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/' $RPM_BUILD_ROOT%{_libdir}/%{name}/application.ini | |
270 | ||
271 | # Add debuginfo for crash-stats.mozilla.com | |
51a3b6db | 272 | install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name} |
3a30e2d7 | 273 | cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name} |
765a3a27 ER |
274 | %endif |
275 | ||
99b97bc4 JR |
276 | %{__sed} -e 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/%{name} |
277 | cp -p dist/thunderbird/chrome/icons/default/default48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png | |
78c9ef4f | 278 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop |
c6ec3c1c | 279 | |
99b97bc4 JR |
280 | # use system dict |
281 | %{__rm} -rv $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
44be9ed4 | 282 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries |
99b97bc4 | 283 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation |
e6bc19b3 | 284 | |
99b97bc4 JR |
285 | # move arch independant ones to datadir |
286 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome | |
287 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults | |
288 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp | |
289 | ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome | |
290 | ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults | |
291 | ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp | |
52fc61e6 | 292 | |
283702b9 | 293 | # mozldap |
d0b96b40 JR |
294 | %{__sed} -i '/lib\(ldap\|ldif\|prldap\)60.so/d' $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list |
295 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap}60.so | |
283702b9 | 296 | |
99b97bc4 JR |
297 | # remove unecessary stuff |
298 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/removed-files | |
299 | ||
44be9ed4 | 300 | %clean |
301 | rm -rf $RPM_BUILD_ROOT | |
302 | ||
303 | %pretrans | |
304 | if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then | |
305 | mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave} | |
306 | fi | |
99b97bc4 | 307 | for d in chrome defaults icons isp modules res; do |
44be9ed4 | 308 | if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then |
309 | install -d %{_datadir}/%{name} | |
310 | mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d | |
311 | fi | |
312 | done | |
313 | exit 0 | |
314 | ||
e8f4ba81 | 315 | %post |
99b97bc4 JR |
316 | %update_desktop_database_post |
317 | # make temporary HOME, as it attempts to touch files in $HOME/.mozilla | |
318 | # dangerous if you run this with sudo with keep_env += HOME | |
319 | # also TMPDIR could be pointing to sudo user's homedir so we reset that too. | |
320 | export HOME=$(mktemp -d) | |
321 | unset TMPDIR TMP || : | |
322 | umask 022 | |
323 | %{_libdir}/%{name}/thunderbird -register | |
324 | rm -rf $HOME | |
325 | ||
326 | %postun | |
327 | %update_desktop_database_postun | |
e8f4ba81 | 328 | |
44be9ed4 | 329 | %files |
330 | %defattr(644,root,root,755) | |
99b97bc4 | 331 | %attr(755,root,root) %{_bindir}/%{name} |
44be9ed4 | 332 | %dir %{_libdir}/%{name} |
99b97bc4 JR |
333 | %dir %{_libdir}/%{name}/plugins |
334 | ||
335 | %if %{with gtk3} | |
336 | %dir %{_libdir}/%{name}/gtk2 | |
337 | %attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so | |
338 | %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so | |
339 | %endif | |
340 | %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so | |
341 | %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so} | |
210a9feb | 342 | %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so |
99b97bc4 | 343 | %attr(755,root,root) %{_libdir}/%{name}/libxul.so |
73d54cb2 JB |
344 | %attr(755,root,root) %{_libdir}/%{name}/*.sh |
345 | %attr(755,root,root) %{_libdir}/%{name}/*-bin | |
99b97bc4 | 346 | %attr(755,root,root) %{_libdir}/%{name}/plugin-container |
cae5b55b | 347 | %attr(755,root,root) %{_libdir}/%{name}/thunderbird |
99b97bc4 JR |
348 | |
349 | %{_libdir}/%{name}/application.ini | |
350 | %{_libdir}/%{name}/blocklist.xml | |
a367af64 | 351 | %{_libdir}/%{name}/dependentlibs.list |
99b97bc4 | 352 | %{_libdir}/%{name}/omni.ja |
73d54cb2 | 353 | %{_libdir}/%{name}/platform.ini |
210a9feb JR |
354 | %{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat} |
355 | ||
356 | %dir %{_libdir}/%{name}/fonts | |
357 | %{_libdir}/%{name}/fonts/EmojiOneMozilla.ttf | |
44be9ed4 | 358 | |
765a3a27 ER |
359 | %if %{with crashreporter} |
360 | %attr(755,root,root) %{_libdir}/%{name}/crashreporter | |
361 | %{_libdir}/%{name}/crashreporter.ini | |
362 | %{_libdir}/%{name}/Throbber-small.gif | |
363 | %endif | |
364 | ||
44be9ed4 | 365 | %dir %{_libdir}/%{name}/extensions |
99b97bc4 JR |
366 | %{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi |
367 | ||
368 | %dir %{_libdir}/%{name}/distribution | |
369 | %dir %{_libdir}/%{name}/distribution/extensions | |
370 | ||
371 | # symlinks | |
372 | %{_libdir}/%{name}/chrome | |
373 | %{_libdir}/%{name}/defaults | |
374 | %{_libdir}/%{name}/dictionaries | |
375 | %{_libdir}/%{name}/hyphenation | |
376 | %{_libdir}/%{name}/isp | |
6578c165 | 377 | |
99b97bc4 JR |
378 | %{_pixmapsdir}/*.png |
379 | %{_desktopdir}/*.desktop | |
52fc61e6 | 380 | |
99b97bc4 JR |
381 | %dir %{_datadir}/%{name} |
382 | %{_datadir}/%{name}/chrome | |
383 | %{_datadir}/%{name}/defaults | |
384 | %{_datadir}/%{name}/isp | |
d0b96b40 | 385 | |
6578c165 | 386 | %if %{with lightning} |
387 | %files addon-lightning | |
388 | %defattr(644,root,root,755) | |
3a30e2d7 JR |
389 | %dir %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} |
390 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/app.ini | |
391 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.jar | |
392 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest | |
393 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/defaults | |
394 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/install.rdf | |
395 | %dir %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components | |
3a30e2d7 JR |
396 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.js |
397 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*manifest | |
398 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.xpt | |
399 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules | |
400 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js | |
401 | %dir %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones | |
402 | %{_libdir}/%{name}/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones/zones.json | |
6578c165 | 403 | %endif |