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