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