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