]> git.pld-linux.org Git - packages/seamonkey.git/blame - seamonkey.spec
- updated to 2.53.9
[packages/seamonkey.git] / seamonkey.spec
CommitLineData
048deb2d
JR
1# TODO:
2# - consider --enable-libproxy
3# - do something with *.rdf file, there if file conflict with other lang packages
b19e17d8
JB
4#
5# Conditional build:
f1319b72
JB
6%bcond_without kerberos # krb5 support
7%bcond_without lightning # Lightning calendar
b8379d78 8%bcond_without gold # gold linker
c7d608a7 9%bcond_with crashreporter # report crashes to crash-stats.mozilla.com
b8379d78 10%bcond_with system_cairo # build with system cairo (not supported in 2.53.9+)
bd8dbb8a 11%bcond_with tests # enable tests (whatever they check)
6930f277
JB
12%bcond_with lowmem # lower memory requirements
13
14%ifarch %{ix86} %{arm} aarch64
15%define with_lowmem 1
16%endif
b8379d78
JB
17%ifarch %{ix86}
18# /usr/bin/ld.gold: internal error in relocate_section, at i386.cc:3683 (seamonkey 2.53.9, binutils 2.37-1)
19%undefine with_gold
20%endif
24441e9c 21
b8379d78
JB
22%define nspr_ver 4.25
23%define nss_ver 3.53.1
24441e9c 24
048deb2d
JR
25# UPDATING TRANSALTIONS:
26%if 0
27rm -vf *.xpi
28./builder -g
50d95fcd
JB
29V=2.49.5
30U=http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$V/langpacks/linux-i686/
048deb2d
JR
31curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
32%endif
33
dc51aa63 34Summary: SeaMonkey Community Edition - web browser
fda067df
ER
35Summary(es.UTF-8): Navegador de Internet SeaMonkey Community Edition
36Summary(pl.UTF-8): SeaMonkey Community Edition - przeglądarka WWW
37Summary(pt_BR.UTF-8): Navegador SeaMonkey Community Edition
b19e17d8 38Name: seamonkey
b8379d78 39Version: 2.53.9
8cad6b80 40Release: 1
c7d608a7 41License: MPL v2.0
b19e17d8 42Group: X11/Applications/Networking
6930f277 43Source0: http://releases.mozilla.org/pub/seamonkey/releases/%{version}/source/%{name}-%{version}.source.tar.xz
b8379d78 44# Source0-md5: f36c532bbd9c6903036aa02e9a40246b
16e155ba
JB
45Source4: %{name}.desktop
46Source5: %{name}-composer.desktop
16e155ba 47Source7: %{name}-mail.desktop
16e155ba 48Source9: %{name}.sh
6930f277 49Source100: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.cs.langpack.xpi
b8379d78 50# Source100-md5: adb34a40e717b73323f26d3c68b20595
6930f277 51Source101: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.de.langpack.xpi
b8379d78 52# Source101-md5: 9eeb29910c8edcd86ac1e8561635d5a8
f1319b72 53Source102: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.el.langpack.xpi
b8379d78 54# Source102-md5: c0eebd55fd7b41c64369c3d9a6aaee4e
f1319b72 55Source103: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-GB.langpack.xpi
b8379d78 56# Source103-md5: 4afa0d9987970804e9e567e0d05b9d78
f1319b72 57Source104: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-US.langpack.xpi
b8379d78 58# Source104-md5: f7b68e830567a94fb6edf38dbe57d1df
f1319b72 59Source105: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-AR.langpack.xpi
b8379d78 60# Source105-md5: 26b70a8f80ce91fb1ac084e6b9f64a10
f1319b72 61Source106: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-ES.langpack.xpi
b8379d78 62# Source106-md5: d348adbe80b2ef64f9a4a25af48d572e
f1319b72 63Source107: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fi.langpack.xpi
b8379d78 64# Source107-md5: 058fa778412409991be773689d180d5e
f1319b72 65Source108: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fr.langpack.xpi
b8379d78 66# Source108-md5: 389943fd55829de5ca71e2e426ee41bd
f1319b72 67Source109: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.hu.langpack.xpi
b8379d78 68# Source109-md5: 3b3bd3dfddc5d1668c7e043a5d28ef81
f1319b72 69Source110: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.it.langpack.xpi
b8379d78 70# Source110-md5: 3bc75eaa9c792571914fb91a1c787f0f
f1319b72 71Source111: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ja.langpack.xpi
b8379d78 72# Source111-md5: aaf51217dbcce1ff6c875c59ec3b2500
f1319b72 73Source112: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ka.langpack.xpi
b8379d78 74# Source112-md5: 0f50f6b769ec4f1398811fd20d0936a7
f1319b72 75Source113: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nb-NO.langpack.xpi
b8379d78 76# Source113-md5: 2a865cf7c201e4aa4632e6a8e3209b68
f1319b72 77Source114: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nl.langpack.xpi
b8379d78 78# Source114-md5: df61de39057a4390a50f731a6c8844cf
f1319b72 79Source115: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pl.langpack.xpi
b8379d78 80# Source115-md5: db421324d0c24b5b91b756956f7e12a9
f1319b72 81Source116: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-BR.langpack.xpi
b8379d78 82# Source116-md5: 4ba22a80c4d3f9f450b4e902606743e2
f1319b72 83Source117: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-PT.langpack.xpi
b8379d78 84# Source117-md5: 6aeca0889c40fb155780a702ae374bfb
f1319b72 85Source118: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ru.langpack.xpi
b8379d78 86# Source118-md5: a9191b11a790a538a2e67bfc881cd784
f1319b72 87Source119: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sk.langpack.xpi
b8379d78 88# Source119-md5: 3570093a6734db6c6d203a3350d24abf
f1319b72 89Source120: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sv-SE.langpack.xpi
b8379d78 90# Source120-md5: e9b340d91a56b7f6074b97bc343c0065
f1319b72 91Source121: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-CN.langpack.xpi
b8379d78 92# Source121-md5: f8de38dc004fb333def675da78e0a689
f1319b72 93Source122: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-TW.langpack.xpi
b8379d78 94# Source122-md5: e768719745ee8abbc3148b36436c7d7e
6930f277
JB
95Patch1: %{name}-mozilla-revert-1332139.patch
96Patch2: %{name}-pld-branding.patch
c7d608a7 97Patch3: %{name}-enable-addons.patch
16e155ba 98# Edit patch below and restore --system-site-packages when system virtualenv gets 1.7 upgrade
ceb753a6
JB
99Patch4: %{name}-system-virtualenv.patch
100Patch5: %{name}-icu-detect.patch
ceb753a6 101URL: https://www.seamonkey-project.org/
bd8dbb8a 102BuildRequires: GConf2-devel >= 1.2.1
7c87af2b
JR
103BuildRequires: OpenGL-devel
104BuildRequires: alsa-lib-devel
ceb753a6 105BuildRequires: autoconf2_13 >= 2.13
7c87af2b 106BuildRequires: bzip2-devel
b8379d78
JB
107%{?with_system_cairo:BuildRequires: cairo-devel >= 1.10.2-5}
108BuildRequires: cargo
7c87af2b 109BuildRequires: dbus-glib-devel >= 0.60
ceb753a6 110BuildRequires: fontconfig-devel >= 1:2.7.0
b19e17d8 111BuildRequires: freetype-devel >= 1:2.1.8
ceb753a6 112BuildRequires: glib2-devel >= 1:2.22
6930f277
JB
113BuildRequires: gtk+2-devel >= 2:2.18
114BuildRequires: gtk+3-devel >= 3.4.0
7c87af2b
JR
115%{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1}
116BuildRequires: hunspell-devel
ceb753a6
JB
117# DECnet (dnprogs.spec), not dummy net (libdnet.spec)
118#BuildRequires: libdnet-devel
7c87af2b 119BuildRequires: libevent-devel >= 1.4.7
bd8dbb8a
JR
120# standalone libffi 3.0.9 or gcc's from 4.5(?)+
121BuildRequires: libffi-devel >= 6:3.0.9
c7d608a7 122BuildRequires: libicu-devel >= 50.1
16e155ba 123# requires libjpeg-turbo implementing at least libjpeg 6b API
b19e17d8 124BuildRequires: libjpeg-devel >= 6b
16e155ba 125BuildRequires: libjpeg-turbo-devel
7c87af2b
JR
126BuildRequires: libnotify-devel >= 0.4
127BuildRequires: libpng(APNG)-devel >= 0.10
b8379d78 128BuildRequires: libpng-devel >= 2:1.6.35
ceb753a6
JB
129BuildRequires: libstdc++-devel >= 6:4.7
130BuildRequires: libvpx-devel >= 1.5.0
757edfb3 131BuildRequires: mozldap-devel >= 6.0
7c87af2b
JR
132BuildRequires: nspr-devel >= 1:%{nspr_ver}
133BuildRequires: nss-devel >= 1:%{nss_ver}
757edfb3 134BuildRequires: pango-devel >= 1:1.22.0
bd8dbb8a 135BuildRequires: perl-base >= 1:5.6
7c87af2b 136BuildRequires: perl-modules >= 5.004
ceb753a6 137BuildRequires: pixman-devel >= 0.19.2
b19e17d8 138BuildRequires: pkgconfig
ceb753a6
JB
139BuildRequires: python >= 1:2.7
140BuildRequires: python-modules >= 1:2.7
80e2f4a2 141BuildRequires: python-virtualenv >= 15
f1319b72 142BuildRequires: rpm-build >= 4.6
7c87af2b 143BuildRequires: rpmbuild(macros) >= 1.601
b8379d78 144BuildRequires: rust >= 1.47.0
b19e17d8 145BuildRequires: sed >= 4.0
7c87af2b 146BuildRequires: startup-notification-devel >= 0.8
ceb753a6 147BuildRequires: tar >= 1:1.22
c7d608a7 148BuildRequires: xorg-lib-libX11-devel
ceb753a6
JB
149BuildRequires: xorg-lib-libXcomposite-devel
150BuildRequires: xorg-lib-libXdamage-devel
f5fed05a 151BuildRequires: xorg-lib-libXext-devel
ceb753a6 152BuildRequires: xorg-lib-libXfixes-devel
f5fed05a 153BuildRequires: xorg-lib-libXt-devel
ceb753a6
JB
154BuildRequires: xz
155%ifarch %{ix86} %{x8664}
156BuildRequires: yasm >= 1.0.1
7c87af2b
JR
157%endif
158BuildRequires: zip
510dc0c3 159BuildRequires: zlib-devel >= 1.2.3
7c87af2b
JR
160Requires(post): mktemp >= 1.5-18
161Requires: desktop-file-utils
ceb753a6 162Requires: fontconfig >= 1:2.7.0
7c87af2b 163Requires: hicolor-icon-theme
6d3a5031 164Requires: browser-plugins >= 2.0
b8379d78 165%{?with_system_cairo:Requires: cairo >= 1.10.2-5}
7c87af2b 166Requires: dbus-glib >= 0.60
ceb753a6 167Requires: glib2 >= 1:2.22
6930f277
JB
168Requires: gtk+2 >= 2:2.18
169Requires: gtk+3 >= 3.4.0
16e155ba 170Requires: libjpeg-turbo
b8379d78 171Requires: libpng >= 2:1.6.35
7c87af2b 172Requires: libpng(APNG) >= 0.10
ceb753a6 173Requires: libvpx >= 1.5.0
7c87af2b
JR
174Requires: myspell-common
175Requires: nspr >= 1:%{nspr_ver}
176Requires: nss >= 1:%{nss_ver}
757edfb3 177Requires: pango >= 1:1.22.0
ceb753a6 178Requires: pixman >= 0.19.2
7c87af2b 179Requires: startup-notification >= 0.8
488e9642 180Provides: seamonkey-embedded = %{version}-%{release}
b19e17d8 181Provides: wwwbrowser
010d2414
JB
182Obsoletes: iceape < 2.47
183Obsoletes: iceape-js-debugger < 2.40
184Obsoletes: iceape-lang-be < 2.47
185Obsoletes: iceape-lang-ca < 2.47
186Obsoletes: iceape-lang-gl < 2.47
187Obsoletes: iceape-lang-lt < 2.47
188Obsoletes: iceape-lang-tr < 2.47
189Obsoletes: iceape-lang-uk < 2.47
190Obsoletes: iceape-mailnews < 2.9
191Obsoletes: iceape-gnomevfs < 2.9
192Obsoletes: light < 1.4.13
193Obsoletes: mozilla < 1.8
194Obsoletes: mozilla-gnomevfs < 1.8
195Obsoletes: mozilla-js-debugger < 1.8
196Obsoletes: mozilla-mailnews < 1.8
197Obsoletes: seamonkey-calendar < 1.1
198Obsoletes: seamonkey-js-debugger < 2.31
199Obsoletes: seamonkey-lang-be < 2.47
200Obsoletes: seamonkey-lang-ca < 2.47
201Obsoletes: seamonkey-lang-gl < 2.47
6930f277 202Obsoletes: seamonkey-lang-lt < 2.53
010d2414
JB
203Obsoletes: seamonkey-lang-tr < 2.47
204Obsoletes: seamonkey-lang-uk < 2.47
205Obsoletes: seamonkey-libs < 1.1.8-2
206Obsoletes: seamonkey-mailnews < 2.9.1
207Obsoletes: seamonkey-gnomevfs < 2.9.1
16e155ba 208Conflicts: seamonkey-lang-resources < %{version}
cf1b00fe
JB
209# TODO: change to supported archs list
210ExcludeArch: x32
b19e17d8
JB
211BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
212
bd8dbb8a
JR
213%define topdir %{_builddir}/%{name}-%{version}
214%define objdir %{topdir}/obj-%{_target_cpu}
215
216%define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
7c87af2b
JR
217
218# don't satisfy other packages
219%define _noautoprovfiles %{_libdir}/%{name}
92482a22 220# and as we don't provide them, don't require either
f1319b72 221%define _noautoreq liblgpllibs.so libmozavcodec.so libmozavutil.so libmozgtk.so libmozsandbox.so libmozsqlite3.so libxul.so
92482a22 222
b19e17d8 223%description
dc51aa63
ER
224SeaMonkey Community Edition is an open-source web browser, designed
225for standards compliance, performance and portability.
b19e17d8 226
97d18aeb 227%description -l es.UTF-8
dc51aa63 228SeaMonkey Community Edition es un navegador de Internet que se basa en
97d18aeb 229una versión inicial de Netscape Communicator.
b19e17d8 230
97d18aeb
JR
231%description -l pl.UTF-8
232SeaMonkey Community Edition jest potężną graficzną przeglądarką WWW,
233która jest następcą Mozilli, która następnie była następczynią
dc51aa63 234Netscape Communikatora.
b19e17d8 235
97d18aeb
JR
236%description -l pt_BR.UTF-8
237O SeaMonkey Community Edition é um web browser baseado numa versão
dc51aa63 238inicial do Netscape Communicator.
b19e17d8 239
97d18aeb
JR
240%description -l ru.UTF-8
241SeaMonkey Community Edition - полнофункциональный web-browser с
242открытыми исходными текстами, разработанный для максимального
243соотвествия стандартам, максмимальной переносимости и скорости работы
b19e17d8 244
50d95fcd
JB
245%package addon-lightning
246Summary: An integrated calendar for SeaMonkey
247Summary(pl.UTF-8): Zintegrowany kalendarz dla SeaMonkey
248Group: Applications/Networking
249Requires: %{name} = %{version}-%{release}
010d2414 250Obsoletes: iceape-addon-lightning < 2.46
50d95fcd
JB
251
252%description addon-lightning
253Lightning is an calendar extension to Icedove email client.
254
255%description addon-lightning -l pl.UTF-8
256Lightning to rozszerzenie do klienta poczty Icedove dodające
257funkcjonalność kalendarza.
258
259%package chat
260Summary: SeaMonkey Community Edition Chat - integrated IRC client
261Summary(pl.UTF-8): SeaMonkey Community Edition Chat - zintegrowany klient IRC-a
262Group: X11/Applications/Networking
263Requires(post,postun): %{name} = %{version}-%{release}
264Requires: %{name} = %{version}-%{release}
010d2414
JB
265Obsoletes: iceape-chat < 2.46
266Obsoletes: mozilla-chat < 1.8
50d95fcd
JB
267
268%description chat
269SeaMonkey Community Edition Chat - IRC client that is integrated with
270the SeaMonkey Community Edition web browser.
271
272%description chat -l pl.UTF-8
273SeaMonkey Community Edition Chat - klient IRC-a zintegrowany z
274przeglądarką SeaMonkey Community Edition.
275
276%package dom-inspector
277Summary: A tool for inspecting the DOM of pages in SeaMonkey Community Edition
278Summary(pl.UTF-8): Narzędzie do oglądania DOM stron w SeaMonkey Community Edition
279Group: X11/Applications/Networking
280Requires(post,postun): %{name} = %{version}-%{release}
281Requires: %{name} = %{version}-%{release}
010d2414
JB
282Obsoletes: iceape-dom-inspector < 2.46
283Obsoletes: mozilla-dom-inspector < 1.8
50d95fcd
JB
284
285%description dom-inspector
286This is a tool that allows you to inspect the DOM for web pages in
287SeaMonkey Community Edition. This is of great use to people who are
288doing SeaMonkey Community Edition chrome development or web page
289development.
290
291%description dom-inspector -l pl.UTF-8
292To narzędzie pozwala na oglądanie DOM dla stron WWW w SeaMonkey
293Community Edition. Jest bardzo przydatne dla ludzi rozwijających
294chrome w SeaMonkey Community Edition lub tworzących strony WWW.
295
048deb2d
JR
296%package lang-cs
297Summary: Czech resources for SeaMonkey
298Summary(pl.UTF-8): Czeskie pliki językowe dla SeaMonkeya
299Group: I18n
300Requires: seamonkey >= %{version}
301Provides: seamonkey-lang-resources = %{version}
010d2414 302Obsoletes: iceape-lang-cs < 2.47
048deb2d
JR
303BuildArch: noarch
304
305%description lang-cs
306Czech resources for SeaMonkey.
307
308%description lang-cs -l pl.UTF-8
309Czeskie pliki językowe dla SeaMonkeya.
310
311%package lang-de
312Summary: German resources for SeaMonkey
313Summary(pl.UTF-8): Niemieckie pliki językowe dla SeaMonkeya
314Group: I18n
315Requires: seamonkey >= %{version}
316Provides: seamonkey-lang-resources = %{version}
010d2414 317Obsoletes: iceape-lang-de < 2.47
048deb2d
JR
318BuildArch: noarch
319
320%description lang-de
321German resources for SeaMonkey.
322
323%description lang-de -l pl.UTF-8
324Niemieckie pliki językowe dla SeaMonkeya.
325
f1319b72
JB
326%package lang-el
327Summary: Greek resources for SeaMonkey
328Summary(pl.UTF-8): Greckie pliki językowe dla SeaMonkeya
329Group: I18n
330Requires: seamonkey >= %{version}
331Provides: seamonkey-lang-resources = %{version}
332BuildArch: noarch
333
334%description lang-el
335Greek resources for SeaMonkey.
336
337%description lang-el -l pl.UTF-8
338Greckie pliki językowe dla SeaMonkeya.
339
048deb2d
JR
340%package lang-en_GB
341Summary: English (British) resources for SeaMonkey
342Summary(pl.UTF-8): Angielskie (brytyjskie) pliki językowe dla SeaMonkeya
343Group: I18n
344Requires: seamonkey >= %{version}
345Provides: seamonkey-lang-resources = %{version}
010d2414 346Obsoletes: iceape-lang-en_GB < 2.47
048deb2d
JR
347BuildArch: noarch
348
349%description lang-en_GB
350English (British) resources for SeaMonkey.
351
352%description lang-en_GB -l pl.UTF-8
353Angielskie (brytyjskie) pliki językowe dla SeaMonkeya.
354
355%package lang-en_US
356Summary: English (American) resources for SeaMonkey
357Summary(pl.UTF-8): Angielskie (amerykańskie) pliki językowe dla SeaMonkeya
358Group: I18n
359Requires: seamonkey >= %{version}
360Provides: seamonkey-lang-resources = %{version}
010d2414 361Obsoletes: iceape-lang-en_US < 2.47
048deb2d
JR
362BuildArch: noarch
363
364%description lang-en_US
365English (American) resources for SeaMonkey.
366
367%description lang-en_US -l pl.UTF-8
368Angielskie (amerykańskie) pliki językowe dla SeaMonkeya.
369
370%package lang-es_AR
371Summary: Spanish (Andorra) resources for SeaMonkey
372Summary(ca.UTF-8): Recursos espanyols (Andorra) per SeaMonkey
373Summary(es.UTF-8): Recursos españoles (Andorra) para SeaMonkey
374Summary(pl.UTF-8): Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Andory)
375Group: I18n
376Requires: seamonkey >= %{version}
377Provides: seamonkey-lang-resources = %{version}
010d2414 378Obsoletes: iceape-lang-es_AR < 2.47
048deb2d
JR
379BuildArch: noarch
380
381%description lang-es_AR
382Spanish (Spain) resources for SeaMonkey.
383
384%description lang-es_AR -l ca.UTF-8
385Recursos espanyols (Andorra) per SeaMonkey.
386
387%description lang-es_AR -l es.UTF-8
388Recursos españoles (Andorra) para SeaMonkey.
389
390%description lang-es_AR -l pl.UTF-8
391Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Andory).
392
393%package lang-es
394Summary: Spanish (Spain) resources for SeaMonkey
395Summary(ca.UTF-8): Recursos espanyols (Espanya) per SeaMonkey
396Summary(es.UTF-8): Recursos españoles (España) para SeaMonkey
397Summary(pl.UTF-8): Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Hiszpanii)
398Group: I18n
399Requires: seamonkey >= %{version}
400Provides: seamonkey-lang-resources = %{version}
010d2414 401Obsoletes: iceape-lang-es < 2.47
048deb2d
JR
402BuildArch: noarch
403
404%description lang-es
405Spanish (Spain) resources for SeaMonkey.
406
407%description lang-es -l ca.UTF-8
408Recursos espanyols (Espanya) per SeaMonkey.
409
410%description lang-es -l es.UTF-8
411Recursos españoles (España) para SeaMonkey.
412
413%description lang-es -l pl.UTF-8
414Hiszpańskie pliki językowe dla SeaMonkeya (wersja dla Hiszpanii).
415
6930f277
JB
416%package lang-fi
417Summary: Finnish resources for SeaMonkey
418Summary(pl.UTF-8): Fińskie pliki językowe dla SeaMonkeya
419Group: I18n
420Requires: seamonkey >= %{version}
421Provides: seamonkey-lang-resources = %{version}
010d2414 422Obsoletes: iceape-lang-fi < 2.47
6930f277
JB
423BuildArch: noarch
424
425%description lang-fi
426Finnish resources for SeaMonkey.
427
428%description lang-fi -l pl.UTF-8
429Fińskie pliki językowe dla SeaMonkeya.
430
048deb2d
JR
431%package lang-fr
432Summary: French resources for SeaMonkey
433Summary(pl.UTF-8): Francuskie pliki językowe dla SeaMonkeya
434Group: I18n
435Requires: seamonkey >= %{version}
436Provides: seamonkey-lang-resources = %{version}
010d2414 437Obsoletes: iceape-lang-fr < 2.47
048deb2d
JR
438BuildArch: noarch
439
440%description lang-fr
441French resources for SeaMonkey.
442
443%description lang-fr -l pl.UTF-8
444Francuskie pliki językowe dla SeaMonkeya.
445
446%package lang-hu
447Summary: Hungarian resources for SeaMonkey
448Summary(hu.UTF-8): Magyar nyelv SeaMonkey-hez
449Summary(pl.UTF-8): Węgierskie pliki językowe dla SeaMonkeya
450Group: I18n
451Requires: seamonkey >= %{version}
452Provides: seamonkey-lang-resources = %{version}
010d2414 453Obsoletes: iceape-lang-hu < 2.47
048deb2d
JR
454BuildArch: noarch
455
456%description lang-hu
457Hungarian resources for SeaMonkey.
458
459%description lang-hu -l hu.UTF-8
460Magyar nyelv SeaMonkey-hez.
461
462%description lang-hu -l pl.UTF-8
463Węgierskie pliki językowe dla SeaMonkeya.
464
465%package lang-it
466Summary: Italian resources for SeaMonkey
467Summary(pl.UTF-8): Włoskie pliki językowe dla SeaMonkeya
468Group: I18n
469Requires: seamonkey >= %{version}
470Provides: seamonkey-lang-resources = %{version}
010d2414 471Obsoletes: iceape-lang-it < 2.47
048deb2d
JR
472BuildArch: noarch
473
474%description lang-it
475Italian resources for SeaMonkey.
476
477%description lang-it -l pl.UTF-8
478Włoskie pliki językowe dla SeaMonkeya.
479
480%package lang-ja
481Summary: Japanese resources for SeaMonkey
482Summary(pl.UTF-8): Japońskie pliki językowe dla SeaMonkeya
483Group: I18n
484Requires: seamonkey >= %{version}
485Provides: seamonkey-lang-resources = %{version}
010d2414 486Obsoletes: iceape-lang-ja < 2.47
048deb2d
JR
487BuildArch: noarch
488
489%description lang-ja
490Japanese resources for SeaMonkey.
491
492%description lang-ja -l pl.UTF-8
493Japońskie pliki językowe dla SeaMonkeya.
494
6930f277
JB
495%package lang-ka
496Summary: Georgian resources for SeaMonkey
497Summary(pl.UTF-8): Gruzińskie pliki językowe dla SeaMonkeya
498Group: I18n
499Requires: seamonkey >= %{version}
500Provides: seamonkey-lang-resources = %{version}
501BuildArch: noarch
502
503%description lang-ka
504Georgian resources for SeaMonkey.
505
506%description lang-ka -l pl.UTF-8
507Gruzińskie pliki językowe dla SeaMonkeya.
508
048deb2d
JR
509%package lang-lt
510Summary: Lithuanian resources for SeaMonkey
511Summary(pl.UTF-8): Litewskie pliki językowe dla SeaMonkeya
512Group: I18n
513Requires: seamonkey >= %{version}
514Provides: seamonkey-lang-resources = %{version}
010d2414 515Obsoletes: iceape-lang-lt < 2.47
048deb2d
JR
516BuildArch: noarch
517
518%description lang-lt
519Lithuanian resources for SeaMonkey.
520
521%description lang-lt -l pl.UTF-8
522Litewskie pliki językowe dla SeaMonkeya.
523
5a870fa3
JB
524%package lang-nb
525Summary: Norwegian Bokmaal resources for SeaMonkey
526Summary(pl.UTF-8): Norweskie (bokmaal) pliki językowe dla SeaMonkeya
527Group: I18n
528Requires: seamonkey >= %{version}
529Provides: seamonkey-lang-resources = %{version}
010d2414 530Obsoletes: iceape-lang-nb < 2.47
5a870fa3
JB
531BuildArch: noarch
532
533%description lang-nb
534Norwegian Bokmaal resources for SeaMonkey.
535
536%description lang-nb -l pl.UTF-8
537Norweskie (bokmaal) pliki językowe dla SeaMonkeya.
538
048deb2d
JR
539%package lang-nl
540Summary: Dutch resources for SeaMonkey
541Summary(pl.UTF-8): Holenderskie pliki językowe dla SeaMonkeya
542Group: I18n
543Requires: seamonkey >= %{version}
544Provides: seamonkey-lang-resources = %{version}
010d2414 545Obsoletes: iceape-lang-nl < 2.47
048deb2d
JR
546BuildArch: noarch
547
548%description lang-nl
549Dutch resources for SeaMonkey.
550
551%description lang-nl -l pl.UTF-8
552Holenderskie pliki językowe dla SeaMonkeya.
553
554%package lang-pl
555Summary: Polish resources for SeaMonkey
556Summary(pl.UTF-8): Polskie pliki językowe dla SeaMonkeya
557Group: I18n
558Requires: seamonkey >= %{version}
559Provides: seamonkey-lang-resources = %{version}
010d2414 560Obsoletes: iceape-lang-pl < 2.47
048deb2d
JR
561BuildArch: noarch
562
563%description lang-pl
564Polish resources for SeaMonkey.
565
566%description lang-pl -l pl.UTF-8
567Polskie pliki językowe dla SeaMonkeya.
568
6930f277
JB
569%package lang-pt_BR
570Summary: Portuguese (Brazilian) resources for SeaMonkey
571Summary(pl.UTF-8): Portugalskie pliki językowe dla SeaMonkeya (wersja dla Brazylii)
572Group: I18n
573Requires: seamonkey >= %{version}
574Provides: seamonkey-lang-resources = %{version}
575BuildArch: noarch
576
577%description lang-pt_BR
578Portuguese (Brazilian) resources for SeaMonkey.
579
580%description lang-pt_BR -l pl.UTF-8
581Portugalskie pliki językowe dla SeaMonkeya (wersja dla Brazylii).
582
048deb2d
JR
583%package lang-pt
584Summary: Portuguese (Portugal) resources for SeaMonkey
585Summary(pl.UTF-8): Portugalskie pliki językowe dla SeaMonkeya (wersja dla Portugalii)
586Group: I18n
587Requires: seamonkey >= %{version}
588Provides: seamonkey-lang-resources = %{version}
010d2414 589Obsoletes: iceape-lang-pt < 2.47
048deb2d
JR
590BuildArch: noarch
591
592%description lang-pt
593Portuguese (Portugal) resources for SeaMonkey.
594
595%description lang-pt -l pl.UTF-8
596Portugalskie pliki językowe dla SeaMonkeya (wersja dla Portugalii).
597
598%package lang-ru
599Summary: Russian resources for SeaMonkey
600Summary(pl.UTF-8): Rosyjskie pliki językowe dla SeaMonkeya
601Group: I18n
602Requires: seamonkey >= %{version}
603Provides: seamonkey-lang-resources = %{version}
010d2414 604Obsoletes: iceape-lang-ru < 2.47
048deb2d
JR
605BuildArch: noarch
606
607%description lang-ru
608Russian resources for SeaMonkey.
609
610%description lang-ru -l pl.UTF-8
611Rosyjskie pliki językowe dla SeaMonkeya.
612
613%package lang-sk
614Summary: Slovak resources for SeaMonkey
615Summary(pl.UTF-8): Słowackie pliki językowe dla SeaMonkeya
616Group: I18n
617Requires: seamonkey >= %{version}
618Provides: seamonkey-lang-resources = %{version}
010d2414 619Obsoletes: iceape-lang-sk < 2.47
048deb2d
JR
620BuildArch: noarch
621
622%description lang-sk
623Slovak resources for SeaMonkey.
624
625%description lang-sk -l pl.UTF-8
626Słowackie pliki językowe dla SeaMonkeya.
627
628%package lang-sv
629Summary: Swedish resources for SeaMonkey
630Summary(pl.UTF-8): Szwedzkie pliki językowe dla SeaMonkeya
631Group: I18n
632Requires: seamonkey >= %{version}
633Provides: seamonkey-lang-resources = %{version}
010d2414 634Obsoletes: iceape-lang-sv < 2.47
048deb2d
JR
635BuildArch: noarch
636
637%description lang-sv
638Swedish resources for SeaMonkey.
639
640%description lang-sv -l pl.UTF-8
641Szwedzkie pliki językowe dla SeaMonkeya.
642
643%package lang-zh_CN
644Summary: Simplified Chinese resources for SeaMonkey
645Summary(pl.UTF-8): Chińskie (uproszczone) pliki językowe dla SeaMonkeya
646Group: I18n
647Requires: seamonkey >= %{version}
648Provides: seamonkey-lang-resources = %{version}
010d2414 649Obsoletes: iceape-lang-zh_CN < 2.47
048deb2d
JR
650BuildArch: noarch
651
652%description lang-zh_CN
653Simplified Chinese resources for SeaMonkey.
654
655%description lang-zh_CN -l pl.UTF-8
656Chińskie uproszczone pliki językowe dla SeaMonkeya.
657
658%package lang-zh_TW
659Summary: Traditional Chinese resources for SeaMonkey
660Summary(pl.UTF-8): Chińskie tradycyjne pliki językowe dla SeaMonkeya
661Group: I18n
662Requires: seamonkey >= %{version}
663Provides: seamonkey-lang-resources = %{version}
010d2414 664Obsoletes: iceape-lang-zh_TW < 2.47
048deb2d
JR
665BuildArch: noarch
666
667%description lang-zh_TW
668Traditional Chinese resources for SeaMonkey.
669
670%description lang-zh_TW -l pl.UTF-8
671Chińskie tradycyjne pliki językowe dla SeaMonkeya.
672
b19e17d8 673%prep
048deb2d
JR
674unpack() {
675 local args="$1" file="$2"
676 cp -p $file .
677}
678%define __unzip unpack
f1319b72 679%setup -q %(seq -f '-a %g' 100 122 | xargs)
bd8dbb8a
JR
680%patch1 -p1
681%patch2 -p1
757edfb3 682%patch3 -p1
bd8dbb8a 683%patch4 -p1
2f09c133 684%patch5 -p1
bd8dbb8a
JR
685
686%build
bd8dbb8a
JR
687cat << EOF > .mozconfig
688mk_add_options MOZ_OBJDIR=%{objdir}
689
6930f277
JB
690export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
691export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
692
693%if %{with lowmem}
694export CFLAGS="$CFLAGS -g0"
695export CXXFLAGS="$CXXFLAGS -g0"
696export MOZ_DEBUG_FLAGS=" "
697export LLVM_USE_SPLIT_DWARF=1
698export LLVM_PARALLEL_LINK_JOBS=1
699export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
700export RUSTFLAGS="-Cdebuginfo=0"
701%endif
702
bd8dbb8a
JR
703%if %{with crashreporter}
704export MOZ_DEBUG_SYMBOLS=1
705%endif
706
707# Options for 'configure' (same as command-line options).
708ac_add_options --prefix=%{_prefix}
6930f277 709ac_add_options --libdir=%{_libdir}
bd8dbb8a
JR
710%if %{?debug:1}0
711ac_add_options --disable-optimize
5a870fa3 712ac_add_options --enable-crash-on-assert
bd8dbb8a
JR
713ac_add_options --enable-debug
714ac_add_options --enable-debug-modules
715ac_add_options --enable-debugger-info-modules
c1527db1 716%else
bd8dbb8a 717ac_add_options --disable-debug
c1527db1 718%endif
bd8dbb8a 719ac_add_options --disable-strip
6930f277 720ac_add_options --disable-install-strip
bd8dbb8a
JR
721%if %{with tests}
722ac_add_options --enable-tests
723%else
724ac_add_options --disable-tests
725%endif
bd8dbb8a
JR
726%if %{with crashreporter}
727ac_add_options --enable-crashreporter
728%else
729ac_add_options --disable-crashreporter
730%endif
ceb753a6 731ac_add_options --disable-elf-hack
ceb753a6 732ac_add_options --disable-necko-wifi
bd8dbb8a 733ac_add_options --disable-updater
f1319b72 734ac_add_options --enable-application=comm/suite
50d95fcd
JB
735%if %{with lightning}
736ac_add_options --enable-calendar
737%endif
ceb753a6 738ac_add_options --enable-chrome-format=omni
6930f277
JB
739ac_add_options --enable-default-toolkit=cairo-gtk3
740ac_add_options --enable-dominspector
50d95fcd 741ac_add_options --enable-extensions=default
6930f277 742ac_add_options --enable-irc
b8379d78
JB
743%if %{without gold}
744ac_add_options --enable-linker=bfd
745%endif
ceb753a6
JB
746# breaks build
747#ac_add_options --enable-shared-js
bd8dbb8a 748ac_add_options --enable-startup-notification
b8379d78 749%if %{with system_cairo}
bd8dbb8a 750ac_add_options --enable-system-cairo
b8379d78 751%endif
bd8dbb8a 752ac_add_options --enable-system-hunspell
bd8dbb8a 753ac_add_options --with-distribution-id=org.pld-linux
bd8dbb8a
JR
754ac_add_options --with-system-bz2
755ac_add_options --with-system-ffi
757edfb3 756ac_add_options --with-system-icu
bd8dbb8a
JR
757ac_add_options --with-system-jpeg
758ac_add_options --with-system-libevent
759ac_add_options --with-system-libvpx
760ac_add_options --with-system-nspr
761ac_add_options --with-system-nss
6930f277 762ac_add_options --with-system-pixman
bd8dbb8a
JR
763ac_add_options --with-system-png
764ac_add_options --with-system-zlib
bd8dbb8a 765EOF
b19e17d8 766
509394b9 767%{__make} -j1 build \
ceb753a6 768 AUTOCONF=/usr/bin/autoconf2_13 \
bd8dbb8a
JR
769 STRIP="/bin/true" \
770 MOZ_MAKE_FLAGS="%{?_smp_mflags}" \
2607f7aa 771 installdir=%{_libdir}/%{name} \
16e155ba 772 XLIBS="-lX11 -lXt" \
bd8dbb8a 773 CC="%{__cc}" \
6930f277 774 CXX="%{__cxx}"
b19e17d8 775
bd8dbb8a
JR
776%if %{with crashreporter}
777# create debuginfo for crash-stats.mozilla.com
778%{__make} -j1 -C obj-%{_target_cpu} buildsymbols
779%endif
780
b19e17d8
JB
781%install
782rm -rf $RPM_BUILD_ROOT
783install -d \
2607f7aa 784 $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} \
b19e17d8 785 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
bd8dbb8a 786 $RPM_BUILD_ROOT%{_datadir}/%{name} \
757edfb3
JB
787 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins \
788 $RPM_BUILD_ROOT%{_mandir}/man1
b19e17d8 789
bd8dbb8a 790%browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins
b19e17d8 791
d7cc109a 792cd %{objdir}
c7d608a7 793cwd=`pwd`
f1319b72 794%{__make} -C comm/suite/installer stage-package \
bd8dbb8a 795 DESTDIR=$RPM_BUILD_ROOT \
bd8dbb8a 796 installdir=%{_libdir}/%{name} \
2607f7aa
JR
797 PKG_SKIP_STRIP=1
798
757edfb3
JB
799cp -a dist/seamonkey/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
800cp -p dist/man/man1/seamonkey.1 $RPM_BUILD_ROOT%{_mandir}/man1
b19e17d8 801
d7cc109a
JR
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
805
806# Add debuginfo for crash-stats.mozilla.com
807install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name}
ceb753a6 808cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name}
d7cc109a
JR
809%endif
810
5a870fa3 811# move arch independent ones to datadir
ceb753a6
JB
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
5a870fa3 814%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
b19e17d8 815
bd8dbb8a
JR
816ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
817ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
5a870fa3 818ln -s ../../share/%{name}/fonts $RPM_BUILD_ROOT%{_libdir}/%{name}/fonts
c7d608a7 819
ceb753a6 820%{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp
eebfc2d2 821ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp
bd8dbb8a 822
d7cc109a
JR
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
826install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions
827
bd8dbb8a
JR
828%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
829ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
b19e17d8 830
16e155ba 831sed 's,@LIBDIR@,%{_libdir},' %{SOURCE9} > $RPM_BUILD_ROOT%{_bindir}/seamonkey
bd8dbb8a 832chmod a+rx $RPM_BUILD_ROOT%{_bindir}/seamonkey
b19e17d8 833
ceb753a6 834install %{SOURCE4} %{SOURCE5} %{SOURCE7} \
824eb755 835 $RPM_BUILD_ROOT%{_desktopdir}
b19e17d8 836
6930f277 837for d in 16 32 48 64 128 ; do
ceb753a6 838install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps
f1319b72 839cp -p %{topdir}/comm/suite/branding/seamonkey/default${d}.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${d}x${d}/apps/%{name}.png
ceb753a6 840done
b19e17d8 841
ceb753a6
JB
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
845
048deb2d
JR
846cd ..
847for a in *.xpi; do
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
851done
852
6930f277
JB
853%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{license.txt,precomplete,removed-files}
854
b19e17d8
JB
855%clean
856rm -rf $RPM_BUILD_ROOT
857
6d3a5031 858%post
6d3a5031 859%update_browser_plugins
ceb753a6 860%update_icon_cache hicolor
d7cc109a 861%update_desktop_database
6d3a5031
ER
862
863%postun
6d3a5031
ER
864if [ "$1" = 0 ]; then
865 %update_browser_plugins
ceb753a6 866 %update_icon_cache hicolor
6d3a5031 867fi
b19e17d8 868
b19e17d8
JB
869%files
870%defattr(644,root,root,755)
ceb753a6 871%doc AUTHORS
acf8815d 872%attr(755,root,root) %{_bindir}/seamonkey
757edfb3 873%{_mandir}/man1/seamonkey.1*
b19e17d8 874
6d3a5031
ER
875# browser plugins v2
876%{_browserpluginsconfdir}/browsers.d/%{name}.*
877%config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
878
d7cc109a 879%dir %{_libdir}/%{name}
ceb753a6 880%attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
5a870fa3
JB
881%attr(755,root,root) %{_libdir}/%{name}/libmozavcodec.so
882%attr(755,root,root) %{_libdir}/%{name}/libmozavutil.so
ceb753a6 883%attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
5a870fa3 884%attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
f1319b72 885%attr(755,root,root) %{_libdir}/%{name}/libmozsqlite3.so
2607f7aa 886%attr(755,root,root) %{_libdir}/%{name}/libxul.so
ceb753a6
JB
887%dir %{_libdir}/%{name}/gtk2
888%attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so
d7cc109a 889
2607f7aa 890%{_libdir}/%{name}/blocklist.xml
c7d608a7 891%{_libdir}/%{name}/omni.ja
d7cc109a 892
2607f7aa
JR
893%if %{with crashreporter}
894%{_libdir}/%{name}/crashreporter
895%{_libdir}/%{name}/crashreporter-override.ini
896%{_libdir}/%{name}/crashreporter.ini
897%{_libdir}/%{name}/Throbber-small.gif
898%endif
899
900# config?
901%{_libdir}/%{name}/application.ini
902%{_libdir}/%{name}/chrome.manifest
903
16e155ba 904%{_libdir}/%{name}/dependentlibs.list
2607f7aa 905%{_libdir}/%{name}/platform.ini
2607f7aa
JR
906%attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh
907%attr(755,root,root) %{_libdir}/%{name}/seamonkey-bin
2607f7aa 908%attr(755,root,root) %{_libdir}/%{name}/plugin-container
2607f7aa 909
16e155ba
JB
910%attr(755,root,root) %{_libdir}/%{name}/seamonkey
911%dir %{_libdir}/%{name}/plugins
912
2607f7aa
JR
913# symlinks
914%{_libdir}/%{name}/chrome
915%{_libdir}/%{name}/defaults
5a870fa3 916%{_libdir}/%{name}/fonts
2607f7aa 917%{_libdir}/%{name}/dictionaries
b19e17d8 918
2607f7aa
JR
919%dir %{_datadir}/%{name}
920%{_datadir}/%{name}/chrome
b19e17d8 921%{_datadir}/%{name}/defaults
5a870fa3 922%{_datadir}/%{name}/fonts
b19e17d8 923
2607f7aa
JR
924%dir %{_datadir}/%{name}/extensions
925%dir %{_libdir}/%{name}/extensions
926# the signature of the default theme
927%{_libdir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
928%{_libdir}/%{name}/extensions/modern@themes.mozilla.org.xpi
b19e17d8 929
2607f7aa
JR
930%{_libdir}/%{name}/isp
931%dir %{_datadir}/%{name}/isp
932%{_datadir}/%{name}/isp/Bogofilter.sfd
933%{_datadir}/%{name}/isp/DSPAM.sfd
934%{_datadir}/%{name}/isp/POPFile.sfd
935%{_datadir}/%{name}/isp/SpamAssassin.sfd
936%{_datadir}/%{name}/isp/SpamPal.sfd
937%{_datadir}/%{name}/isp/movemail.rdf
938%{_datadir}/%{name}/isp/rss.rdf
b19e17d8 939
ceb753a6 940%{_iconsdir}/hicolor/*x*/apps/seamonkey.png
2607f7aa
JR
941%{_desktopdir}/%{name}.desktop
942%{_desktopdir}/%{name}-composer.desktop
824eb755 943%{_desktopdir}/%{name}-mail.desktop
048deb2d 944
50d95fcd
JB
945%if %{with lightning}
946%files addon-lightning
947%defattr(644,root,root,755)
98697bc5 948%{_libdir}/%{name}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi
50d95fcd
JB
949%endif
950
951%files chat
952%defattr(644,root,root,755)
98697bc5 953%{_libdir}/%{name}/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi
50d95fcd
JB
954
955%files dom-inspector
956%defattr(644,root,root,755)
98697bc5 957%{_libdir}/%{name}/extensions/inspector@mozilla.org.xpi
50d95fcd 958
048deb2d
JR
959%files lang-cs
960%defattr(644,root,root,755)
961%{_datadir}/%{name}/extensions/langpack-cs@seamonkey.mozilla.org.xpi
962
963%files lang-de
964%defattr(644,root,root,755)
965%{_datadir}/%{name}/extensions/langpack-de@seamonkey.mozilla.org.xpi
966
f1319b72
JB
967%files lang-el
968%defattr(644,root,root,755)
969%{_datadir}/%{name}/extensions/langpack-el@seamonkey.mozilla.org.xpi
970
048deb2d
JR
971%files lang-en_GB
972%defattr(644,root,root,755)
973%{_datadir}/%{name}/extensions/langpack-en-GB@seamonkey.mozilla.org.xpi
974
975%files lang-en_US
976%defattr(644,root,root,755)
977%{_datadir}/%{name}/extensions/langpack-en-US@seamonkey.mozilla.org.xpi
978
979%files lang-es_AR
980%defattr(644,root,root,755)
981%{_datadir}/%{name}/extensions/langpack-es-AR@seamonkey.mozilla.org.xpi
982
983%files lang-es
984%defattr(644,root,root,755)
985%{_datadir}/%{name}/extensions/langpack-es-ES@seamonkey.mozilla.org.xpi
986
6930f277
JB
987%files lang-fi
988%defattr(644,root,root,755)
989%{_datadir}/%{name}/extensions/langpack-fi@seamonkey.mozilla.org.xpi
990
048deb2d
JR
991%files lang-fr
992%defattr(644,root,root,755)
993%{_datadir}/%{name}/extensions/langpack-fr@seamonkey.mozilla.org.xpi
994
995%files lang-hu
996%defattr(644,root,root,755)
997%{_datadir}/%{name}/extensions/langpack-hu@seamonkey.mozilla.org.xpi
998
999%files lang-it
1000%defattr(644,root,root,755)
1001%{_datadir}/%{name}/extensions/langpack-it@seamonkey.mozilla.org.xpi
1002
1003%files lang-ja
1004%defattr(644,root,root,755)
1005%{_datadir}/%{name}/extensions/langpack-ja@seamonkey.mozilla.org.xpi
1006
6930f277 1007%files lang-ka
048deb2d 1008%defattr(644,root,root,755)
6930f277
JB
1009%{_datadir}/%{name}/extensions/langpack-ka@seamonkey.mozilla.org.xpi
1010
1011#%files lang-lt
1012#%defattr(644,root,root,755)
1013#%{_datadir}/%{name}/extensions/langpack-lt@seamonkey.mozilla.org.xpi
048deb2d 1014
5a870fa3
JB
1015%files lang-nb
1016%defattr(644,root,root,755)
1017%{_datadir}/%{name}/extensions/langpack-nb-NO@seamonkey.mozilla.org.xpi
1018
048deb2d
JR
1019%files lang-nl
1020%defattr(644,root,root,755)
1021%{_datadir}/%{name}/extensions/langpack-nl@seamonkey.mozilla.org.xpi
1022
1023%files lang-pl
1024%defattr(644,root,root,755)
1025%{_datadir}/%{name}/extensions/langpack-pl@seamonkey.mozilla.org.xpi
1026
6930f277
JB
1027%files lang-pt_BR
1028%defattr(644,root,root,755)
1029%{_datadir}/%{name}/extensions/langpack-pt-BR@seamonkey.mozilla.org.xpi
1030
048deb2d
JR
1031%files lang-pt
1032%defattr(644,root,root,755)
1033%{_datadir}/%{name}/extensions/langpack-pt-PT@seamonkey.mozilla.org.xpi
1034
1035%files lang-ru
1036%defattr(644,root,root,755)
1037%{_datadir}/%{name}/extensions/langpack-ru@seamonkey.mozilla.org.xpi
1038
1039%files lang-sk
1040%defattr(644,root,root,755)
1041%{_datadir}/%{name}/extensions/langpack-sk@seamonkey.mozilla.org.xpi
1042
1043%files lang-sv
1044%defattr(644,root,root,755)
1045%{_datadir}/%{name}/extensions/langpack-sv-SE@seamonkey.mozilla.org.xpi
1046
1047%files lang-zh_CN
1048%defattr(644,root,root,755)
1049%{_datadir}/%{name}/extensions/langpack-zh-CN@seamonkey.mozilla.org.xpi
1050
1051%files lang-zh_TW
1052%defattr(644,root,root,755)
1053%{_datadir}/%{name}/extensions/langpack-zh-TW@seamonkey.mozilla.org.xpi
This page took 0.338534 seconds and 4 git commands to generate.