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