]>
Commit | Line | Data |
---|---|---|
cd056caa | 1 | # |
c4ddd260 | 2 | # TODO: |
c4ddd260 | 3 | # - separate spec for enigmail |
c4ddd260 | 4 | # |
44be9ed4 | 5 | # Conditional builds |
6 | %bcond_without enigmail # don't build enigmail - GPG/PGP support | |
7 | %bcond_without gnomeui # disable gnomeui support | |
8 | %bcond_without gnomevfs # disable GNOME comp. (gconf+libgnome+gnomevfs) and gnomevfs ext. | |
9 | %bcond_without gnome # disable all GNOME components (gnome+gnomeui+gnomevfs) | |
10 | %bcond_without ldap # disable e-mail address lookups in LDAP directories | |
6578c165 | 11 | %bcond_without lightning # disable sunbird calendar |
44be9ed4 | 12 | # |
13 | %if %{without gnome} | |
14 | %undefine with_gnomeui | |
15 | %undefine with_gnomevfs | |
16 | %endif | |
6578c165 | 17 | %define enigmail_ver 1.0.1 |
44be9ed4 | 18 | |
19 | Summary: Icedove - email client | |
20 | Summary(pl.UTF-8): Icedove - klient poczty | |
21 | Name: icedove | |
ab4bbb5b | 22 | Version: 3.0.2 |
5e9bb798 | 23 | Release: 1 |
44be9ed4 | 24 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ |
25 | Group: Applications/Networking | |
cadfb931 | 26 | Source0: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/thunderbird-%{version}.source.tar.bz2 |
ab4bbb5b | 27 | # Source0-md5: db7e52c41ba5fec9428e170833e6a63f |
44be9ed4 | 28 | Source1: http://www.mozilla-enigmail.org/download/source/enigmail-%{enigmail_ver}.tar.gz |
6578c165 | 29 | # Source1-md5: 508ca9ab0396afb49e82eda88014924b |
44be9ed4 | 30 | Source2: %{name}-branding.tar.bz2 |
6578c165 | 31 | # Source2-md5: 2da351522bdd7f4a3bd8aaff4c776976 |
44be9ed4 | 32 | Source3: %{name}-rm_nonfree.sh |
33 | Source4: %{name}.desktop | |
34 | Source5: %{name}.sh | |
2f151de0 | 35 | Source6: %{name}-enigmail.manifest |
44be9ed4 | 36 | Patch0: %{name}-branding.patch |
faa5c89d SP |
37 | Patch1: %{name}-enigmail-shared.patch |
38 | Patch2: %{name}-gcc.patch | |
39 | Patch3: %{name}-fonts.patch | |
40 | Patch4: %{name}-install.patch | |
5e9bb798 | 41 | Patch5: %{name}-hunspell.patch |
faa5c89d | 42 | Patch6: %{name}-prefs.patch |
ab4bbb5b | 43 | Patch7: %{name}-libpng.patch |
4922c320 | 44 | URL: http://www.pld-linux.org/Packages/Icedove |
44be9ed4 | 45 | %{?with_gnomevfs:BuildRequires: GConf2-devel >= 1.2.1} |
46 | BuildRequires: automake | |
47 | BuildRequires: freetype-devel >= 1:2.1.8 | |
48 | %{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.0} | |
49 | BuildRequires: gtk+2-devel >= 1:2.0.0 | |
5e9bb798 | 50 | BuildRequires: hunspell-devel |
44be9ed4 | 51 | BuildRequires: libIDL-devel >= 0.8.0 |
52 | %{?with_gnomevfs:BuildRequires: libgnome-devel >= 2.0} | |
53 | %{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0} | |
54 | BuildRequires: libjpeg-devel >= 6b | |
55 | BuildRequires: libpng-devel >= 1.2.0 | |
56 | BuildRequires: libstdc++-devel | |
cadfb931 SP |
57 | BuildRequires: nspr-devel >= 1:4.8 |
58 | BuildRequires: nss-devel >= 1:3.12.0 | |
44be9ed4 | 59 | BuildRequires: pango-devel >= 1:1.1.0 |
1c62cadb | 60 | BuildRequires: pkgconfig |
44be9ed4 | 61 | BuildRequires: sed >= 4.0 |
1c62cadb | 62 | BuildRequires: startup-notification-devel >= 0.8 |
44be9ed4 | 63 | BuildRequires: xorg-lib-libXext-devel |
44be9ed4 | 64 | BuildRequires: xorg-lib-libXinerama-devel |
44be9ed4 | 65 | BuildRequires: xorg-lib-libXt-devel |
1c62cadb | 66 | BuildRequires: zip |
44be9ed4 | 67 | Requires: myspell-common |
68 | Requires: nspr >= 1:4.6.1 | |
69 | Requires: nss >= 1:3.11.3 | |
70 | Obsoletes: mozilla-thunderbird | |
71 | Obsoletes: mozilla-thunderbird-dictionary-en-US | |
72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
73 | ||
9e366f18 AM |
74 | %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+ |
75 | ||
44be9ed4 | 76 | # iceweasel/icedove/iceape provide their own versions |
77 | %define _noautoreqdep libgfxpsshar.so libgkgfx.so libgtkxtbin.so libjsj.so libxpcom_compat.so libxpcom_core.so libxpistub.so | |
78 | %define _noautoprovfiles %{_libdir}/%{name}/components | |
79 | # we don't want these to satisfy xulrunner-devel | |
80 | %define _noautoprov libgtkembedmoz.so libldap50.so libmozjs.so libprldap50.so libssldap50.so libxpcom.so libxul.so | |
81 | # and as we don't provide them, don't require either | |
82 | %define _noautoreq libgtkembedmoz.so libldap50.so libmozjs.so libprldap50.so libssldap50.so libxpcom.so libxul.so | |
83 | ||
84 | %description | |
85 | Icedove is an open-source,fast and portable email client. | |
86 | ||
87 | %description -l pl.UTF-8 | |
88 | Icedove jest open sourcowym, szybkim i przenośnym klientem poczty. | |
89 | ||
6578c165 | 90 | %package addon-lightning |
91 | Summary: An integrated calendar for Icedove | |
92 | Summary(pl.UTF-8): Zintegrowany kalendarz dla Icedove | |
93 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ | |
94 | Group: Applications/Networking | |
95 | Requires: %{name} = %{version}-%{release} | |
96 | ||
97 | %description addon-lightning | |
98 | Lightning is an calendar extension to Icedove email client. | |
99 | ||
100 | %description addon-lightning -l pl.UTF-8 | |
101 | Lightning to rozszerzenie do klienta poczty Icedove dodające | |
102 | funkcjonalność kalendarza. | |
103 | ||
44be9ed4 | 104 | %package addon-enigmail |
105 | Summary: Extension for the authentication and encryption features provided by GnuPG | |
106 | Summary(pl.UTF-8): Rozszerzenie do uwierzytelniania i szyfrowania zapewnianego przez GnuPG | |
107 | License: MPL/LGPL | |
108 | Group: Applications/Networking | |
109 | URL: http://enigmail.mozdev.org/ | |
cd056caa | 110 | Requires: %{name} = %{version}-%{release} |
d076d93e | 111 | Requires: gnupg |
75991bbb | 112 | Obsoletes: mozilla-thunderbird-addon-enigmail |
44be9ed4 | 113 | |
114 | %description addon-enigmail | |
c5e06599 | 115 | Enigmail is an extension to the Icedove mail client which allows users |
116 | to access the authentication and encryption features provided by | |
117 | GnuPG. | |
44be9ed4 | 118 | |
119 | Main Features: | |
120 | - Encrypt/sign mail when sending, decrypt/authenticate received mail | |
121 | - Support for inline-PGP (RFC 2440) and PGP/MIME (RFC 3156) | |
122 | - Per-Account based encryption and signing defaults | |
123 | - Per-Recipient rules for automated key selection, and | |
124 | enabling/disabling encryption and signing | |
125 | - OpenPGP key management interface | |
126 | ||
127 | %description addon-enigmail -l pl.UTF-8 | |
c5e06599 | 128 | Enigmail to rozszerzenie klienta pocztowego Icedove pozwalające |
faa5c89d SP |
129 | użytkownikom na dostęp do uwierzytelniania i szyfrowania zapewnianego |
130 | przez GnuPG. | |
44be9ed4 | 131 | |
132 | Główne możliwości: | |
133 | - szyfrowanie/podpisywanie poczty przy wysyłaniu, | |
134 | odszyfrowywanie/uwierzytelnianie poczty odebranej | |
135 | - obsługa inline-PGP (RFC 2440) i PGP/MIME (RFC 3156) | |
136 | - ustawienia domyślne szyfrowania i podpisywania dla każdego konta | |
137 | - reguły automatycznego wyboru kluczy i włączenia szyfrowania oraz | |
138 | podpisywania dla każdego adresata | |
139 | - interfejs do zarządzania kluczami OpenPGP | |
140 | ||
141 | %prep | |
983562b1 | 142 | %setup -qc |
143 | mv -f comm-1.9.1 mozilla | |
144 | %setup -q -T -D -a2 | |
145 | cd mozilla | |
44be9ed4 | 146 | %{?with_enigmail:tar xvfz %{SOURCE1} -C mailnews/extensions} |
147 | /bin/sh %{SOURCE3} | |
983562b1 | 148 | %patch0 -p1 |
faa5c89d SP |
149 | %{?with_enigmail:%patch1 -p1} |
150 | %patch2 -p1 | |
4ccc2157 | 151 | %patch3 -p1 |
faa5c89d | 152 | %patch4 -p1 |
5e9bb798 | 153 | %patch5 -p1 |
983562b1 | 154 | %patch6 -p1 |
0ffa69f3 | 155 | %patch7 -p1 |
44be9ed4 | 156 | |
157 | %build | |
983562b1 | 158 | cd mozilla |
44be9ed4 | 159 | export CFLAGS="%{rpmcflags} `%{_bindir}/pkg-config mozilla-nspr --cflags-only-I`" |
160 | export CXXFLAGS="%{rpmcflags} `%{_bindir}/pkg-config mozilla-nspr --cflags-only-I`" | |
161 | ||
cadfb931 SP |
162 | cp -f %{_datadir}/automake/config.* mozilla/build/autoconf |
163 | cp -f %{_datadir}/automake/config.* mozilla/nsprpub/build/autoconf | |
44be9ed4 | 164 | cp -f %{_datadir}/automake/config.* directory/c-sdk/config/autoconf |
165 | ||
166 | cat << 'EOF' > .mozconfig | |
cb0e4412 SP |
167 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu} |
168 | ||
59c5a0e8 | 169 | # Options for 'configure' (same as command-line options). |
44be9ed4 | 170 | ac_add_options --prefix=%{_prefix} |
171 | ac_add_options --exec-prefix=%{_exec_prefix} | |
172 | ac_add_options --bindir=%{_bindir} | |
173 | ac_add_options --sbindir=%{_sbindir} | |
174 | ac_add_options --sysconfdir=%{_sysconfdir} | |
175 | ac_add_options --datadir=%{_datadir} | |
176 | ac_add_options --includedir=%{_includedir} | |
177 | ac_add_options --libdir=%{_libdir} | |
178 | ac_add_options --libexecdir=%{_libexecdir} | |
179 | ac_add_options --localstatedir=%{_localstatedir} | |
180 | ac_add_options --sharedstatedir=%{_sharedstatedir} | |
181 | ac_add_options --mandir=%{_mandir} | |
182 | ac_add_options --infodir=%{_infodir} | |
183 | %if %{?debug:1}0 | |
59c5a0e8 | 184 | ac_add_options --disable-optimize |
44be9ed4 | 185 | ac_add_options --enable-debug |
186 | ac_add_options --enable-debug-modules | |
59c5a0e8 SP |
187 | ac_add_options --enable-debugger-info-modules |
188 | ac_add_options --enable-crash-on-assert | |
44be9ed4 | 189 | %else |
190 | ac_add_options --disable-debug | |
191 | ac_add_options --disable-debug-modules | |
59c5a0e8 SP |
192 | ac_add_options --disable-logging |
193 | ac_add_options --enable-optimize="%{rpmcflags} -Os" | |
44be9ed4 | 194 | %endif |
195 | %if %{with tests} | |
196 | ac_add_options --enable-tests | |
197 | %else | |
198 | ac_add_options --disable-tests | |
199 | %endif | |
200 | %if %{with gnomeui} | |
201 | ac_add_options --enable-gnomeui | |
202 | %else | |
203 | ac_add_options --disable-gnomeui | |
204 | %endif | |
205 | %if %{with gnomevfs} | |
206 | ac_add_options --enable-gnomevfs | |
207 | %else | |
208 | ac_add_options --disable-gnomevfs | |
209 | %endif | |
210 | %if %{with ldap} | |
211 | ac_add_options --enable-ldap | |
212 | %else | |
213 | ac_add_options --disable-ldap | |
214 | %endif | |
59c5a0e8 | 215 | ac_add_options --disable-crashreporter |
59c5a0e8 SP |
216 | ac_add_options --disable-updater |
217 | ac_add_options --disable-xterm-updates | |
218 | ac_add_options --enable-ldap | |
219 | ac_add_options --enable-postscript | |
59c5a0e8 | 220 | ac_add_options --enable-startup-notification |
d076d93e | 221 | %if %{with lightning} |
cb0e4412 | 222 | ac_add_options --enable-calendar |
d076d93e SP |
223 | %else |
224 | ac_add_options --disable-calendar | |
225 | %endif | |
44be9ed4 | 226 | ac_add_options --disable-installer |
227 | ac_add_options --disable-jsd | |
228 | ac_add_options --disable-xprint | |
cadfb931 SP |
229 | ac_add_options --disable-permissions |
230 | ac_add_options --disable-pref-extensions | |
44be9ed4 | 231 | ac_add_options --enable-canvas |
232 | ac_add_options --enable-crypto | |
233 | ac_add_options --enable-default-toolkit="gtk2" | |
44be9ed4 | 234 | ac_add_options --enable-mathml |
235 | ac_add_options --enable-optimize="%{rpmcflags}" | |
236 | ac_add_options --enable-pango | |
237 | ac_add_options --enable-reorder | |
5f2ef1b6 | 238 | ac_add_options --enable-static |
44be9ed4 | 239 | ac_add_options --disable-strip |
240 | ac_add_options --disable-strip-libs | |
241 | ac_add_options --enable-system-cairo | |
5e9bb798 | 242 | ac_add_options --enable-system-hunspell |
44be9ed4 | 243 | ac_add_options --enable-svg |
244 | ac_add_options --enable-xft | |
cadfb931 SP |
245 | ac_add_options --enable-application=mail |
246 | ac_add_options --enable-default-toolkit=cairo-gtk2 | |
44be9ed4 | 247 | ac_add_options --enable-xinerama |
248 | ac_add_options --with-system-jpeg | |
249 | ac_add_options --with-system-nspr | |
250 | ac_add_options --with-system-nss | |
251 | ac_add_options --with-system-png | |
252 | ac_add_options --with-system-zlib | |
253 | ac_add_options --with-pthreads | |
254 | ac_add_options --enable-single-profile | |
255 | ac_add_options --disable-profilesharing | |
cb0e4412 | 256 | ac_add_options --with-distribution-id=org.pld-linux |
983562b1 | 257 | ac_add_options --with-branding=icedove/branding |
44be9ed4 | 258 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} |
259 | EOF | |
260 | ||
90e998ba | 261 | %{__make} -j1 -f client.mk build \ |
d076d93e SP |
262 | STRIP="/bin/true" \ |
263 | CC="%{__cc}" \ | |
44be9ed4 | 264 | CXX="%{__cxx}" |
265 | ||
266 | %if %{with enigmail} | |
59c5a0e8 | 267 | cd mailnews/extensions/enigmail |
d076d93e | 268 | ./makemake -r |
59c5a0e8 | 269 | %{__make} -C ../../../obj-%{_target_cpu}/mailnews/extensions/enigmail \ |
d076d93e SP |
270 | STRIP="/bin/true" \ |
271 | CC="%{__cc}" \ | |
272 | CXX="%{__cxx}" | |
44be9ed4 | 273 | %endif |
274 | ||
275 | %install | |
276 | rm -rf $RPM_BUILD_ROOT | |
277 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_pixmapsdir},%{_desktopdir}} \ | |
60c77977 SP |
278 | $RPM_BUILD_ROOT%{_datadir}/%{name} |
279 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name} | |
44be9ed4 | 280 | |
983562b1 | 281 | cd mozilla |
cb0e4412 | 282 | %{__make} -C obj-%{_target_cpu}/mail/installer stage-package \ |
44be9ed4 | 283 | DESTDIR=$RPM_BUILD_ROOT \ |
284 | MOZ_PKG_APPDIR=%{_libdir}/%{name} \ | |
285 | PKG_SKIP_STRIP=1 | |
286 | ||
287 | # move arch independant ones to datadir | |
288 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome | |
289 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults | |
290 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs | |
44be9ed4 | 291 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp |
292 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res | |
293 | ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome | |
294 | ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults | |
295 | ln -s ../../share/%{name}/greprefs $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs | |
44be9ed4 | 296 | ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp |
297 | ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res | |
298 | ||
299 | rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
300 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
301 | ||
302 | %{__sed} -e 's,@LIBDIR@,%{_libdir},' %{SOURCE5} > $RPM_BUILD_ROOT%{_bindir}/icedove | |
303 | ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/thunderbird | |
304 | ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/mozilla-thunderbird | |
305 | ||
306 | install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
307 | ||
308 | %if %{with enigmail} | |
309 | _enig_dir=$RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\} | |
310 | install -d $_enig_dir/chrome | |
311 | install -d $_enig_dir/components | |
312 | install -d $_enig_dir/defaults/preferences | |
313 | mv -f $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome/enigmail.jar $_enig_dir/chrome | |
44be9ed4 | 314 | mv -f $RPM_BUILD_ROOT%{_libdir}/%{name}/components/enig* $_enig_dir/components |
315 | mv -f $RPM_BUILD_ROOT%{_libdir}/%{name}/components/libenigmime.so $_enig_dir/components | |
316 | mv -f $RPM_BUILD_ROOT%{_libdir}/%{name}/components/ipc.xpt $_enig_dir/components | |
317 | mv -f $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults/preferences/enigmail.js $_enig_dir/defaults/preferences | |
318 | cp -f mailnews/extensions/enigmail/package/install.rdf $_enig_dir | |
319 | rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults/preferences | |
320 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome/enigmail-en-US.jar | |
321 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome/enigmail-skin.jar | |
322 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome/enigmime.jar | |
323 | rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/components/enig* | |
324 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/components/libenigmime.so | |
325 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/components/ipc.xpt | |
2f151de0 | 326 | cp -f %{SOURCE6} $_enig_dir/chrome.manifest |
983562b1 | 327 | cp -f icedove/branding/content/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/icedove.png |
44be9ed4 | 328 | %endif |
329 | ||
330 | # win32 stuff | |
331 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/dirver | |
332 | ||
333 | %clean | |
334 | rm -rf $RPM_BUILD_ROOT | |
335 | ||
336 | %pretrans | |
337 | if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then | |
338 | mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave} | |
339 | fi | |
bc9cd18a | 340 | for d in chrome defaults greprefs icons isp res; do |
44be9ed4 | 341 | if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then |
342 | install -d %{_datadir}/%{name} | |
343 | mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d | |
344 | fi | |
345 | done | |
346 | exit 0 | |
347 | ||
348 | %files | |
349 | %defattr(644,root,root,755) | |
350 | %attr(755,root,root) %{_bindir}/icedove | |
351 | %attr(755,root,root) %{_bindir}/mozilla-thunderbird | |
352 | %attr(755,root,root) %{_bindir}/thunderbird | |
353 | %dir %{_libdir}/%{name} | |
60c77977 | 354 | %{_libdir}/%{name}/*.ini |
44be9ed4 | 355 | %dir %{_libdir}/%{name}/components |
356 | %attr(755,root,root) %{_libdir}/%{name}/components/*.so | |
357 | %{_libdir}/%{name}/components/*.js | |
358 | %{_libdir}/%{name}/components/*.xpt | |
359 | %attr(755,root,root) %{_libdir}/%{name}/*.so | |
360 | %attr(755,root,root) %{_libdir}/%{name}/*.sh | |
361 | %attr(755,root,root) %{_libdir}/%{name}/*-bin | |
362 | %attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client | |
bc9cd18a | 363 | %attr(755,root,root) %{_libdir}/%{name}/icedove |
44be9ed4 | 364 | |
365 | # symlinks | |
366 | %{_libdir}/%{name}/chrome | |
367 | %{_libdir}/%{name}/defaults | |
368 | %{_libdir}/%{name}/dictionaries | |
369 | %{_libdir}/%{name}/greprefs | |
44be9ed4 | 370 | %{_libdir}/%{name}/isp |
371 | %{_libdir}/%{name}/res | |
372 | ||
373 | %{_libdir}/%{name}/dependentlibs.list | |
5e9bb798 | 374 | %{_pixmapsdir}/*.png |
44be9ed4 | 375 | %{_desktopdir}/*.desktop |
376 | ||
377 | %dir %{_datadir}/%{name} | |
378 | %{_datadir}/%{name}/chrome | |
379 | %{_datadir}/%{name}/defaults | |
380 | %{_datadir}/%{name}/greprefs | |
44be9ed4 | 381 | %{_datadir}/%{name}/isp |
382 | %{_datadir}/%{name}/res | |
383 | ||
60c77977 SP |
384 | %dir %{_libdir}/%{name}/modules |
385 | %{_libdir}/%{name}/modules/*.js* | |
386 | %dir %{_libdir}/%{name}/modules/activity | |
387 | %{_libdir}/%{name}/modules/activity/*.js | |
388 | %dir %{_libdir}/%{name}/modules/gloda | |
389 | %{_libdir}/%{name}/modules/gloda/*.js | |
390 | ||
44be9ed4 | 391 | %dir %{_libdir}/%{name}/extensions |
392 | %{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} | |
6578c165 | 393 | |
394 | %if %{with lightning} | |
395 | %files addon-lightning | |
396 | %defattr(644,root,root,755) | |
94402182 | 397 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} |
6578c165 | 398 | %{_libdir}/%{name}/extensions/calendar-timezones@mozilla.org |
399 | %endif | |
44be9ed4 | 400 | |
401 | %if %{with enigmail} | |
402 | %files addon-enigmail | |
403 | %defattr(644,root,root,755) | |
404 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5} | |
405 | %endif |