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