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