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