]>
Commit | Line | Data |
---|---|---|
1d0185d8 | 1 | # |
2 | # Conditional build: | |
dae07f1c | 3 | %bcond_without enigmail # don't build enigmail - GPG/PGP support |
dae07f1c JR |
4 | %bcond_without ldap # disable e-mail address lookups in LDAP directories |
5 | %bcond_without lightning # disable Sunbird/Lightning calendar | |
6 | %bcond_with xulrunner # build with system xulrunner | |
7 | %bcond_with tests # enable tests (whatever they check) | |
8 | %bcond_without kerberos # disable krb5 support | |
05361369 | 9 | |
9084fc2b | 10 | %define enigmail_ver 1.6 |
5d094b34 | 11 | %define nspr_ver 4.9.3 |
eda7f104 | 12 | %define nss_ver 3.14.3 |
738e838e | 13 | %define xulrunner_ver 23.0 |
dae07f1c JR |
14 | |
15 | %if %{without xulrunner} | |
16 | # The actual sqlite version (see RHBZ#480989): | |
17 | %define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR) | |
18 | %endif | |
19 | ||
1d0185d8 | 20 | Summary: Iceape - web browser |
21 | Summary(es.UTF-8): Navegador de Internet Iceape | |
22 | Summary(pl.UTF-8): Iceape - przeglądarka WWW | |
23 | Summary(pt_BR.UTF-8): Navegador Iceape | |
24 | Name: iceape | |
9084fc2b | 25 | Version: 2.22 |
738e838e | 26 | Release: 0.1 |
1d0185d8 | 27 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ |
28 | Group: X11/Applications/Networking | |
9d5ee07b | 29 | Source0: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/source/seamonkey-%{version}.source.tar.bz2 |
9084fc2b | 30 | # Source0-md5: 49b92ed98c23efdbdafa39b9dee920a7 |
1d0185d8 | 31 | Source1: http://www.mozilla-enigmail.org/download/source/enigmail-%{enigmail_ver}.tar.gz |
9084fc2b | 32 | # Source1-md5: 4a2bbcb020bdb282a660fda8c70d5608 |
1d0185d8 | 33 | Source2: %{name}-branding.tar.bz2 |
9084fc2b | 34 | # Source2-md5: 0bc28b4382aa8a961f8f7b2ba66d8f89 |
1d0185d8 | 35 | Source3: %{name}-rm_nonfree.sh |
36 | Source4: %{name}.desktop | |
37 | Source5: %{name}-composer.desktop | |
38 | Source6: %{name}-chat.desktop | |
39 | Source7: %{name}-mail.desktop | |
40 | Source8: %{name}-venkman.desktop | |
03e92ac3 | 41 | Source9: %{name}.sh |
1d0185d8 | 42 | Patch0: %{name}-branding.patch |
dae07f1c JR |
43 | Patch1: %{name}-pld-branding.patch |
44 | Patch2: %{name}-agent.patch | |
45 | Patch3: %{name}-glueload-fix.patch | |
46 | Patch4: system-mozldap.patch | |
47 | Patch5: makefile.patch | |
888f80ab JR |
48 | # Edit patch below and restore --system-site-packages when system virtualenv gets 1.7 upgrade |
49 | Patch7: system-virtualenv.patch | |
44a2ebe4 | 50 | Patch8: gyp-slashism.patch |
740e5f43 | 51 | Patch9: %{name}-system-xulrunner.patch |
738e838e JR |
52 | Patch10: enigmail-moz.build.patch |
53 | Patch11: packaging.patch | |
e99fd609 | 54 | URL: http://www.pld-linux.org/Packages/Iceape |
dae07f1c JR |
55 | BuildRequires: GConf2-devel >= 1.2.1 |
56 | BuildRequires: OpenGL-devel | |
57 | BuildRequires: alsa-lib-devel | |
1d0185d8 | 58 | BuildRequires: automake |
dae07f1c JR |
59 | BuildRequires: bzip2-devel |
60 | BuildRequires: cairo-devel >= 1.10.2-5 | |
61 | BuildRequires: dbus-glib-devel >= 0.60 | |
1d0185d8 | 62 | BuildRequires: freetype-devel >= 1:2.1.8 |
dae07f1c JR |
63 | BuildRequires: glib2-devel >= 1:2.18 |
64 | BuildRequires: gtk+2-devel >= 2:2.10 | |
65 | %{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1} | |
66 | BuildRequires: hunspell-devel | |
1d0185d8 | 67 | BuildRequires: libIDL-devel >= 0.8.0 |
dae07f1c JR |
68 | BuildRequires: libdnet-devel |
69 | BuildRequires: libevent-devel >= 1.4.7 | |
70 | # standalone libffi 3.0.9 or gcc's from 4.5(?)+ | |
71 | BuildRequires: libffi-devel >= 6:3.0.9 | |
dae07f1c | 72 | BuildRequires: libiw-devel |
f7c8750c | 73 | # requires libjpeg-turbo implementing at least libjpeg 6b API |
1d0185d8 | 74 | BuildRequires: libjpeg-devel >= 6b |
f7c8750c | 75 | BuildRequires: libjpeg-turbo-devel |
dae07f1c JR |
76 | BuildRequires: libnotify-devel >= 0.4 |
77 | BuildRequires: libpng(APNG)-devel >= 0.10 | |
78 | BuildRequires: libpng-devel >= 1.4.1 | |
03e92ac3 JR |
79 | # rsvg-convert for iceape/branding |
80 | BuildRequires: librsvg | |
1d0185d8 | 81 | BuildRequires: libstdc++-devel |
03e92ac3 | 82 | BuildRequires: libvpx-devel >= 1.0.0 |
dae07f1c JR |
83 | BuildRequires: nspr-devel >= 1:%{nspr_ver} |
84 | BuildRequires: nss-devel >= 1:%{nss_ver} | |
85 | BuildRequires: pango-devel >= 1:1.14.0 | |
86 | BuildRequires: perl-base >= 1:5.6 | |
87 | BuildRequires: perl-modules >= 5.004 | |
1d0185d8 | 88 | BuildRequires: pkgconfig |
dae07f1c JR |
89 | BuildRequires: python >= 1:2.5 |
90 | BuildRequires: python-modules | |
888f80ab | 91 | BuildRequires: python-virtualenv |
1d0185d8 | 92 | BuildRequires: rpm >= 4.4.9-56 |
dae07f1c | 93 | BuildRequires: rpmbuild(macros) >= 1.601 |
1d0185d8 | 94 | BuildRequires: sed >= 4.0 |
eda7f104 | 95 | BuildRequires: sqlite3-devel >= 3.7.15.2 |
dae07f1c JR |
96 | BuildRequires: startup-notification-devel >= 0.8 |
97 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
1d0185d8 | 98 | BuildRequires: xorg-lib-libXext-devel |
1d0185d8 | 99 | BuildRequires: xorg-lib-libXinerama-devel |
1d0185d8 | 100 | BuildRequires: xorg-lib-libXt-devel |
dae07f1c JR |
101 | %if %{with xulrunner} |
102 | BuildRequires: xulrunner-devel >= 2:%{xulrunner_ver} | |
740e5f43 | 103 | BuildRequires: xulrunner-devel < 2:19 |
dae07f1c JR |
104 | %endif |
105 | BuildRequires: yasm | |
106 | BuildRequires: zip | |
1d0185d8 | 107 | BuildRequires: zlib-devel >= 1.2.3 |
dae07f1c JR |
108 | Requires(post): mktemp >= 1.5-18 |
109 | Requires: desktop-file-utils | |
110 | Requires: hicolor-icon-theme | |
111 | %if %{with xulrunner} | |
112 | %requires_eq_to xulrunner xulrunner-devel | |
113 | %else | |
1d0185d8 | 114 | Requires: browser-plugins >= 2.0 |
dae07f1c JR |
115 | Requires: cairo >= 1.10.2-5 |
116 | Requires: dbus-glib >= 0.60 | |
117 | Requires: gtk+2 >= 2:2.18 | |
f7c8750c | 118 | Requires: libjpeg-turbo |
dae07f1c JR |
119 | Requires: libpng >= 1.4.1 |
120 | Requires: libpng(APNG) >= 0.10 | |
121 | Requires: myspell-common | |
122 | Requires: nspr >= 1:%{nspr_ver} | |
123 | Requires: nss >= 1:%{nss_ver} | |
124 | Requires: pango >= 1:1.14.0 | |
125 | Requires: sqlite3 >= %{sqlite_build_version} | |
126 | Requires: startup-notification >= 0.8 | |
127 | %endif | |
1d0185d8 | 128 | Provides: iceape-embedded = %{epoch}:%{version}-%{release} |
129 | Provides: wwwbrowser | |
75dcd787 JR |
130 | Obsoletes: iceape-mailnews |
131 | Obsoletes: iceape-gnomevfs | |
1d0185d8 | 132 | Obsoletes: light |
133 | Obsoletes: mozilla | |
03504870 | 134 | Obsoletes: mozilla-gnomevfs |
1d0185d8 | 135 | Obsoletes: seamonkey |
136 | Obsoletes: seamonkey-calendar | |
137 | Obsoletes: seamonkey-libs | |
03504870 JR |
138 | Obsoletes: seamonkey-mailnews |
139 | Obsoletes: seamonkey-gnomevfs | |
b289d808 | 140 | Conflicts: iceape-lang-resources < %{version} |
1d0185d8 | 141 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
142 | ||
dae07f1c JR |
143 | %define topdir %{_builddir}/%{name}-%{version} |
144 | %define objdir %{topdir}/obj-%{_target_cpu} | |
1d0185d8 | 145 | |
dea9725e AM |
146 | %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+ |
147 | ||
dae07f1c JR |
148 | # don't satisfy other packages |
149 | %define _noautoprovfiles %{_libdir}/%{name} | |
1d0185d8 | 150 | # and as we don't provide them, don't require either |
dae07f1c JR |
151 | %define _noautoreq libmozjs.so libxpcom.so libxul.so libjemalloc.so %{!?with_xulrunner:libmozalloc.so} |
152 | %define _noautoreqdep libgfxpsshar.so libgkgfx.so libgtkxtbin.so libjsj.so libxpcom_compat.so libxpistub.so | |
1d0185d8 | 153 | |
154 | %description | |
155 | Iceape is an open-source web browser, designed for standards | |
156 | compliance, performance and portability. | |
157 | ||
158 | %description -l es.UTF-8 | |
159 | Iceape es un navegador de Internet que se basa en una versión inicial | |
160 | de Netscape Communicator. | |
161 | ||
162 | %description -l pl.UTF-8 | |
71fda434 ER |
163 | Iceape jest potężną graficzną przeglądarką WWW, która jest następcą |
164 | Mozilli, która następnie była następczynią Netscape Communikatora. | |
1d0185d8 | 165 | |
166 | %description -l pt_BR.UTF-8 | |
167 | O Iceape é um web browser baseado numa versão inicial do Netscape | |
168 | Communicator. | |
169 | ||
170 | %description -l ru.UTF-8 | |
71fda434 ER |
171 | Iceape - полнофункциональный web-browser с открытыми исходными |
172 | текстами, разработанный для максимального соотвествия стандартам, | |
173 | максмимальной переносимости и скорости работы | |
1d0185d8 | 174 | |
dae07f1c JR |
175 | %package addon-lightning |
176 | Summary: An integrated calendar for Iceape | |
177 | Summary(pl.UTF-8): Zintegrowany kalendarz dla Iceape | |
178 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ | |
179 | Group: Applications/Networking | |
180 | Requires: %{name} = %{version}-%{release} | |
181 | Obsoletes: seamonkey-addon-lightning | |
182 | ||
183 | %description addon-lightning | |
184 | Lightning is an calendar extension to Icedove email client. | |
185 | ||
186 | %description addon-lightning -l pl.UTF-8 | |
187 | Lightning to rozszerzenie do klienta poczty Icedove dodające | |
188 | funkcjonalność kalendarza. | |
189 | ||
1d0185d8 | 190 | %package addon-enigmail |
191 | Summary: Enigmail %{enigmail_ver} - PGP/GPG support for Iceape | |
192 | Summary(pl.UTF-8): Enigmail %{enigmail_ver} - obsługa PGP/GPG dla Iceape | |
193 | Group: X11/Applications/Networking | |
dae07f1c | 194 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1d0185d8 | 195 | Requires: gnupg >= 1.4.2.2 |
5a8ef4bc | 196 | Obsoletes: seamonkey-addon-enigmail |
1d0185d8 | 197 | |
198 | %description addon-enigmail | |
199 | Enigmail is an extension to the mail client of Iceape / SeaMonkey / | |
200 | Mozilla / Netscape and Mozilla Thunderbird which allows users to | |
201 | access the authentication and encryption features provided by GnuPG. | |
202 | ||
203 | %description addon-enigmail -l pl.UTF-8 | |
204 | Enigmail jest rozszerzeniem dla klienta pocztowego Iceape, SeaMonkey, | |
71fda434 ER |
205 | Mozilla i Mozilla Thunderdbird pozwalającym użytkownikowi korzystać z |
206 | funkcjonalności GnuPG. | |
1d0185d8 | 207 | |
208 | %package chat | |
209 | Summary: Iceape Chat - integrated IRC client | |
210 | Summary(pl.UTF-8): Iceape Chat - zintegrowany klient IRC-a | |
211 | Group: X11/Applications/Networking | |
212 | Requires(post,postun): %{name} = %{epoch}:%{version}-%{release} | |
213 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
214 | Obsoletes: mozilla-chat | |
215 | Obsoletes: seamonkey-chat | |
216 | ||
217 | %description chat | |
218 | Iceape Chat - IRC client that is integrated with the Iceape web | |
219 | browser. | |
220 | ||
221 | %description chat -l pl.UTF-8 | |
222 | Iceape - klient IRC-a zintegrowany z przeglądarką Iceape. | |
223 | ||
224 | %package js-debugger | |
225 | Summary: JavaScript debugger for use with Iceape | |
226 | Summary(pl.UTF-8): Odpluskwiacz JavaScriptu do używania z Iceape | |
227 | Group: X11/Applications/Networking | |
228 | Requires(post,postun): %{name} = %{epoch}:%{version}-%{release} | |
229 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
230 | Obsoletes: mozilla-js-debugger | |
231 | Obsoletes: seamonkey-js-debugger | |
232 | ||
233 | %description js-debugger | |
234 | JavaScript debugger for use with Iceape. | |
235 | ||
236 | %description js-debugger -l pl.UTF-8 | |
237 | Odpluskwiacz JavaScriptu do używania z Iceape. | |
238 | ||
239 | %package dom-inspector | |
240 | Summary: A tool for inspecting the DOM of pages in Iceape | |
241 | Summary(pl.UTF-8): Narzędzie do oglądania DOM stron w Iceape | |
242 | Group: X11/Applications/Networking | |
243 | Requires(post,postun): %{name} = %{epoch}:%{version}-%{release} | |
244 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
245 | Obsoletes: mozilla-dom-inspector | |
246 | Obsoletes: seamonkey-dom-inspector | |
247 | ||
248 | %description dom-inspector | |
249 | This is a tool that allows you to inspect the DOM for web pages in | |
250 | Iceape. This is of great use to people who are doing Iceape chrome | |
251 | development or web page development. | |
252 | ||
253 | %description dom-inspector -l pl.UTF-8 | |
254 | To narzędzie pozwala na oglądanie DOM dla stron WWW w Iceape. Jest | |
255 | bardzo przydatne dla ludzi rozwijających chrome w Iceape lub | |
256 | tworzących strony WWW. | |
257 | ||
1d0185d8 | 258 | %prep |
259 | %setup -qc | |
dae07f1c | 260 | cd comm-release |
1d0185d8 | 261 | tar -C mailnews/extensions -zxf %{SOURCE1} |
03e92ac3 | 262 | tar -jxf %{SOURCE2} |
1d0185d8 | 263 | %patch0 -p1 |
264 | %patch1 -p1 | |
265 | %patch2 -p1 | |
738e838e JR |
266 | #patch3 -p1 |
267 | #patch4 -p1 | |
1d0185d8 | 268 | %patch5 -p1 |
888f80ab | 269 | %patch7 -p1 |
44a2ebe4 | 270 | %patch8 -p1 |
740e5f43 | 271 | %patch9 -p2 |
738e838e JR |
272 | %patch10 -p2 |
273 | %patch11 -p2 | |
1d0185d8 | 274 | |
275 | %build | |
dae07f1c JR |
276 | cd comm-release |
277 | %if %{with xulrunner} | |
278 | if [ "$(grep -E '^[0-9]+\.' mozilla/config/milestone.txt)" != "%{xulrunner_ver}" ]; then | |
279 | echo >&2 | |
280 | echo >&2 "Xulrunner version %{xulrunner_ver} does not match mozilla/config/milestone.txt!" | |
281 | echo >&2 | |
282 | exit 1 | |
283 | fi | |
284 | %endif | |
285 | ||
286 | cp -f %{_datadir}/automake/config.* build/autoconf | |
287 | cp -f %{_datadir}/automake/config.* mozilla/build/autoconf | |
288 | cp -f %{_datadir}/automake/config.* mozilla/nsprpub/build/autoconf | |
289 | cp -f %{_datadir}/automake/config.* ldap/sdks/c-sdk/config/autoconf | |
290 | ||
291 | cat << EOF > .mozconfig | |
292 | mk_add_options MOZ_OBJDIR=%{objdir} | |
293 | ||
294 | export CFLAGS="%{rpmcflags}" | |
295 | export CXXFLAGS="%{rpmcflags}" | |
296 | ||
297 | %if %{with crashreporter} | |
298 | export MOZ_DEBUG_SYMBOLS=1 | |
299 | %endif | |
300 | ||
301 | # Options for 'configure' (same as command-line options). | |
302 | ac_add_options --prefix=%{_prefix} | |
303 | ac_add_options --exec-prefix=%{_exec_prefix} | |
304 | ac_add_options --bindir=%{_bindir} | |
305 | ac_add_options --sbindir=%{_sbindir} | |
306 | ac_add_options --sysconfdir=%{_sysconfdir} | |
307 | ac_add_options --datadir=%{_datadir} | |
308 | ac_add_options --includedir=%{_includedir} | |
309 | ac_add_options --libdir=%{_libdir} | |
310 | ac_add_options --libexecdir=%{_libexecdir} | |
311 | ac_add_options --localstatedir=%{_localstatedir} | |
312 | ac_add_options --sharedstatedir=%{_sharedstatedir} | |
313 | ac_add_options --mandir=%{_mandir} | |
314 | ac_add_options --infodir=%{_infodir} | |
315 | ac_add_options --disable-elf-hack | |
316 | %if %{?debug:1}0 | |
317 | ac_add_options --disable-optimize | |
318 | ac_add_options --enable-debug | |
319 | ac_add_options --enable-debug-modules | |
320 | ac_add_options --enable-debugger-info-modules | |
321 | ac_add_options --enable-crash-on-assert | |
322 | %else | |
323 | ac_add_options --disable-debug | |
324 | ac_add_options --disable-debug-modules | |
325 | ac_add_options --disable-logging | |
326 | ac_add_options --enable-optimize="%{rpmcflags} -Os" | |
327 | %endif | |
328 | ac_add_options --disable-strip | |
329 | ac_add_options --disable-strip-libs | |
330 | %if %{with tests} | |
331 | ac_add_options --enable-tests | |
332 | %else | |
333 | ac_add_options --disable-tests | |
334 | %endif | |
335 | ac_add_options --enable-gio | |
dae07f1c | 336 | ac_add_options --disable-gnomeui |
dae07f1c JR |
337 | ac_add_options --disable-gnomevfs |
338 | %if %{with ldap} | |
339 | ac_add_options --enable-ldap | |
340 | ac_add_options --with-system-ldap | |
341 | %else | |
342 | ac_add_options --disable-ldap | |
343 | %endif | |
344 | %if %{with crashreporter} | |
345 | ac_add_options --enable-crashreporter | |
346 | %else | |
347 | ac_add_options --disable-crashreporter | |
348 | %endif | |
349 | ac_add_options --disable-xterm-updates | |
350 | ac_add_options --enable-postscript | |
351 | %if %{with lightning} | |
352 | ac_add_options --enable-calendar | |
353 | %else | |
354 | ac_add_options --disable-calendar | |
355 | %endif | |
356 | ac_add_options --disable-installer | |
357 | ac_add_options --disable-javaxpcom | |
358 | ac_add_options --disable-updater | |
359 | ac_add_options --enable-crypto | |
360 | ac_add_options --enable-libxul | |
361 | ac_add_options --enable-pango | |
362 | ac_add_options --enable-shared-js | |
363 | ac_add_options --enable-startup-notification | |
364 | ac_add_options --enable-system-cairo | |
365 | ac_add_options --enable-system-hunspell | |
366 | ac_add_options --enable-system-sqlite | |
367 | ac_add_options --enable-application=suite | |
368 | ac_add_options --with-distribution-id=org.pld-linux | |
03e92ac3 | 369 | ac_add_options --with-branding=iceape/branding |
dae07f1c JR |
370 | %if %{with xulrunner} |
371 | ac_add_options --with-system-libxul | |
372 | ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul) | |
373 | %endif | |
374 | ac_add_options --with-pthreads | |
375 | ac_add_options --with-system-bz2 | |
376 | ac_add_options --with-system-ffi | |
377 | ac_add_options --with-system-jpeg | |
378 | ac_add_options --with-system-libevent | |
379 | ac_add_options --with-system-libvpx | |
380 | ac_add_options --with-system-nspr | |
381 | ac_add_options --with-system-nss | |
382 | ac_add_options --with-system-png | |
383 | ac_add_options --with-system-zlib | |
384 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} | |
385 | EOF | |
386 | ||
387 | %{__make} -j1 -f client.mk build \ | |
388 | STRIP="/bin/true" \ | |
389 | MOZ_MAKE_FLAGS="%{?_smp_mflags}" \ | |
390 | installdir=%{_libdir}/%{name} \ | |
a089ecfd | 391 | XLIBS="-lX11 -lXt" \ |
dae07f1c JR |
392 | CC="%{__cc}" \ |
393 | CXX="%{__cxx}" | |
1d0185d8 | 394 | |
dae07f1c JR |
395 | %if %{with crashreporter} |
396 | # create debuginfo for crash-stats.mozilla.com | |
397 | %{__make} -j1 -C obj-%{_target_cpu} buildsymbols | |
398 | %endif | |
399 | ||
400 | %if %{with enigmail} | |
1d0185d8 | 401 | cd mailnews/extensions/enigmail |
dae07f1c JR |
402 | ./makemake -r -o %{objdir} |
403 | %{__make} -C %{objdir}/mailnews/extensions/enigmail \ | |
404 | STRIP="/bin/true" \ | |
405 | CC="%{__cc}" \ | |
406 | CXX="%{__cxx}" | |
c4a50216 JR |
407 | |
408 | %{__make} -C %{objdir}/mailnews/extensions/enigmail xpi \ | |
409 | STRIP="/bin/true" \ | |
410 | CC="%{__cc}" \ | |
411 | CXX="%{__cxx}" | |
dae07f1c | 412 | %endif |
1d0185d8 | 413 | |
414 | %install | |
415 | rm -rf $RPM_BUILD_ROOT | |
dae07f1c | 416 | cd comm-release |
1d0185d8 | 417 | install -d \ |
dae07f1c | 418 | $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} \ |
1d0185d8 | 419 | $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \ |
dae07f1c JR |
420 | $RPM_BUILD_ROOT%{_datadir}/%{name} \ |
421 | $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins | |
1d0185d8 | 422 | |
dae07f1c | 423 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins |
1d0185d8 | 424 | |
dae07f1c | 425 | cd %{objdir} |
738e838e | 426 | cwd=`pwd` |
dae07f1c | 427 | %{__make} -C suite/installer stage-package \ |
738e838e | 428 | LD_LIBRARY_PATH=$cwd/mozilla/dist/lib \ |
dae07f1c JR |
429 | DESTDIR=$RPM_BUILD_ROOT \ |
430 | installdir=%{_libdir}/%{name} \ | |
431 | PKG_SKIP_STRIP=1 | |
1d0185d8 | 432 | |
fcecc2a1 JR |
433 | %{__make} -C iceape/branding install \ |
434 | DESTDIR=$RPM_BUILD_ROOT | |
435 | ||
dae07f1c | 436 | cp -a mozilla/dist/iceape/* $RPM_BUILD_ROOT%{_libdir}/%{name}/ |
1d0185d8 | 437 | |
dae07f1c JR |
438 | %if %{with xulrunner} |
439 | # >= 5.0 seems to require this | |
440 | ln -s ../xulrunner $RPM_BUILD_ROOT%{_libdir}/%{name}/xulrunner | |
441 | %endif | |
1d0185d8 | 442 | |
dae07f1c JR |
443 | # Enable crash reporter for Thunderbird application |
444 | %if %{with crashreporter} | |
445 | %{__sed} -i -e 's/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/' $RPM_BUILD_ROOT%{_libdir}/%{name}/application.ini | |
1d0185d8 | 446 | |
dae07f1c JR |
447 | # Add debuginfo for crash-stats.mozilla.com |
448 | install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name} | |
449 | cp -a mozilla/dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name} | |
450 | %endif | |
1d0185d8 | 451 | |
dae07f1c JR |
452 | # copy manually lightning files, somewhy they are not installed by make |
453 | cp -a mozilla/dist/bin/extensions/calendar-timezones@mozilla.org \ | |
454 | mozilla/dist/bin/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} \ | |
455 | $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions | |
35486651 | 456 | |
dae07f1c JR |
457 | # move arch independant ones to datadir |
458 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome | |
459 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults | |
460 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp | |
461 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/modules $RPM_BUILD_ROOT%{_datadir}/%{name}/modules | |
462 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins | |
463 | %if %{without xulrunner} | |
464 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs.js | |
465 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res | |
466 | %endif | |
1d0185d8 | 467 | |
dae07f1c JR |
468 | ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome |
469 | ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults | |
470 | ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp | |
471 | ln -s ../../share/%{name}/modules $RPM_BUILD_ROOT%{_libdir}/%{name}/modules | |
472 | ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins | |
473 | %if %{without xulrunner} | |
474 | ln -s ../../share/%{name}/greprefs.js $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js | |
475 | ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res | |
476 | %endif | |
477 | ||
478 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/distribution/extensions/* \ | |
479 | $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/ | |
480 | ||
481 | # dir for arch independant extensions besides arch dependant extensions | |
482 | # see mozilla/xpcom/build/nsXULAppAPI.h | |
483 | # XRE_SYS_LOCAL_EXTENSION_PARENT_DIR and XRE_SYS_SHARE_EXTENSION_PARENT_DIR | |
484 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions | |
485 | ||
486 | %if %{without xulrunner} | |
487 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
488 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
489 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation | |
490 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation | |
491 | %endif | |
1d0185d8 | 492 | |
afec21d4 JR |
493 | %{__sed} -e "s|%MOZAPPDIR%|%{_libdir}/%{name}|" \ |
494 | -e "s|%MOZ_APP_DISPLAYNAME%|Iceape|" \ | |
495 | %{topdir}/comm-release/mozilla/build/unix/mozilla.in > $RPM_BUILD_ROOT%{_libdir}/%{name}/iceape | |
496 | ||
03e92ac3 | 497 | sed 's,@LIBDIR@,%{_libdir},' %{SOURCE9} > $RPM_BUILD_ROOT%{_bindir}/iceape |
dae07f1c | 498 | chmod a+rx $RPM_BUILD_ROOT%{_bindir}/iceape |
1d0185d8 | 499 | |
03e92ac3 | 500 | install %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} \ |
dae07f1c | 501 | $RPM_BUILD_ROOT%{_desktopdir} |
1d0185d8 | 502 | |
dae07f1c JR |
503 | # files created by iceape -register |
504 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat | |
505 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat | |
1d0185d8 | 506 | |
dae07f1c | 507 | cat << 'EOF' > $RPM_BUILD_ROOT%{_libdir}/%{name}/register |
1d0185d8 | 508 | #!/bin/sh |
509 | umask 022 | |
dae07f1c JR |
510 | rm -f %{_libdir}/%{name}/components/{compreg,xpti}.dat |
511 | ||
512 | # it attempts to touch files in $HOME/.mozilla | |
513 | # beware if you run this with sudo!!! | |
514 | export HOME=$(mktemp -d) | |
515 | # also TMPDIR could be pointing to sudo user's homedir | |
516 | unset TMPDIR TMP || : | |
1d0185d8 | 517 | |
dae07f1c | 518 | %{_libdir}/%{name}/iceape -register |
1d0185d8 | 519 | |
dae07f1c | 520 | rm -rf $HOME |
1d0185d8 | 521 | EOF |
dae07f1c JR |
522 | chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/register |
523 | ||
524 | %if %{with enigmail} | |
525 | ext_dir=$RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\} | |
c4a50216 | 526 | install -d $ext_dir/{chrome,components,defaults/preferences,modules} |
dae07f1c | 527 | cd mozilla/dist/bin |
c4a50216 | 528 | cp -rfLp chrome/enigmail.jar $ext_dir/chrome |
dae07f1c | 529 | cp -rfLp components/enig* $ext_dir/components |
dae07f1c | 530 | cp -rfLp defaults/preferences/enigmail.js $ext_dir/defaults/preferences |
a089ecfd | 531 | cp -rfLp modules/{commonFuncs,enigmailCommon,keyManagement,pipeConsole,subprocess}.jsm $ext_dir/modules |
c4a50216 | 532 | cp -rfLp modules/{subprocess_worker_unix,subprocess_worker_win}.js $ext_dir/modules |
dae07f1c JR |
533 | cd - |
534 | cp -p %{topdir}/comm-release/mailnews/extensions/enigmail/package/install.rdf $ext_dir | |
535 | cp -p %{topdir}/comm-release/mailnews/extensions/enigmail/package/chrome.manifest $ext_dir/chrome.manifest | |
536 | %endif | |
1d0185d8 | 537 | |
dae07f1c JR |
538 | # never package these. always remove |
539 | # nss | |
738e838e | 540 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{freebl3,nss3,nssckbi,nssdbm3,nssutil3,smime3,softokn3,ssl3}.* |
dae07f1c | 541 | # nspr |
738e838e | 542 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{nspr4,plc4,plds4}.so |
dae07f1c | 543 | # mozldap |
738e838e | 544 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap,ssldap}60.so |
dae07f1c | 545 | # testpilot quiz |
738e838e | 546 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/distribution/extensions/tbtestpilot@labs.mozilla.com.xpi |
1d0185d8 | 547 | |
548 | %clean | |
549 | rm -rf $RPM_BUILD_ROOT | |
550 | ||
551 | %post | |
dae07f1c | 552 | %{_libdir}/%{name}/register || : |
1d0185d8 | 553 | %update_browser_plugins |
fcecc2a1 | 554 | %update_icon_cache hicolor |
dae07f1c | 555 | %update_desktop_database |
1d0185d8 | 556 | |
557 | %postun | |
1d0185d8 | 558 | if [ "$1" = 0 ]; then |
559 | %update_browser_plugins | |
fcecc2a1 | 560 | %update_icon_cache hicolor |
1d0185d8 | 561 | fi |
562 | ||
1d0185d8 | 563 | %files |
564 | %defattr(644,root,root,755) | |
565 | %attr(755,root,root) %{_bindir}/iceape | |
1d0185d8 | 566 | |
567 | # browser plugins v2 | |
568 | %{_browserpluginsconfdir}/browsers.d/%{name}.* | |
569 | %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist | |
570 | ||
dae07f1c JR |
571 | %dir %{_libdir}/%{name} |
572 | %if %{without xulrunner} | |
573 | %attr(755,root,root) %{_libdir}/%{name}/libmozalloc.so | |
574 | %attr(755,root,root) %{_libdir}/%{name}/libmozjs.so | |
575 | %attr(755,root,root) %{_libdir}/%{name}/libxpcom.so | |
576 | %attr(755,root,root) %{_libdir}/%{name}/libxul.so | |
577 | %endif | |
1d0185d8 | 578 | |
dae07f1c JR |
579 | %{_libdir}/%{name}/blocklist.xml |
580 | %attr(755,root,root) %{_libdir}/%{name}/register | |
1d0185d8 | 581 | |
dae07f1c JR |
582 | %if %{with crashreporter} |
583 | %{_libdir}/%{name}/crashreporter | |
584 | %{_libdir}/%{name}/crashreporter-override.ini | |
585 | %{_libdir}/%{name}/crashreporter.ini | |
586 | %{_libdir}/%{name}/Throbber-small.gif | |
587 | %endif | |
1d0185d8 | 588 | |
dae07f1c JR |
589 | # config? |
590 | %{_libdir}/%{name}/application.ini | |
591 | %{_libdir}/%{name}/chrome.manifest | |
592 | ||
593 | %dir %{_libdir}/%{name}/components | |
594 | ||
888f80ab | 595 | %{_libdir}/%{name}/components/Aitc.js |
8bed54aa | 596 | %{_libdir}/%{name}/components/AlarmsManager.js |
888f80ab JR |
597 | %{_libdir}/%{name}/components/AppsService.js |
598 | %{_libdir}/%{name}/components/BrowserElementParent.js | |
8bed54aa | 599 | %{_libdir}/%{name}/components/ColorAnalyzer.js |
978e314f | 600 | %{_libdir}/%{name}/components/ContactManager.js |
dae07f1c JR |
601 | %{_libdir}/%{name}/components/FeedConverter.js |
602 | %{_libdir}/%{name}/components/FeedWriter.js | |
c4cad2a1 JB |
603 | %{_libdir}/%{name}/components/SettingsManager.js |
604 | %{_libdir}/%{name}/components/SiteSpecificUserAgent.js | |
605 | %{_libdir}/%{name}/components/TCPSocket.js | |
606 | %{_libdir}/%{name}/components/TCPSocketParentIntermediary.js | |
607 | %{_libdir}/%{name}/components/Weave.js | |
608 | %{_libdir}/%{name}/components/Webapps.js | |
609 | %{_libdir}/%{name}/components/WebContentConverter.js | |
978e314f | 610 | %{_libdir}/%{name}/components/messageWakeupService.js |
8bed54aa | 611 | %{_libdir}/%{name}/components/newMailNotificationService.js |
978e314f | 612 | %{_libdir}/%{name}/components/nsAbout.js |
dae07f1c | 613 | %{_libdir}/%{name}/components/nsBrowserContentHandler.js |
978e314f | 614 | %{_libdir}/%{name}/components/nsComposerCmdLineHandler.js |
8bed54aa JR |
615 | %{_libdir}/%{name}/components/nsDOMIdentity.js |
616 | %{_libdir}/%{name}/components/nsIDService.js | |
dae07f1c JR |
617 | %{_libdir}/%{name}/components/nsSessionStartup.js |
618 | %{_libdir}/%{name}/components/nsSessionStore.js | |
a089ecfd | 619 | %{_libdir}/%{name}/components/nsSetDefault.js |
dae07f1c | 620 | %{_libdir}/%{name}/components/nsSidebar.js |
978e314f JR |
621 | %{_libdir}/%{name}/components/nsSuiteDownloadManagerUI.js |
622 | %{_libdir}/%{name}/components/nsSuiteGlue.js | |
623 | %{_libdir}/%{name}/components/nsTypeAheadFind.js | |
624 | %{_libdir}/%{name}/components/nsUrlClassifierHashCompleter.js | |
625 | %{_libdir}/%{name}/components/nsUrlClassifierLib.js | |
626 | %{_libdir}/%{name}/components/nsUrlClassifierListManager.js | |
627 | %{_libdir}/%{name}/components/smileApplication.js | |
35486651 | 628 | %{_libdir}/%{name}/components/PermissionSettings.js |
dae07f1c | 629 | |
978e314f | 630 | %{_libdir}/%{name}/components/browser.xpt |
dae07f1c JR |
631 | %{_libdir}/%{name}/components/components.manifest |
632 | %{_libdir}/%{name}/components/interfaces.manifest | |
633 | ||
978e314f JR |
634 | %attr(755,root,root) %{_libdir}/%{name}/components/libsuite.so |
635 | ||
dae07f1c | 636 | %if %{without xulrunner} |
9d5ee07b | 637 | %{_libdir}/%{name}/dependentlibs.list |
dae07f1c JR |
638 | %{_libdir}/%{name}/platform.ini |
639 | %{_libdir}/%{name}/components/ConsoleAPI.js | |
640 | %{_libdir}/%{name}/components/FeedProcessor.js | |
641 | %{_libdir}/%{name}/components/GPSDGeolocationProvider.js | |
642 | %{_libdir}/%{name}/components/NetworkGeolocationProvider.js | |
643 | %{_libdir}/%{name}/components/PlacesCategoriesStarter.js | |
644 | %{_libdir}/%{name}/components/TelemetryPing.js | |
645 | %{_libdir}/%{name}/components/addonManager.js | |
646 | %{_libdir}/%{name}/components/amContentHandler.js | |
647 | %{_libdir}/%{name}/components/amWebInstallListener.js | |
648 | %{_libdir}/%{name}/components/contentAreaDropListener.js | |
649 | %{_libdir}/%{name}/components/contentSecurityPolicy.js | |
650 | %{_libdir}/%{name}/components/crypto-SDR.js | |
651 | %{_libdir}/%{name}/components/jsconsole-clhandler.js | |
652 | %{_libdir}/%{name}/components/nsBadCertHandler.js | |
653 | %{_libdir}/%{name}/components/nsBlocklistService.js | |
654 | %{_libdir}/%{name}/components/nsContentDispatchChooser.js | |
655 | %{_libdir}/%{name}/components/nsContentPrefService.js | |
656 | %{_libdir}/%{name}/components/nsDefaultCLH.js | |
657 | %{_libdir}/%{name}/components/nsFilePicker.js | |
658 | %{_libdir}/%{name}/components/nsFormAutoComplete.js | |
659 | %{_libdir}/%{name}/components/nsFormHistory.js | |
660 | %{_libdir}/%{name}/components/nsHandlerService.js | |
661 | %{_libdir}/%{name}/components/nsHelperAppDlg.js | |
662 | %{_libdir}/%{name}/components/nsINIProcessor.js | |
663 | %{_libdir}/%{name}/components/nsInputListAutoComplete.js | |
664 | %{_libdir}/%{name}/components/nsLivemarkService.js | |
665 | %{_libdir}/%{name}/components/nsLoginInfo.js | |
666 | %{_libdir}/%{name}/components/nsLoginManager.js | |
667 | %{_libdir}/%{name}/components/nsLoginManagerPrompter.js | |
668 | %{_libdir}/%{name}/components/nsPlacesAutoComplete.js | |
669 | %{_libdir}/%{name}/components/nsPlacesExpiration.js | |
670 | %{_libdir}/%{name}/components/nsPrompter.js | |
dae07f1c JR |
671 | %{_libdir}/%{name}/components/nsSearchService.js |
672 | %{_libdir}/%{name}/components/nsSearchSuggestions.js | |
673 | %{_libdir}/%{name}/components/nsTaggingService.js | |
dae07f1c | 674 | %{_libdir}/%{name}/components/nsUpdateTimerManager.js |
978e314f | 675 | %{_libdir}/%{name}/components/nsURLFormatter.js |
dae07f1c JR |
676 | %{_libdir}/%{name}/components/nsWebHandlerApp.js |
677 | %{_libdir}/%{name}/components/storage-Legacy.js | |
678 | %{_libdir}/%{name}/components/storage-mozStorage.js | |
679 | %{_libdir}/%{name}/components/txEXSLTRegExFunctions.js | |
dae07f1c | 680 | %attr(755,root,root) %{_libdir}/%{name}/components/libdbusservice.so |
dae07f1c | 681 | %attr(755,root,root) %{_libdir}/%{name}/components/libmozgnome.so |
dae07f1c JR |
682 | %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh |
683 | %attr(755,root,root) %{_libdir}/%{name}/iceape-bin | |
684 | %attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client | |
685 | %attr(755,root,root) %{_libdir}/%{name}/plugin-container | |
686 | %endif | |
687 | ||
978e314f JR |
688 | %attr(755,root,root) %{_libdir}/%{name}/iceape |
689 | %dir %{_libdir}/%{name}/plugins | |
690 | ||
dae07f1c JR |
691 | # symlinks |
692 | %{_libdir}/%{name}/chrome | |
693 | %{_libdir}/%{name}/defaults | |
694 | %{_libdir}/%{name}/modules | |
695 | %{_libdir}/%{name}/searchplugins | |
696 | %if %{with xulrunner} | |
697 | %{_libdir}/%{name}/xulrunner | |
698 | %else | |
699 | %{_libdir}/%{name}/dictionaries | |
700 | %{_libdir}/%{name}/hyphenation | |
701 | %{_libdir}/%{name}/greprefs.js | |
702 | %{_libdir}/%{name}/res | |
703 | %endif | |
704 | ||
705 | %dir %{_datadir}/%{name} | |
706 | %{_datadir}/%{name}/chrome | |
707 | %{_datadir}/%{name}/defaults | |
708 | %{_datadir}/%{name}/modules | |
c4a50216 JR |
709 | %if %{with enigmail} |
710 | %exclude %{_datadir}/%{name}/modules/commonFuncs.jsm | |
711 | %exclude %{_datadir}/%{name}/modules/enigmailCommon.jsm | |
712 | %exclude %{_datadir}/%{name}/modules/keyManagement.jsm | |
713 | %exclude %{_datadir}/%{name}/modules/pipeConsole.jsm | |
c4a50216 JR |
714 | %exclude %{_datadir}/%{name}/modules/subprocess.jsm |
715 | %exclude %{_datadir}/%{name}/modules/subprocess_worker_unix.js | |
716 | %exclude %{_datadir}/%{name}/modules/subprocess_worker_win.js | |
717 | %endif | |
dae07f1c JR |
718 | %{_datadir}/%{name}/searchplugins |
719 | %if %{without xulrunner} | |
720 | %{_datadir}/%{name}/greprefs.js | |
721 | %{_datadir}/%{name}/res | |
722 | %endif | |
1d0185d8 | 723 | |
dae07f1c JR |
724 | %dir %{_datadir}/%{name}/extensions |
725 | %dir %{_libdir}/%{name}/extensions | |
726 | # the signature of the default theme | |
727 | %{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi | |
728 | %{_libdir}/%{name}/extensions/modern@themes.mozilla.org.xpi | |
729 | ||
730 | # files created by iceape -register | |
731 | %ghost %{_libdir}/%{name}/components/compreg.dat | |
732 | %ghost %{_libdir}/%{name}/components/xpti.dat | |
733 | ||
734 | %{_libdir}/%{name}/components/glautocomp.js | |
735 | %{_libdir}/%{name}/components/jsmimeemitter.js | |
736 | %{_libdir}/%{name}/components/mail.xpt | |
737 | %{_libdir}/%{name}/components/mdn-service.js | |
738 | %{_libdir}/%{name}/components/msgAsyncPrompter.js | |
739 | %{_libdir}/%{name}/components/newsblog.js | |
740 | %{_libdir}/%{name}/components/nsAbAutoCompleteMyDomain.js | |
741 | %{_libdir}/%{name}/components/nsAbAutoCompleteSearch.js | |
742 | %{_libdir}/%{name}/components/nsAbLDAPAttributeMap.js | |
743 | %{_libdir}/%{name}/components/nsLDAPProtocolHandler.js | |
744 | %{_libdir}/%{name}/components/nsMailNewsCommandLineHandler.js | |
745 | %{_libdir}/%{name}/components/nsMsgTraitService.js | |
746 | %{_libdir}/%{name}/components/nsSMTPProtocolHandler.js | |
747 | %{_libdir}/%{name}/components/offlineStartup.js | |
748 | %{_libdir}/%{name}/components/smime-service.js | |
749 | ||
750 | %{_libdir}/%{name}/isp | |
751 | %dir %{_datadir}/%{name}/isp | |
752 | %{_datadir}/%{name}/isp/Bogofilter.sfd | |
753 | %{_datadir}/%{name}/isp/DSPAM.sfd | |
754 | %{_datadir}/%{name}/isp/POPFile.sfd | |
755 | %{_datadir}/%{name}/isp/SpamAssassin.sfd | |
756 | %{_datadir}/%{name}/isp/SpamPal.sfd | |
757 | %{_datadir}/%{name}/isp/movemail.rdf | |
758 | %{_datadir}/%{name}/isp/rss.rdf | |
1d0185d8 | 759 | |
fcecc2a1 JR |
760 | %{_iconsdir}/hicolor/*/apps/iceape.png |
761 | %{_iconsdir}/hicolor/scalable/apps/iceape.svg | |
dae07f1c JR |
762 | %{_desktopdir}/%{name}.desktop |
763 | %{_desktopdir}/%{name}-composer.desktop | |
1d0185d8 | 764 | %{_desktopdir}/%{name}-mail.desktop |
765 | ||
dae07f1c JR |
766 | %if %{with lightning} |
767 | %files addon-lightning | |
768 | %defattr(644,root,root,755) | |
769 | %dir %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} | |
770 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/application.ini | |
771 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome | |
772 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest | |
773 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/defaults | |
774 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/install.rdf | |
775 | %dir %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components | |
776 | %attr(755,root,root) %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.so | |
777 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.js | |
778 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.manifest | |
779 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.xpt | |
780 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules | |
781 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js | |
782 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones.sqlite | |
783 | %{_libdir}/%{name}/extensions/calendar-timezones@mozilla.org | |
784 | %endif | |
785 | ||
786 | %if %{with enigmail} | |
1d0185d8 | 787 | %files addon-enigmail |
788 | %defattr(644,root,root,755) | |
dae07f1c JR |
789 | %dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5} |
790 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults | |
791 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome | |
792 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest | |
793 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf | |
794 | %dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components | |
dae07f1c JR |
795 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.xpt |
796 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.js | |
c4a50216 JR |
797 | %dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules |
798 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/*.jsm | |
799 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/*.js | |
dae07f1c | 800 | %endif |
1d0185d8 | 801 | |
802 | %files chat | |
803 | %defattr(644,root,root,755) | |
dae07f1c | 804 | %{_libdir}/%{name}/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi |
1d0185d8 | 805 | %{_desktopdir}/%{name}-chat.desktop |
806 | ||
807 | %files js-debugger | |
808 | %defattr(644,root,root,755) | |
dae07f1c | 809 | %{_libdir}/%{name}/extensions/{f13b157f-b174-47e7-a34d-4815ddfdfeb8}.xpi |
1d0185d8 | 810 | %{_desktopdir}/%{name}-venkman.desktop |
811 | ||
812 | %files dom-inspector | |
813 | %defattr(644,root,root,755) | |
dae07f1c | 814 | %{_libdir}/%{name}/extensions/inspector@mozilla.org.xpi |