2 # - consider --enable-libproxy
3 # - do something with *.rdf file, there if file conflict with other lang packages
6 %bcond_without kerberos # krb5 support
7 %bcond_without lightning # Lightning calendar
8 %bcond_without gold # gold linker
9 %bcond_with crashreporter # report crashes to crash-stats.mozilla.com
10 %bcond_with system_cairo # build with system cairo (not supported in 2.53.9+)
11 %bcond_with tests # enable tests (whatever they check)
12 %bcond_with lowmem # lower memory requirements
14 %ifarch %{ix86} %{arm} aarch64
18 # /usr/bin/ld.gold: internal error in relocate_section, at i386.cc:3683 (seamonkey 2.53.9, binutils 2.37-1)
25 # UPDATING TRANSALTIONS:
30 U=https://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$V/langpacks/linux-i686/
31 curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
34 Summary: SeaMonkey Community Edition - web browser
35 Summary(es.UTF-8): Navegador de Internet SeaMonkey Community Edition
36 Summary(pl.UTF-8): SeaMonkey Community Edition - przeglądarka WWW
37 Summary(pt_BR.UTF-8): Navegador SeaMonkey Community Edition
42 Group: X11/Applications/Networking
43 Source0: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/source/%{name}-%{version}.source.tar.xz
44 # Source0-md5: 6ac064816caa2c3fe6bc1f130bd9599b
45 Source4: %{name}.desktop
46 Source5: %{name}-composer.desktop
47 Source7: %{name}-mail.desktop
49 Source100: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.cs.langpack.xpi
50 # Source100-md5: 9c8bac37197299450f9f0640d36513ff
51 Source101: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.de.langpack.xpi
52 # Source101-md5: 67de9240a5f47d08a3aa0e05b84ae2fd
53 Source102: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.el.langpack.xpi
54 # Source102-md5: a6dd39b888a42261475b29d5b9c2afc3
55 Source103: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-GB.langpack.xpi
56 # Source103-md5: 58cfb46eae8cfced94b429817b30dec1
57 Source104: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-US.langpack.xpi
58 # Source104-md5: 0170a5f8e4314bed6fce4ec42b1a6676
59 Source105: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-AR.langpack.xpi
60 # Source105-md5: a9137c2d369d80e4da5d706e838b0b90
61 Source106: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-ES.langpack.xpi
62 # Source106-md5: b86936b85c43986f601fe105f1a128ee
63 Source107: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fi.langpack.xpi
64 # Source107-md5: c197113dbca44a23e90666245f20cff0
65 Source108: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fr.langpack.xpi
66 # Source108-md5: 4ee5600b2dc983a080f3208c7a4389a7
67 Source109: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.hu.langpack.xpi
68 # Source109-md5: 16775c3d1099c76d293944f8a618b930
69 Source110: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.it.langpack.xpi
70 # Source110-md5: 73ffd5f16cb42c5c2e175dad98f5c36b
71 Source111: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ja.langpack.xpi
72 # Source111-md5: 790f607d8686041649cb6d25a16c6665
73 Source112: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ka.langpack.xpi
74 # Source112-md5: d1e7a96d2ad0198fd8502fcd6b2ad6e4
75 Source113: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nb-NO.langpack.xpi
76 # Source113-md5: d73a43b445dbd904ce34e109cc1eb7c9
77 Source114: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nl.langpack.xpi
78 # Source114-md5: 8582b43803cc7ff38883aab7165b33ce
79 Source115: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pl.langpack.xpi
80 # Source115-md5: e125bbf76efa67d1afd495a808844351
81 Source116: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-BR.langpack.xpi
82 # Source116-md5: f28564c0d3f34eec08141f3d8eb38c2a
83 Source117: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-PT.langpack.xpi
84 # Source117-md5: b92809004b73904985e295e9d519d73b
85 Source118: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ru.langpack.xpi
86 # Source118-md5: 91bbde04e7b9897bdc70e21c3fb49216
87 Source119: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sk.langpack.xpi
88 # Source119-md5: 3cd03d5b6866f15cf559113c3788fbcf
89 Source120: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sv-SE.langpack.xpi
90 # Source120-md5: b16a9aafa2ebcbe2907de735b43f1eff
91 Source121: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-CN.langpack.xpi
92 # Source121-md5: ecbc19c599e637ec1ed0c5b9bed135db
93 Source122: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-TW.langpack.xpi
94 # Source122-md5: 5020c2761abdaf2704adee3ea773d5ee
95 Patch1: %{name}-mozilla-revert-1332139.patch
96 Patch2: %{name}-pld-branding.patch
97 Patch3: %{name}-enable-addons.patch
98 # Edit patch below and restore --system-site-packages when system virtualenv gets 1.7 upgrade
99 Patch4: %{name}-system-virtualenv.patch
100 Patch7: glibc-double.patch
101 URL: https://www.seamonkey-project.org/
102 BuildRequires: GConf2-devel >= 1.2.1
103 BuildRequires: autoconf2_13 >= 2.13
104 %{?with_system_cairo:BuildRequires: cairo-devel >= 1.10.2-5}
106 BuildRequires: dbus-devel >= 0.60
107 BuildRequires: dbus-glib-devel >= 0.60
108 BuildRequires: fontconfig-devel >= 1:2.7.0
109 # pkgconfig(freetype2) >= 9.10.3
110 BuildRequires: freetype-devel >= 1:2.2.1
111 BuildRequires: glib2-devel >= 1:2.22
113 BuildRequires: gtk+3-devel >= 3.4.0
114 %{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1}
115 # DECnet (dnprogs.spec), not dummy net (libdnet.spec)
116 #BuildRequires: libdnet-devel
117 BuildRequires: libevent-devel >= 1.4.7
118 # standalone libffi 3.0.9 or gcc's from 4.5(?)+
119 BuildRequires: libffi-devel >= 6:3.0.9
120 BuildRequires: libicu-devel >= 67.1
121 # requires libjpeg-turbo implementing at least libjpeg 6b API
122 BuildRequires: libjpeg-devel >= 6b
123 BuildRequires: libjpeg-turbo-devel
124 BuildRequires: libnotify-devel >= 0.4
125 BuildRequires: libpng(APNG)-devel >= 0.10
126 BuildRequires: libpng-devel >= 2:1.6.35
127 BuildRequires: libstdc++-devel >= 6:4.7
128 BuildRequires: libvpx-devel >= 1.5.0
129 BuildRequires: nodejs >= 8.11.0
130 BuildRequires: nspr-devel >= 1:%{nspr_ver}
131 BuildRequires: nss-devel >= 1:%{nss_ver}
132 BuildRequires: pango-devel >= 1:1.22.0
133 BuildRequires: perl-base >= 1:5.6
134 BuildRequires: perl-modules >= 5.004
135 BuildRequires: pixman-devel >= 0.19.2
136 BuildRequires: pkgconfig
137 BuildRequires: python >= 1:2.7.3
138 BuildRequires: python-modules >= 1:2.7.3
139 BuildRequires: python-virtualenv >= 15
140 BuildRequires: python3 >= 1:3.5.0
141 BuildRequires: rpm-build >= 4.6
142 BuildRequires: rpmbuild(macros) >= 1.601
143 BuildRequires: rust >= 1.47.0
144 BuildRequires: rust-cbindgen
145 BuildRequires: sed >= 4.0
146 BuildRequires: startup-notification-devel >= 0.8
147 BuildRequires: tar >= 1:1.22
148 BuildRequires: xorg-lib-libX11-devel
149 BuildRequires: xorg-lib-libXcomposite-devel
150 BuildRequires: xorg-lib-libXdamage-devel
151 BuildRequires: xorg-lib-libXext-devel
152 BuildRequires: xorg-lib-libXfixes-devel
153 BuildRequires: xorg-lib-libXt-devel
155 %ifarch %{ix86} %{x8664}
156 BuildRequires: yasm >= 1.0.1
159 BuildRequires: zlib-devel >= 1.2.3
160 Requires(post): mktemp >= 1.5-18
161 Requires: desktop-file-utils
162 Requires: fontconfig >= 1:2.7.0
163 Requires: hicolor-icon-theme
164 Requires: browser-plugins >= 2.0
165 %{?with_system_cairo:Requires: cairo >= 1.10.2-5}
166 Requires: dbus-glib >= 0.60
167 Requires: glib2 >= 1:2.22
168 Requires: gtk+3 >= 3.4.0
169 Requires: libjpeg-turbo
170 Requires: libpng >= 2:1.6.35
171 Requires: libpng(APNG) >= 0.10
172 Requires: libvpx >= 1.5.0
173 Requires: myspell-common
174 Requires: nspr >= 1:%{nspr_ver}
175 Requires: nss >= 1:%{nss_ver}
176 Requires: pango >= 1:1.22.0
177 Requires: pixman >= 0.19.2
178 Requires: startup-notification >= 0.8
179 Provides: seamonkey-embedded = %{version}-%{release}
181 Obsoletes: iceape < 2.47
182 Obsoletes: iceape-js-debugger < 2.40
183 Obsoletes: iceape-lang-be < 2.47
184 Obsoletes: iceape-lang-ca < 2.47
185 Obsoletes: iceape-lang-gl < 2.47
186 Obsoletes: iceape-lang-lt < 2.47
187 Obsoletes: iceape-lang-tr < 2.47
188 Obsoletes: iceape-lang-uk < 2.47
189 Obsoletes: iceape-mailnews < 2.9
190 Obsoletes: iceape-gnomevfs < 2.9
191 Obsoletes: light < 1.4.13
192 Obsoletes: mozilla < 1.8
193 Obsoletes: mozilla-gnomevfs < 1.8
194 Obsoletes: mozilla-js-debugger < 1.8
195 Obsoletes: mozilla-mailnews < 1.8
196 Obsoletes: seamonkey-calendar < 1.1
197 Obsoletes: seamonkey-js-debugger < 2.31
198 Obsoletes: seamonkey-lang-be < 2.47
199 Obsoletes: seamonkey-lang-ca < 2.47
200 Obsoletes: seamonkey-lang-gl < 2.47
201 Obsoletes: seamonkey-lang-lt < 2.53
202 Obsoletes: seamonkey-lang-tr < 2.47
203 Obsoletes: seamonkey-lang-uk < 2.47
204 Obsoletes: seamonkey-libs < 1.1.8-2
205 Obsoletes: seamonkey-mailnews < 2.9.1
206 Obsoletes: seamonkey-gnomevfs < 2.9.1
207 Conflicts: seamonkey-lang-resources < %{version}
208 # TODO: change to supported archs list
210 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
212 %define topdir %{_builddir}/%{name}-%{version}
213 %define objdir %{topdir}/obj-%{_target_cpu}
215 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
217 # don't satisfy other packages
218 %define _noautoprovfiles %{_libdir}/%{name}
219 # and as we don't provide them, don't require either
220 %define _noautoreq liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozsandbox.so libmozsqlite3.so libxul.so
223 SeaMonkey Community Edition is an open-source web browser, designed
224 for standards compliance, performance and portability.
226 %description -l es.UTF-8
227 SeaMonkey Community Edition es un navegador de Internet que se basa en
228 una versión inicial de Netscape Communicator.
230 %description -l pl.UTF-8
231 SeaMonkey Community Edition jest potężną graficzną przeglądarką WWW,
232 która jest następcą Mozilli, która następnie była następczynią
233 Netscape Communikatora.
235 %description -l pt_BR.UTF-8
236 O SeaMonkey Community Edition é um web browser baseado numa versão
237 inicial do Netscape Communicator.
239 %description -l ru.UTF-8
240 SeaMonkey Community Edition - полнофункциональный web-browser с
241 открытыми исходными текстами, разработанный для максимального
242 соотвествия стандартам, максмимальной переносимости и скорости работы
244 %package addon-lightning
245 Summary: An integrated calendar for SeaMonkey
246 Summary(pl.UTF-8): Zintegrowany kalendarz dla SeaMonkey
247 Group: Applications/Networking
248 Requires: %{name} = %{version}-%{release}
249 Obsoletes: iceape-addon-lightning < 2.46
251 %description addon-lightning
252 Lightning is an calendar extension to Icedove email client.
254 %description addon-lightning -l pl.UTF-8
255 Lightning to rozszerzenie do klienta poczty Icedove dodające
256 funkcjonalność kalendarza.
259 Summary: SeaMonkey Community Edition Chat - integrated IRC client
260 Summary(pl.UTF-8): SeaMonkey Community Edition Chat - zintegrowany klient IRC-a
261 Group: X11/Applications/Networking
262 Requires(post,postun): %{name} = %{version}-%{release}
263 Requires: %{name} = %{version}-%{release}
264 Obsoletes: iceape-chat < 2.46
265 Obsoletes: mozilla-chat < 1.8
268 SeaMonkey Community Edition Chat - IRC client that is integrated with
269 the SeaMonkey Community Edition web browser.
271 %description chat -l pl.UTF-8
272 SeaMonkey Community Edition Chat - klient IRC-a zintegrowany z
273 przeglądarką SeaMonkey Community Edition.
275 %package dom-inspector
276 Summary: A tool for inspecting the DOM of pages in SeaMonkey Community Edition
277 Summary(pl.UTF-8): Narzędzie do oglądania DOM stron w SeaMonkey Community Edition
278 Group: X11/Applications/Networking
279 Requires(post,postun): %{name} = %{version}-%{release}
280 Requires: %{name} = %{version}-%{release}
281 Obsoletes: iceape-dom-inspector < 2.46
282 Obsoletes: mozilla-dom-inspector < 1.8
284 %description dom-inspector
285 This is a tool that allows you to inspect the DOM for web pages in
286 SeaMonkey Community Edition. This is of great use to people who are
287 doing SeaMonkey Community Edition chrome development or web page
290 %description dom-inspector -l pl.UTF-8
291 To narzędzie pozwala na oglądanie DOM dla stron WWW w SeaMonkey
292 Community Edition. Jest bardzo przydatne dla ludzi rozwijających
293 chrome w SeaMonkey Community Edition lub tworzących strony WWW.
296 Summary: Czech resources for SeaMonkey
297 Summary(pl.UTF-8): Czeskie pliki językowe dla SeaMonkeya
299 Requires: seamonkey >= %{version}
300 Provides: seamonkey-lang-resources = %{version}
301 Obsoletes: iceape-lang-cs < 2.47
305 Czech resources for SeaMonkey.
307 %description lang-cs -l pl.UTF-8
308 Czeskie pliki językowe dla SeaMonkeya.
311 Summary: German resources for SeaMonkey
312 Summary(pl.UTF-8): Niemieckie pliki językowe dla SeaMonkeya
314 Requires: seamonkey >= %{version}
315 Provides: seamonkey-lang-resources = %{version}
316 Obsoletes: iceape-lang-de < 2.47
320 German resources for SeaMonkey.
322 %description lang-de -l pl.UTF-8
323 Niemieckie pliki językowe dla SeaMonkeya.
326 Summary: Greek resources for SeaMonkey
327 Summary(pl.UTF-8): Greckie pliki językowe dla SeaMonkeya
329 Requires: seamonkey >= %{version}
330 Provides: seamonkey-lang-resources = %{version}
334 Greek resources for SeaMonkey.
336 %description lang-el -l pl.UTF-8
337 Greckie pliki językowe dla SeaMonkeya.
340 Summary: English (British) resources for SeaMonkey
341 Summary(pl.UTF-8): Angielskie (brytyjskie) pliki językowe dla SeaMonkeya
343 Requires: seamonkey >= %{version}
344 Provides: seamonkey-lang-resources = %{version}
345 Obsoletes: iceape-lang-en_GB < 2.47
348 %description lang-en_GB
349 English (British) resources for SeaMonkey.
351 %description lang-en_GB -l pl.UTF-8
352 Angielskie (brytyjskie) pliki językowe dla SeaMonkeya.
355 Summary: English (American) resources for SeaMonkey
356 Summary(pl.UTF-8): Angielskie (amerykańskie) pliki językowe dla SeaMonkeya
358 Requires: seamonkey >= %{version}
359 Provides: seamonkey-lang-resources = %{version}
360 Obsoletes: iceape-lang-en_US < 2.47
363 %description lang-en_US
364 English (American) resources for SeaMonkey.
366 %description lang-en_US -l pl.UTF-8
367 Angielskie (amerykańskie) pliki językowe dla SeaMonkeya.
370 Summary: Spanish (Andorra) resources for SeaMonkey
371 Summary(ca.UTF-8): Recursos espanyols (Andorra) per SeaMonkey
372 Summary(es.UTF-8): Recursos españoles (Andorra) para SeaMonkey
373 Summary(pl.UTF-8): Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Andory)
375 Requires: seamonkey >= %{version}
376 Provides: seamonkey-lang-resources = %{version}
377 Obsoletes: iceape-lang-es_AR < 2.47
380 %description lang-es_AR
381 Spanish (Spain) resources for SeaMonkey.
383 %description lang-es_AR -l ca.UTF-8
384 Recursos espanyols (Andorra) per SeaMonkey.
386 %description lang-es_AR -l es.UTF-8
387 Recursos españoles (Andorra) para SeaMonkey.
389 %description lang-es_AR -l pl.UTF-8
390 Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Andory).
393 Summary: Spanish (Spain) resources for SeaMonkey
394 Summary(ca.UTF-8): Recursos espanyols (Espanya) per SeaMonkey
395 Summary(es.UTF-8): Recursos españoles (España) para SeaMonkey
396 Summary(pl.UTF-8): Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Hiszpanii)
398 Requires: seamonkey >= %{version}
399 Provides: seamonkey-lang-resources = %{version}
400 Obsoletes: iceape-lang-es < 2.47
404 Spanish (Spain) resources for SeaMonkey.
406 %description lang-es -l ca.UTF-8
407 Recursos espanyols (Espanya) per SeaMonkey.
409 %description lang-es -l es.UTF-8
410 Recursos españoles (España) para SeaMonkey.
412 %description lang-es -l pl.UTF-8
413 Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Hiszpanii).
416 Summary: Finnish resources for SeaMonkey
417 Summary(pl.UTF-8): Fińskie pliki językowe dla SeaMonkeya
419 Requires: seamonkey >= %{version}
420 Provides: seamonkey-lang-resources = %{version}
421 Obsoletes: iceape-lang-fi < 2.47
425 Finnish resources for SeaMonkey.
427 %description lang-fi -l pl.UTF-8
428 Fińskie pliki językowe dla SeaMonkeya.
431 Summary: French resources for SeaMonkey
432 Summary(pl.UTF-8): Francuskie pliki językowe dla SeaMonkeya
434 Requires: seamonkey >= %{version}
435 Provides: seamonkey-lang-resources = %{version}
436 Obsoletes: iceape-lang-fr < 2.47
440 French resources for SeaMonkey.
442 %description lang-fr -l pl.UTF-8
443 Francuskie pliki językowe dla SeaMonkeya.
446 Summary: Hungarian resources for SeaMonkey
447 Summary(hu.UTF-8): Magyar nyelv SeaMonkey-hez
448 Summary(pl.UTF-8): Węgierskie pliki językowe dla SeaMonkeya
450 Requires: seamonkey >= %{version}
451 Provides: seamonkey-lang-resources = %{version}
452 Obsoletes: iceape-lang-hu < 2.47
456 Hungarian resources for SeaMonkey.
458 %description lang-hu -l hu.UTF-8
459 Magyar nyelv SeaMonkey-hez.
461 %description lang-hu -l pl.UTF-8
462 Węgierskie pliki językowe dla SeaMonkeya.
465 Summary: Italian resources for SeaMonkey
466 Summary(pl.UTF-8): Włoskie pliki językowe dla SeaMonkeya
468 Requires: seamonkey >= %{version}
469 Provides: seamonkey-lang-resources = %{version}
470 Obsoletes: iceape-lang-it < 2.47
474 Italian resources for SeaMonkey.
476 %description lang-it -l pl.UTF-8
477 Włoskie pliki językowe dla SeaMonkeya.
480 Summary: Japanese resources for SeaMonkey
481 Summary(pl.UTF-8): Japońskie pliki językowe dla SeaMonkeya
483 Requires: seamonkey >= %{version}
484 Provides: seamonkey-lang-resources = %{version}
485 Obsoletes: iceape-lang-ja < 2.47
489 Japanese resources for SeaMonkey.
491 %description lang-ja -l pl.UTF-8
492 Japońskie pliki językowe dla SeaMonkeya.
495 Summary: Georgian resources for SeaMonkey
496 Summary(pl.UTF-8): Gruzińskie pliki językowe dla SeaMonkeya
498 Requires: seamonkey >= %{version}
499 Provides: seamonkey-lang-resources = %{version}
503 Georgian resources for SeaMonkey.
505 %description lang-ka -l pl.UTF-8
506 Gruzińskie pliki językowe dla SeaMonkeya.
509 Summary: Lithuanian resources for SeaMonkey
510 Summary(pl.UTF-8): Litewskie pliki językowe dla SeaMonkeya
512 Requires: seamonkey >= %{version}
513 Provides: seamonkey-lang-resources = %{version}
514 Obsoletes: iceape-lang-lt < 2.47
518 Lithuanian resources for SeaMonkey.
520 %description lang-lt -l pl.UTF-8
521 Litewskie pliki językowe dla SeaMonkeya.
524 Summary: Norwegian Bokmaal resources for SeaMonkey
525 Summary(pl.UTF-8): Norweskie (bokmaal) pliki językowe dla SeaMonkeya
527 Requires: seamonkey >= %{version}
528 Provides: seamonkey-lang-resources = %{version}
529 Obsoletes: iceape-lang-nb < 2.47
533 Norwegian Bokmaal resources for SeaMonkey.
535 %description lang-nb -l pl.UTF-8
536 Norweskie (bokmaal) pliki językowe dla SeaMonkeya.
539 Summary: Dutch resources for SeaMonkey
540 Summary(pl.UTF-8): Holenderskie pliki językowe dla SeaMonkeya
542 Requires: seamonkey >= %{version}
543 Provides: seamonkey-lang-resources = %{version}
544 Obsoletes: iceape-lang-nl < 2.47
548 Dutch resources for SeaMonkey.
550 %description lang-nl -l pl.UTF-8
551 Holenderskie pliki językowe dla SeaMonkeya.
554 Summary: Polish resources for SeaMonkey
555 Summary(pl.UTF-8): Polskie pliki językowe dla SeaMonkeya
557 Requires: seamonkey >= %{version}
558 Provides: seamonkey-lang-resources = %{version}
559 Obsoletes: iceape-lang-pl < 2.47
563 Polish resources for SeaMonkey.
565 %description lang-pl -l pl.UTF-8
566 Polskie pliki językowe dla SeaMonkeya.
569 Summary: Portuguese (Brazilian) resources for SeaMonkey
570 Summary(pl.UTF-8): Portugalskie pliki językowe dla SeaMonkeya (wersja dla Brazylii)
572 Requires: seamonkey >= %{version}
573 Provides: seamonkey-lang-resources = %{version}
576 %description lang-pt_BR
577 Portuguese (Brazilian) resources for SeaMonkey.
579 %description lang-pt_BR -l pl.UTF-8
580 Portugalskie pliki językowe dla SeaMonkeya (wersja dla Brazylii).
583 Summary: Portuguese (Portugal) resources for SeaMonkey
584 Summary(pl.UTF-8): Portugalskie pliki językowe dla SeaMonkeya (wersja dla Portugalii)
586 Requires: seamonkey >= %{version}
587 Provides: seamonkey-lang-resources = %{version}
588 Obsoletes: iceape-lang-pt < 2.47
592 Portuguese (Portugal) resources for SeaMonkey.
594 %description lang-pt -l pl.UTF-8
595 Portugalskie pliki językowe dla SeaMonkeya (wersja dla Portugalii).
598 Summary: Russian resources for SeaMonkey
599 Summary(pl.UTF-8): Rosyjskie pliki językowe dla SeaMonkeya
601 Requires: seamonkey >= %{version}
602 Provides: seamonkey-lang-resources = %{version}
603 Obsoletes: iceape-lang-ru < 2.47
607 Russian resources for SeaMonkey.
609 %description lang-ru -l pl.UTF-8
610 Rosyjskie pliki językowe dla SeaMonkeya.
613 Summary: Slovak resources for SeaMonkey
614 Summary(pl.UTF-8): Słowackie pliki językowe dla SeaMonkeya
616 Requires: seamonkey >= %{version}
617 Provides: seamonkey-lang-resources = %{version}
618 Obsoletes: iceape-lang-sk < 2.47
622 Slovak resources for SeaMonkey.
624 %description lang-sk -l pl.UTF-8
625 Słowackie pliki językowe dla SeaMonkeya.
628 Summary: Swedish resources for SeaMonkey
629 Summary(pl.UTF-8): Szwedzkie pliki językowe dla SeaMonkeya
631 Requires: seamonkey >= %{version}
632 Provides: seamonkey-lang-resources = %{version}
633 Obsoletes: iceape-lang-sv < 2.47
637 Swedish resources for SeaMonkey.
639 %description lang-sv -l pl.UTF-8
640 Szwedzkie pliki językowe dla SeaMonkeya.
643 Summary: Simplified Chinese resources for SeaMonkey
644 Summary(pl.UTF-8): Chińskie (uproszczone) pliki językowe dla SeaMonkeya
646 Requires: seamonkey >= %{version}
647 Provides: seamonkey-lang-resources = %{version}
648 Obsoletes: iceape-lang-zh_CN < 2.47
651 %description lang-zh_CN
652 Simplified Chinese resources for SeaMonkey.
654 %description lang-zh_CN -l pl.UTF-8
655 Chińskie uproszczone pliki językowe dla SeaMonkeya.
658 Summary: Traditional Chinese resources for SeaMonkey
659 Summary(pl.UTF-8): Chińskie tradycyjne pliki językowe dla SeaMonkeya
661 Requires: seamonkey >= %{version}
662 Provides: seamonkey-lang-resources = %{version}
663 Obsoletes: iceape-lang-zh_TW < 2.47
666 %description lang-zh_TW
667 Traditional Chinese resources for SeaMonkey.
669 %description lang-zh_TW -l pl.UTF-8
670 Chińskie tradycyjne pliki językowe dla SeaMonkeya.
674 local args="$1" file="$2"
677 %define __unzip unpack
678 %setup -q %(seq -f '-a %g' 100 122 | xargs)
686 cat << EOF > .mozconfig
687 mk_add_options MOZ_OBJDIR=%{objdir}
689 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
690 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
693 export CFLAGS="$CFLAGS -g0"
694 export CXXFLAGS="$CXXFLAGS -g0"
695 export MOZ_DEBUG_FLAGS=" "
696 export LLVM_USE_SPLIT_DWARF=1
697 export LLVM_PARALLEL_LINK_JOBS=1
698 export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
699 export RUSTFLAGS="-Cdebuginfo=0"
702 %if %{with crashreporter}
703 export MOZ_DEBUG_SYMBOLS=1
706 # Options for 'configure' (same as command-line options).
707 ac_add_options --prefix=%{_prefix}
708 ac_add_options --libdir=%{_libdir}
710 ac_add_options --disable-optimize
711 ac_add_options --enable-crash-on-assert
712 ac_add_options --enable-debug
713 ac_add_options --enable-debug-modules
714 ac_add_options --enable-debugger-info-modules
716 ac_add_options --disable-debug
718 ac_add_options --disable-strip
719 ac_add_options --disable-install-strip
721 ac_add_options --enable-tests
723 ac_add_options --disable-tests
725 %if %{with crashreporter}
726 ac_add_options --enable-crashreporter
728 ac_add_options --disable-crashreporter
730 ac_add_options --disable-elf-hack
731 ac_add_options --disable-necko-wifi
732 ac_add_options --disable-updater
733 ac_add_options --enable-application=comm/suite
734 %if %{with lightning}
735 ac_add_options --enable-calendar
737 ac_add_options --enable-chrome-format=omni
738 ac_add_options --enable-default-toolkit=cairo-gtk3
739 ac_add_options --enable-dominspector
740 ac_add_options --enable-irc
742 ac_add_options --enable-linker=bfd
745 #ac_add_options --enable-shared-js
746 ac_add_options --enable-startup-notification
747 %if %{with system_cairo}
748 ac_add_options --enable-system-cairo
750 ac_add_options --with-distribution-id=org.pld-linux
751 ac_add_options --with-system-bz2
752 ac_add_options --with-system-ffi
753 ac_add_options --with-system-icu
754 ac_add_options --with-system-jpeg
755 ac_add_options --with-system-libevent
756 ac_add_options --with-system-libvpx
757 ac_add_options --with-system-nspr
758 ac_add_options --with-system-nss
759 ac_add_options --with-system-pixman
760 ac_add_options --with-system-png
761 ac_add_options --with-system-zlib
764 %{__make} -j1 build \
765 AUTOCONF=/usr/bin/autoconf2_13 \
767 MOZ_MAKE_FLAGS="%{?_smp_mflags}" \
768 installdir=%{_libdir}/%{name} \
773 %if %{with crashreporter}
774 # create debuginfo for crash-stats.mozilla.com
775 %{__make} -j1 -C obj-%{_target_cpu} buildsymbols
779 rm -rf $RPM_BUILD_ROOT
781 $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} \
782 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
783 $RPM_BUILD_ROOT%{_datadir}/%{name} \
784 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins \
785 $RPM_BUILD_ROOT%{_mandir}/man1
787 %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins
791 %{__make} -C comm/suite/installer stage-package \
792 DESTDIR=$RPM_BUILD_ROOT \
793 installdir=%{_libdir}/%{name} \
796 cp -a dist/seamonkey/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
797 cp -p dist/man/man1/seamonkey.1 $RPM_BUILD_ROOT%{_mandir}/man1
799 # Enable crash reporter for Thunderbird application
800 %if %{with crashreporter}
801 %{__sed} -i -e 's/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/' $RPM_BUILD_ROOT%{_libdir}/%{name}/application.ini
803 # Add debuginfo for crash-stats.mozilla.com
804 install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name}
805 cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name}
808 # move arch independent ones to datadir
809 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
810 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
811 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
813 ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
814 ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
815 ln -s ../../share/%{name}/fonts $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts
817 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp
818 ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp
820 # dir for arch independant extensions besides arch dependant extensions
821 # see mozilla/xpcom/build/nsXULAppAPI.h
822 # XRE_SYS_LOCAL_EXTENSION_PARENT_DIR and XRE_SYS_SHARE_EXTENSION_PARENT_DIR
823 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions
825 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
826 ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
828 sed 's,@LIBDIR@,%{_libdir},' %{SOURCE9} > $RPM_BUILD_ROOT%{_bindir}/seamonkey
829 chmod a+rx $RPM_BUILD_ROOT%{_bindir}/seamonkey
831 install %{SOURCE4} %{SOURCE5} %{SOURCE7} \
832 $RPM_BUILD_ROOT%{_desktopdir}
834 for d in 16 32 48 64 128 ; do
835 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps
836 cp -p %{topdir}/comm/suite/branding/seamonkey/default${d}.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps/%{name}.png
839 # don't package, rely on system mozldap libraries
840 %{__sed} -i '/lib\(ldap\|ldif\|prldap\)60.so/d' $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list
841 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap}60.so
845 basename=$(basename $a .langpack.xpi)
846 basename=${basename##seamonkey-%{version}.}
847 cp -p $a $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/langpack-$basename@seamonkey.mozilla.org.xpi
850 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{license.txt,precomplete,removed-files}
853 rm -rf $RPM_BUILD_ROOT
856 %update_browser_plugins
857 %update_icon_cache hicolor
858 %update_desktop_database
861 if [ "$1" = 0 ]; then
862 %update_browser_plugins
863 %update_icon_cache hicolor
867 %defattr(644,root,root,755)
869 %attr(755,root,root) %{_bindir}/seamonkey
870 %{_mandir}/man1/seamonkey.1*
873 %{_browserpluginsconfdir}/browsers.d/%{name}.*
874 %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
876 %dir %{_libdir}/%{name}
877 %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
878 %attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so
879 %attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so
880 %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
881 %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
882 %attr(755,root,root) %{_libdir}/%{name}/libmozsqlite3.so
883 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
885 %{_libdir}/%{name}/blocklist.xml
886 %{_libdir}/%{name}/omni.ja
888 %if %{with crashreporter}
889 %{_libdir}/%{name}/crashreporter
890 %{_libdir}/%{name}/crashreporter-override.ini
891 %{_libdir}/%{name}/crashreporter.ini
892 %{_libdir}/%{name}/Throbber-small.gif
896 %{_libdir}/%{name}/application.ini
897 %{_libdir}/%{name}/chrome.manifest
899 %{_libdir}/%{name}/dependentlibs.list
900 %{_libdir}/%{name}/platform.ini
901 %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
902 %attr(755,root,root) %{_libdir}/%{name}/seamonkey-bin
903 %attr(755,root,root) %{_libdir}/%{name}/plugin-container
905 %attr(755,root,root) %{_libdir}/%{name}/seamonkey
906 %dir %{_libdir}/%{name}/plugins
909 %{_libdir}/%{name}/chrome
910 %{_libdir}/%{name}/defaults
911 %{_libdir}/%{name}/fonts
912 %{_libdir}/%{name}/dictionaries
914 %dir %{_datadir}/%{name}
915 %{_datadir}/%{name}/chrome
916 %{_datadir}/%{name}/defaults
917 %{_datadir}/%{name}/fonts
919 %dir %{_datadir}/%{name}/extensions
920 %dir %{_libdir}/%{name}/extensions
921 # the signature of the default theme
922 %{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
923 %{_libdir}/%{name}/extensions/modern@themes.mozilla.org.xpi
925 %{_libdir}/%{name}/isp
926 %dir %{_datadir}/%{name}/isp
927 %{_datadir}/%{name}/isp/Bogofilter.sfd
928 %{_datadir}/%{name}/isp/DSPAM.sfd
929 %{_datadir}/%{name}/isp/POPFile.sfd
930 %{_datadir}/%{name}/isp/SpamAssassin.sfd
931 %{_datadir}/%{name}/isp/SpamPal.sfd
932 %{_datadir}/%{name}/isp/movemail.rdf
933 %{_datadir}/%{name}/isp/rss.rdf
935 %{_iconsdir}/hicolor/*x*/apps/seamonkey.png
936 %{_desktopdir}/%{name}.desktop
937 %{_desktopdir}/%{name}-composer.desktop
938 %{_desktopdir}/%{name}-mail.desktop
940 %if %{with lightning}
941 %files addon-lightning
942 %defattr(644,root,root,755)
943 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi
947 %defattr(644,root,root,755)
948 %{_libdir}/%{name}/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi
951 %defattr(644,root,root,755)
952 %{_libdir}/%{name}/extensions/inspector@mozilla.org.xpi
955 %defattr(644,root,root,755)
956 %{_datadir}/%{name}/extensions/langpack-cs@seamonkey.mozilla.org.xpi
959 %defattr(644,root,root,755)
960 %{_datadir}/%{name}/extensions/langpack-de@seamonkey.mozilla.org.xpi
963 %defattr(644,root,root,755)
964 %{_datadir}/%{name}/extensions/langpack-el@seamonkey.mozilla.org.xpi
967 %defattr(644,root,root,755)
968 %{_datadir}/%{name}/extensions/langpack-en-GB@seamonkey.mozilla.org.xpi
971 %defattr(644,root,root,755)
972 %{_datadir}/%{name}/extensions/langpack-en-US@seamonkey.mozilla.org.xpi
975 %defattr(644,root,root,755)
976 %{_datadir}/%{name}/extensions/langpack-es-AR@seamonkey.mozilla.org.xpi
979 %defattr(644,root,root,755)
980 %{_datadir}/%{name}/extensions/langpack-es-ES@seamonkey.mozilla.org.xpi
983 %defattr(644,root,root,755)
984 %{_datadir}/%{name}/extensions/langpack-fi@seamonkey.mozilla.org.xpi
987 %defattr(644,root,root,755)
988 %{_datadir}/%{name}/extensions/langpack-fr@seamonkey.mozilla.org.xpi
991 %defattr(644,root,root,755)
992 %{_datadir}/%{name}/extensions/langpack-hu@seamonkey.mozilla.org.xpi
995 %defattr(644,root,root,755)
996 %{_datadir}/%{name}/extensions/langpack-it@seamonkey.mozilla.org.xpi
999 %defattr(644,root,root,755)
1000 %{_datadir}/%{name}/extensions/langpack-ja@seamonkey.mozilla.org.xpi
1003 %defattr(644,root,root,755)
1004 %{_datadir}/%{name}/extensions/langpack-ka@seamonkey.mozilla.org.xpi
1007 #%defattr(644,root,root,755)
1008 #%{_datadir}/%{name}/extensions/langpack-lt@seamonkey.mozilla.org.xpi
1011 %defattr(644,root,root,755)
1012 %{_datadir}/%{name}/extensions/langpack-nb-NO@seamonkey.mozilla.org.xpi
1015 %defattr(644,root,root,755)
1016 %{_datadir}/%{name}/extensions/langpack-nl@seamonkey.mozilla.org.xpi
1019 %defattr(644,root,root,755)
1020 %{_datadir}/%{name}/extensions/langpack-pl@seamonkey.mozilla.org.xpi
1023 %defattr(644,root,root,755)
1024 %{_datadir}/%{name}/extensions/langpack-pt-BR@seamonkey.mozilla.org.xpi
1027 %defattr(644,root,root,755)
1028 %{_datadir}/%{name}/extensions/langpack-pt-PT@seamonkey.mozilla.org.xpi
1031 %defattr(644,root,root,755)
1032 %{_datadir}/%{name}/extensions/langpack-ru@seamonkey.mozilla.org.xpi
1035 %defattr(644,root,root,755)
1036 %{_datadir}/%{name}/extensions/langpack-sk@seamonkey.mozilla.org.xpi
1039 %defattr(644,root,root,755)
1040 %{_datadir}/%{name}/extensions/langpack-sv-SE@seamonkey.mozilla.org.xpi
1043 %defattr(644,root,root,755)
1044 %{_datadir}/%{name}/extensions/langpack-zh-CN@seamonkey.mozilla.org.xpi
1047 %defattr(644,root,root,755)
1048 %{_datadir}/%{name}/extensions/langpack-zh-TW@seamonkey.mozilla.org.xpi