]>
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 | |
5d094b34 | 31 | Version: 2.15 |
8bed54aa | 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 |
5d094b34 | 36 | # Source0-md5: 99541df8d01d9e988f4bccc59cbddbfa |
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 | |
e99fd609 | 57 | URL: http://www.pld-linux.org/Packages/Iceape |
dae07f1c JR |
58 | BuildRequires: GConf2-devel >= 1.2.1 |
59 | BuildRequires: OpenGL-devel | |
60 | BuildRequires: alsa-lib-devel | |
1d0185d8 | 61 | BuildRequires: automake |
dae07f1c JR |
62 | BuildRequires: bzip2-devel |
63 | BuildRequires: cairo-devel >= 1.10.2-5 | |
64 | BuildRequires: dbus-glib-devel >= 0.60 | |
1d0185d8 | 65 | BuildRequires: freetype-devel >= 1:2.1.8 |
dae07f1c JR |
66 | BuildRequires: glib2-devel >= 1:2.18 |
67 | BuildRequires: gtk+2-devel >= 2:2.10 | |
68 | %{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1} | |
69 | BuildRequires: hunspell-devel | |
1d0185d8 | 70 | BuildRequires: libIDL-devel >= 0.8.0 |
dae07f1c JR |
71 | BuildRequires: libdnet-devel |
72 | BuildRequires: libevent-devel >= 1.4.7 | |
73 | # standalone libffi 3.0.9 or gcc's from 4.5(?)+ | |
74 | BuildRequires: libffi-devel >= 6:3.0.9 | |
75 | %{?with_gnomeui:BuildRequires: libgnome-devel >= 2.0} | |
76 | %{?with_gnomeui:BuildRequires: libgnome-keyring-devel} | |
77 | %{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0} | |
78 | BuildRequires: libiw-devel | |
1d0185d8 | 79 | BuildRequires: libjpeg-devel >= 6b |
dae07f1c JR |
80 | BuildRequires: libnotify-devel >= 0.4 |
81 | BuildRequires: libpng(APNG)-devel >= 0.10 | |
82 | BuildRequires: libpng-devel >= 1.4.1 | |
03e92ac3 JR |
83 | # rsvg-convert for iceape/branding |
84 | BuildRequires: librsvg | |
1d0185d8 | 85 | BuildRequires: libstdc++-devel |
03e92ac3 | 86 | BuildRequires: libvpx-devel >= 1.0.0 |
dae07f1c JR |
87 | BuildRequires: nspr-devel >= 1:%{nspr_ver} |
88 | BuildRequires: nss-devel >= 1:%{nss_ver} | |
89 | BuildRequires: pango-devel >= 1:1.14.0 | |
90 | BuildRequires: perl-base >= 1:5.6 | |
91 | BuildRequires: perl-modules >= 5.004 | |
1d0185d8 | 92 | BuildRequires: pkgconfig |
dae07f1c JR |
93 | BuildRequires: python >= 1:2.5 |
94 | BuildRequires: python-modules | |
888f80ab | 95 | BuildRequires: python-virtualenv |
1d0185d8 | 96 | BuildRequires: rpm >= 4.4.9-56 |
dae07f1c | 97 | BuildRequires: rpmbuild(macros) >= 1.601 |
1d0185d8 | 98 | BuildRequires: sed >= 4.0 |
dae07f1c JR |
99 | BuildRequires: sqlite3-devel >= 3.7.10 |
100 | BuildRequires: startup-notification-devel >= 0.8 | |
101 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
1d0185d8 | 102 | BuildRequires: xorg-lib-libXext-devel |
1d0185d8 | 103 | BuildRequires: xorg-lib-libXinerama-devel |
1d0185d8 | 104 | BuildRequires: xorg-lib-libXt-devel |
dae07f1c JR |
105 | %if %{with xulrunner} |
106 | BuildRequires: xulrunner-devel >= 2:%{xulrunner_ver} | |
107 | %endif | |
108 | BuildRequires: yasm | |
109 | BuildRequires: zip | |
1d0185d8 | 110 | BuildRequires: zlib-devel >= 1.2.3 |
dae07f1c JR |
111 | Requires(post): mktemp >= 1.5-18 |
112 | Requires: desktop-file-utils | |
113 | Requires: hicolor-icon-theme | |
114 | %if %{with xulrunner} | |
115 | %requires_eq_to xulrunner xulrunner-devel | |
116 | %else | |
1d0185d8 | 117 | Requires: browser-plugins >= 2.0 |
dae07f1c JR |
118 | Requires: cairo >= 1.10.2-5 |
119 | Requires: dbus-glib >= 0.60 | |
120 | Requires: gtk+2 >= 2:2.18 | |
121 | Requires: libpng >= 1.4.1 | |
122 | Requires: libpng(APNG) >= 0.10 | |
123 | Requires: myspell-common | |
124 | Requires: nspr >= 1:%{nspr_ver} | |
125 | Requires: nss >= 1:%{nss_ver} | |
126 | Requires: pango >= 1:1.14.0 | |
127 | Requires: sqlite3 >= %{sqlite_build_version} | |
128 | Requires: startup-notification >= 0.8 | |
129 | %endif | |
1d0185d8 | 130 | Provides: iceape-embedded = %{epoch}:%{version}-%{release} |
131 | Provides: wwwbrowser | |
75dcd787 JR |
132 | Obsoletes: iceape-mailnews |
133 | Obsoletes: iceape-gnomevfs | |
1d0185d8 | 134 | Obsoletes: light |
135 | Obsoletes: mozilla | |
03504870 | 136 | Obsoletes: mozilla-gnomevfs |
1d0185d8 | 137 | Obsoletes: seamonkey |
138 | Obsoletes: seamonkey-calendar | |
139 | Obsoletes: seamonkey-libs | |
03504870 JR |
140 | Obsoletes: seamonkey-mailnews |
141 | Obsoletes: seamonkey-gnomevfs | |
b289d808 | 142 | Conflicts: iceape-lang-resources < %{version} |
1d0185d8 | 143 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
144 | ||
dae07f1c JR |
145 | %define topdir %{_builddir}/%{name}-%{version} |
146 | %define objdir %{topdir}/obj-%{_target_cpu} | |
1d0185d8 | 147 | |
dea9725e AM |
148 | %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+ |
149 | ||
dae07f1c JR |
150 | # don't satisfy other packages |
151 | %define _noautoprovfiles %{_libdir}/%{name} | |
1d0185d8 | 152 | # and as we don't provide them, don't require either |
dae07f1c JR |
153 | %define _noautoreq libmozjs.so libxpcom.so libxul.so libjemalloc.so %{!?with_xulrunner:libmozalloc.so} |
154 | %define _noautoreqdep libgfxpsshar.so libgkgfx.so libgtkxtbin.so libjsj.so libxpcom_compat.so libxpistub.so | |
1d0185d8 | 155 | |
156 | %description | |
157 | Iceape is an open-source web browser, designed for standards | |
158 | compliance, performance and portability. | |
159 | ||
160 | %description -l es.UTF-8 | |
161 | Iceape es un navegador de Internet que se basa en una versión inicial | |
162 | de Netscape Communicator. | |
163 | ||
164 | %description -l pl.UTF-8 | |
71fda434 ER |
165 | Iceape jest potężną graficzną przeglądarką WWW, która jest następcą |
166 | Mozilli, która następnie była następczynią Netscape Communikatora. | |
1d0185d8 | 167 | |
168 | %description -l pt_BR.UTF-8 | |
169 | O Iceape é um web browser baseado numa versão inicial do Netscape | |
170 | Communicator. | |
171 | ||
172 | %description -l ru.UTF-8 | |
71fda434 ER |
173 | Iceape - полнофункциональный web-browser с открытыми исходными |
174 | текстами, разработанный для максимального соотвествия стандартам, | |
175 | максмимальной переносимости и скорости работы | |
1d0185d8 | 176 | |
dae07f1c JR |
177 | %package addon-lightning |
178 | Summary: An integrated calendar for Iceape | |
179 | Summary(pl.UTF-8): Zintegrowany kalendarz dla Iceape | |
180 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ | |
181 | Group: Applications/Networking | |
182 | Requires: %{name} = %{version}-%{release} | |
183 | Obsoletes: seamonkey-addon-lightning | |
184 | ||
185 | %description addon-lightning | |
186 | Lightning is an calendar extension to Icedove email client. | |
187 | ||
188 | %description addon-lightning -l pl.UTF-8 | |
189 | Lightning to rozszerzenie do klienta poczty Icedove dodające | |
190 | funkcjonalność kalendarza. | |
191 | ||
1d0185d8 | 192 | %package addon-enigmail |
193 | Summary: Enigmail %{enigmail_ver} - PGP/GPG support for Iceape | |
194 | Summary(pl.UTF-8): Enigmail %{enigmail_ver} - obsługa PGP/GPG dla Iceape | |
195 | Group: X11/Applications/Networking | |
dae07f1c | 196 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1d0185d8 | 197 | Requires: gnupg >= 1.4.2.2 |
5a8ef4bc | 198 | Obsoletes: seamonkey-addon-enigmail |
1d0185d8 | 199 | |
200 | %description addon-enigmail | |
201 | Enigmail is an extension to the mail client of Iceape / SeaMonkey / | |
202 | Mozilla / Netscape and Mozilla Thunderbird which allows users to | |
203 | access the authentication and encryption features provided by GnuPG. | |
204 | ||
205 | %description addon-enigmail -l pl.UTF-8 | |
206 | Enigmail jest rozszerzeniem dla klienta pocztowego Iceape, SeaMonkey, | |
71fda434 ER |
207 | Mozilla i Mozilla Thunderdbird pozwalającym użytkownikowi korzystać z |
208 | funkcjonalności GnuPG. | |
1d0185d8 | 209 | |
210 | %package chat | |
211 | Summary: Iceape Chat - integrated IRC client | |
212 | Summary(pl.UTF-8): Iceape Chat - zintegrowany klient IRC-a | |
213 | Group: X11/Applications/Networking | |
214 | Requires(post,postun): %{name} = %{epoch}:%{version}-%{release} | |
215 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
216 | Obsoletes: mozilla-chat | |
217 | Obsoletes: seamonkey-chat | |
218 | ||
219 | %description chat | |
220 | Iceape Chat - IRC client that is integrated with the Iceape web | |
221 | browser. | |
222 | ||
223 | %description chat -l pl.UTF-8 | |
224 | Iceape - klient IRC-a zintegrowany z przeglądarką Iceape. | |
225 | ||
226 | %package js-debugger | |
227 | Summary: JavaScript debugger for use with Iceape | |
228 | Summary(pl.UTF-8): Odpluskwiacz JavaScriptu do używania z Iceape | |
229 | Group: X11/Applications/Networking | |
230 | Requires(post,postun): %{name} = %{epoch}:%{version}-%{release} | |
231 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
232 | Obsoletes: mozilla-js-debugger | |
233 | Obsoletes: seamonkey-js-debugger | |
234 | ||
235 | %description js-debugger | |
236 | JavaScript debugger for use with Iceape. | |
237 | ||
238 | %description js-debugger -l pl.UTF-8 | |
239 | Odpluskwiacz JavaScriptu do używania z Iceape. | |
240 | ||
241 | %package dom-inspector | |
242 | Summary: A tool for inspecting the DOM of pages in Iceape | |
243 | Summary(pl.UTF-8): Narzędzie do oglądania DOM stron w Iceape | |
244 | Group: X11/Applications/Networking | |
245 | Requires(post,postun): %{name} = %{epoch}:%{version}-%{release} | |
246 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
247 | Obsoletes: mozilla-dom-inspector | |
248 | Obsoletes: seamonkey-dom-inspector | |
249 | ||
250 | %description dom-inspector | |
251 | This is a tool that allows you to inspect the DOM for web pages in | |
252 | Iceape. This is of great use to people who are doing Iceape chrome | |
253 | development or web page development. | |
254 | ||
255 | %description dom-inspector -l pl.UTF-8 | |
256 | To narzędzie pozwala na oglądanie DOM dla stron WWW w Iceape. Jest | |
257 | bardzo przydatne dla ludzi rozwijających chrome w Iceape lub | |
258 | tworzących strony WWW. | |
259 | ||
1d0185d8 | 260 | %prep |
261 | %setup -qc | |
dae07f1c | 262 | cd comm-release |
1d0185d8 | 263 | tar -C mailnews/extensions -zxf %{SOURCE1} |
03e92ac3 | 264 | tar -jxf %{SOURCE2} |
1d0185d8 | 265 | %patch0 -p1 |
266 | %patch1 -p1 | |
267 | %patch2 -p1 | |
268 | %patch3 -p1 | |
269 | %patch4 -p1 | |
1d0185d8 | 270 | %patch5 -p1 |
1d0185d8 | 271 | %patch6 -p1 |
888f80ab | 272 | %patch7 -p1 |
1d0185d8 | 273 | |
274 | %build | |
dae07f1c JR |
275 | cd comm-release |
276 | %if %{with xulrunner} | |
277 | if [ "$(grep -E '^[0-9]+\.' mozilla/config/milestone.txt)" != "%{xulrunner_ver}" ]; then | |
278 | echo >&2 | |
279 | echo >&2 "Xulrunner version %{xulrunner_ver} does not match mozilla/config/milestone.txt!" | |
280 | echo >&2 | |
281 | exit 1 | |
282 | fi | |
283 | %endif | |
284 | ||
285 | cp -f %{_datadir}/automake/config.* build/autoconf | |
286 | cp -f %{_datadir}/automake/config.* mozilla/build/autoconf | |
287 | cp -f %{_datadir}/automake/config.* mozilla/nsprpub/build/autoconf | |
288 | cp -f %{_datadir}/automake/config.* ldap/sdks/c-sdk/config/autoconf | |
289 | ||
290 | cat << EOF > .mozconfig | |
291 | mk_add_options MOZ_OBJDIR=%{objdir} | |
292 | ||
293 | export CFLAGS="%{rpmcflags}" | |
294 | export CXXFLAGS="%{rpmcflags}" | |
295 | ||
296 | %if %{with crashreporter} | |
297 | export MOZ_DEBUG_SYMBOLS=1 | |
298 | %endif | |
299 | ||
300 | # Options for 'configure' (same as command-line options). | |
301 | ac_add_options --prefix=%{_prefix} | |
302 | ac_add_options --exec-prefix=%{_exec_prefix} | |
303 | ac_add_options --bindir=%{_bindir} | |
304 | ac_add_options --sbindir=%{_sbindir} | |
305 | ac_add_options --sysconfdir=%{_sysconfdir} | |
306 | ac_add_options --datadir=%{_datadir} | |
307 | ac_add_options --includedir=%{_includedir} | |
308 | ac_add_options --libdir=%{_libdir} | |
309 | ac_add_options --libexecdir=%{_libexecdir} | |
310 | ac_add_options --localstatedir=%{_localstatedir} | |
311 | ac_add_options --sharedstatedir=%{_sharedstatedir} | |
312 | ac_add_options --mandir=%{_mandir} | |
313 | ac_add_options --infodir=%{_infodir} | |
314 | ac_add_options --disable-elf-hack | |
315 | %if %{?debug:1}0 | |
316 | ac_add_options --disable-optimize | |
317 | ac_add_options --enable-debug | |
318 | ac_add_options --enable-debug-modules | |
319 | ac_add_options --enable-debugger-info-modules | |
320 | ac_add_options --enable-crash-on-assert | |
321 | %else | |
322 | ac_add_options --disable-debug | |
323 | ac_add_options --disable-debug-modules | |
324 | ac_add_options --disable-logging | |
325 | ac_add_options --enable-optimize="%{rpmcflags} -Os" | |
326 | %endif | |
327 | ac_add_options --disable-strip | |
328 | ac_add_options --disable-strip-libs | |
329 | %if %{with tests} | |
330 | ac_add_options --enable-tests | |
331 | %else | |
332 | ac_add_options --disable-tests | |
333 | %endif | |
334 | ac_add_options --enable-gio | |
335 | %if %{with gnomeui} | |
336 | ac_add_options --enable-gnomeui | |
337 | %else | |
338 | ac_add_options --disable-gnomeui | |
339 | %endif | |
340 | ac_add_options --disable-gnomevfs | |
341 | %if %{with ldap} | |
342 | ac_add_options --enable-ldap | |
343 | ac_add_options --with-system-ldap | |
344 | %else | |
345 | ac_add_options --disable-ldap | |
346 | %endif | |
347 | %if %{with crashreporter} | |
348 | ac_add_options --enable-crashreporter | |
349 | %else | |
350 | ac_add_options --disable-crashreporter | |
351 | %endif | |
352 | ac_add_options --disable-xterm-updates | |
353 | ac_add_options --enable-postscript | |
354 | %if %{with lightning} | |
355 | ac_add_options --enable-calendar | |
356 | %else | |
357 | ac_add_options --disable-calendar | |
358 | %endif | |
359 | ac_add_options --disable-installer | |
360 | ac_add_options --disable-javaxpcom | |
361 | ac_add_options --disable-updater | |
362 | ac_add_options --enable-crypto | |
363 | ac_add_options --enable-libxul | |
364 | ac_add_options --enable-pango | |
365 | ac_add_options --enable-shared-js | |
366 | ac_add_options --enable-startup-notification | |
367 | ac_add_options --enable-system-cairo | |
368 | ac_add_options --enable-system-hunspell | |
369 | ac_add_options --enable-system-sqlite | |
370 | ac_add_options --enable-application=suite | |
371 | ac_add_options --with-distribution-id=org.pld-linux | |
03e92ac3 | 372 | ac_add_options --with-branding=iceape/branding |
dae07f1c JR |
373 | %if %{with xulrunner} |
374 | ac_add_options --with-system-libxul | |
375 | ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul) | |
376 | %endif | |
377 | ac_add_options --with-pthreads | |
378 | ac_add_options --with-system-bz2 | |
379 | ac_add_options --with-system-ffi | |
380 | ac_add_options --with-system-jpeg | |
381 | ac_add_options --with-system-libevent | |
382 | ac_add_options --with-system-libvpx | |
383 | ac_add_options --with-system-nspr | |
384 | ac_add_options --with-system-nss | |
385 | ac_add_options --with-system-png | |
386 | ac_add_options --with-system-zlib | |
387 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} | |
388 | EOF | |
389 | ||
390 | %{__make} -j1 -f client.mk build \ | |
391 | STRIP="/bin/true" \ | |
392 | MOZ_MAKE_FLAGS="%{?_smp_mflags}" \ | |
393 | installdir=%{_libdir}/%{name} \ | |
394 | CC="%{__cc}" \ | |
395 | CXX="%{__cxx}" | |
1d0185d8 | 396 | |
dae07f1c JR |
397 | %if %{with crashreporter} |
398 | # create debuginfo for crash-stats.mozilla.com | |
399 | %{__make} -j1 -C obj-%{_target_cpu} buildsymbols | |
400 | %endif | |
401 | ||
402 | %if %{with enigmail} | |
1d0185d8 | 403 | cd mailnews/extensions/enigmail |
dae07f1c JR |
404 | ./makemake -r -o %{objdir} |
405 | %{__make} -C %{objdir}/mailnews/extensions/enigmail \ | |
406 | STRIP="/bin/true" \ | |
407 | CC="%{__cc}" \ | |
408 | CXX="%{__cxx}" | |
c4a50216 JR |
409 | |
410 | %{__make} -C %{objdir}/mailnews/extensions/enigmail xpi \ | |
411 | STRIP="/bin/true" \ | |
412 | CC="%{__cc}" \ | |
413 | CXX="%{__cxx}" | |
dae07f1c | 414 | %endif |
1d0185d8 | 415 | |
416 | %install | |
417 | rm -rf $RPM_BUILD_ROOT | |
dae07f1c | 418 | cd comm-release |
1d0185d8 | 419 | install -d \ |
dae07f1c | 420 | $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} \ |
1d0185d8 | 421 | $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \ |
dae07f1c JR |
422 | $RPM_BUILD_ROOT%{_datadir}/%{name} \ |
423 | $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins | |
1d0185d8 | 424 | |
dae07f1c | 425 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins |
1d0185d8 | 426 | |
dae07f1c JR |
427 | cd %{objdir} |
428 | %{__make} -C suite/installer stage-package \ | |
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 | |
456 | ||
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 JR |
529 | cp -rfLp components/enig* $ext_dir/components |
530 | cp -rfLp components/libenigmime.so $ext_dir/components | |
531 | cp -rfLp components/libipc.so $ext_dir/components | |
532 | cp -rfLp components/ipc.xpt $ext_dir/components | |
533 | cp -rfLp defaults/preferences/enigmail.js $ext_dir/defaults/preferences | |
c4a50216 JR |
534 | cp -rfLp modules/{commonFuncs,enigmailCommon,keyManagement,pipeConsole,pipeTransport,subprocess}.jsm $ext_dir/modules |
535 | cp -rfLp modules/{subprocess_worker_unix,subprocess_worker_win}.js $ext_dir/modules | |
dae07f1c JR |
536 | cd - |
537 | cp -p %{topdir}/comm-release/mailnews/extensions/enigmail/package/install.rdf $ext_dir | |
538 | cp -p %{topdir}/comm-release/mailnews/extensions/enigmail/package/chrome.manifest $ext_dir/chrome.manifest | |
539 | %endif | |
1d0185d8 | 540 | |
dae07f1c JR |
541 | # never package these. always remove |
542 | # nss | |
543 | %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{freebl3,nss3,nssckbi,nssdbm3,nssutil3,smime3,softokn3,ssl3}.* | |
544 | # nspr | |
545 | %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{nspr4,plc4,plds4}.so | |
546 | # mozldap | |
547 | %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap,ssldap}60.so | |
548 | # testpilot quiz | |
549 | %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/distribution/extensions/tbtestpilot@labs.mozilla.com.xpi | |
1d0185d8 | 550 | |
551 | %clean | |
552 | rm -rf $RPM_BUILD_ROOT | |
553 | ||
554 | %post | |
dae07f1c | 555 | %{_libdir}/%{name}/register || : |
1d0185d8 | 556 | %update_browser_plugins |
fcecc2a1 | 557 | %update_icon_cache hicolor |
dae07f1c | 558 | %update_desktop_database |
1d0185d8 | 559 | |
560 | %postun | |
1d0185d8 | 561 | if [ "$1" = 0 ]; then |
562 | %update_browser_plugins | |
fcecc2a1 | 563 | %update_icon_cache hicolor |
1d0185d8 | 564 | fi |
565 | ||
1d0185d8 | 566 | %files |
567 | %defattr(644,root,root,755) | |
568 | %attr(755,root,root) %{_bindir}/iceape | |
1d0185d8 | 569 | |
570 | # browser plugins v2 | |
571 | %{_browserpluginsconfdir}/browsers.d/%{name}.* | |
572 | %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist | |
573 | ||
dae07f1c JR |
574 | %dir %{_libdir}/%{name} |
575 | %if %{without xulrunner} | |
576 | %attr(755,root,root) %{_libdir}/%{name}/libmozalloc.so | |
577 | %attr(755,root,root) %{_libdir}/%{name}/libmozjs.so | |
578 | %attr(755,root,root) %{_libdir}/%{name}/libxpcom.so | |
579 | %attr(755,root,root) %{_libdir}/%{name}/libxul.so | |
580 | %endif | |
1d0185d8 | 581 | |
dae07f1c JR |
582 | %{_libdir}/%{name}/blocklist.xml |
583 | %attr(755,root,root) %{_libdir}/%{name}/register | |
1d0185d8 | 584 | |
dae07f1c JR |
585 | %if %{with crashreporter} |
586 | %{_libdir}/%{name}/crashreporter | |
587 | %{_libdir}/%{name}/crashreporter-override.ini | |
588 | %{_libdir}/%{name}/crashreporter.ini | |
589 | %{_libdir}/%{name}/Throbber-small.gif | |
590 | %endif | |
1d0185d8 | 591 | |
dae07f1c JR |
592 | # config? |
593 | %{_libdir}/%{name}/application.ini | |
594 | %{_libdir}/%{name}/chrome.manifest | |
595 | ||
596 | %dir %{_libdir}/%{name}/components | |
597 | ||
888f80ab | 598 | %{_libdir}/%{name}/components/Aitc.js |
8bed54aa | 599 | %{_libdir}/%{name}/components/AlarmsManager.js |
888f80ab JR |
600 | %{_libdir}/%{name}/components/AppsService.js |
601 | %{_libdir}/%{name}/components/BrowserElementParent.js | |
8bed54aa | 602 | %{_libdir}/%{name}/components/ColorAnalyzer.js |
978e314f | 603 | %{_libdir}/%{name}/components/ContactManager.js |
dae07f1c JR |
604 | %{_libdir}/%{name}/components/FeedConverter.js |
605 | %{_libdir}/%{name}/components/FeedWriter.js | |
978e314f | 606 | %{_libdir}/%{name}/components/messageWakeupService.js |
8bed54aa | 607 | %{_libdir}/%{name}/components/newMailNotificationService.js |
978e314f | 608 | %{_libdir}/%{name}/components/nsAbout.js |
dae07f1c | 609 | %{_libdir}/%{name}/components/nsBrowserContentHandler.js |
978e314f | 610 | %{_libdir}/%{name}/components/nsComposerCmdLineHandler.js |
8bed54aa JR |
611 | %{_libdir}/%{name}/components/nsDOMIdentity.js |
612 | %{_libdir}/%{name}/components/nsIDService.js | |
dae07f1c JR |
613 | %{_libdir}/%{name}/components/nsSessionStartup.js |
614 | %{_libdir}/%{name}/components/nsSessionStore.js | |
615 | %{_libdir}/%{name}/components/nsSidebar.js | |
978e314f JR |
616 | %{_libdir}/%{name}/components/nsSuiteDownloadManagerUI.js |
617 | %{_libdir}/%{name}/components/nsSuiteGlue.js | |
618 | %{_libdir}/%{name}/components/nsTypeAheadFind.js | |
619 | %{_libdir}/%{name}/components/nsUrlClassifierHashCompleter.js | |
620 | %{_libdir}/%{name}/components/nsUrlClassifierLib.js | |
621 | %{_libdir}/%{name}/components/nsUrlClassifierListManager.js | |
8bed54aa JR |
622 | %{_libdir}/%{name}/components/SettingsManager.js |
623 | %{_libdir}/%{name}/components/SiteSpecificUserAgent.js | |
978e314f | 624 | %{_libdir}/%{name}/components/smileApplication.js |
8bed54aa JR |
625 | %{_libdir}/%{name}/components/TCPSocket.js |
626 | %{_libdir}/%{name}/components/Weave.js | |
627 | %{_libdir}/%{name}/components/Webapps.js | |
628 | %{_libdir}/%{name}/components/WebContentConverter.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 JR |
636 | %if %{without xulrunner} |
637 | %{_libdir}/%{name}/platform.ini | |
638 | %{_libdir}/%{name}/components/ConsoleAPI.js | |
639 | %{_libdir}/%{name}/components/FeedProcessor.js | |
640 | %{_libdir}/%{name}/components/GPSDGeolocationProvider.js | |
641 | %{_libdir}/%{name}/components/NetworkGeolocationProvider.js | |
642 | %{_libdir}/%{name}/components/PlacesCategoriesStarter.js | |
643 | %{_libdir}/%{name}/components/TelemetryPing.js | |
644 | %{_libdir}/%{name}/components/addonManager.js | |
645 | %{_libdir}/%{name}/components/amContentHandler.js | |
646 | %{_libdir}/%{name}/components/amWebInstallListener.js | |
647 | %{_libdir}/%{name}/components/contentAreaDropListener.js | |
648 | %{_libdir}/%{name}/components/contentSecurityPolicy.js | |
649 | %{_libdir}/%{name}/components/crypto-SDR.js | |
650 | %{_libdir}/%{name}/components/jsconsole-clhandler.js | |
651 | %{_libdir}/%{name}/components/nsBadCertHandler.js | |
652 | %{_libdir}/%{name}/components/nsBlocklistService.js | |
653 | %{_libdir}/%{name}/components/nsContentDispatchChooser.js | |
654 | %{_libdir}/%{name}/components/nsContentPrefService.js | |
655 | %{_libdir}/%{name}/components/nsDefaultCLH.js | |
656 | %{_libdir}/%{name}/components/nsFilePicker.js | |
657 | %{_libdir}/%{name}/components/nsFormAutoComplete.js | |
658 | %{_libdir}/%{name}/components/nsFormHistory.js | |
659 | %{_libdir}/%{name}/components/nsHandlerService.js | |
660 | %{_libdir}/%{name}/components/nsHelperAppDlg.js | |
661 | %{_libdir}/%{name}/components/nsINIProcessor.js | |
662 | %{_libdir}/%{name}/components/nsInputListAutoComplete.js | |
663 | %{_libdir}/%{name}/components/nsLivemarkService.js | |
664 | %{_libdir}/%{name}/components/nsLoginInfo.js | |
665 | %{_libdir}/%{name}/components/nsLoginManager.js | |
666 | %{_libdir}/%{name}/components/nsLoginManagerPrompter.js | |
667 | %{_libdir}/%{name}/components/nsPlacesAutoComplete.js | |
668 | %{_libdir}/%{name}/components/nsPlacesExpiration.js | |
669 | %{_libdir}/%{name}/components/nsPrompter.js | |
670 | %{_libdir}/%{name}/components/nsProxyAutoConfig.js | |
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 | |
714 | %exclude %{_datadir}/%{name}/modules/pipeTransport.jsm | |
715 | %exclude %{_datadir}/%{name}/modules/subprocess.jsm | |
716 | %exclude %{_datadir}/%{name}/modules/subprocess_worker_unix.js | |
717 | %exclude %{_datadir}/%{name}/modules/subprocess_worker_win.js | |
718 | %endif | |
dae07f1c JR |
719 | %{_datadir}/%{name}/searchplugins |
720 | %if %{without xulrunner} | |
721 | %{_datadir}/%{name}/greprefs.js | |
722 | %{_datadir}/%{name}/res | |
723 | %endif | |
1d0185d8 | 724 | |
dae07f1c JR |
725 | %dir %{_datadir}/%{name}/extensions |
726 | %dir %{_libdir}/%{name}/extensions | |
727 | # the signature of the default theme | |
728 | %{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi | |
729 | %{_libdir}/%{name}/extensions/modern@themes.mozilla.org.xpi | |
730 | ||
731 | # files created by iceape -register | |
732 | %ghost %{_libdir}/%{name}/components/compreg.dat | |
733 | %ghost %{_libdir}/%{name}/components/xpti.dat | |
734 | ||
735 | %{_libdir}/%{name}/components/glautocomp.js | |
736 | %{_libdir}/%{name}/components/jsmimeemitter.js | |
737 | %{_libdir}/%{name}/components/mail.xpt | |
738 | %{_libdir}/%{name}/components/mdn-service.js | |
739 | %{_libdir}/%{name}/components/msgAsyncPrompter.js | |
740 | %{_libdir}/%{name}/components/newsblog.js | |
741 | %{_libdir}/%{name}/components/nsAbAutoCompleteMyDomain.js | |
742 | %{_libdir}/%{name}/components/nsAbAutoCompleteSearch.js | |
743 | %{_libdir}/%{name}/components/nsAbLDAPAttributeMap.js | |
744 | %{_libdir}/%{name}/components/nsLDAPProtocolHandler.js | |
745 | %{_libdir}/%{name}/components/nsMailNewsCommandLineHandler.js | |
746 | %{_libdir}/%{name}/components/nsMsgTraitService.js | |
747 | %{_libdir}/%{name}/components/nsSMTPProtocolHandler.js | |
748 | %{_libdir}/%{name}/components/offlineStartup.js | |
749 | %{_libdir}/%{name}/components/smime-service.js | |
750 | ||
751 | %{_libdir}/%{name}/isp | |
752 | %dir %{_datadir}/%{name}/isp | |
753 | %{_datadir}/%{name}/isp/Bogofilter.sfd | |
754 | %{_datadir}/%{name}/isp/DSPAM.sfd | |
755 | %{_datadir}/%{name}/isp/POPFile.sfd | |
756 | %{_datadir}/%{name}/isp/SpamAssassin.sfd | |
757 | %{_datadir}/%{name}/isp/SpamPal.sfd | |
758 | %{_datadir}/%{name}/isp/movemail.rdf | |
759 | %{_datadir}/%{name}/isp/rss.rdf | |
1d0185d8 | 760 | |
fcecc2a1 JR |
761 | %{_iconsdir}/hicolor/*/apps/iceape.png |
762 | %{_iconsdir}/hicolor/scalable/apps/iceape.svg | |
dae07f1c JR |
763 | %{_desktopdir}/%{name}.desktop |
764 | %{_desktopdir}/%{name}-composer.desktop | |
1d0185d8 | 765 | %{_desktopdir}/%{name}-mail.desktop |
766 | ||
dae07f1c JR |
767 | %if %{with lightning} |
768 | %files addon-lightning | |
769 | %defattr(644,root,root,755) | |
770 | %dir %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} | |
771 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/application.ini | |
772 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome | |
773 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest | |
774 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/defaults | |
775 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/install.rdf | |
776 | %dir %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components | |
777 | %attr(755,root,root) %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.so | |
778 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.js | |
779 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.manifest | |
780 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/*.xpt | |
781 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules | |
782 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js | |
783 | %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones.sqlite | |
784 | %{_libdir}/%{name}/extensions/calendar-timezones@mozilla.org | |
785 | %endif | |
786 | ||
787 | %if %{with enigmail} | |
1d0185d8 | 788 | %files addon-enigmail |
789 | %defattr(644,root,root,755) | |
dae07f1c JR |
790 | %dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5} |
791 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/defaults | |
792 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome | |
793 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/chrome.manifest | |
794 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/install.rdf | |
795 | %dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components | |
796 | %attr(755,root,root) %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.so | |
797 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.xpt | |
798 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/*.js | |
c4a50216 JR |
799 | %dir %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules |
800 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/*.jsm | |
801 | %{_libdir}/%{name}/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/modules/*.js | |
dae07f1c | 802 | %endif |
1d0185d8 | 803 | |
804 | %files chat | |
805 | %defattr(644,root,root,755) | |
dae07f1c | 806 | %{_libdir}/%{name}/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi |
1d0185d8 | 807 | %{_desktopdir}/%{name}-chat.desktop |
808 | ||
809 | %files js-debugger | |
810 | %defattr(644,root,root,755) | |
dae07f1c | 811 | %{_libdir}/%{name}/extensions/{f13b157f-b174-47e7-a34d-4815ddfdfeb8}.xpi |
1d0185d8 | 812 | %{_desktopdir}/%{name}-venkman.desktop |
813 | ||
814 | %files dom-inspector | |
815 | %defattr(644,root,root,755) | |
dae07f1c | 816 | %{_libdir}/%{name}/extensions/inspector@mozilla.org.xpi |