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