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