]>
Commit | Line | Data |
---|---|---|
b19e17d8 JB |
1 | # |
2 | # Conditional build: | |
7c87af2b | 3 | %bcond_without enigmail # don't build enigmail - GPG/PGP support |
bd8dbb8a JR |
4 | %bcond_without gnomeui # disable gnomeui support |
5 | %bcond_without gnome # disable gnomeui (alias) | |
7c87af2b JR |
6 | %bcond_without ldap # disable e-mail address lookups in LDAP directories |
7 | %bcond_without lightning # disable Sunbird/Lightning calendar | |
bd8dbb8a JR |
8 | %bcond_with xulrunner # build with system xulrunner |
9 | %bcond_with tests # enable tests (whatever they check) | |
10 | %bcond_without kerberos # disable krb5 support | |
7c87af2b | 11 | |
8c8a030f | 12 | %if %{without gnome} |
7c87af2b | 13 | %undefine with_gnomeui |
8c8a030f | 14 | %endif |
24441e9c | 15 | |
bd8dbb8a JR |
16 | %define enigmail_ver 1.4.1 |
17 | %define nspr_ver 4.9 | |
18 | %define nss_ver 3.13.3 | |
19 | %define xulrunner_ver 12.0 | |
24441e9c 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 | ||
dc51aa63 | 26 | Summary: SeaMonkey Community Edition - web browser |
fda067df ER |
27 | Summary(es.UTF-8): Navegador de Internet SeaMonkey Community Edition |
28 | Summary(pl.UTF-8): SeaMonkey Community Edition - przeglądarka WWW | |
29 | Summary(pt_BR.UTF-8): Navegador SeaMonkey Community Edition | |
b19e17d8 | 30 | Name: seamonkey |
bd8dbb8a | 31 | Version: 2.9.1 |
2d1748a7 | 32 | Release: 0.1 |
e67de086 | 33 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ |
b19e17d8 | 34 | Group: X11/Applications/Networking |
2d1748a7 | 35 | Source0: ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/source/%{name}-%{version}.source.tar.bz2 |
bd8dbb8a | 36 | # Source0-md5: 8dd18d93a6570c3c9f3873bb177ccc6b |
e14a25f7 | 37 | Source1: http://www.mozilla-enigmail.org/download/source/enigmail-%{enigmail_ver}.tar.gz |
bd8dbb8a | 38 | # Source1-md5: 0eba75fbcf8f0bb32d538df102fbb8e9 |
5bead095 | 39 | Source2: %{name}.desktop |
40 | Source3: %{name}-composer.desktop | |
41 | Source4: %{name}-chat.desktop | |
42 | Source5: %{name}-mail.desktop | |
43 | Source6: %{name}-venkman.desktop | |
bd8dbb8a | 44 | Source7: %{name}.sh |
8b22949b | 45 | Patch0: %{name}-pld-homepage.patch |
bd8dbb8a JR |
46 | Patch1: %{name}-agent.patch |
47 | Patch2: %{name}-glueload-fix.patch | |
48 | Patch3: system-mozldap.patch | |
49 | Patch4: makefile.patch | |
50 | Patch5: system-cairo.patch | |
7bb99b6b | 51 | URL: http://www.seamonkey-project.org/ |
bd8dbb8a | 52 | BuildRequires: GConf2-devel >= 1.2.1 |
7c87af2b JR |
53 | BuildRequires: OpenGL-devel |
54 | BuildRequires: alsa-lib-devel | |
b19e17d8 | 55 | BuildRequires: automake |
7c87af2b JR |
56 | BuildRequires: bzip2-devel |
57 | BuildRequires: cairo-devel >= 1.10.2-5 | |
58 | BuildRequires: dbus-glib-devel >= 0.60 | |
b19e17d8 | 59 | BuildRequires: freetype-devel >= 1:2.1.8 |
7c87af2b JR |
60 | BuildRequires: glib2-devel >= 1:2.18 |
61 | BuildRequires: gtk+2-devel >= 2:2.10 | |
62 | %{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1} | |
63 | BuildRequires: hunspell-devel | |
98fe5fb0 | 64 | BuildRequires: libIDL-devel >= 0.8.0 |
7c87af2b JR |
65 | BuildRequires: libdnet-devel |
66 | BuildRequires: libevent-devel >= 1.4.7 | |
bd8dbb8a JR |
67 | # standalone libffi 3.0.9 or gcc's from 4.5(?)+ |
68 | BuildRequires: libffi-devel >= 6:3.0.9 | |
69 | %{?with_gnomeui:BuildRequires: libgnome-devel >= 2.0} | |
70 | %{?with_gnomeui:BuildRequires: libgnome-keyring-devel} | |
71 | %{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0} | |
7c87af2b | 72 | BuildRequires: libiw-devel |
b19e17d8 | 73 | BuildRequires: libjpeg-devel >= 6b |
7c87af2b JR |
74 | BuildRequires: libnotify-devel >= 0.4 |
75 | BuildRequires: libpng(APNG)-devel >= 0.10 | |
76 | BuildRequires: libpng-devel >= 1.4.1 | |
b19e17d8 | 77 | BuildRequires: libstdc++-devel |
7c87af2b JR |
78 | BuildRequires: libvpx-devel |
79 | BuildRequires: nspr-devel >= 1:%{nspr_ver} | |
80 | BuildRequires: nss-devel >= 1:%{nss_ver} | |
81 | BuildRequires: pango-devel >= 1:1.14.0 | |
bd8dbb8a | 82 | BuildRequires: perl-base >= 1:5.6 |
7c87af2b | 83 | BuildRequires: perl-modules >= 5.004 |
b19e17d8 | 84 | BuildRequires: pkgconfig |
7c87af2b JR |
85 | BuildRequires: python >= 1:2.5 |
86 | BuildRequires: python-modules | |
c1527db1 | 87 | BuildRequires: rpm >= 4.4.9-56 |
7c87af2b | 88 | BuildRequires: rpmbuild(macros) >= 1.601 |
b19e17d8 | 89 | BuildRequires: sed >= 4.0 |
bd8dbb8a | 90 | BuildRequires: sqlite3-devel >= 3.7.10 |
7c87af2b JR |
91 | BuildRequires: startup-notification-devel >= 0.8 |
92 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
f5fed05a | 93 | BuildRequires: xorg-lib-libXext-devel |
f5fed05a | 94 | BuildRequires: xorg-lib-libXinerama-devel |
f5fed05a | 95 | BuildRequires: xorg-lib-libXt-devel |
7c87af2b JR |
96 | %if %{with xulrunner} |
97 | BuildRequires: xulrunner-devel >= 2:%{xulrunner_ver} | |
98 | %endif | |
bd8dbb8a | 99 | BuildRequires: yasm |
7c87af2b | 100 | BuildRequires: zip |
510dc0c3 | 101 | BuildRequires: zlib-devel >= 1.2.3 |
7c87af2b JR |
102 | Requires(post): mktemp >= 1.5-18 |
103 | Requires: desktop-file-utils | |
104 | Requires: hicolor-icon-theme | |
105 | %if %{with xulrunner} | |
106 | %requires_eq_to xulrunner xulrunner-devel | |
107 | %else | |
6d3a5031 | 108 | Requires: browser-plugins >= 2.0 |
7c87af2b JR |
109 | Requires: cairo >= 1.10.2-5 |
110 | Requires: dbus-glib >= 0.60 | |
111 | Requires: gtk+2 >= 2:2.18 | |
112 | Requires: libpng >= 1.4.1 | |
113 | Requires: libpng(APNG) >= 0.10 | |
114 | Requires: myspell-common | |
115 | Requires: nspr >= 1:%{nspr_ver} | |
116 | Requires: nss >= 1:%{nss_ver} | |
117 | Requires: pango >= 1:1.14.0 | |
118 | Requires: sqlite3 >= %{sqlite_build_version} | |
119 | Requires: startup-notification >= 0.8 | |
120 | %endif | |
488e9642 | 121 | Provides: seamonkey-embedded = %{version}-%{release} |
b19e17d8 JB |
122 | Provides: wwwbrowser |
123 | Obsoletes: light | |
f27b291c | 124 | Obsoletes: mozilla |
68683ec1 | 125 | Obsoletes: seamonkey-calendar |
d6a799e8 | 126 | Obsoletes: seamonkey-libs |
b19e17d8 JB |
127 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
128 | ||
acf8815d | 129 | %define _seamonkeydir %{_libdir}/%{name} |
51e6b5bb | 130 | %define _chromedir %{_libdir}/%{name}/chrome |
92482a22 | 131 | |
bd8dbb8a JR |
132 | %define topdir %{_builddir}/%{name}-%{version} |
133 | %define objdir %{topdir}/obj-%{_target_cpu} | |
134 | ||
135 | %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+ | |
7c87af2b JR |
136 | |
137 | # don't satisfy other packages | |
138 | %define _noautoprovfiles %{_libdir}/%{name} | |
92482a22 | 139 | # and as we don't provide them, don't require either |
7c87af2b JR |
140 | %define _noautoreq libmozjs.so libxpcom.so libxul.so libjemalloc.so %{!?with_xulrunner:libmozalloc.so} |
141 | %define _noautoreqdep libgfxpsshar.so libgkgfx.so libgtkxtbin.so libjsj.so libxpcom_compat.so libxpistub.so | |
92482a22 | 142 | |
b19e17d8 | 143 | %description |
dc51aa63 ER |
144 | SeaMonkey Community Edition is an open-source web browser, designed |
145 | for standards compliance, performance and portability. | |
b19e17d8 | 146 | |
97d18aeb | 147 | %description -l es.UTF-8 |
dc51aa63 | 148 | SeaMonkey Community Edition es un navegador de Internet que se basa en |
97d18aeb | 149 | una versión inicial de Netscape Communicator. |
b19e17d8 | 150 | |
97d18aeb JR |
151 | %description -l pl.UTF-8 |
152 | SeaMonkey Community Edition jest potężną graficzną przeglądarką WWW, | |
153 | która jest następcą Mozilli, która następnie była następczynią | |
dc51aa63 | 154 | Netscape Communikatora. |
b19e17d8 | 155 | |
97d18aeb JR |
156 | %description -l pt_BR.UTF-8 |
157 | O SeaMonkey Community Edition é um web browser baseado numa versão | |
dc51aa63 | 158 | inicial do Netscape Communicator. |
b19e17d8 | 159 | |
97d18aeb JR |
160 | %description -l ru.UTF-8 |
161 | SeaMonkey Community Edition - полнофункциональный web-browser с | |
162 | открытыми исходными текстами, разработанный для максимального | |
163 | соотвествия стандартам, максмимальной переносимости и скорости работы | |
b19e17d8 | 164 | |
3745e5ab | 165 | %package mailnews |
166 | Summary: SeaMonkey Community Edition - programs for mail and news | |
167 | Summary(pl.UTF-8): SeaMonkey Community Edition - programy do poczty i newsów | |
168 | Summary(ru.UTF-8): Почтовая система на основе SeaMonkey Community Edition | |
169 | Group: X11/Applications/Networking | |
488e9642 JB |
170 | Requires(post,postun): %{name} = %{version}-%{release} |
171 | Requires: %{name} = %{version}-%{release} | |
3745e5ab | 172 | Obsoletes: mozilla-mailnews |
173 | ||
b19e17d8 JB |
174 | %description mailnews |
175 | Programs for mail and news integrated with browser. | |
176 | ||
97d18aeb JR |
177 | %description mailnews -l pl.UTF-8 |
178 | Programy pocztowe i obsługa newsów zintegrowane z przeglądarką. | |
b19e17d8 | 179 | |
97d18aeb JR |
180 | %description mailnews -l ru.UTF-8 |
181 | Клиент почты и новостей, на основе SeaMonkey Community Edition. | |
182 | Поддерживает IMAP, POP и NNTP и имеет простой интерфейс пользователя. | |
b19e17d8 | 183 | |
5bead095 | 184 | %package addon-enigmail |
93b50f63 JB |
185 | Summary: Enigmail %{enigmail_ver} - PGP/GPG support for SeaMonkey Community Edition |
186 | Summary(pl.UTF-8): Enigmail %{enigmail_ver} - obsługa PGP/GPG dla SeaMonkey Community Edition | |
8c282ad7 | 187 | Group: X11/Applications/Networking |
488e9642 JB |
188 | Requires(post,postun): %{name}-mailnews = %{version}-%{release} |
189 | Requires: %{name}-mailnews = %{version}-%{release} | |
5bead095 | 190 | Requires: gnupg >= 1.4.2.2 |
191 | ||
192 | %description addon-enigmail | |
794cd35c | 193 | Enigmail is an extension to the mail client of SeaMonkey / Mozilla / |
194 | Netscape and Mozilla Thunderbird which allows users to access the | |
195 | authentication and encryption features provided by GnuPG. | |
5bead095 | 196 | |
97d18aeb | 197 | %description addon-enigmail -l pl.UTF-8 |
794cd35c | 198 | Enigmail jest rozszerzeniem dla klienta pocztowego SeaMonkey, Mozilla |
97d18aeb JR |
199 | i Mozilla Thunderdbird pozwalającym użytkownikowi korzystać z |
200 | funkcjonalności GnuPG. | |
5bead095 | 201 | |
b19e17d8 | 202 | %package chat |
dc51aa63 | 203 | Summary: SeaMonkey Community Edition Chat - integrated IRC client |
fda067df | 204 | Summary(pl.UTF-8): SeaMonkey Community Edition Chat - zintegrowany klient IRC-a |
b19e17d8 | 205 | Group: X11/Applications/Networking |
488e9642 JB |
206 | Requires(post,postun): %{name} = %{version}-%{release} |
207 | Requires: %{name} = %{version}-%{release} | |
f27b291c | 208 | Obsoletes: mozilla-chat |
b19e17d8 JB |
209 | |
210 | %description chat | |
dc51aa63 ER |
211 | SeaMonkey Community Edition Chat - IRC client that is integrated with |
212 | the SeaMonkey Community Edition web browser. | |
b19e17d8 | 213 | |
97d18aeb | 214 | %description chat -l pl.UTF-8 |
dc51aa63 | 215 | SeaMonkey Community Edition Chat - klient IRC-a zintegrowany z |
97d18aeb | 216 | przeglądarką SeaMonkey Community Edition. |
b19e17d8 JB |
217 | |
218 | %package js-debugger | |
dc51aa63 | 219 | Summary: JavaScript debugger for use with SeaMonkey Community Edition |
fda067df | 220 | Summary(pl.UTF-8): Odpluskwiacz JavaScriptu do używania z SeaMonkey Community Edition |
b19e17d8 | 221 | Group: X11/Applications/Networking |
488e9642 JB |
222 | Requires(post,postun): %{name} = %{version}-%{release} |
223 | Requires: %{name} = %{version}-%{release} | |
f27b291c | 224 | Obsoletes: mozilla-js-debugger |
b19e17d8 JB |
225 | |
226 | %description js-debugger | |
dc51aa63 | 227 | JavaScript debugger for use with SeaMonkey Community Edition. |
b19e17d8 | 228 | |
97d18aeb JR |
229 | %description js-debugger -l pl.UTF-8 |
230 | Odpluskwiacz JavaScriptu do używania z SeaMonkey Community Edition. | |
b19e17d8 JB |
231 | |
232 | %package dom-inspector | |
dc51aa63 | 233 | Summary: A tool for inspecting the DOM of pages in SeaMonkey Community Edition |
fda067df | 234 | Summary(pl.UTF-8): Narzędzie do oglądania DOM stron w SeaMonkey Community Edition |
b19e17d8 | 235 | Group: X11/Applications/Networking |
488e9642 JB |
236 | Requires(post,postun): %{name} = %{version}-%{release} |
237 | Requires: %{name} = %{version}-%{release} | |
f27b291c | 238 | Obsoletes: mozilla-dom-inspector |
b19e17d8 JB |
239 | |
240 | %description dom-inspector | |
241 | This is a tool that allows you to inspect the DOM for web pages in | |
dc51aa63 ER |
242 | SeaMonkey Community Edition. This is of great use to people who are |
243 | doing SeaMonkey Community Edition chrome development or web page | |
244 | development. | |
b19e17d8 | 245 | |
97d18aeb JR |
246 | %description dom-inspector -l pl.UTF-8 |
247 | To narzędzie pozwala na oglądanie DOM dla stron WWW w SeaMonkey | |
248 | Community Edition. Jest bardzo przydatne dla ludzi rozwijających | |
249 | chrome w SeaMonkey Community Edition lub tworzących strony WWW. | |
b19e17d8 JB |
250 | |
251 | %package gnomevfs | |
252 | Summary: Gnome-VFS module providing support for smb:// URLs | |
fda067df | 253 | Summary(pl.UTF-8): Moduł Gnome-VFS dodający wsparcie dla URLi smb:// |
b19e17d8 | 254 | Group: X11/Applications/Networking |
488e9642 JB |
255 | Requires(post,postun): %{name} = %{version}-%{release} |
256 | Requires: %{name} = %{version}-%{release} | |
f27b291c | 257 | Obsoletes: mozilla-gnomevfs |
b19e17d8 JB |
258 | |
259 | %description gnomevfs | |
260 | Gnome-VFS module providing support for smb:// URLs. | |
261 | ||
97d18aeb JR |
262 | %description gnomevfs -l pl.UTF-8 |
263 | Moduł Gnome-VFS dodający wsparcie dla URLi smb://. | |
b19e17d8 | 264 | |
b19e17d8 | 265 | %prep |
dc51aa63 | 266 | %setup -qc |
bd8dbb8a | 267 | cd comm-release |
5bead095 | 268 | tar -C mailnews/extensions -zxf %{SOURCE1} |
bd8dbb8a JR |
269 | #patch0 -p1 |
270 | %patch1 -p1 | |
271 | %patch2 -p1 | |
272 | %patch3 -p1 | |
273 | %patch4 -p1 | |
2f09c133 | 274 | %patch5 -p1 |
bd8dbb8a JR |
275 | |
276 | %build | |
277 | cd comm-release | |
278 | %if %{with xulrunner} | |
279 | if [ "$(grep -E '^[0-9]+\.' mozilla/config/milestone.txt)" != "%{xulrunner_ver}" ]; then | |
280 | echo >&2 | |
281 | echo >&2 "Xulrunner version %{xulrunner_ver} does not match mozilla/config/milestone.txt!" | |
282 | echo >&2 | |
283 | exit 1 | |
284 | fi | |
285 | %endif | |
286 | ||
287 | cp -f %{_datadir}/automake/config.* build/autoconf | |
288 | cp -f %{_datadir}/automake/config.* mozilla/build/autoconf | |
289 | cp -f %{_datadir}/automake/config.* mozilla/nsprpub/build/autoconf | |
290 | cp -f %{_datadir}/automake/config.* ldap/sdks/c-sdk/config/autoconf | |
291 | ||
292 | cat << EOF > .mozconfig | |
293 | mk_add_options MOZ_OBJDIR=%{objdir} | |
294 | ||
295 | export CFLAGS="%{rpmcflags}" | |
296 | export CXXFLAGS="%{rpmcflags}" | |
297 | ||
298 | %if %{with crashreporter} | |
299 | export MOZ_DEBUG_SYMBOLS=1 | |
300 | %endif | |
301 | ||
302 | # Options for 'configure' (same as command-line options). | |
303 | ac_add_options --prefix=%{_prefix} | |
304 | ac_add_options --exec-prefix=%{_exec_prefix} | |
305 | ac_add_options --bindir=%{_bindir} | |
306 | ac_add_options --sbindir=%{_sbindir} | |
307 | ac_add_options --sysconfdir=%{_sysconfdir} | |
308 | ac_add_options --datadir=%{_datadir} | |
309 | ac_add_options --includedir=%{_includedir} | |
310 | ac_add_options --libdir=%{_libdir} | |
311 | ac_add_options --libexecdir=%{_libexecdir} | |
312 | ac_add_options --localstatedir=%{_localstatedir} | |
313 | ac_add_options --sharedstatedir=%{_sharedstatedir} | |
314 | ac_add_options --mandir=%{_mandir} | |
315 | ac_add_options --infodir=%{_infodir} | |
316 | ac_add_options --disable-elf-hack | |
317 | %if %{?debug:1}0 | |
318 | ac_add_options --disable-optimize | |
319 | ac_add_options --enable-debug | |
320 | ac_add_options --enable-debug-modules | |
321 | ac_add_options --enable-debugger-info-modules | |
322 | ac_add_options --enable-crash-on-assert | |
c1527db1 | 323 | %else |
bd8dbb8a JR |
324 | ac_add_options --disable-debug |
325 | ac_add_options --disable-debug-modules | |
326 | ac_add_options --disable-logging | |
327 | ac_add_options --enable-optimize="%{rpmcflags} -Os" | |
c1527db1 | 328 | %endif |
bd8dbb8a JR |
329 | ac_add_options --disable-strip |
330 | ac_add_options --disable-strip-libs | |
331 | %if %{with tests} | |
332 | ac_add_options --enable-tests | |
333 | %else | |
334 | ac_add_options --disable-tests | |
335 | %endif | |
336 | ac_add_options --enable-gio | |
337 | %if %{with gnomeui} | |
338 | ac_add_options --enable-gnomeui | |
339 | %else | |
340 | ac_add_options --disable-gnomeui | |
341 | %endif | |
342 | ac_add_options --disable-gnomevfs | |
343 | %if %{with ldap} | |
344 | ac_add_options --enable-ldap | |
345 | ac_add_options --with-system-ldap | |
346 | %else | |
347 | ac_add_options --disable-ldap | |
348 | %endif | |
349 | %if %{with crashreporter} | |
350 | ac_add_options --enable-crashreporter | |
351 | %else | |
352 | ac_add_options --disable-crashreporter | |
353 | %endif | |
354 | ac_add_options --disable-xterm-updates | |
355 | ac_add_options --enable-postscript | |
356 | %if %{with lightning} | |
357 | ac_add_options --enable-calendar | |
358 | %else | |
359 | ac_add_options --disable-calendar | |
360 | %endif | |
361 | ac_add_options --disable-installer | |
362 | ac_add_options --disable-javaxpcom | |
363 | ac_add_options --disable-updater | |
364 | ac_add_options --disable-xprint | |
365 | ac_add_options --disable-permissions | |
366 | ac_add_options --disable-pref-extensions | |
367 | ac_add_options --enable-canvas | |
368 | ac_add_options --enable-crypto | |
369 | ac_add_options --enable-mathml | |
370 | ac_add_options --enable-libxul | |
371 | ac_add_options --enable-pango | |
372 | ac_add_options --enable-reorder | |
373 | ac_add_options --enable-startup-notification | |
374 | ac_add_options --enable-svg | |
375 | ac_add_options --enable-system-cairo | |
376 | ac_add_options --enable-system-hunspell | |
377 | ac_add_options --enable-system-sqlite | |
378 | ac_add_options --enable-application=suite | |
379 | ac_add_options --enable-default-toolkit=cairo-gtk2 | |
380 | ac_add_options --enable-xinerama | |
381 | ac_add_options --with-distribution-id=org.pld-linux | |
382 | %if %{with xulrunner} | |
383 | ac_add_options --enable-shared-js | |
384 | ac_add_options --with-system-libxul | |
385 | ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul) | |
386 | %endif | |
387 | ac_add_options --with-pthreads | |
388 | ac_add_options --with-system-bz2 | |
389 | ac_add_options --with-system-ffi | |
390 | ac_add_options --with-system-jpeg | |
391 | ac_add_options --with-system-libevent | |
392 | ac_add_options --with-system-libvpx | |
393 | ac_add_options --with-system-nspr | |
394 | ac_add_options --with-system-nss | |
395 | ac_add_options --with-system-png | |
396 | ac_add_options --with-system-zlib | |
397 | ac_add_options --enable-single-profile | |
398 | ac_add_options --disable-profilesharing | |
399 | ac_add_options --with-default-mozilla-five-home=%{_seamonkeydir} | |
400 | EOF | |
b19e17d8 | 401 | |
bd8dbb8a JR |
402 | %{__make} -j1 -f client.mk build \ |
403 | STRIP="/bin/true" \ | |
404 | MOZ_MAKE_FLAGS="%{?_smp_mflags}" \ | |
405 | CC="%{__cc}" \ | |
406 | CXX="%{__cxx}" | |
b19e17d8 | 407 | |
bd8dbb8a JR |
408 | %if %{with crashreporter} |
409 | # create debuginfo for crash-stats.mozilla.com | |
410 | %{__make} -j1 -C obj-%{_target_cpu} buildsymbols | |
411 | %endif | |
412 | ||
413 | %if %{with enigmail} | |
5bead095 | 414 | cd mailnews/extensions/enigmail |
bd8dbb8a JR |
415 | ./makemake -r -o %{objdir} |
416 | %{__make} -C %{objdir}/mailnews/extensions/enigmail \ | |
417 | STRIP="/bin/true" \ | |
418 | CC="%{__cc}" \ | |
419 | CXX="%{__cxx}" | |
420 | %endif | |
5bead095 | 421 | |
b19e17d8 JB |
422 | %install |
423 | rm -rf $RPM_BUILD_ROOT | |
bd8dbb8a | 424 | cd comm-release |
b19e17d8 | 425 | install -d \ |
bd8dbb8a | 426 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}} \ |
b19e17d8 | 427 | $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \ |
bd8dbb8a | 428 | $RPM_BUILD_ROOT%{_datadir}/%{name} \ |
dc51aa63 | 429 | $RPM_BUILD_ROOT%{_seamonkeydir}/{components,plugins} |
b19e17d8 | 430 | |
bd8dbb8a | 431 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins |
b19e17d8 | 432 | |
bd8dbb8a JR |
433 | %{__make} install \ |
434 | DESTDIR=$RPM_BUILD_ROOT \ | |
435 | includedir=%{_includedir}/%{name} \ | |
436 | idldir=%{_datadir}/idl/%{name} \ | |
437 | installdir=%{_libdir}/%{name} \ | |
438 | PKG_SKIP_STRIP=1 | |
b19e17d8 | 439 | |
bd8dbb8a JR |
440 | %if %{with xulrunner} |
441 | # >= 5.0 seems to require this | |
442 | ln -s ../xulrunner $RPM_BUILD_ROOT%{_libdir}/%{name}/xulrunner | |
443 | %endif | |
b19e17d8 | 444 | |
bd8dbb8a JR |
445 | # move arch independant ones to datadir |
446 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome | |
447 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults | |
448 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions | |
449 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/icons | |
450 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins | |
451 | %if %{without xulrunner} | |
452 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs.js | |
453 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res | |
454 | %endif | |
b19e17d8 | 455 | |
bd8dbb8a JR |
456 | ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome |
457 | ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults | |
458 | ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions | |
459 | ln -s ../../share/%{name}/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/icons | |
460 | ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins | |
461 | %if %{without xulrunner} | |
462 | ln -s ../../share/%{name}/greprefs.js $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js | |
463 | ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res | |
464 | %endif | |
465 | ||
466 | %if %{without xulrunner} | |
467 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
468 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
469 | %endif | |
b19e17d8 | 470 | |
bd8dbb8a JR |
471 | sed 's,@LIBDIR@,%{_libdir},' %{SOURCE7} > $RPM_BUILD_ROOT%{_bindir}/seamonkey |
472 | chmod a+rx $RPM_BUILD_ROOT%{_bindir}/seamonkey | |
b19e17d8 | 473 | |
5bead095 | 474 | install %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \ |
824eb755 | 475 | $RPM_BUILD_ROOT%{_desktopdir} |
b19e17d8 | 476 | |
824eb755 | 477 | install suite/branding/icons/gtk/seamonkey.png $RPM_BUILD_ROOT%{_pixmapsdir} |
b19e17d8 | 478 | |
acf8815d | 479 | install dist/bin/seamonkey-bin $RPM_BUILD_ROOT%{_seamonkeydir} |
480 | install dist/bin/regchrome $RPM_BUILD_ROOT%{_seamonkeydir} | |
481 | install dist/bin/regxpcom $RPM_BUILD_ROOT%{_seamonkeydir} | |
482 | install dist/bin/xpidl $RPM_BUILD_ROOT%{_seamonkeydir} | |
b19e17d8 | 483 | |
141cea2c | 484 | cp $RPM_BUILD_ROOT%{_chromedir}/installed-chrome.txt \ |
485 | $RPM_BUILD_ROOT%{_chromedir}/%{name}-installed-chrome.txt | |
486 | ||
0ca76133 | 487 | cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate |
b19e17d8 JB |
488 | #!/bin/sh |
489 | umask 022 | |
0ca76133 | 490 | cd %{_datadir}/%{name}/chrome |
141cea2c | 491 | cat *-installed-chrome.txt > installed-chrome.txt |
492 | rm -f chrome.rdf overlays.rdf | |
acf8815d | 493 | rm -f %{_seamonkeydir}/components/{compreg,xpti}.dat |
494 | ||
495 | LD_LIBRARY_PATH=%{_seamonkeydir}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} | |
496 | export LD_LIBRARY_PATH | |
497 | ||
498 | MOZILLA_FIVE_HOME=%{_seamonkeydir} %{_seamonkeydir}/regxpcom | |
499 | MOZILLA_FIVE_HOME=%{_seamonkeydir} %{_seamonkeydir}/regchrome | |
b19e17d8 JB |
500 | exit 0 |
501 | EOF | |
502 | ||
6d3a5031 ER |
503 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins |
504 | ||
b19e17d8 JB |
505 | %clean |
506 | rm -rf $RPM_BUILD_ROOT | |
507 | ||
6d3a5031 | 508 | %post |
f110c6bf ER |
509 | if [ "$1" = 1 ]; then |
510 | %{_sbindir}/seamonkey-chrome+xpcom-generate | |
511 | fi | |
6d3a5031 ER |
512 | %update_browser_plugins |
513 | ||
514 | %postun | |
f110c6bf | 515 | [ ! -x %{_sbindir}/seamonkey-chrome+xpcom-generate ] || %{_sbindir}/seamonkey-chrome+xpcom-generate |
6d3a5031 ER |
516 | if [ "$1" = 0 ]; then |
517 | %update_browser_plugins | |
518 | fi | |
b19e17d8 | 519 | |
3076517d ER |
520 | %post mailnews -p %{_sbindir}/%{name}-chrome+xpcom-generate |
521 | %postun mailnews -p %{_sbindir}/%{name}-chrome+xpcom-generate | |
b19e17d8 | 522 | |
3076517d ER |
523 | %post addon-enigmail -p %{_sbindir}/%{name}-chrome+xpcom-generate |
524 | %postun addon-enigmail -p %{_sbindir}/%{name}-chrome+xpcom-generate | |
b19e17d8 | 525 | |
3076517d ER |
526 | %post chat -p %{_sbindir}/%{name}-chrome+xpcom-generate |
527 | %postun chat -p %{_sbindir}/%{name}-chrome+xpcom-generate | |
b19e17d8 | 528 | |
3076517d ER |
529 | %post js-debugger -p %{_sbindir}/%{name}-chrome+xpcom-generate |
530 | %postun js-debugger -p %{_sbindir}/%{name}-chrome+xpcom-generate | |
b19e17d8 | 531 | |
3076517d ER |
532 | %post dom-inspector -p %{_sbindir}/%{name}-chrome+xpcom-generate |
533 | %postun dom-inspector -p %{_sbindir}/%{name}-chrome+xpcom-generate | |
b19e17d8 | 534 | |
3076517d ER |
535 | %post gnomevfs -p %{_sbindir}/%{name}-chrome+xpcom-generate |
536 | %postun gnomevfs -p %{_sbindir}/%{name}-chrome+xpcom-generate | |
b19e17d8 | 537 | |
b19e17d8 JB |
538 | %files |
539 | %defattr(644,root,root,755) | |
acf8815d | 540 | %attr(755,root,root) %{_bindir}/seamonkey |
0ca76133 | 541 | %attr(744,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate |
b19e17d8 | 542 | |
6d3a5031 ER |
543 | # browser plugins v2 |
544 | %{_browserpluginsconfdir}/browsers.d/%{name}.* | |
545 | %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist | |
546 | ||
b19e17d8 | 547 | %dir %{_chromedir} |
d6a799e8 | 548 | %dir %{_seamonkeydir} |
acf8815d | 549 | %dir %{_seamonkeydir}/components |
550 | %dir %{_seamonkeydir}/defaults | |
68683ec1 | 551 | %dir %{_seamonkeydir}/dictionaries |
acf8815d | 552 | %dir %{_seamonkeydir}/greprefs |
553 | %dir %{_seamonkeydir}/icons | |
554 | %dir %{_seamonkeydir}/plugins | |
555 | %dir %{_seamonkeydir}/res | |
556 | %dir %{_seamonkeydir}/searchplugins | |
b19e17d8 JB |
557 | %dir %{_datadir}/%{name} |
558 | ||
d6a799e8 | 559 | %attr(755,root,root) %{_seamonkeydir}/libgfxpsshar.so |
560 | %attr(755,root,root) %{_seamonkeydir}/libgkgfx.so | |
561 | %attr(755,root,root) %{_seamonkeydir}/libgtkembedmoz.so | |
562 | %attr(755,root,root) %{_seamonkeydir}/libgtkxtbin.so | |
563 | %attr(755,root,root) %{_seamonkeydir}/libjsj.so | |
564 | %attr(755,root,root) %{_seamonkeydir}/libldap50.so | |
488e9642 | 565 | %attr(755,root,root) %{_seamonkeydir}/libmozjs.so |
d6a799e8 | 566 | %attr(755,root,root) %{_seamonkeydir}/libprldap50.so |
567 | %attr(755,root,root) %{_seamonkeydir}/libssldap50.so | |
d6a799e8 | 568 | %attr(755,root,root) %{_seamonkeydir}/libxlibrgb.so |
488e9642 JB |
569 | %attr(755,root,root) %{_seamonkeydir}/libxpcom.so |
570 | %attr(755,root,root) %{_seamonkeydir}/libxpcom_compat.so | |
571 | %attr(755,root,root) %{_seamonkeydir}/libxpcom_core.so | |
572 | %attr(755,root,root) %{_seamonkeydir}/libxpistub.so | |
d6a799e8 | 573 | |
acf8815d | 574 | %attr(755,root,root) %{_seamonkeydir}/seamonkey-bin |
ab5670af JB |
575 | %attr(755,root,root) %{_seamonkeydir}/regchrome |
576 | %attr(755,root,root) %{_seamonkeydir}/regxpcom | |
acf8815d | 577 | %attr(755,root,root) %{_seamonkeydir}/xpidl |
578 | ||
acf8815d | 579 | %attr(755,root,root) %{_seamonkeydir}/libnssckbi.so |
580 | ||
ab5670af | 581 | %attr(755,root,root) %{_seamonkeydir}/components/libaccessibility.so |
acf8815d | 582 | %attr(755,root,root) %{_seamonkeydir}/components/libappcomps.so |
ab5670af | 583 | %attr(755,root,root) %{_seamonkeydir}/components/libauth.so |
acf8815d | 584 | %attr(755,root,root) %{_seamonkeydir}/components/libautoconfig.so |
585 | %attr(755,root,root) %{_seamonkeydir}/components/libcaps.so | |
586 | %attr(755,root,root) %{_seamonkeydir}/components/libchrome.so | |
587 | %attr(755,root,root) %{_seamonkeydir}/components/libcomposer.so | |
588 | %attr(755,root,root) %{_seamonkeydir}/components/libcookie.so | |
589 | %attr(755,root,root) %{_seamonkeydir}/components/libdocshell.so | |
590 | %attr(755,root,root) %{_seamonkeydir}/components/libeditor.so | |
591 | %attr(755,root,root) %{_seamonkeydir}/components/libembedcomponents.so | |
592 | %attr(755,root,root) %{_seamonkeydir}/components/libfileview.so | |
ab5670af JB |
593 | %attr(755,root,root) %{_seamonkeydir}/components/libgfx_gtk.so |
594 | %attr(755,root,root) %{_seamonkeydir}/components/libgfxps.so | |
595 | %attr(755,root,root) %{_seamonkeydir}/components/libgfxxprint.so | |
596 | %attr(755,root,root) %{_seamonkeydir}/components/libgkdebug.so | |
597 | %attr(755,root,root) %{_seamonkeydir}/components/libgklayout.so | |
598 | %attr(755,root,root) %{_seamonkeydir}/components/libgkplugin.so | |
acf8815d | 599 | %attr(755,root,root) %{_seamonkeydir}/components/libhtmlpars.so |
600 | %attr(755,root,root) %{_seamonkeydir}/components/libi18n.so | |
ab5670af | 601 | %attr(755,root,root) %{_seamonkeydir}/components/libimglib2.so |
acf8815d | 602 | %attr(755,root,root) %{_seamonkeydir}/components/libjar50.so |
603 | %attr(755,root,root) %{_seamonkeydir}/components/libjsd.so | |
604 | %attr(755,root,root) %{_seamonkeydir}/components/libmork.so | |
ab5670af JB |
605 | %attr(755,root,root) %{_seamonkeydir}/components/libmozfind.so |
606 | %attr(755,root,root) %{_seamonkeydir}/components/libmozldap.so | |
acf8815d | 607 | %attr(755,root,root) %{_seamonkeydir}/components/libmyspell.so |
ab5670af JB |
608 | %attr(755,root,root) %{_seamonkeydir}/components/libnecko.so |
609 | %attr(755,root,root) %{_seamonkeydir}/components/libnecko2.so | |
acf8815d | 610 | %attr(755,root,root) %{_seamonkeydir}/components/libnkdatetime.so |
611 | %attr(755,root,root) %{_seamonkeydir}/components/libnkfinger.so | |
ab5670af JB |
612 | %attr(755,root,root) %{_seamonkeydir}/components/libnsappshell.so |
613 | %attr(755,root,root) %{_seamonkeydir}/components/libnsprefm.so | |
acf8815d | 614 | %attr(755,root,root) %{_seamonkeydir}/components/liboji.so |
615 | %attr(755,root,root) %{_seamonkeydir}/components/libp3p.so | |
616 | %attr(755,root,root) %{_seamonkeydir}/components/libpermissions.so | |
617 | %attr(755,root,root) %{_seamonkeydir}/components/libpipboot.so | |
618 | %attr(755,root,root) %{_seamonkeydir}/components/libpipnss.so | |
619 | %attr(755,root,root) %{_seamonkeydir}/components/libpippki.so | |
620 | %attr(755,root,root) %{_seamonkeydir}/components/libpref.so | |
621 | %attr(755,root,root) %{_seamonkeydir}/components/libprofile.so | |
622 | %attr(755,root,root) %{_seamonkeydir}/components/librdf.so | |
623 | %attr(755,root,root) %{_seamonkeydir}/components/libremoteservice.so | |
624 | %attr(755,root,root) %{_seamonkeydir}/components/libschemavalidation.so | |
625 | %attr(755,root,root) %{_seamonkeydir}/components/libsearchservice.so | |
626 | %attr(755,root,root) %{_seamonkeydir}/components/libspellchecker.so | |
627 | %attr(755,root,root) %{_seamonkeydir}/components/libsql.so | |
628 | %attr(755,root,root) %{_seamonkeydir}/components/libsroaming.so | |
629 | %attr(755,root,root) %{_seamonkeydir}/components/libstoragecomps.so | |
630 | %attr(755,root,root) %{_seamonkeydir}/components/libsystem-pref.so | |
631 | %attr(755,root,root) %{_seamonkeydir}/components/libtransformiix.so | |
632 | %attr(755,root,root) %{_seamonkeydir}/components/libtxmgr.so | |
633 | %attr(755,root,root) %{_seamonkeydir}/components/libtypeaheadfind.so | |
634 | %attr(755,root,root) %{_seamonkeydir}/components/libuconv.so | |
ab5670af | 635 | %attr(755,root,root) %{_seamonkeydir}/components/libucvmath.so |
acf8815d | 636 | %attr(755,root,root) %{_seamonkeydir}/components/libuniversalchardet.so |
637 | %attr(755,root,root) %{_seamonkeydir}/components/libwallet.so | |
638 | %attr(755,root,root) %{_seamonkeydir}/components/libwalletviewers.so | |
639 | %attr(755,root,root) %{_seamonkeydir}/components/libwebbrwsr.so | |
acf8815d | 640 | %attr(755,root,root) %{_seamonkeydir}/components/libwebsrvcs.so |
641 | %attr(755,root,root) %{_seamonkeydir}/components/libwidget_gtk2.so | |
ab5670af JB |
642 | %attr(755,root,root) %{_seamonkeydir}/components/libxforms.so |
643 | %attr(755,root,root) %{_seamonkeydir}/components/libxmlextras.so | |
644 | %attr(755,root,root) %{_seamonkeydir}/components/libxpcom_compat_c.so | |
645 | %attr(755,root,root) %{_seamonkeydir}/components/libxpconnect.so | |
646 | %attr(755,root,root) %{_seamonkeydir}/components/libxpinstall.so | |
647 | %attr(755,root,root) %{_seamonkeydir}/components/libxremoteservice.so | |
acf8815d | 648 | |
649 | %{_seamonkeydir}/components/access*.xpt | |
650 | %{_seamonkeydir}/components/alerts.xpt | |
651 | %{_seamonkeydir}/components/appshell.xpt | |
652 | %{_seamonkeydir}/components/appstartup.xpt | |
653 | %{_seamonkeydir}/components/autocomplete.xpt | |
654 | %{_seamonkeydir}/components/autoconfig.xpt | |
655 | %{_seamonkeydir}/components/bookmarks.xpt | |
656 | %{_seamonkeydir}/components/caps.xpt | |
657 | %{_seamonkeydir}/components/chardet.xpt | |
658 | %{_seamonkeydir}/components/chrome.xpt | |
659 | %{_seamonkeydir}/components/commandhandler.xpt | |
660 | %{_seamonkeydir}/components/composer.xpt | |
661 | %{_seamonkeydir}/components/content*.xpt | |
662 | %{_seamonkeydir}/components/cookie.xpt | |
663 | %{_seamonkeydir}/components/directory.xpt | |
664 | %{_seamonkeydir}/components/docshell.xpt | |
665 | %{_seamonkeydir}/components/dom*.xpt | |
666 | %{_seamonkeydir}/components/downloadmanager.xpt | |
667 | %{_seamonkeydir}/components/editor.xpt | |
668 | %{_seamonkeydir}/components/embed_base.xpt | |
669 | %{_seamonkeydir}/components/extensions.xpt | |
670 | %{_seamonkeydir}/components/exthandler.xpt | |
671 | %{_seamonkeydir}/components/find.xpt | |
672 | %{_seamonkeydir}/components/filepicker.xpt | |
673 | %{_seamonkeydir}/components/gfx*.xpt | |
674 | %{?with_svg:%{_seamonkeydir}/components/gksvgrenderer.xpt} | |
675 | %{_seamonkeydir}/components/history.xpt | |
676 | %{_seamonkeydir}/components/htmlparser.xpt | |
acf8815d | 677 | %{_seamonkeydir}/components/imglib2.xpt |
678 | %{_seamonkeydir}/components/intl.xpt | |
679 | %{_seamonkeydir}/components/jar.xpt | |
680 | %{_seamonkeydir}/components/js*.xpt | |
681 | %{_seamonkeydir}/components/layout*.xpt | |
682 | %{_seamonkeydir}/components/locale.xpt | |
683 | %{_seamonkeydir}/components/lwbrk.xpt | |
684 | %{_seamonkeydir}/components/mimetype.xpt | |
685 | %{_seamonkeydir}/components/moz*.xpt | |
686 | %{_seamonkeydir}/components/necko*.xpt | |
687 | %{_seamonkeydir}/components/oji.xpt | |
688 | %{_seamonkeydir}/components/p3p.xpt | |
689 | %{_seamonkeydir}/components/pipboot.xpt | |
690 | %{_seamonkeydir}/components/pipnss.xpt | |
691 | %{_seamonkeydir}/components/pippki.xpt | |
692 | %{_seamonkeydir}/components/plugin.xpt | |
693 | %{_seamonkeydir}/components/pref.xpt | |
694 | %{_seamonkeydir}/components/prefetch.xpt | |
695 | %{_seamonkeydir}/components/prefmigr.xpt | |
696 | %{_seamonkeydir}/components/profile.xpt | |
697 | %{_seamonkeydir}/components/progressDlg.xpt | |
698 | %{_seamonkeydir}/components/proxyObjInst.xpt | |
699 | %{_seamonkeydir}/components/rdf.xpt | |
700 | %{_seamonkeydir}/components/related.xpt | |
68683ec1 | 701 | %{_seamonkeydir}/components/saxparser.xpt |
acf8815d | 702 | %{_seamonkeydir}/components/search.xpt |
703 | %{_seamonkeydir}/components/schemavalidation.xpt | |
704 | %{_seamonkeydir}/components/shistory.xpt | |
acf8815d | 705 | %{_seamonkeydir}/components/signonviewer.xpt |
706 | %{_seamonkeydir}/components/spellchecker.xpt | |
707 | %{_seamonkeydir}/components/sql.xpt | |
708 | %{_seamonkeydir}/components/storage.xpt | |
709 | %{_seamonkeydir}/components/toolkitremote.xpt | |
710 | %{_seamonkeydir}/components/txmgr.xpt | |
711 | %{_seamonkeydir}/components/txtsvc.xpt | |
712 | %{_seamonkeydir}/components/typeaheadfind.xpt | |
713 | %{_seamonkeydir}/components/uconv.xpt | |
714 | %{_seamonkeydir}/components/unicharutil.xpt | |
715 | %{_seamonkeydir}/components/uriloader.xpt | |
68683ec1 | 716 | %{_seamonkeydir}/components/urlformatter.xpt |
acf8815d | 717 | %{_seamonkeydir}/components/wallet*.xpt |
718 | %{_seamonkeydir}/components/webBrowser_core.xpt | |
719 | %{_seamonkeydir}/components/webbrowserpersist.xpt | |
acf8815d | 720 | %{_seamonkeydir}/components/webshell_idls.xpt |
721 | %{_seamonkeydir}/components/websrvcs.xpt | |
722 | %{_seamonkeydir}/components/widget.xpt | |
723 | %{_seamonkeydir}/components/windowds.xpt | |
724 | %{_seamonkeydir}/components/windowwatcher.xpt | |
725 | %{_seamonkeydir}/components/x*.xpt | |
726 | ||
727 | %{_seamonkeydir}/components/jsconsole-clhandler.js | |
728 | %{_seamonkeydir}/components/nsCloseAllWindows.js | |
729 | %{_seamonkeydir}/components/nsComposerCmdLineHandler.js | |
730 | %{_seamonkeydir}/components/nsDictionary.js | |
731 | %{_seamonkeydir}/components/nsDownloadProgressListener.js | |
732 | %{_seamonkeydir}/components/nsFilePicker.js | |
733 | %{_seamonkeydir}/components/nsHelperAppDlg.js | |
734 | %{_seamonkeydir}/components/nsInterfaceInfoToIDL.js | |
735 | %{_seamonkeydir}/components/nsKillAll.js | |
736 | %{_seamonkeydir}/components/nsProgressDialog.js | |
737 | %{_seamonkeydir}/components/nsProxyAutoConfig.js | |
738 | %{_seamonkeydir}/components/nsResetPref.js | |
739 | %{_seamonkeydir}/components/nsSchemaValidatorRegexp.js | |
740 | %{_seamonkeydir}/components/nsSidebar.js | |
741 | %{_seamonkeydir}/components/nsUpdateNotifier.js | |
68683ec1 | 742 | %{_seamonkeydir}/components/nsURLFormatter.js |
acf8815d | 743 | %{_seamonkeydir}/components/nsXmlRpcClient.js |
744 | %{_seamonkeydir}/components/xulappinfo.js | |
9015c9bf | 745 | |
b19e17d8 JB |
746 | # not *.dat, so check-files can catch any new files |
747 | # (and they won't be just silently placed empty in rpm) | |
acf8815d | 748 | %ghost %{_seamonkeydir}/components/compreg.dat |
749 | %ghost %{_seamonkeydir}/components/xpti.dat | |
b19e17d8 | 750 | |
b19e17d8 JB |
751 | %dir %{_datadir}/%{name}/chrome |
752 | %{_datadir}/%{name}/chrome/US.jar | |
753 | %{_datadir}/%{name}/chrome/classic.jar | |
754 | %{_datadir}/%{name}/chrome/comm.jar | |
755 | %{_datadir}/%{name}/chrome/content-packs.jar | |
756 | %{_datadir}/%{name}/chrome/cview.jar | |
757 | %{_datadir}/%{name}/chrome/embed-sample.jar | |
758 | %{_datadir}/%{name}/chrome/en-US.jar | |
759 | %{_datadir}/%{name}/chrome/en-unix.jar | |
760 | %{_datadir}/%{name}/chrome/help.jar | |
761 | %{_datadir}/%{name}/chrome/layoutdebug.jar | |
762 | %{_datadir}/%{name}/chrome/modern.jar | |
763 | %{_datadir}/%{name}/chrome/pipnss.jar | |
764 | %{_datadir}/%{name}/chrome/pippki.jar | |
9015c9bf | 765 | %{_datadir}/%{name}/chrome/reporter.jar |
766 | %{_datadir}/%{name}/chrome/sql.jar | |
767 | %{_datadir}/%{name}/chrome/sroaming.jar | |
b1dc44cc | 768 | %{_datadir}/%{name}/chrome/tasks.jar |
769 | %{_datadir}/%{name}/chrome/toolkit.jar | |
9015c9bf | 770 | %{_datadir}/%{name}/chrome/xforms.jar |
771 | ||
b19e17d8 | 772 | %ghost %{_datadir}/%{name}/chrome/chrome.rdf |
141cea2c | 773 | %ghost %{_datadir}/%{name}/chrome/overlays.rdf |
9015c9bf | 774 | # not generated automatically ? |
775 | %{_datadir}/%{name}/chrome/stylesheets.rdf | |
b19e17d8 JB |
776 | %{_datadir}/%{name}/chrome/chromelist.txt |
777 | %{_datadir}/%{name}/chrome/icons | |
778 | %exclude %{_datadir}/%{name}/chrome/icons/default/abcardWindow*.xpm | |
779 | %exclude %{_datadir}/%{name}/chrome/icons/default/addressbookWindow*.xpm | |
b19e17d8 JB |
780 | %exclude %{_datadir}/%{name}/chrome/icons/default/chatzilla-window*.xpm |
781 | %exclude %{_datadir}/%{name}/chrome/icons/default/messengerWindow*.xpm | |
782 | %exclude %{_datadir}/%{name}/chrome/icons/default/msgcomposeWindow*.xpm | |
783 | %exclude %{_datadir}/%{name}/chrome/icons/default/venkman-window*.xpm | |
784 | %exclude %{_datadir}/%{name}/chrome/icons/default/winInspectorMain*.xpm | |
785 | ||
141cea2c | 786 | %{_datadir}/%{name}/chrome/%{name}-installed-chrome.txt |
787 | %ghost %{_datadir}/%{name}/chrome/installed-chrome.txt | |
b19e17d8 | 788 | |
b19e17d8 | 789 | %{_datadir}/%{name}/defaults |
68683ec1 | 790 | %{_datadir}/%{name}/dictionaries |
b19e17d8 JB |
791 | %{_datadir}/%{name}/greprefs |
792 | %exclude %{_datadir}/%{name}/defaults/pref/inspector.js | |
793 | %{_datadir}/%{name}/icons | |
794 | %{_datadir}/%{name}/res | |
b19e17d8 | 795 | %{_datadir}/%{name}/searchplugins |
b19e17d8 | 796 | |
824eb755 | 797 | %{_pixmapsdir}/seamonkey.png |
798 | %{_desktopdir}/%{name}.desktop | |
799 | %{_desktopdir}/%{name}-composer.desktop | |
b19e17d8 | 800 | |
b19e17d8 JB |
801 | %files mailnews |
802 | %defattr(644,root,root,755) | |
acf8815d | 803 | %attr(755,root,root) %{_seamonkeydir}/libmsgbaseutil.so |
804 | %attr(755,root,root) %{_seamonkeydir}/components/libaddrbook.so | |
805 | %attr(755,root,root) %{_seamonkeydir}/components/libbayesflt.so | |
806 | %attr(755,root,root) %{_seamonkeydir}/components/libimpText.so | |
807 | %attr(755,root,root) %{_seamonkeydir}/components/libimpComm4xMail.so | |
808 | %attr(755,root,root) %{_seamonkeydir}/components/libimport.so | |
809 | %attr(755,root,root) %{_seamonkeydir}/components/liblocalmail.so | |
810 | %attr(755,root,root) %{_seamonkeydir}/components/libmailnews.so | |
811 | %attr(755,root,root) %{_seamonkeydir}/components/libmailview.so | |
812 | %attr(755,root,root) %{_seamonkeydir}/components/libmime.so | |
813 | %attr(755,root,root) %{_seamonkeydir}/components/libmimeemitter.so | |
814 | %attr(755,root,root) %{_seamonkeydir}/components/libmsg*.so | |
815 | %attr(755,root,root) %{_seamonkeydir}/components/libvcard.so | |
816 | ||
817 | %{_seamonkeydir}/components/addrbook.xpt | |
818 | %{_seamonkeydir}/components/impComm4xMail.xpt | |
819 | %{_seamonkeydir}/components/import.xpt | |
820 | %{_seamonkeydir}/components/mailnews.xpt | |
821 | %{_seamonkeydir}/components/mailview.xpt | |
822 | %{_seamonkeydir}/components/mime.xpt | |
823 | %{_seamonkeydir}/components/msg*.xpt | |
824 | ||
825 | %{_seamonkeydir}/components/mdn-service.js | |
826 | %{_seamonkeydir}/components/nsAbLDAPAttributeMap.js | |
827 | %{_seamonkeydir}/components/nsLDAPPrefsService.js | |
828 | %{_seamonkeydir}/components/offlineStartup.js | |
829 | %{_seamonkeydir}/components/smime-service.js | |
b19e17d8 JB |
830 | |
831 | %{_datadir}/%{name}/chrome/messenger.jar | |
832 | ||
833 | %{_datadir}/%{name}/chrome/icons/default/abcardWindow*.xpm | |
834 | %{_datadir}/%{name}/chrome/icons/default/addressbookWindow*.xpm | |
835 | %{_datadir}/%{name}/chrome/icons/default/messengerWindow*.xpm | |
836 | %{_datadir}/%{name}/chrome/icons/default/msgcomposeWindow*.xpm | |
837 | ||
824eb755 | 838 | %{_desktopdir}/%{name}-mail.desktop |
b19e17d8 | 839 | |
5bead095 | 840 | %files addon-enigmail |
841 | %defattr(644,root,root,755) | |
acf8815d | 842 | %attr(755,root,root) %{_seamonkeydir}/components/libenigmime.so |
843 | %{_seamonkeydir}/components/enigmail.xpt | |
844 | %{_seamonkeydir}/components/enigmime.xpt | |
845 | %{_seamonkeydir}/components/ipc.xpt | |
846 | %{_seamonkeydir}/components/enigmail.js | |
847 | %{_seamonkeydir}/components/enigprefs-service.js | |
5bead095 | 848 | %{_datadir}/%{name}/chrome/enigmail-en-US.jar |
93b50f63 | 849 | %{_datadir}/%{name}/chrome/enigmail-locale.jar |
5bead095 | 850 | %{_datadir}/%{name}/chrome/enigmail-skin-tbird.jar |
851 | %{_datadir}/%{name}/chrome/enigmail-skin.jar | |
852 | %{_datadir}/%{name}/chrome/enigmail.jar | |
853 | %{_datadir}/%{name}/chrome/enigmime.jar | |
854 | ||
b19e17d8 JB |
855 | %files chat |
856 | %defattr(644,root,root,755) | |
acf8815d | 857 | %{_seamonkeydir}/components/chatzilla-service.js |
b19e17d8 JB |
858 | %{_datadir}/%{name}/chrome/chatzilla.jar |
859 | %{_datadir}/%{name}/chrome/icons/default/chatzilla-window*.xpm | |
824eb755 | 860 | %{_desktopdir}/%{name}-chat.desktop |
b19e17d8 JB |
861 | |
862 | %files js-debugger | |
863 | %defattr(644,root,root,755) | |
acf8815d | 864 | %{_seamonkeydir}/components/venkman-service.js |
b19e17d8 JB |
865 | %{_datadir}/%{name}/chrome/venkman.jar |
866 | %{_datadir}/%{name}/chrome/icons/default/venkman-window*.xpm | |
824eb755 | 867 | %{_desktopdir}/%{name}-venkman.desktop |
b19e17d8 JB |
868 | |
869 | %files dom-inspector | |
870 | %defattr(644,root,root,755) | |
acf8815d | 871 | %{_seamonkeydir}/components/inspector.xpt |
872 | %{_seamonkeydir}/components/inspector-cmdline.js | |
b19e17d8 JB |
873 | %{_datadir}/%{name}/chrome/inspector.jar |
874 | %{_datadir}/%{name}/chrome/icons/default/winInspectorMain*.xpm | |
b19e17d8 | 875 | %{_datadir}/%{name}/defaults/pref/inspector.js |
b19e17d8 JB |
876 | |
877 | %if %{with gnomevfs} | |
878 | %files gnomevfs | |
879 | %defattr(644,root,root,755) | |
acf8815d | 880 | %attr(755,root,root) %{_seamonkeydir}/components/libnkgnomevfs.so |
b19e17d8 | 881 | %endif |