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