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