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)
23 %define nss_ver 3.79.2
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: 92ebcb6d9410442a9c1cf9c321f292f4
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: 8c4648bfd3c19d1a8c3dfb68bc9dce04
51 Source101: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.de.langpack.xpi
52 # Source101-md5: 55e39428c260dc47c8e2379cf32ef019
53 Source102: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.el.langpack.xpi
54 # Source102-md5: 323e5cca28b630725c5ce131c0c29f53
55 Source103: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-GB.langpack.xpi
56 # Source103-md5: 414d0e4c15c001c6b4cb607cad469fc9
57 Source104: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-US.langpack.xpi
58 # Source104-md5: 12fc29f85abf2b24d5b3ac029c26e258
59 Source105: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-AR.langpack.xpi
60 # Source105-md5: bcc008d78b33288629ff66e441ddadc0
61 Source106: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-ES.langpack.xpi
62 # Source106-md5: 0df0d1acaea09fe46da5a66796117f9a
63 Source107: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fi.langpack.xpi
64 # Source107-md5: c82a4c0bf3694edee295def61411ab51
65 Source108: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fr.langpack.xpi
66 # Source108-md5: 7ea97447adaf6f20b581532704872946
67 Source109: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.hu.langpack.xpi
68 # Source109-md5: 4d6654fb9fdbc49d278142ae46b68adb
69 Source110: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.it.langpack.xpi
70 # Source110-md5: 0f4dbaab441ecb6cecc7f9ee68a3f170
71 Source111: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ja.langpack.xpi
72 # Source111-md5: 499952e27588b7c7d3af859d6dd93ed0
73 Source112: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ka.langpack.xpi
74 # Source112-md5: 99654f41a21bbe05366b22054b3358e9
75 Source113: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nb-NO.langpack.xpi
76 # Source113-md5: 418f5db3b9f3c92bc191e85368c1aa3f
77 Source114: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nl.langpack.xpi
78 # Source114-md5: d877ef0c0b0307945f2ba7bab7cd054b
79 Source115: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pl.langpack.xpi
80 # Source115-md5: d86884970907ffde26698f8c4c840a51
81 Source116: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-BR.langpack.xpi
82 # Source116-md5: 14549e4e83520c7dffb320c446b33d1b
83 Source117: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-PT.langpack.xpi
84 # Source117-md5: 2c8f1a69893b9d5a726e05d84c3e3948
85 Source118: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ru.langpack.xpi
86 # Source118-md5: 14c8b4f3a2f9483640b912ab4f5277b6
87 Source119: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sk.langpack.xpi
88 # Source119-md5: 8a6910c49916ed9e27f994a7e61056c4
89 Source120: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sv-SE.langpack.xpi
90 # Source120-md5: 958397e070fe405d90a59abd586add57
91 Source121: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-CN.langpack.xpi
92 # Source121-md5: 8c19c8bf20ecedd2d7c65844d2951b71
93 Source122: https://releases.mozilla.org/pub/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-TW.langpack.xpi
94 # Source122-md5: 23067733d78ba08a0ff14cec46968a30
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 Patch5: %{name}-icu-detect.patch
101 Patch6: binutils2.41.patch
102 URL: https://www.seamonkey-project.org/
103 BuildRequires: GConf2-devel >= 1.2.1
104 BuildRequires: autoconf2_13 >= 2.13
105 %{?with_system_cairo:BuildRequires: cairo-devel >= 1.10.2-5}
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 BuildRequires: hunspell-devel
116 # DECnet (dnprogs.spec), not dummy net (libdnet.spec)
117 #BuildRequires: libdnet-devel
118 BuildRequires: libevent-devel >= 1.4.7
119 # standalone libffi 3.0.9 or gcc's from 4.5(?)+
120 BuildRequires: libffi-devel >= 6:3.0.9
121 BuildRequires: libicu-devel >= 63.1
122 # requires libjpeg-turbo implementing at least libjpeg 6b API
123 BuildRequires: libjpeg-devel >= 6b
124 BuildRequires: libjpeg-turbo-devel
125 BuildRequires: libnotify-devel >= 0.4
126 BuildRequires: libpng(APNG)-devel >= 0.10
127 BuildRequires: libpng-devel >= 2:1.6.35
128 BuildRequires: libstdc++-devel >= 6:4.7
129 BuildRequires: libvpx-devel >= 1.5.0
130 BuildRequires: nodejs >= 8.11.0
131 BuildRequires: nspr-devel >= 1:%{nspr_ver}
132 BuildRequires: nss-devel >= 1:%{nss_ver}
133 BuildRequires: pango-devel >= 1:1.22.0
134 BuildRequires: perl-base >= 1:5.6
135 BuildRequires: perl-modules >= 5.004
136 BuildRequires: pixman-devel >= 0.19.2
137 BuildRequires: pkgconfig
138 BuildRequires: python >= 1:2.7.3
139 BuildRequires: python-modules >= 1:2.7.3
140 BuildRequires: python-virtualenv >= 15
141 BuildRequires: python3 >= 1:3.5.0
142 BuildRequires: rpm-build >= 4.6
143 BuildRequires: rpmbuild(macros) >= 1.601
144 BuildRequires: rust >= 1.47.0
145 BuildRequires: rust-cbindgen
146 BuildRequires: sed >= 4.0
147 BuildRequires: startup-notification-devel >= 0.8
148 BuildRequires: tar >= 1:1.22
149 BuildRequires: xorg-lib-libX11-devel
150 BuildRequires: xorg-lib-libXcomposite-devel
151 BuildRequires: xorg-lib-libXdamage-devel
152 BuildRequires: xorg-lib-libXext-devel
153 BuildRequires: xorg-lib-libXfixes-devel
154 BuildRequires: xorg-lib-libXt-devel
156 %ifarch %{ix86} %{x8664}
157 BuildRequires: yasm >= 1.0.1
160 BuildRequires: zlib-devel >= 1.2.3
161 Requires(post): mktemp >= 1.5-18
162 Requires: desktop-file-utils
163 Requires: fontconfig >= 1:2.7.0
164 Requires: hicolor-icon-theme
165 Requires: browser-plugins >= 2.0
166 %{?with_system_cairo:Requires: cairo >= 1.10.2-5}
167 Requires: dbus-glib >= 0.60
168 Requires: glib2 >= 1:2.22
169 Requires: gtk+3 >= 3.4.0
170 Requires: libjpeg-turbo
171 Requires: libpng >= 2:1.6.35
172 Requires: libpng(APNG) >= 0.10
173 Requires: libvpx >= 1.5.0
174 Requires: myspell-common
175 Requires: nspr >= 1:%{nspr_ver}
176 Requires: nss >= 1:%{nss_ver}
177 Requires: pango >= 1:1.22.0
178 Requires: pixman >= 0.19.2
179 Requires: startup-notification >= 0.8
180 Provides: seamonkey-embedded = %{version}-%{release}
182 Obsoletes: iceape < 2.47
183 Obsoletes: iceape-js-debugger < 2.40
184 Obsoletes: iceape-lang-be < 2.47
185 Obsoletes: iceape-lang-ca < 2.47
186 Obsoletes: iceape-lang-gl < 2.47
187 Obsoletes: iceape-lang-lt < 2.47
188 Obsoletes: iceape-lang-tr < 2.47
189 Obsoletes: iceape-lang-uk < 2.47
190 Obsoletes: iceape-mailnews < 2.9
191 Obsoletes: iceape-gnomevfs < 2.9
192 Obsoletes: light < 1.4.13
193 Obsoletes: mozilla < 1.8
194 Obsoletes: mozilla-gnomevfs < 1.8
195 Obsoletes: mozilla-js-debugger < 1.8
196 Obsoletes: mozilla-mailnews < 1.8
197 Obsoletes: seamonkey-calendar < 1.1
198 Obsoletes: seamonkey-js-debugger < 2.31
199 Obsoletes: seamonkey-lang-be < 2.47
200 Obsoletes: seamonkey-lang-ca < 2.47
201 Obsoletes: seamonkey-lang-gl < 2.47
202 Obsoletes: seamonkey-lang-lt < 2.53
203 Obsoletes: seamonkey-lang-tr < 2.47
204 Obsoletes: seamonkey-lang-uk < 2.47
205 Obsoletes: seamonkey-libs < 1.1.8-2
206 Obsoletes: seamonkey-mailnews < 2.9.1
207 Obsoletes: seamonkey-gnomevfs < 2.9.1
208 Conflicts: seamonkey-lang-resources < %{version}
209 # TODO: change to supported archs list
211 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
213 %define topdir %{_builddir}/%{name}-%{version}
214 %define objdir %{topdir}/obj-%{_target_cpu}
216 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
218 # don't satisfy other packages
219 %define _noautoprovfiles %{_libdir}/%{name}
220 # and as we don't provide them, don't require either
221 %define _noautoreq liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozsandbox.so libmozsqlite3.so libxul.so
224 SeaMonkey Community Edition is an open-source web browser, designed
225 for standards compliance, performance and portability.
227 %description -l es.UTF-8
228 SeaMonkey Community Edition es un navegador de Internet que se basa en
229 una versión inicial de Netscape Communicator.
231 %description -l pl.UTF-8
232 SeaMonkey Community Edition jest potężną graficzną przeglądarką WWW,
233 która jest następcą Mozilli, która następnie była następczynią
234 Netscape Communikatora.
236 %description -l pt_BR.UTF-8
237 O SeaMonkey Community Edition é um web browser baseado numa versão
238 inicial do Netscape Communicator.
240 %description -l ru.UTF-8
241 SeaMonkey Community Edition - полнофункциональный web-browser с
242 открытыми исходными текстами, разработанный для максимального
243 соотвествия стандартам, максмимальной переносимости и скорости работы
245 %package addon-lightning
246 Summary: An integrated calendar for SeaMonkey
247 Summary(pl.UTF-8): Zintegrowany kalendarz dla SeaMonkey
248 Group: Applications/Networking
249 Requires: %{name} = %{version}-%{release}
250 Obsoletes: iceape-addon-lightning < 2.46
252 %description addon-lightning
253 Lightning is an calendar extension to Icedove email client.
255 %description addon-lightning -l pl.UTF-8
256 Lightning to rozszerzenie do klienta poczty Icedove dodające
257 funkcjonalność kalendarza.
260 Summary: SeaMonkey Community Edition Chat - integrated IRC client
261 Summary(pl.UTF-8): SeaMonkey Community Edition Chat - zintegrowany klient IRC-a
262 Group: X11/Applications/Networking
263 Requires(post,postun): %{name} = %{version}-%{release}
264 Requires: %{name} = %{version}-%{release}
265 Obsoletes: iceape-chat < 2.46
266 Obsoletes: mozilla-chat < 1.8
269 SeaMonkey Community Edition Chat - IRC client that is integrated with
270 the SeaMonkey Community Edition web browser.
272 %description chat -l pl.UTF-8
273 SeaMonkey Community Edition Chat - klient IRC-a zintegrowany z
274 przeglądarką SeaMonkey Community Edition.
276 %package dom-inspector
277 Summary: A tool for inspecting the DOM of pages in SeaMonkey Community Edition
278 Summary(pl.UTF-8): Narzędzie do oglądania DOM stron w SeaMonkey Community Edition
279 Group: X11/Applications/Networking
280 Requires(post,postun): %{name} = %{version}-%{release}
281 Requires: %{name} = %{version}-%{release}
282 Obsoletes: iceape-dom-inspector < 2.46
283 Obsoletes: mozilla-dom-inspector < 1.8
285 %description dom-inspector
286 This is a tool that allows you to inspect the DOM for web pages in
287 SeaMonkey Community Edition. This is of great use to people who are
288 doing SeaMonkey Community Edition chrome development or web page
291 %description dom-inspector -l pl.UTF-8
292 To narzędzie pozwala na oglądanie DOM dla stron WWW w SeaMonkey
293 Community Edition. Jest bardzo przydatne dla ludzi rozwijających
294 chrome w SeaMonkey Community Edition lub tworzących strony WWW.
297 Summary: Czech resources for SeaMonkey
298 Summary(pl.UTF-8): Czeskie pliki językowe dla SeaMonkeya
300 Requires: seamonkey >= %{version}
301 Provides: seamonkey-lang-resources = %{version}
302 Obsoletes: iceape-lang-cs < 2.47
306 Czech resources for SeaMonkey.
308 %description lang-cs -l pl.UTF-8
309 Czeskie pliki językowe dla SeaMonkeya.
312 Summary: German resources for SeaMonkey
313 Summary(pl.UTF-8): Niemieckie pliki językowe dla SeaMonkeya
315 Requires: seamonkey >= %{version}
316 Provides: seamonkey-lang-resources = %{version}
317 Obsoletes: iceape-lang-de < 2.47
321 German resources for SeaMonkey.
323 %description lang-de -l pl.UTF-8
324 Niemieckie pliki językowe dla SeaMonkeya.
327 Summary: Greek resources for SeaMonkey
328 Summary(pl.UTF-8): Greckie pliki językowe dla SeaMonkeya
330 Requires: seamonkey >= %{version}
331 Provides: seamonkey-lang-resources = %{version}
335 Greek resources for SeaMonkey.
337 %description lang-el -l pl.UTF-8
338 Greckie pliki językowe dla SeaMonkeya.
341 Summary: English (British) resources for SeaMonkey
342 Summary(pl.UTF-8): Angielskie (brytyjskie) pliki językowe dla SeaMonkeya
344 Requires: seamonkey >= %{version}
345 Provides: seamonkey-lang-resources = %{version}
346 Obsoletes: iceape-lang-en_GB < 2.47
349 %description lang-en_GB
350 English (British) resources for SeaMonkey.
352 %description lang-en_GB -l pl.UTF-8
353 Angielskie (brytyjskie) pliki językowe dla SeaMonkeya.
356 Summary: English (American) resources for SeaMonkey
357 Summary(pl.UTF-8): Angielskie (amerykańskie) pliki językowe dla SeaMonkeya
359 Requires: seamonkey >= %{version}
360 Provides: seamonkey-lang-resources = %{version}
361 Obsoletes: iceape-lang-en_US < 2.47
364 %description lang-en_US
365 English (American) resources for SeaMonkey.
367 %description lang-en_US -l pl.UTF-8
368 Angielskie (amerykańskie) pliki językowe dla SeaMonkeya.
371 Summary: Spanish (Andorra) resources for SeaMonkey
372 Summary(ca.UTF-8): Recursos espanyols (Andorra) per SeaMonkey
373 Summary(es.UTF-8): Recursos españoles (Andorra) para SeaMonkey
374 Summary(pl.UTF-8): Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Andory)
376 Requires: seamonkey >= %{version}
377 Provides: seamonkey-lang-resources = %{version}
378 Obsoletes: iceape-lang-es_AR < 2.47
381 %description lang-es_AR
382 Spanish (Spain) resources for SeaMonkey.
384 %description lang-es_AR -l ca.UTF-8
385 Recursos espanyols (Andorra) per SeaMonkey.
387 %description lang-es_AR -l es.UTF-8
388 Recursos españoles (Andorra) para SeaMonkey.
390 %description lang-es_AR -l pl.UTF-8
391 Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Andory).
394 Summary: Spanish (Spain) resources for SeaMonkey
395 Summary(ca.UTF-8): Recursos espanyols (Espanya) per SeaMonkey
396 Summary(es.UTF-8): Recursos españoles (España) para SeaMonkey
397 Summary(pl.UTF-8): Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Hiszpanii)
399 Requires: seamonkey >= %{version}
400 Provides: seamonkey-lang-resources = %{version}
401 Obsoletes: iceape-lang-es < 2.47
405 Spanish (Spain) resources for SeaMonkey.
407 %description lang-es -l ca.UTF-8
408 Recursos espanyols (Espanya) per SeaMonkey.
410 %description lang-es -l es.UTF-8
411 Recursos españoles (España) para SeaMonkey.
413 %description lang-es -l pl.UTF-8
414 Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Hiszpanii).
417 Summary: Finnish resources for SeaMonkey
418 Summary(pl.UTF-8): Fińskie pliki językowe dla SeaMonkeya
420 Requires: seamonkey >= %{version}
421 Provides: seamonkey-lang-resources = %{version}
422 Obsoletes: iceape-lang-fi < 2.47
426 Finnish resources for SeaMonkey.
428 %description lang-fi -l pl.UTF-8
429 Fińskie pliki językowe dla SeaMonkeya.
432 Summary: French resources for SeaMonkey
433 Summary(pl.UTF-8): Francuskie pliki językowe dla SeaMonkeya
435 Requires: seamonkey >= %{version}
436 Provides: seamonkey-lang-resources = %{version}
437 Obsoletes: iceape-lang-fr < 2.47
441 French resources for SeaMonkey.
443 %description lang-fr -l pl.UTF-8
444 Francuskie pliki językowe dla SeaMonkeya.
447 Summary: Hungarian resources for SeaMonkey
448 Summary(hu.UTF-8): Magyar nyelv SeaMonkey-hez
449 Summary(pl.UTF-8): Węgierskie pliki językowe dla SeaMonkeya
451 Requires: seamonkey >= %{version}
452 Provides: seamonkey-lang-resources = %{version}
453 Obsoletes: iceape-lang-hu < 2.47
457 Hungarian resources for SeaMonkey.
459 %description lang-hu -l hu.UTF-8
460 Magyar nyelv SeaMonkey-hez.
462 %description lang-hu -l pl.UTF-8
463 Węgierskie pliki językowe dla SeaMonkeya.
466 Summary: Italian resources for SeaMonkey
467 Summary(pl.UTF-8): Włoskie pliki językowe dla SeaMonkeya
469 Requires: seamonkey >= %{version}
470 Provides: seamonkey-lang-resources = %{version}
471 Obsoletes: iceape-lang-it < 2.47
475 Italian resources for SeaMonkey.
477 %description lang-it -l pl.UTF-8
478 Włoskie pliki językowe dla SeaMonkeya.
481 Summary: Japanese resources for SeaMonkey
482 Summary(pl.UTF-8): Japońskie pliki językowe dla SeaMonkeya
484 Requires: seamonkey >= %{version}
485 Provides: seamonkey-lang-resources = %{version}
486 Obsoletes: iceape-lang-ja < 2.47
490 Japanese resources for SeaMonkey.
492 %description lang-ja -l pl.UTF-8
493 Japońskie pliki językowe dla SeaMonkeya.
496 Summary: Georgian resources for SeaMonkey
497 Summary(pl.UTF-8): Gruzińskie pliki językowe dla SeaMonkeya
499 Requires: seamonkey >= %{version}
500 Provides: seamonkey-lang-resources = %{version}
504 Georgian resources for SeaMonkey.
506 %description lang-ka -l pl.UTF-8
507 Gruzińskie pliki językowe dla SeaMonkeya.
510 Summary: Lithuanian resources for SeaMonkey
511 Summary(pl.UTF-8): Litewskie pliki językowe dla SeaMonkeya
513 Requires: seamonkey >= %{version}
514 Provides: seamonkey-lang-resources = %{version}
515 Obsoletes: iceape-lang-lt < 2.47
519 Lithuanian resources for SeaMonkey.
521 %description lang-lt -l pl.UTF-8
522 Litewskie pliki językowe dla SeaMonkeya.
525 Summary: Norwegian Bokmaal resources for SeaMonkey
526 Summary(pl.UTF-8): Norweskie (bokmaal) pliki językowe dla SeaMonkeya
528 Requires: seamonkey >= %{version}
529 Provides: seamonkey-lang-resources = %{version}
530 Obsoletes: iceape-lang-nb < 2.47
534 Norwegian Bokmaal resources for SeaMonkey.
536 %description lang-nb -l pl.UTF-8
537 Norweskie (bokmaal) pliki językowe dla SeaMonkeya.
540 Summary: Dutch resources for SeaMonkey
541 Summary(pl.UTF-8): Holenderskie pliki językowe dla SeaMonkeya
543 Requires: seamonkey >= %{version}
544 Provides: seamonkey-lang-resources = %{version}
545 Obsoletes: iceape-lang-nl < 2.47
549 Dutch resources for SeaMonkey.
551 %description lang-nl -l pl.UTF-8
552 Holenderskie pliki językowe dla SeaMonkeya.
555 Summary: Polish resources for SeaMonkey
556 Summary(pl.UTF-8): Polskie pliki językowe dla SeaMonkeya
558 Requires: seamonkey >= %{version}
559 Provides: seamonkey-lang-resources = %{version}
560 Obsoletes: iceape-lang-pl < 2.47
564 Polish resources for SeaMonkey.
566 %description lang-pl -l pl.UTF-8
567 Polskie pliki językowe dla SeaMonkeya.
570 Summary: Portuguese (Brazilian) resources for SeaMonkey
571 Summary(pl.UTF-8): Portugalskie pliki językowe dla SeaMonkeya (wersja dla Brazylii)
573 Requires: seamonkey >= %{version}
574 Provides: seamonkey-lang-resources = %{version}
577 %description lang-pt_BR
578 Portuguese (Brazilian) resources for SeaMonkey.
580 %description lang-pt_BR -l pl.UTF-8
581 Portugalskie pliki językowe dla SeaMonkeya (wersja dla Brazylii).
584 Summary: Portuguese (Portugal) resources for SeaMonkey
585 Summary(pl.UTF-8): Portugalskie pliki językowe dla SeaMonkeya (wersja dla Portugalii)
587 Requires: seamonkey >= %{version}
588 Provides: seamonkey-lang-resources = %{version}
589 Obsoletes: iceape-lang-pt < 2.47
593 Portuguese (Portugal) resources for SeaMonkey.
595 %description lang-pt -l pl.UTF-8
596 Portugalskie pliki językowe dla SeaMonkeya (wersja dla Portugalii).
599 Summary: Russian resources for SeaMonkey
600 Summary(pl.UTF-8): Rosyjskie pliki językowe dla SeaMonkeya
602 Requires: seamonkey >= %{version}
603 Provides: seamonkey-lang-resources = %{version}
604 Obsoletes: iceape-lang-ru < 2.47
608 Russian resources for SeaMonkey.
610 %description lang-ru -l pl.UTF-8
611 Rosyjskie pliki językowe dla SeaMonkeya.
614 Summary: Slovak resources for SeaMonkey
615 Summary(pl.UTF-8): Słowackie pliki językowe dla SeaMonkeya
617 Requires: seamonkey >= %{version}
618 Provides: seamonkey-lang-resources = %{version}
619 Obsoletes: iceape-lang-sk < 2.47
623 Slovak resources for SeaMonkey.
625 %description lang-sk -l pl.UTF-8
626 Słowackie pliki językowe dla SeaMonkeya.
629 Summary: Swedish resources for SeaMonkey
630 Summary(pl.UTF-8): Szwedzkie pliki językowe dla SeaMonkeya
632 Requires: seamonkey >= %{version}
633 Provides: seamonkey-lang-resources = %{version}
634 Obsoletes: iceape-lang-sv < 2.47
638 Swedish resources for SeaMonkey.
640 %description lang-sv -l pl.UTF-8
641 Szwedzkie pliki językowe dla SeaMonkeya.
644 Summary: Simplified Chinese resources for SeaMonkey
645 Summary(pl.UTF-8): Chińskie (uproszczone) pliki językowe dla SeaMonkeya
647 Requires: seamonkey >= %{version}
648 Provides: seamonkey-lang-resources = %{version}
649 Obsoletes: iceape-lang-zh_CN < 2.47
652 %description lang-zh_CN
653 Simplified Chinese resources for SeaMonkey.
655 %description lang-zh_CN -l pl.UTF-8
656 Chińskie uproszczone pliki językowe dla SeaMonkeya.
659 Summary: Traditional Chinese resources for SeaMonkey
660 Summary(pl.UTF-8): Chińskie tradycyjne pliki językowe dla SeaMonkeya
662 Requires: seamonkey >= %{version}
663 Provides: seamonkey-lang-resources = %{version}
664 Obsoletes: iceape-lang-zh_TW < 2.47
667 %description lang-zh_TW
668 Traditional Chinese resources for SeaMonkey.
670 %description lang-zh_TW -l pl.UTF-8
671 Chińskie tradycyjne pliki językowe dla SeaMonkeya.
675 local args="$1" file="$2"
678 %define __unzip unpack
679 %setup -q %(seq -f '-a %g' 100 122 | xargs)
685 %patch6 -p1 -d media/ffvpx
688 cat << EOF > .mozconfig
689 mk_add_options MOZ_OBJDIR=%{objdir}
691 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
692 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
695 export CFLAGS="$CFLAGS -g0"
696 export CXXFLAGS="$CXXFLAGS -g0"
697 export MOZ_DEBUG_FLAGS=" "
698 export LLVM_USE_SPLIT_DWARF=1
699 export LLVM_PARALLEL_LINK_JOBS=1
700 export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
701 export RUSTFLAGS="-Cdebuginfo=0"
704 %if %{with crashreporter}
705 export MOZ_DEBUG_SYMBOLS=1
708 # Options for 'configure' (same as command-line options).
709 ac_add_options --prefix=%{_prefix}
710 ac_add_options --libdir=%{_libdir}
712 ac_add_options --disable-optimize
713 ac_add_options --enable-crash-on-assert
714 ac_add_options --enable-debug
715 ac_add_options --enable-debug-modules
716 ac_add_options --enable-debugger-info-modules
718 ac_add_options --disable-debug
720 ac_add_options --disable-strip
721 ac_add_options --disable-install-strip
723 ac_add_options --enable-tests
725 ac_add_options --disable-tests
727 %if %{with crashreporter}
728 ac_add_options --enable-crashreporter
730 ac_add_options --disable-crashreporter
732 ac_add_options --disable-elf-hack
733 ac_add_options --disable-necko-wifi
734 ac_add_options --disable-updater
735 ac_add_options --enable-application=comm/suite
736 %if %{with lightning}
737 ac_add_options --enable-calendar
739 ac_add_options --enable-chrome-format=omni
740 ac_add_options --enable-default-toolkit=cairo-gtk3
741 ac_add_options --enable-dominspector
742 ac_add_options --enable-irc
744 ac_add_options --enable-linker=bfd
747 #ac_add_options --enable-shared-js
748 ac_add_options --enable-startup-notification
749 %if %{with system_cairo}
750 ac_add_options --enable-system-cairo
752 ac_add_options --enable-system-hunspell
753 ac_add_options --with-distribution-id=org.pld-linux
754 ac_add_options --with-system-bz2
755 ac_add_options --with-system-ffi
756 ac_add_options --with-system-icu
757 ac_add_options --with-system-jpeg
758 ac_add_options --with-system-libevent
759 ac_add_options --with-system-libvpx
760 ac_add_options --with-system-nspr
761 ac_add_options --with-system-nss
762 ac_add_options --with-system-pixman
763 ac_add_options --with-system-png
764 ac_add_options --with-system-zlib
767 %{__make} -j1 build \
768 AUTOCONF=/usr/bin/autoconf2_13 \
770 MOZ_MAKE_FLAGS="%{?_smp_mflags}" \
771 installdir=%{_libdir}/%{name} \
776 %if %{with crashreporter}
777 # create debuginfo for crash-stats.mozilla.com
778 %{__make} -j1 -C obj-%{_target_cpu} buildsymbols
782 rm -rf $RPM_BUILD_ROOT
784 $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} \
785 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
786 $RPM_BUILD_ROOT%{_datadir}/%{name} \
787 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins \
788 $RPM_BUILD_ROOT%{_mandir}/man1
790 %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins
794 %{__make} -C comm/suite/installer stage-package \
795 DESTDIR=$RPM_BUILD_ROOT \
796 installdir=%{_libdir}/%{name} \
799 cp -a dist/seamonkey/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
800 cp -p dist/man/man1/seamonkey.1 $RPM_BUILD_ROOT%{_mandir}/man1
802 # Enable crash reporter for Thunderbird application
803 %if %{with crashreporter}
804 %{__sed} -i -e 's/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/' $RPM_BUILD_ROOT%{_libdir}/%{name}/application.ini
806 # Add debuginfo for crash-stats.mozilla.com
807 install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name}
808 cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name}
811 # move arch independent ones to datadir
812 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
813 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
814 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
816 ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
817 ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
818 ln -s ../../share/%{name}/fonts $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts
820 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp
821 ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp
823 # dir for arch independant extensions besides arch dependant extensions
824 # see mozilla/xpcom/build/nsXULAppAPI.h
825 # XRE_SYS_LOCAL_EXTENSION_PARENT_DIR and XRE_SYS_SHARE_EXTENSION_PARENT_DIR
826 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions
828 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
829 ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
831 sed 's,@LIBDIR@,%{_libdir},' %{SOURCE9} > $RPM_BUILD_ROOT%{_bindir}/seamonkey
832 chmod a+rx $RPM_BUILD_ROOT%{_bindir}/seamonkey
834 install %{SOURCE4} %{SOURCE5} %{SOURCE7} \
835 $RPM_BUILD_ROOT%{_desktopdir}
837 for d in 16 32 48 64 128 ; do
838 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps
839 cp -p %{topdir}/comm/suite/branding/seamonkey/default${d}.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps/%{name}.png
842 # don't package, rely on system mozldap libraries
843 %{__sed} -i '/lib\(ldap\|ldif\|prldap\)60.so/d' $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list
844 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap}60.so
848 basename=$(basename $a .langpack.xpi)
849 basename=${basename##seamonkey-%{version}.}
850 cp -p $a $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/langpack-$basename@seamonkey.mozilla.org.xpi
853 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{license.txt,precomplete,removed-files}
856 rm -rf $RPM_BUILD_ROOT
859 %update_browser_plugins
860 %update_icon_cache hicolor
861 %update_desktop_database
864 if [ "$1" = 0 ]; then
865 %update_browser_plugins
866 %update_icon_cache hicolor
870 %defattr(644,root,root,755)
872 %attr(755,root,root) %{_bindir}/seamonkey
873 %{_mandir}/man1/seamonkey.1*
876 %{_browserpluginsconfdir}/browsers.d/%{name}.*
877 %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
879 %dir %{_libdir}/%{name}
880 %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
881 %attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so
882 %attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so
883 %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
884 %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
885 %attr(755,root,root) %{_libdir}/%{name}/libmozsqlite3.so
886 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
888 %{_libdir}/%{name}/blocklist.xml
889 %{_libdir}/%{name}/omni.ja
891 %if %{with crashreporter}
892 %{_libdir}/%{name}/crashreporter
893 %{_libdir}/%{name}/crashreporter-override.ini
894 %{_libdir}/%{name}/crashreporter.ini
895 %{_libdir}/%{name}/Throbber-small.gif
899 %{_libdir}/%{name}/application.ini
900 %{_libdir}/%{name}/chrome.manifest
902 %{_libdir}/%{name}/dependentlibs.list
903 %{_libdir}/%{name}/platform.ini
904 %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
905 %attr(755,root,root) %{_libdir}/%{name}/seamonkey-bin
906 %attr(755,root,root) %{_libdir}/%{name}/plugin-container
908 %attr(755,root,root) %{_libdir}/%{name}/seamonkey
909 %dir %{_libdir}/%{name}/plugins
912 %{_libdir}/%{name}/chrome
913 %{_libdir}/%{name}/defaults
914 %{_libdir}/%{name}/fonts
915 %{_libdir}/%{name}/dictionaries
917 %dir %{_datadir}/%{name}
918 %{_datadir}/%{name}/chrome
919 %{_datadir}/%{name}/defaults
920 %{_datadir}/%{name}/fonts
922 %dir %{_datadir}/%{name}/extensions
923 %dir %{_libdir}/%{name}/extensions
924 # the signature of the default theme
925 %{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
926 %{_libdir}/%{name}/extensions/modern@themes.mozilla.org.xpi
928 %{_libdir}/%{name}/isp
929 %dir %{_datadir}/%{name}/isp
930 %{_datadir}/%{name}/isp/Bogofilter.sfd
931 %{_datadir}/%{name}/isp/DSPAM.sfd
932 %{_datadir}/%{name}/isp/POPFile.sfd
933 %{_datadir}/%{name}/isp/SpamAssassin.sfd
934 %{_datadir}/%{name}/isp/SpamPal.sfd
935 %{_datadir}/%{name}/isp/movemail.rdf
936 %{_datadir}/%{name}/isp/rss.rdf
938 %{_iconsdir}/hicolor/*x*/apps/seamonkey.png
939 %{_desktopdir}/%{name}.desktop
940 %{_desktopdir}/%{name}-composer.desktop
941 %{_desktopdir}/%{name}-mail.desktop
943 %if %{with lightning}
944 %files addon-lightning
945 %defattr(644,root,root,755)
946 %{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi
950 %defattr(644,root,root,755)
951 %{_libdir}/%{name}/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi
954 %defattr(644,root,root,755)
955 %{_libdir}/%{name}/extensions/inspector@mozilla.org.xpi
958 %defattr(644,root,root,755)
959 %{_datadir}/%{name}/extensions/langpack-cs@seamonkey.mozilla.org.xpi
962 %defattr(644,root,root,755)
963 %{_datadir}/%{name}/extensions/langpack-de@seamonkey.mozilla.org.xpi
966 %defattr(644,root,root,755)
967 %{_datadir}/%{name}/extensions/langpack-el@seamonkey.mozilla.org.xpi
970 %defattr(644,root,root,755)
971 %{_datadir}/%{name}/extensions/langpack-en-GB@seamonkey.mozilla.org.xpi
974 %defattr(644,root,root,755)
975 %{_datadir}/%{name}/extensions/langpack-en-US@seamonkey.mozilla.org.xpi
978 %defattr(644,root,root,755)
979 %{_datadir}/%{name}/extensions/langpack-es-AR@seamonkey.mozilla.org.xpi
982 %defattr(644,root,root,755)
983 %{_datadir}/%{name}/extensions/langpack-es-ES@seamonkey.mozilla.org.xpi
986 %defattr(644,root,root,755)
987 %{_datadir}/%{name}/extensions/langpack-fi@seamonkey.mozilla.org.xpi
990 %defattr(644,root,root,755)
991 %{_datadir}/%{name}/extensions/langpack-fr@seamonkey.mozilla.org.xpi
994 %defattr(644,root,root,755)
995 %{_datadir}/%{name}/extensions/langpack-hu@seamonkey.mozilla.org.xpi
998 %defattr(644,root,root,755)
999 %{_datadir}/%{name}/extensions/langpack-it@seamonkey.mozilla.org.xpi
1002 %defattr(644,root,root,755)
1003 %{_datadir}/%{name}/extensions/langpack-ja@seamonkey.mozilla.org.xpi
1006 %defattr(644,root,root,755)
1007 %{_datadir}/%{name}/extensions/langpack-ka@seamonkey.mozilla.org.xpi
1010 #%defattr(644,root,root,755)
1011 #%{_datadir}/%{name}/extensions/langpack-lt@seamonkey.mozilla.org.xpi
1014 %defattr(644,root,root,755)
1015 %{_datadir}/%{name}/extensions/langpack-nb-NO@seamonkey.mozilla.org.xpi
1018 %defattr(644,root,root,755)
1019 %{_datadir}/%{name}/extensions/langpack-nl@seamonkey.mozilla.org.xpi
1022 %defattr(644,root,root,755)
1023 %{_datadir}/%{name}/extensions/langpack-pl@seamonkey.mozilla.org.xpi
1026 %defattr(644,root,root,755)
1027 %{_datadir}/%{name}/extensions/langpack-pt-BR@seamonkey.mozilla.org.xpi
1030 %defattr(644,root,root,755)
1031 %{_datadir}/%{name}/extensions/langpack-pt-PT@seamonkey.mozilla.org.xpi
1034 %defattr(644,root,root,755)
1035 %{_datadir}/%{name}/extensions/langpack-ru@seamonkey.mozilla.org.xpi
1038 %defattr(644,root,root,755)
1039 %{_datadir}/%{name}/extensions/langpack-sk@seamonkey.mozilla.org.xpi
1042 %defattr(644,root,root,755)
1043 %{_datadir}/%{name}/extensions/langpack-sv-SE@seamonkey.mozilla.org.xpi
1046 %defattr(644,root,root,755)
1047 %{_datadir}/%{name}/extensions/langpack-zh-CN@seamonkey.mozilla.org.xpi
1050 %defattr(644,root,root,755)
1051 %{_datadir}/%{name}/extensions/langpack-zh-TW@seamonkey.mozilla.org.xpi