ce231b2c1dccabc63a6635d2720def9bd101c469
[packages/thunderbird.git] / thunderbird.spec
1 # TODO:
2 # - build with system mozldap
3 # - do something with *.rdf file, there is file conflict with other lang packages
4 #
5 # Conditional builds
6 %bcond_with     tests           # enable tests (whatever they check)
7 %bcond_without  official        # official Thunderbird branding
8 %bcond_with     crashreporter   # report crashes to crash-stats.mozilla.com
9 %bcond_with     gold            # use gold instead of default linker
10 # - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964
11 %bcond_with     shared_js       # shared libmozjs library [broken]
12 %bcond_without  system_icu      # build without system ICU
13 %bcond_with     system_cairo    # build with system cairo (not supported in 60.0)
14 %bcond_without  system_libvpx   # build with system libvpx
15 %bcond_without  clang           # build using Clang/LLVM
16 %bcond_with     lowmem          # lower memory requirements
17
18 # UPDATING TRANSLATIONS:
19 %if 0
20 rm -vf *.xpi
21 ./builder -g
22 V=31.4.0
23 U=https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/$V/linux-i686/
24 curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
25 %endif
26
27 %define         _enable_debug_packages  0
28
29 %if 0%{?_enable_debug_packages} != 1
30 %undefine       crashreporter
31 %endif
32
33 %ifarch %{ix86} %{arm} aarch64
34 %define         with_lowmem     1
35 %endif
36
37 %define         nspr_ver        4.32
38 %define         nss_ver         3.68
39
40 Summary:        Thunderbird - email client
41 Summary(pl.UTF-8):      Thunderbird - klient poczty
42 Name:           thunderbird
43 Version:        91.0.3
44 Release:        1
45 License:        MPL v2.0
46 Group:          X11/Applications/Mail
47 Source0:        https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz
48 # Source0-md5:  f08dd55b8b1b0baf2c38a88aa3734cf8
49 Source1:        %{name}.desktop
50 Source2:        %{name}.sh
51 Source100:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/af.xpi
52 # Source100-md5:        8c26155e464ca88ea2c0c74956e0d5ee
53 Source101:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
54 # Source101-md5:        ff33bc0a9095b27505787ea015cea399
55 Source102:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
56 # Source102-md5:        1b75ef26977b02ae97eef2c1a0e79f6d
57 Source103:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
58 # Source103-md5:        a41a7539b8badf6dea5af0e8778bcb50
59 Source104:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
60 # Source104-md5:        ffd5f9a35bca0359ff5045a04bcaba5a
61 Source105:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
62 # Source105-md5:        40732d248d3335f4274a90087dcd0e7d
63 Source106:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
64 # Source106-md5:        9ac7fc77b2619c04a6adf94c83f0b077
65 Source107:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
66 # Source107-md5:        b9055068007d6963e59efb9b188b637a
67 Source108:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
68 # Source108-md5:        d3612a226161c6942625c3fb0a012b64
69 Source109:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
70 # Source109-md5:        caa2ee8ef2383468913940dca48575d0
71 Source110:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
72 # Source110-md5:        1273d53f81c67d002d26c022eeac2b1a
73 Source111:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
74 # Source111-md5:        8b9a86c8a92331cc535534e557f2493c
75 Source112:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
76 # Source112-md5:        eb9619d68b6d7ef209af2da9729459a6
77 Source113:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
78 # Source113-md5:        03a6592b02061b5420742c95e6924e97
79 Source114:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
80 # Source114-md5:        74d6c70b16fbd433dd3a60e1f2c7923b
81 Source115:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
82 # Source115-md5:        49de3db6ea7777eb9f52b2910edb7c28
83 Source116:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
84 # Source116-md5:        b3a2c4bd1572f6f7db5d3709330d13a9
85 Source117:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
86 # Source117-md5:        29c99b48807aa6e1b681180abff80179
87 Source118:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
88 # Source118-md5:        b17b6b48ac746f13e61b1518470208d7
89 Source119:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
90 # Source119-md5:        1d9af59b573c556482e5aa00fb73d1d0
91 Source120:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
92 # Source120-md5:        fefb8a9738a35fce6d51e8509a1aee1c
93 Source121:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
94 # Source121-md5:        fa270f7443b597b05234c00eb2f044bb
95 Source122:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
96 # Source122-md5:        cf3af56014df5cac9cf688f133e9828d
97 Source123:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
98 # Source123-md5:        c0f1d89fefba749499e47f0d9aade9ca
99 Source124:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
100 # Source124-md5:        3978769e548b44ac9405930d36524130
101 Source125:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
102 # Source125-md5:        d8ae58c6e5a918688ce135566efe51bd
103 Source126:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
104 # Source126-md5:        4d6bf9de2051af88b4f6f8f85c91dceb
105 Source127:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
106 # Source127-md5:        30c0fcf28ce814930cf0a5434e4274f0
107 Source128:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
108 # Source128-md5:        b09f54d20d9dfe578d689a5ea4d62484
109 Source129:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
110 # Source129-md5:        58eec8505bc9f83fe5b950f1449c38d2
111 Source130:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
112 # Source130-md5:        8b993af3bc6aba91eceb74eb9ab3f025
113 Source131:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
114 # Source131-md5:        95ffa5fb79603d8df98a37694c4aaf31
115 Source132:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
116 # Source132-md5:        37fb41de368f53effebf3f3697105076
117 Source133:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
118 # Source133-md5:        fdc1b5de6244792605d3275f8eb0f0ed
119 Source134:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
120 # Source134-md5:        9ffb17d750f1784b90820b3911afd3fa
121 Source135:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
122 # Source135-md5:        a5ad26516f2b0632e81665907b45742a
123 Source136:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
124 # Source136-md5:        5742d1f15d4bc5c7b58e5f55c1453dca
125 Source137:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
126 # Source137-md5:        0c68c9c92a9ab7c28486cd349af96b30
127 Source138:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
128 # Source138-md5:        898d0761893447c1901ae505001c22ee
129 Source139:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
130 # Source139-md5:        a5e99dedfddefe2143d19f7fcc8ff87c
131 Source140:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
132 # Source140-md5:        65af2af9b445615d90eac32b7e1028c4
133 Source141:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/lv.xpi
134 # Source141-md5:        fa1dda570f6584a9d12c3ddaf00819ad
135 Source142:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
136 # Source142-md5:        54e102c25e11ed55f331d88eebd0f7ec
137 Source143:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
138 # Source143-md5:        498c0805b7fe86cc887218f04d2ff1ec
139 Source144:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
140 # Source144-md5:        76e392e8e468619dca65997cf5c03a5b
141 Source145:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
142 # Source145-md5:        68296bb8a717267f67a0275553e976ec
143 Source146:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
144 # Source146-md5:        84a9832484113cf2b05ad950b1d21997
145 Source147:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
146 # Source147-md5:        0f9657b710331c4ca8b7c9ed5a0f363a
147 Source148:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
148 # Source148-md5:        b1e16df20a82c46512a25684483ab670
149 Source149:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
150 # Source149-md5:        7708643b2537e79e8666489e79932b41
151 Source150:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
152 # Source150-md5:        f9863d30d9a4566f9c4ee28b85a4c2f1
153 Source151:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
154 # Source151-md5:        0353016abc0689cb46a26dc16b33c51c
155 Source152:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
156 # Source152-md5:        157a3efd4f5fac520187a9f8f4b0078d
157 Source153:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
158 # Source153-md5:        5d77d8d282df4d897231b814c0ee6f28
159 Source154:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
160 # Source154-md5:        ea8f5505a86a00f18eb8c275787e0fc3
161 Source155:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
162 # Source155-md5:        380be38bc6b74d70ec65f41fd1633a25
163 Source156:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
164 # Source156-md5:        1b10775cb33994974ff7a61ba9e4e693
165 Source157:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
166 # Source157-md5:        86915b560abf199ec1d814a1b2c46fc0
167 Source158:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
168 # Source158-md5:        6af8e7b10d34d9672b0301e42f2877e2
169 Source159:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
170 # Source159-md5:        6a5f7120f128e129a4121141e6edaa37
171 Source160:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
172 # Source160-md5:        9afe6a619c99e8b8f231bc7ce5ce2e8d
173 Source161:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
174 # Source161-md5:        008dcde312441b63722aef580d1ddcc6
175 Source162:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
176 # Source162-md5:        79d524fdcc69d2dd9eba7a122bf6a11a
177 Source163:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
178 # Source163-md5:        4dbcacff89def5b05f333e4999d51903
179 Source164:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
180 # Source164-md5:        d7d739081b6361d2e1c659e0f746ccc4
181 Patch0:         prefs.patch
182 Patch1:         no-subshell.patch
183 Patch2:         enable-addons.patch
184 Patch3:         %{name}-system-virtualenv.patch
185 Patch4:         glibc2.34.patch
186 URL:            http://www.mozilla.org/projects/thunderbird/
187 BuildRequires:  alsa-lib-devel
188 BuildRequires:  autoconf2_13 >= 2.13
189 %{?with_gold:BuildRequires:     binutils >= 3:2.20.51.0.7}
190 %{?with_system_cairo:BuildRequires:     cairo-devel >= 1.10.2-5}
191 BuildRequires:  cargo >= 1.47.0
192 %{?with_clang:BuildRequires:    clang >= 5.0}
193 BuildRequires:  clang-devel
194 BuildRequires:  dbus-devel >= 0.60
195 BuildRequires:  dbus-glib-devel >= 0.60
196 BuildRequires:  fontconfig-devel >= 1:2.7.0
197 BuildRequires:  freetype-devel >= 1:2.1.8
198 BuildRequires:  glib2-devel >= 1:2.42
199 BuildRequires:  gtk+3-devel >= 3.14.0
200 BuildRequires:  libatomic-devel
201 BuildRequires:  libdrm-devel >= 2.4
202 BuildRequires:  libevent-devel
203 BuildRequires:  libffi-devel > 6:3.0.9
204 %{?with_system_icu:BuildRequires:       libicu-devel >= 69.1}
205 BuildRequires:  libiw-devel
206 # requires libjpeg-turbo implementing at least libjpeg 6b API
207 BuildRequires:  libjpeg-devel >= 6b
208 BuildRequires:  libjpeg-turbo-devel
209 BuildRequires:  libpng-devel >= 2:1.6.35
210 BuildRequires:  libstdc++-devel >= 6:7
211 BuildRequires:  libwebp-devel >= 1.0.2
212 %{?with_system_libvpx:BuildRequires:    libvpx-devel >= 1.8.0}
213 BuildRequires:  llvm-devel
214 BuildRequires:  mozldap-devel
215 BuildRequires:  nodejs >= 10.23.1
216 BuildRequires:  nspr-devel >= 1:%{nspr_ver}
217 BuildRequires:  nss-devel >= 1:%{nss_ver}
218 BuildRequires:  pango-devel >= 1:1.22.0
219 BuildRequires:  perl-base >= 1:5.6
220 BuildRequires:  pixman-devel >= 0.19.2
221 BuildRequires:  pkgconfig >= 1:0.9.0
222 BuildRequires:  python3 >= 1:3.8.5-3
223 BuildRequires:  python3-simplejson
224 BuildRequires:  python3-virtualenv
225 BuildRequires:  rpm-build >= 4.6
226 BuildRequires:  rust >= 1.47.0
227 BuildRequires:  rust-cbindgen >= 0.19.0
228 BuildRequires:  sed >= 4.0
229 BuildRequires:  tar >= 1:1.22
230 BuildRequires:  virtualenv
231 BuildRequires:  xorg-lib-libX11-devel
232 BuildRequires:  xorg-lib-libXcomposite-devel
233 BuildRequires:  xorg-lib-libXdamage-devel
234 BuildRequires:  xorg-lib-libXext-devel
235 BuildRequires:  xorg-lib-libXfixes-devel
236 BuildRequires:  xorg-lib-libXt-devel
237 BuildRequires:  xorg-lib-libxkbcommon-devel >= 0.4.1
238 BuildRequires:  xz
239 %ifarch %{ix86} %{x8664}
240 BuildRequires:  yasm >= 1.0.1
241 %endif
242 BuildRequires:  zip
243 BuildRequires:  zlib-devel >= 1.2.3
244 Requires(post): mktemp >= 1.5-18
245 %{?with_system_cairo:Requires:  cairo >= 1.10.2-5}
246 Requires:       dbus-glib >= 0.60
247 Requires:       fontconfig >= 2.7.0
248 Requires:       glib2 >= 1:2.42
249 Requires:       glibc >= 6:2.17
250 Requires:       gtk+3 >= 3.14.0
251 Requires:       libdrm >= 2.4
252 %{?with_system_icu:Requires:    libicu >= 69.1}
253 Requires:       libjpeg-turbo
254 Requires:       libpng >= 2:1.6.35
255 Requires:       libstdc++ >= 6:4.8.1
256 Requires:       libwebp >= 1.0.2
257 %{?with_system_libvpx:Requires: libvpx >= 1.8.0}
258 Requires:       myspell-common
259 Requires:       nspr >= 1:%{nspr_ver}
260 Requires:       nss >= 1:%{nss_ver}
261 Requires:       pango >= 1:1.22.0
262 Requires:       xorg-lib-libxkbcommon >= 0.4.1
263 Obsoletes:      icedove < 39
264 Obsoletes:      mozilla-thunderbird < 32
265 Obsoletes:      mozilla-thunderbird-dictionary-en-US < 2.0
266 Obsoletes:      thunderbird-addon-lightning < 78.0
267 Obsoletes:      thunderbird-lang-fa < 91.0
268 Obsoletes:      thunderbird-lang-si < 91.0
269 Conflicts:      thunderbird-lang-resources < %{version}
270 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
271
272 %define         filterout_cpp           -D_FORTIFY_SOURCE=[0-9]+
273
274 %if %{with clang}
275 %define         filterout               -fvar-tracking-assignments
276 %endif
277
278 # firefox/thunderbird/seamonkey provide their own versions
279 %define         _noautoprovfiles        %{_libdir}/%{name}/components
280
281 %define         moz_caps                liblgpllibs.so libmozalloc.so libmozgtk.so libmozjs.so libmozsandbox.so libmozsqlite3.so libmozwayland.so librnp.so libxul.so
282 # we don't want these to satisfy packages depending on xulrunner
283 %define         _noautoprov             %{moz_caps}
284 # and as we don't provide them, don't require either
285 %define         _noautoreq              %{moz_caps}
286
287 %define         topdir          %{_builddir}/thunderbird-%{version}
288 %define         objdir          %{topdir}/obj-%{_target_cpu}
289
290 %description
291 Thunderbird is an open-source, fast and portable email client.
292
293 %description -l pl.UTF-8
294 Thunderbird jest mającym otwarte źródła, szybkim i przenośnym klientem
295 poczty.
296
297 %package lang-af
298 Summary:        Afrikaans resources for Thunderbird
299 Summary(pl.UTF-8):      Afrykanerskie pliki językowe dla Thunderbirda
300 Group:          I18n
301 Requires:       thunderbird >= %{version}
302 Provides:       thunderbird-lang-resources = %{version}
303 BuildArch:      noarch
304
305 %description lang-af
306 Afrikaans resources for Thunderbird.
307
308 %description lang-af -l pl.UTF-8
309 Afrykanerskie pliki językowe dla Thunderbirda.
310
311 %package lang-ar
312 Summary:        Arabic resources for Thunderbird
313 Summary(pl.UTF-8):      Arabskie pliki językowe dla Thunderbirda
314 Group:          I18n
315 Requires:       thunderbird >= %{version}
316 Provides:       thunderbird-lang-resources = %{version}
317 Obsoletes:      icedove-lang-ar < 39
318 Obsoletes:      mozilla-thunderbird-lang-ar < 32
319 BuildArch:      noarch
320
321 %description lang-ar
322 Arabic resources for Thunderbird.
323
324 %description lang-ar -l pl.UTF-8
325 Arabskie pliki językowe dla Thunderbirda.
326
327 %package lang-ast
328 Summary:        Asturian resources for Thunderbird
329 Summary(pl.UTF-8):      Asturskie pliki językowe dla Thunderbirda
330 Group:          I18n
331 Requires:       thunderbird >= %{version}
332 Provides:       thunderbird-lang-resources = %{version}
333 Obsoletes:      icedove-lang-ast < 39
334 Obsoletes:      mozilla-thunderbird-lang-ast < 32
335 BuildArch:      noarch
336
337 %description lang-ast
338 Asturian resources for Thunderbird.
339
340 %description lang-ast -l pl.UTF-8
341 Asturskie pliki językowe dla Thunderbirda.
342
343 %package lang-be
344 Summary:        Belarusian resources for Thunderbird
345 Summary(pl.UTF-8):      Białoruskie pliki językowe dla Thunderbirda
346 Group:          I18n
347 Requires:       thunderbird >= %{version}
348 Provides:       thunderbird-lang-resources = %{version}
349 Obsoletes:      icedove-lang-be < 39
350 Obsoletes:      mozilla-thunderbird-lang-be < 32
351 BuildArch:      noarch
352
353 %description lang-be
354 Belarusian resources for Thunderbird.
355
356 %description lang-be -l pl.UTF-8
357 Białoruskie pliki językowe dla Thunderbirda.
358
359 %package lang-bg
360 Summary:        Bulgarian resources for Thunderbird
361 Summary(pl.UTF-8):      Bułgarskie pliki językowe dla Thunderbirda
362 Group:          I18n
363 Requires:       thunderbird >= %{version}
364 Provides:       thunderbird-lang-resources = %{version}
365 Obsoletes:      icedove-lang-bg < 39
366 Obsoletes:      mozilla-thunderbird-lang-bg < 32
367 BuildArch:      noarch
368
369 %description lang-bg
370 Bulgarian resources for Thunderbird.
371
372 %description lang-bg -l pl.UTF-8
373 Bułgarskie pliki językowe dla Thunderbirda.
374
375 %package lang-bn
376 Summary:        Bengali (Bangladesh) resources for Thunderbird
377 Summary(pl.UTF-8):      Bengalskie pliki językowe dla Thunderbirda (wersja dla Bangladeszu)
378 Group:          I18n
379 Requires:       thunderbird >= %{version}
380 Provides:       thunderbird-lang-resources = %{version}
381 Obsoletes:      icedove-lang-bn < 39
382 Obsoletes:      mozilla-thunderbird-lang-bn < 32
383 BuildArch:      noarch
384
385 %description lang-bn
386 Bengali (Bangladesh) resources for Thunderbird.
387
388 %description lang-bn -l pl.UTF-8
389 Bengalskie pliki językowe dla Thunderbirda (wersja dla Bangladeszu).
390
391 %package lang-br
392 Summary:        Breton resources for Thunderbird
393 Summary(pl.UTF-8):      Bretońskie pliki językowe dla Thunderbirda
394 Group:          I18n
395 Requires:       thunderbird >= %{version}
396 Provides:       thunderbird-lang-resources = %{version}
397 Obsoletes:      icedove-lang-br < 39
398 Obsoletes:      mozilla-thunderbird-lang-br < 32
399 BuildArch:      noarch
400
401 %description lang-br
402 Breton resources for Thunderbird.
403
404 %description lang-br -l pl.UTF-8
405 Bretońskie pliki językowe dla Thunderbirda.
406
407 %package lang-ca
408 Summary:        Catalan resources for Thunderbird
409 Summary(pl.UTF-8):      Katalońskie pliki językowe dla Thunderbirda
410 Group:          I18n
411 Requires:       thunderbird >= %{version}
412 Provides:       thunderbird-lang-resources = %{version}
413 Obsoletes:      icedove-lang-ca < 39
414 Obsoletes:      mozilla-thunderbird-lang-ca < 32
415 BuildArch:      noarch
416
417 %description lang-ca
418 Catalan resources for Thunderbird.
419
420 %description lang-ca -l pl.UTF-8
421 Katalońskie pliki językowe dla Thunderbirda.
422
423 %package lang-cak
424 Summary:        Kaqchikel resources for Thunderbird
425 Summary(pl.UTF-8):      Pliki językowe kaqchikel dla Thunderbirda
426 Group:          I18n
427 Requires:       thunderbird >= %{version}
428 Provides:       thunderbird-lang-resources = %{version}
429 BuildArch:      noarch
430
431 %description lang-cak
432 Kaqchikel resources for Thunderbird.
433
434 %description lang-cak -l pl.UTF-8
435 Pliki językowe kaqchikel dla Thunderbirda.
436
437 %package lang-cy
438 Summary:        Welsh resources for Thunderbird
439 Summary(pl.UTF-8):      Walijskie pliki językowe dla Thunderbirda
440 Group:          I18n
441 Requires:       thunderbird >= %{version}
442 Provides:       thunderbird-lang-resources = %{version}
443 BuildArch:      noarch
444
445 %description lang-cy
446 Welsh resources for Thunderbird.
447
448 %description lang-cy -l pl.UTF-8
449 Walijskie pliki językowe dla Thunderbirda.
450
451 %package lang-cs
452 Summary:        Czech resources for Thunderbird
453 Summary(pl.UTF-8):      Czeskie pliki językowe dla Thunderbirda
454 Group:          I18n
455 Requires:       thunderbird >= %{version}
456 Provides:       thunderbird-lang-resources = %{version}
457 Obsoletes:      icedove-lang-cs < 39
458 Obsoletes:      mozilla-thunderbird-lang-cs < 32
459 BuildArch:      noarch
460
461 %description lang-cs
462 Czech resources for Thunderbird.
463
464 %description lang-cs -l pl.UTF-8
465 Czeskie pliki językowe dla Thunderbirda.
466
467 %package lang-da
468 Summary:        Danish resources for Thunderbird
469 Summary(pl.UTF-8):      Duńskie pliki językowe dla Thunderbirda
470 Group:          I18n
471 Requires:       thunderbird >= %{version}
472 Provides:       thunderbird-lang-resources = %{version}
473 Obsoletes:      icedove-lang-da < 39
474 Obsoletes:      mozilla-thunderbird-lang-da < 32
475 BuildArch:      noarch
476
477 %description lang-da
478 Danish resources for Thunderbird.
479
480 %description lang-da -l pl.UTF-8
481 Duńskie pliki językowe dla Thunderbirda.
482
483 %package lang-de
484 Summary:        German resources for Thunderbird
485 Summary(pl.UTF-8):      Niemieckie pliki językowe dla Thunderbirda
486 Group:          I18n
487 Requires:       thunderbird >= %{version}
488 Provides:       thunderbird-lang-resources = %{version}
489 Obsoletes:      icedove-lang-de < 39
490 Obsoletes:      mozilla-thunderbird-lang-de < 32
491 BuildArch:      noarch
492
493 %description lang-de
494 German resources for Thunderbird.
495
496 %description lang-de -l pl.UTF-8
497 Niemieckie pliki językowe dla Thunderbirda.
498
499 %package lang-dsb
500 Summary:        Lower Sorbian resources for Thunderbird
501 Summary(pl.UTF-8):      Dolnołużyckie pliki językowe dla Thunderbirda
502 Group:          I18n
503 Requires:       thunderbird >= %{version}
504 Provides:       thunderbird-lang-resources = %{version}
505 BuildArch:      noarch
506
507 %description lang-dsb
508 Lower Sorbian resources for Thunderbird.
509
510 %description lang-dsb -l pl.UTF-8
511 Dolnołużyckie pliki językowe dla Thunderbirda.
512
513 %package lang-el
514 Summary:        Greek resources for Thunderbird
515 Summary(pl.UTF-8):      Greckie pliki językowe dla Thunderbirda
516 Group:          I18n
517 Requires:       thunderbird >= %{version}
518 Provides:       thunderbird-lang-resources = %{version}
519 Obsoletes:      icedove-lang-el < 39
520 Obsoletes:      mozilla-thunderbird-lang-el < 32
521 BuildArch:      noarch
522
523 %description lang-el
524 Greek resources for Thunderbird.
525
526 %description lang-el -l pl.UTF-8
527 Greckie pliki językowe dla Thunderbirda.
528
529 %package lang-en_CA
530 Summary:        English (Canadian) resources for Thunderbird
531 Summary(pl.UTF-8):      Angielskie (kanadyjskie) pliki językowe dla Thunderbirda
532 Group:          I18n
533 Requires:       thunderbird >= %{version}
534 Provides:       thunderbird-lang-resources = %{version}
535 BuildArch:      noarch
536
537 %description lang-en_CA
538 English (Canadian) resources for Thunderbird.
539
540 %description lang-en_CA -l pl.UTF-8
541 Angielskie (kanadyjskie) pliki językowe dla Thunderbirda.
542
543 %package lang-en_GB
544 Summary:        English (British) resources for Thunderbird
545 Summary(pl.UTF-8):      Angielskie (brytyjskie) pliki językowe dla Thunderbirda
546 Group:          I18n
547 Requires:       thunderbird >= %{version}
548 Provides:       thunderbird-lang-resources = %{version}
549 Obsoletes:      icedove-lang-en_GB < 39
550 Obsoletes:      mozilla-thunderbird-lang-en_GB < 32
551 BuildArch:      noarch
552
553 %description lang-en_GB
554 English (British) resources for Thunderbird.
555
556 %description lang-en_GB -l pl.UTF-8
557 Angielskie (brytyjskie) pliki językowe dla Thunderbirda.
558
559 %package lang-en_US
560 Summary:        English (American) resources for Thunderbird
561 Summary(pl.UTF-8):      Angielskie (amerykańskie) pliki językowe dla Thunderbirda
562 Group:          I18n
563 Requires:       thunderbird >= %{version}
564 Provides:       thunderbird-lang-resources = %{version}
565 Obsoletes:      icedove-lang-en_US < 39
566 Obsoletes:      mozilla-thunderbird-lang-en_US < 32
567 BuildArch:      noarch
568
569 %description lang-en_US
570 English (American) resources for Thunderbird.
571
572 %description lang-en_US -l pl.UTF-8
573 Angielskie (amerykańskie) pliki językowe dla Thunderbirda.
574
575 %package lang-es_AR
576 Summary:        Spanish (Andorra) resources for Thunderbird
577 Summary(pl.UTF-8):      Hiszpańskie pliki językowe dla Thunderbirda (wersja dla Andory)
578 Group:          I18n
579 Requires:       thunderbird >= %{version}
580 Provides:       thunderbird-lang-resources = %{version}
581 Obsoletes:      icedove-lang-es_AR < 39
582 Obsoletes:      mozilla-thunderbird-lang-es_AR < 32
583 BuildArch:      noarch
584
585 %description lang-es_AR
586 Spanish (Andorra) resources for Thunderbird.
587
588 %description lang-es_AR -l pl.UTF-8
589 Hiszpańskie pliki językowe dla Thunderbirda (wersja dla Andory).
590
591 %package lang-es
592 Summary:        Spanish (Spain) resources for Thunderbird
593 Summary(pl.UTF-8):      Hiszpańskie pliki językowe dla Thunderbirda (wersja dla Hiszpanii)
594 Group:          I18n
595 Requires:       thunderbird >= %{version}
596 Provides:       thunderbird-lang-resources = %{version}
597 Obsoletes:      icedove-lang-es < 39
598 Obsoletes:      mozilla-thunderbird-lang-es < 32
599 BuildArch:      noarch
600
601 %description lang-es
602 Spanish (Spain) resources for Thunderbird.
603
604 %description lang-es -l pl.UTF-8
605 Hiszpańskie pliki językowe dla Thunderbirda (wersja dla Hiszpanii).
606
607 %package lang-et
608 Summary:        Estonian resources for Thunderbird
609 Summary(pl.UTF-8):      Estońskie pliki językowe dla Thunderbirda
610 Group:          I18n
611 Requires:       thunderbird >= %{version}
612 Provides:       thunderbird-lang-resources = %{version}
613 Obsoletes:      icedove-lang-et < 39
614 Obsoletes:      mozilla-thunderbird-lang-et < 32
615 BuildArch:      noarch
616
617 %description lang-et
618 Estonian resources for Thunderbird.
619
620 %description lang-et -l pl.UTF-8
621 Estońskie pliki językowe dla Thunderbirda.
622
623 %package lang-eu
624 Summary:        Basque resources for Thunderbird
625 Summary(pl.UTF-8):      Baskijskie pliki językowe dla Thunderbirda
626 Group:          I18n
627 Requires:       thunderbird >= %{version}
628 Provides:       thunderbird-lang-resources = %{version}
629 Obsoletes:      icedove-lang-eu < 39
630 Obsoletes:      mozilla-thunderbird-lang-eu < 32
631 BuildArch:      noarch
632
633 %description lang-eu
634 Basque resources for Thunderbird.
635
636 %description lang-eu -l pl.UTF-8
637 Baskijskie pliki językowe dla Thunderbirda.
638
639 %package lang-fi
640 Summary:        Finnish resources for Thunderbird
641 Summary(pl.UTF-8):      Fińskie pliki językowe dla Thunderbirda
642 Group:          I18n
643 Requires:       thunderbird >= %{version}
644 Provides:       thunderbird-lang-resources = %{version}
645 Obsoletes:      icedove-lang-fi < 39
646 Obsoletes:      mozilla-thunderbird-lang-fi < 32
647 BuildArch:      noarch
648
649 %description lang-fi
650 Finnish resources for Thunderbird.
651
652 %description lang-fi -l pl.UTF-8
653 Fińskie pliki językowe dla Thunderbirda.
654
655 %package lang-fr
656 Summary:        French resources for Thunderbird
657 Summary(pl.UTF-8):      Francuskie pliki językowe dla Thunderbirda
658 Group:          I18n
659 Requires:       thunderbird >= %{version}
660 Provides:       thunderbird-lang-resources = %{version}
661 Obsoletes:      icedove-lang-fr < 39
662 Obsoletes:      mozilla-thunderbird-lang-fr < 32
663 BuildArch:      noarch
664
665 %description lang-fr
666 French resources for Thunderbird.
667
668 %description lang-fr -l pl.UTF-8
669 Francuskie pliki językowe dla Thunderbirda.
670
671 %package lang-fy
672 Summary:        Frisian resources for Thunderbird
673 Summary(pl.UTF-8):      Fryzyjskie pliki językowe dla Thunderbirda
674 Group:          I18n
675 Requires:       thunderbird >= %{version}
676 Provides:       thunderbird-lang-resources = %{version}
677 Obsoletes:      icedove-lang-fy < 39
678 Obsoletes:      mozilla-thunderbird-lang-fy < 32
679 BuildArch:      noarch
680
681 %description lang-fy
682 Frisian resources for Thunderbird.
683
684 %description lang-fy -l pl.UTF-8
685 Fryzyjskie pliki językowe dla Thunderbirda.
686
687 %package lang-ga
688 Summary:        Irish resources for Thunderbird
689 Summary(pl.UTF-8):      Irlandzkie pliki językowe dla Thunderbirda
690 Group:          I18n
691 Requires:       thunderbird >= %{version}
692 Provides:       thunderbird-lang-resources = %{version}
693 Obsoletes:      icedove-lang-ga < 39
694 Obsoletes:      mozilla-thunderbird-lang-ga < 32
695 BuildArch:      noarch
696
697 %description lang-ga
698 Irish resources for Thunderbird.
699
700 %description lang-ga -l pl.UTF-8
701 Irlandzkie pliki językowe dla Thunderbirda.
702
703 %package lang-gd
704 Summary:        Gaelic resources for Thunderbird
705 Summary(pl.UTF-8):      Szkockie (gaelickie) pliki językowe dla Thunderbirda
706 Group:          I18n
707 Requires:       thunderbird >= %{version}
708 Provides:       thunderbird-lang-resources = %{version}
709 Obsoletes:      icedove-lang-gd < 39
710 Obsoletes:      mozilla-thunderbird-lang-gd < 32
711 BuildArch:      noarch
712
713 %description lang-gd
714 Gaelic resources for Thunderbird.
715
716 %description lang-gd -l pl.UTF-8
717 Szkockie (gaelickie) pliki językowe dla Thunderbirda.
718
719 %package lang-gl
720 Summary:        Galician resources for Thunderbird
721 Summary(pl.UTF-8):      Galicyjskie pliki językowe dla Thunderbirda
722 Group:          I18n
723 Requires:       thunderbird >= %{version}
724 Provides:       thunderbird-lang-resources = %{version}
725 Obsoletes:      icedove-lang-gl < 39
726 Obsoletes:      mozilla-thunderbird-lang-gl < 32
727 BuildArch:      noarch
728
729 %description lang-gl
730 Galician resources for Thunderbird.
731
732 %description lang-gl -l pl.UTF-8
733 Galicyjskie pliki językowe dla Thunderbirda.
734
735 %package lang-he
736 Summary:        Hebrew resources for Thunderbird
737 Summary(pl.UTF-8):      Hebrajskie pliki językowe dla Thunderbirda
738 Group:          I18n
739 Requires:       thunderbird >= %{version}
740 Provides:       thunderbird-lang-resources = %{version}
741 Obsoletes:      icedove-lang-he < 39
742 Obsoletes:      mozilla-thunderbird-lang-he < 32
743 BuildArch:      noarch
744
745 %description lang-he
746 Hebrew resources for Thunderbird.
747
748 %description lang-he -l pl.UTF-8
749 Hebrajskie pliki językowe dla Thunderbirda.
750
751 %package lang-hr
752 Summary:        Croatian resources for Thunderbird
753 Summary(pl.UTF-8):      Chorwackie pliki językowe dla Thunderbirda
754 Group:          I18n
755 Requires:       thunderbird >= %{version}
756 Provides:       thunderbird-lang-resources = %{version}
757 Obsoletes:      icedove-lang-hr < 39
758 Obsoletes:      mozilla-thunderbird-lang-hr < 32
759 BuildArch:      noarch
760
761 %description lang-hr
762 Croatian resources for Thunderbird.
763
764 %description lang-hr -l pl.UTF-8
765 Chorwackie pliki językowe dla Thunderbirda.
766
767 %package lang-hsb
768 Summary:        Upper Sorbian resources for Thunderbird
769 Summary(pl.UTF-8):      Górnołużyckie pliki językowe dla Thunderbirda
770 Group:          I18n
771 Requires:       thunderbird >= %{version}
772 Provides:       thunderbird-lang-resources = %{version}
773 BuildArch:      noarch
774
775 %description lang-hsb
776 Upper Sorbian resources for Thunderbird.
777
778 %description lang-hsb -l pl.UTF-8
779 Górnołużyckie pliki językowe dla Thunderbirda.
780
781 %package lang-hu
782 Summary:        Hungarian resources for Thunderbird
783 Summary(pl.UTF-8):      Węgierskie pliki językowe dla Thunderbirda
784 Group:          I18n
785 Requires:       thunderbird >= %{version}
786 Provides:       thunderbird-lang-resources = %{version}
787 Obsoletes:      icedove-lang-hu < 39
788 Obsoletes:      mozilla-thunderbird-lang-hu < 32
789 BuildArch:      noarch
790
791 %description lang-hu
792 Hungarian resources for Thunderbird.
793
794 %description lang-hu -l pl.UTF-8
795 Węgierskie pliki językowe dla Thunderbirda.
796
797 %package lang-hy
798 Summary:        Armenian resources for Thunderbird
799 Summary(pl.UTF-8):      Ormiańskie pliki językowe dla Thunderbirda
800 Group:          I18n
801 Requires:       thunderbird >= %{version}
802 Provides:       thunderbird-lang-resources = %{version}
803 Obsoletes:      icedove-lang-hy < 39
804 Obsoletes:      mozilla-thunderbird-lang-hy < 32
805 BuildArch:      noarch
806
807 %description lang-hy
808 Armenian resources for Thunderbird.
809
810 %description lang-hy -l pl.UTF-8
811 Ormiańskie pliki językowe dla Thunderbirda.
812
813 %package lang-id
814 Summary:        Indonesian resources for Thunderbird
815 Summary(pl.UTF-8):      Indonezyjskie pliki językowe dla Thunderbirda
816 Group:          I18n
817 Requires:       thunderbird >= %{version}
818 Provides:       thunderbird-lang-resources = %{version}
819 Obsoletes:      icedove-lang-id < 39
820 Obsoletes:      mozilla-thunderbird-lang-id < 32
821 BuildArch:      noarch
822
823 %description lang-id
824 Indonesian resources for Thunderbird.
825
826 %description lang-id -l pl.UTF-8
827 Indonezyjskie pliki językowe dla Thunderbirda.
828
829 %package lang-is
830 Summary:        Icelandic resources for Thunderbird
831 Summary(pl.UTF-8):      Islandzkie pliki językowe dla Thunderbirda
832 Group:          I18n
833 Requires:       thunderbird >= %{version}
834 Provides:       thunderbird-lang-resources = %{version}
835 Obsoletes:      icedove-lang-is < 39
836 Obsoletes:      mozilla-thunderbird-lang-is < 32
837 BuildArch:      noarch
838
839 %description lang-is
840 Icelandic resources for Thunderbird.
841
842 %description lang-is -l pl.UTF-8
843 Islandzkie pliki językowe dla Thunderbirda.
844
845 %package lang-it
846 Summary:        Italian resources for Thunderbird
847 Summary(pl.UTF-8):      Włoskie pliki językowe dla Thunderbirda
848 Group:          I18n
849 Requires:       thunderbird >= %{version}
850 Provides:       thunderbird-lang-resources = %{version}
851 Obsoletes:      icedove-lang-it < 39
852 Obsoletes:      mozilla-thunderbird-lang-it < 32
853 BuildArch:      noarch
854
855 %description lang-it
856 Italian resources for Thunderbird.
857
858 %description lang-it -l pl.UTF-8
859 Włoskie pliki językowe dla Thunderbirda.
860
861 %package lang-ja
862 Summary:        Japanese resources for Thunderbird
863 Summary(pl.UTF-8):      Japońskie pliki językowe dla Thunderbirda
864 Group:          I18n
865 Requires:       thunderbird >= %{version}
866 Provides:       thunderbird-lang-resources = %{version}
867 Obsoletes:      icedove-lang-ja < 39
868 Obsoletes:      mozilla-thunderbird-lang-ja < 32
869 BuildArch:      noarch
870
871 %description lang-ja
872 Japanese resources for Thunderbird.
873
874 %description lang-ja -l pl.UTF-8
875 Japońskie pliki językowe dla Thunderbirda.
876
877 %package lang-ka
878 Summary:        Georgian resources for Thunderbird
879 Summary(pl.UTF-8):      Gruzińskie pliki językowe dla Thunderbirda
880 Group:          I18n
881 Requires:       thunderbird >= %{version}
882 Provides:       thunderbird-lang-resources = %{version}
883 BuildArch:      noarch
884
885 %description lang-ka
886 Georgian resources for Thunderbird.
887
888 %description lang-ka -l pl.UTF-8
889 Gruzińskie pliki językowe dla Thunderbirda.
890
891 %package lang-kab
892 Summary:        Kabyle resources for Thunderbird
893 Summary(pl.UTF-8):      Kabylskie pliki językowe dla Thunderbirda
894 Group:          I18n
895 Requires:       thunderbird >= %{version}
896 Provides:       thunderbird-lang-resources = %{version}
897 BuildArch:      noarch
898
899 %description lang-kab
900 Kabyle resources for Thunderbird.
901
902 %description lang-kab -l pl.UTF-8
903 Kabylskie pliki językowe dla Thunderbirda.
904
905 %package lang-kk
906 Summary:        Kazakh resources for Thunderbird
907 Summary(pl.UTF-8):      Kazachskie pliki językowe dla Thunderbirda
908 Group:          I18n
909 Requires:       thunderbird >= %{version}
910 Provides:       thunderbird-lang-resources = %{version}
911 BuildArch:      noarch
912
913 %description lang-kk
914 Kazakh resources for Thunderbird.
915
916 %description lang-kk -l pl.UTF-8
917 Kazachskie pliki językowe dla Thunderbirda.
918
919 %package lang-ko
920 Summary:        Korean resources for Thunderbird
921 Summary(pl.UTF-8):      Koreańskie pliki językowe dla Thunderbirda
922 Group:          I18n
923 Requires:       thunderbird >= %{version}
924 Provides:       thunderbird-lang-resources = %{version}
925 Obsoletes:      icedove-lang-ko < 39
926 Obsoletes:      mozilla-thunderbird-lang-ko < 32
927 BuildArch:      noarch
928
929 %description lang-ko
930 Korean resources for Thunderbird.
931
932 %description lang-ko -l pl.UTF-8
933 Koreańskie pliki językowe dla Thunderbirda.
934
935 %package lang-lt
936 Summary:        Lithuanian resources for Thunderbird
937 Summary(pl.UTF-8):      Litewskie pliki językowe dla Thunderbirda
938 Group:          I18n
939 Requires:       thunderbird >= %{version}
940 Provides:       thunderbird-lang-resources = %{version}
941 Obsoletes:      icedove-lang-lt < 39
942 Obsoletes:      mozilla-thunderbird-lang-lt < 32
943 BuildArch:      noarch
944
945 %description lang-lt
946 Lithuanian resources for Thunderbird.
947
948 %description lang-lt -l pl.UTF-8
949 Litewskie pliki językowe dla Thunderbirda.
950
951 %package lang-lv
952 Summary:        Latvian resources for Thunderbird
953 Summary(pl.UTF-8):      Łotewskie pliki językowe dla Thunderbirda
954 Group:          I18n
955 Requires:       thunderbird >= %{version}
956 Provides:       thunderbird-lang-resources = %{version}
957 BuildArch:      noarch
958
959 %description lang-lv
960 Latvian resources for Thunderbird.
961
962 %description lang-lv -l pl.UTF-8
963 Łotewskie pliki językowe dla Thunderbirda.
964
965 %package lang-ms
966 Summary:        Malay resources for Thunderbird
967 Summary(pl.UTF-8):      Malajskie pliki językowe dla Thunderbirda
968 Group:          I18n
969 Requires:       thunderbird >= %{version}
970 Provides:       thunderbird-lang-resources = %{version}
971 BuildArch:      noarch
972
973 %description lang-ms
974 Malay resources for Thunderbird.
975
976 %description lang-ms -l pl.UTF-8
977 Malajskie pliki językowe dla Thunderbirda.
978
979 %package lang-nb
980 Summary:        Norwegian Bokmaal resources for Thunderbird
981 Summary(pl.UTF-8):      Norweskie (bokmaal) pliki językowe dla Thunderbirda
982 Group:          I18n
983 Requires:       thunderbird >= %{version}
984 Provides:       thunderbird-lang-resources = %{version}
985 Obsoletes:      icedove-lang-nb < 39
986 Obsoletes:      mozilla-thunderbird-lang-nb < 32
987 BuildArch:      noarch
988
989 %description lang-nb
990 Norwegian Bokmaal resources for Thunderbird.
991
992 %description lang-nb -l pl.UTF-8
993 Norweskie (bokmaal) pliki językowe dla Thunderbirda.
994
995 %package lang-nl
996 Summary:        Dutch resources for Thunderbird
997 Summary(pl.UTF-8):      Holenderskie pliki językowe dla Thunderbirda
998 Group:          I18n
999 Requires:       thunderbird >= %{version}
1000 Provides:       thunderbird-lang-resources = %{version}
1001 Obsoletes:      icedove-lang-nl < 39
1002 Obsoletes:      mozilla-thunderbird-lang-nl < 32
1003 BuildArch:      noarch
1004
1005 %description lang-nl
1006 Dutch resources for Thunderbird.
1007
1008 %description lang-nl -l pl.UTF-8
1009 Holenderskie pliki językowe dla Thunderbirda.
1010
1011 %package lang-nn
1012 Summary:        Norwegian Nynorsk resources for Thunderbird
1013 Summary(pl.UTF-8):      Norweskie (nynorsk) pliki językowe dla Thunderbirda
1014 Group:          I18n
1015 Requires:       thunderbird >= %{version}
1016 Provides:       thunderbird-lang-resources = %{version}
1017 Obsoletes:      icedove-lang-nn < 39
1018 Obsoletes:      mozilla-thunderbird-lang-nn < 32
1019 BuildArch:      noarch
1020
1021 %description lang-nn
1022 Norwegian Nynorsk resources for Thunderbird.
1023
1024 %description lang-nn -l pl.UTF-8
1025 Norweskie (nynorsk) pliki językowe dla Thunderbirda.
1026
1027 %package lang-pa
1028 Summary:        Panjabi resources for Thunderbird
1029 Summary(pl.UTF-8):      Pendżabskie pliki językowe dla Thunderbirda
1030 Group:          I18n
1031 Requires:       thunderbird >= %{version}
1032 Provides:       thunderbird-lang-resources = %{version}
1033 Obsoletes:      icedove-lang-pa < 39
1034 Obsoletes:      mozilla-thunderbird-lang-pa < 32
1035 BuildArch:      noarch
1036
1037 %description lang-pa
1038 Panjabi resources for Thunderbird.
1039
1040 %description lang-pa -l pl.UTF-8
1041 Pendżabskie pliki językowe dla Thunderbirda.
1042
1043 %package lang-pl
1044 Summary:        Polish resources for Thunderbird
1045 Summary(pl.UTF-8):      Polskie pliki językowe dla Thunderbirda
1046 Group:          I18n
1047 Requires:       thunderbird >= %{version}
1048 Provides:       thunderbird-lang-resources = %{version}
1049 Obsoletes:      icedove-lang-pl < 39
1050 Obsoletes:      mozilla-thunderbird-lang-pl < 32
1051 BuildArch:      noarch
1052
1053 %description lang-pl
1054 Polish resources for Thunderbird.
1055
1056 %description lang-pl -l pl.UTF-8
1057 Polskie pliki językowe dla Thunderbirda.
1058
1059 %package lang-pt_BR
1060 Summary:        Portuguese (Brazil) resources for Thunderbird
1061 Summary(pl.UTF-8):      Portugalskie (brazylijskie) pliki językowe dla Thunderbirda
1062 Group:          I18n
1063 Requires:       thunderbird >= %{version}
1064 Provides:       thunderbird-lang-resources = %{version}
1065 Obsoletes:      icedove-lang-pt_BR < 39
1066 Obsoletes:      mozilla-thunderbird-lang-pt_BR < 32
1067 BuildArch:      noarch
1068
1069 %description lang-pt_BR
1070 Portuguese (Brazil) resources for Thunderbird.
1071
1072 %description lang-pt_BR -l pl.UTF-8
1073 Portugalskie (brazylijskie) pliki językowe dla Thunderbirda.
1074
1075 %package lang-pt
1076 Summary:        Portuguese (Portugal) resources for Thunderbird
1077 Summary(pl.UTF-8):      Portugalskie pliki językowe dla Thunderbirda (wersja dla Portugalii)
1078 Group:          I18n
1079 Requires:       thunderbird >= %{version}
1080 Provides:       thunderbird-lang-resources = %{version}
1081 Obsoletes:      icedove-lang-pt < 39
1082 Obsoletes:      mozilla-thunderbird-lang-pt < 32
1083 BuildArch:      noarch
1084
1085 %description lang-pt
1086 Portuguese (Portugal) resources for Thunderbird.
1087
1088 %description lang-pt -l pl.UTF-8
1089 Portugalskie pliki językowe dla Thunderbirda (wersja dla Portugalii).
1090
1091 %package lang-rm
1092 Summary:        Romansh resources for Thunderbird
1093 Summary(pl.UTF-8):      Retoromańskie pliki językowe dla Thunderbirda
1094 Group:          I18n
1095 Requires:       thunderbird >= %{version}
1096 Provides:       thunderbird-lang-resources = %{version}
1097 Obsoletes:      icedove-lang-rm < 39
1098 Obsoletes:      mozilla-thunderbird-lang-rm < 32
1099 BuildArch:      noarch
1100
1101 %description lang-rm
1102 Romansh resources for Thunderbird.
1103
1104 %description lang-rm -l pl.UTF-8
1105 Retoromańskie pliki językowe dla Thunderbirda.
1106
1107 %package lang-ro
1108 Summary:        Romanian resources for Thunderbird
1109 Summary(pl.UTF-8):      Rumuńskie pliki językowe dla Thunderbirda
1110 Group:          I18n
1111 Requires:       thunderbird >= %{version}
1112 Provides:       thunderbird-lang-resources = %{version}
1113 Obsoletes:      icedove-lang-ro < 39
1114 Obsoletes:      mozilla-thunderbird-lang-ro < 32
1115 BuildArch:      noarch
1116
1117 %description lang-ro
1118 Romanian resources for Thunderbird.
1119
1120 %description lang-ro -l pl.UTF-8
1121 Rumuńskie pliki językowe dla Thunderbirda.
1122
1123 %package lang-ru
1124 Summary:        Russian resources for Thunderbird
1125 Summary(pl.UTF-8):      Rosyjskie pliki językowe dla Thunderbirda
1126 Group:          I18n
1127 Requires:       thunderbird >= %{version}
1128 Provides:       thunderbird-lang-resources = %{version}
1129 Obsoletes:      icedove-lang-ru < 39
1130 Obsoletes:      mozilla-thunderbird-lang-ru < 32
1131 BuildArch:      noarch
1132
1133 %description lang-ru
1134 Russian resources for Thunderbird.
1135
1136 %description lang-ru -l pl.UTF-8
1137 Rosyjskie pliki językowe dla Thunderbirda.
1138
1139 %package lang-sk
1140 Summary:        Slovak resources for Thunderbird
1141 Summary(pl.UTF-8):      Słowackie pliki językowe dla Thunderbirda
1142 Group:          I18n
1143 Requires:       thunderbird >= %{version}
1144 Provides:       thunderbird-lang-resources = %{version}
1145 Obsoletes:      icedove-lang-sk < 39
1146 Obsoletes:      mozilla-thunderbird-lang-sk < 32
1147 BuildArch:      noarch
1148
1149 %description lang-sk
1150 Slovak resources for Thunderbird.
1151
1152 %description lang-sk -l pl.UTF-8
1153 Słowackie pliki językowe dla Thunderbirda.
1154
1155 %package lang-sl
1156 Summary:        Slovene resources for Thunderbird
1157 Summary(pl.UTF-8):      Słoweńskie pliki językowe dla Thunderbirda
1158 Group:          I18n
1159 Requires:       thunderbird >= %{version}
1160 Provides:       thunderbird-lang-resources = %{version}
1161 Obsoletes:      icedove-lang-sl < 39
1162 Obsoletes:      mozilla-thunderbird-lang-sl < 32
1163 BuildArch:      noarch
1164
1165 %description lang-sl
1166 Slovene resources for Thunderbird.
1167
1168 %description lang-sl -l pl.UTF-8
1169 Słoweńskie pliki językowe dla Thunderbirda.
1170
1171 %package lang-sq
1172 Summary:        Albanian resources for Thunderbird
1173 Summary(pl.UTF-8):      Albańskie pliki językowe dla Thunderbirda
1174 Group:          I18n
1175 Requires:       thunderbird >= %{version}
1176 Provides:       thunderbird-lang-resources = %{version}
1177 Obsoletes:      icedove-lang-sq < 39
1178 Obsoletes:      mozilla-thunderbird-lang-sq < 32
1179 BuildArch:      noarch
1180
1181 %description lang-sq
1182 Albanian resources for Thunderbird.
1183
1184 %description lang-sq -l pl.UTF-8
1185 Albańskie pliki językowe dla Thunderbirda.
1186
1187 %package lang-sr
1188 Summary:        Serbian resources for Thunderbird
1189 Summary(pl.UTF-8):      Serbskie pliki językowe dla Thunderbirda
1190 Group:          I18n
1191 Requires:       thunderbird >= %{version}
1192 Provides:       thunderbird-lang-resources = %{version}
1193 Obsoletes:      icedove-lang-sr < 39
1194 Obsoletes:      mozilla-thunderbird-lang-sr < 32
1195 BuildArch:      noarch
1196
1197 %description lang-sr
1198 Serbian resources for Thunderbird.
1199
1200 %description lang-sr -l pl.UTF-8
1201 Serbskie pliki językowe dla Thunderbirda.
1202
1203 %package lang-sv
1204 Summary:        Swedish resources for Thunderbird
1205 Summary(pl.UTF-8):      Szwedzkie pliki językowe dla Thunderbirda
1206 Group:          I18n
1207 Requires:       thunderbird >= %{version}
1208 Provides:       thunderbird-lang-resources = %{version}
1209 Obsoletes:      icedove-lang-sv < 39
1210 Obsoletes:      mozilla-thunderbird-lang-sv < 32
1211 BuildArch:      noarch
1212
1213 %description lang-sv
1214 Swedish resources for Thunderbird.
1215
1216 %description lang-sv -l pl.UTF-8
1217 Szwedzkie pliki językowe dla Thunderbirda.
1218
1219 %package lang-ta_LK
1220 Summary:        Tamil (Sri Lanka) resources for Thunderbird
1221 Summary(pl.UTF-8):      Tamilskie pliki językowe dla Thunderbirda (wersja dla Sri Lanki)
1222 Group:          I18n
1223 Requires:       thunderbird >= %{version}
1224 Provides:       thunderbird-lang-resources = %{version}
1225 Obsoletes:      icedove-lang-ta_LK < 39
1226 Obsoletes:      mozilla-thunderbird-lang-ta_LK < 32
1227 BuildArch:      noarch
1228
1229 %description lang-ta_LK
1230 Tamil (Sri Lanka) resources for Thunderbird.
1231
1232 %description lang-ta_LK -l pl.UTF-8
1233 Tamilskie pliki językowe dla Thunderbirda (wersja dla Sri Lanki).
1234
1235 %package lang-th
1236 Summary:        Thai resources for Thunderbird
1237 Summary(pl.UTF-8):      Tajskie pliki językowe dla Thunderbirda
1238 Group:          I18n
1239 Requires:       thunderbird >= %{version}
1240 Provides:       thunderbird-lang-resources = %{version}
1241 BuildArch:      noarch
1242
1243 %description lang-th
1244 Thai resources for Thunderbird.
1245
1246 %description lang-th -l pl.UTF-8
1247 Tajskie pliki językowe dla Thunderbirda.
1248
1249 %package lang-tr
1250 Summary:        Turkish resources for Thunderbird
1251 Summary(pl.UTF-8):      Tureckie pliki językowe dla Thunderbirda
1252 Group:          I18n
1253 Requires:       thunderbird >= %{version}
1254 Provides:       thunderbird-lang-resources = %{version}
1255 Obsoletes:      icedove-lang-tr < 39
1256 Obsoletes:      mozilla-thunderbird-lang-tr < 32
1257 BuildArch:      noarch
1258
1259 %description lang-tr
1260 Turkish resources for Thunderbird.
1261
1262 %description lang-tr -l pl.UTF-8
1263 Tureckie pliki językowe dla Thunderbirda.
1264
1265 %package lang-uk
1266 Summary:        Ukrainian resources for Thunderbird
1267 Summary(pl.UTF-8):      Ukraińskie pliki językowe dla Thunderbirda
1268 Group:          I18n
1269 Requires:       thunderbird >= %{version}
1270 Provides:       thunderbird-lang-resources = %{version}
1271 Obsoletes:      icedove-lang-uk < 39
1272 Obsoletes:      mozilla-thunderbird-lang-uk < 32
1273 BuildArch:      noarch
1274
1275 %description lang-uk
1276 Ukrainian resources for Thunderbird.
1277
1278 %description lang-uk -l pl.UTF-8
1279 Ukraińskie pliki językowe dla Thunderbirda.
1280
1281 %package lang-uz
1282 Summary:        Uzbek resources for Thunderbird
1283 Summary(pl.UTF-8):      Uzbeckie pliki językowe dla Thunderbirda
1284 Group:          I18n
1285 Requires:       thunderbird >= %{version}
1286 Provides:       thunderbird-lang-resources = %{version}
1287 BuildArch:      noarch
1288
1289 %description lang-uz
1290 Uzbek resources for Thunderbird.
1291
1292 %description lang-uz -l pl.UTF-8
1293 zbeckiee pliki językowe dla Thunderbirda.
1294
1295 %package lang-vi
1296 Summary:        Vietnamese resources for Thunderbird
1297 Summary(pl.UTF-8):      Wietnamskie pliki językowe dla Thunderbirda
1298 Group:          I18n
1299 Requires:       thunderbird >= %{version}
1300 Provides:       thunderbird-lang-resources = %{version}
1301 Obsoletes:      icedove-lang-vi < 39
1302 Obsoletes:      mozilla-thunderbird-lang-vi < 32
1303 BuildArch:      noarch
1304
1305 %description lang-vi
1306 Vietnamese resources for Thunderbird.
1307
1308 %description lang-vi -l pl.UTF-8
1309 Wietnamskie pliki językowe dla Thunderbirda.
1310
1311 %package lang-zh_CN
1312 Summary:        Simplified Chinese resources for Thunderbird
1313 Summary(pl.UTF-8):      Chińskie (uproszczone) pliki językowe dla Thunderbirda
1314 Group:          I18n
1315 Requires:       thunderbird >= %{version}
1316 Provides:       thunderbird-lang-resources = %{version}
1317 Obsoletes:      icedove-lang-zh_CN < 39
1318 Obsoletes:      mozilla-thunderbird-lang-zh_CN < 32
1319 BuildArch:      noarch
1320
1321 %description lang-zh_CN
1322 Simplified Chinese resources for Thunderbird.
1323
1324 %description lang-zh_CN -l pl.UTF-8
1325 Chińskie (uproszczone) pliki językowe dla Thunderbirda.
1326
1327 %package lang-zh_TW
1328 Summary:        Traditional Chinese resources for Thunderbird
1329 Summary(pl.UTF-8):      Chińskie tradycyjne pliki językowe dla Thunderbirda
1330 Group:          I18n
1331 Requires:       thunderbird >= %{version}
1332 Provides:       thunderbird-lang-resources = %{version}
1333 Obsoletes:      icedove-lang-zh_TW < 39
1334 Obsoletes:      mozilla-thunderbird-lang-zh_TW < 32
1335 BuildArch:      noarch
1336
1337 %description lang-zh_TW
1338 Traditional Chinese resources for Thunderbird.
1339
1340 %description lang-zh_TW -l pl.UTF-8
1341 Chińskie tradycyjne pliki językowe dla Thunderbirda.
1342
1343 %prep
1344 unpack() {
1345         local args="$1" file="$2"
1346         cp -p $file .
1347 }
1348 %define __unzip unpack
1349 %setup -q %(seq -f '-a %g' 100 164 | xargs)
1350 %patch0 -p1
1351 %patch1 -p1
1352 %patch2 -p0
1353 %patch3 -p2
1354 %patch4 -p1
1355
1356 %build
1357 cp -p %{_datadir}/automake/config.* build/autoconf
1358
1359 cat << 'EOF' > .mozconfig
1360 . $topsrcdir/browser/config/mozconfig
1361 mk_add_options MOZ_OBJDIR=%{objdir}
1362
1363 %if %{with clang}
1364 export CC="clang"
1365 export CXX="clang++"
1366 %else
1367 export CC="%{__cc}"
1368 export CXX="%{__cxx}"
1369 %endif
1370 %ifarch %{ix86}
1371 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
1372 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
1373 %else
1374 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
1375 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
1376 %endif
1377
1378 %if %{with lowmem}
1379 export CFLAGS="$CFLAGS -g0"
1380 export CXXFLAGS="$CXXFLAGS -g0"
1381 export MOZ_DEBUG_FLAGS=" "
1382 export LLVM_USE_SPLIT_DWARF=1
1383 export LLVM_PARALLEL_LINK_JOBS=1
1384 export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
1385 export RUSTFLAGS="-Cdebuginfo=0"
1386 %endif
1387
1388 %if %{with crashreporter}
1389 export MOZ_DEBUG_SYMBOLS=1
1390 %endif
1391
1392 # Options for 'configure' (same as command-line options).
1393 ac_add_options --host=%{_target_platform}
1394 ac_add_options --prefix=%{_prefix}
1395 %if %{?debug:1}0
1396 ac_add_options --disable-optimize
1397 ac_add_options --enable-debug
1398 ac_add_options --enable-debug-modules
1399 ac_add_options --enable-debugger-info-modules
1400 ac_add_options --enable-crash-on-assert
1401 %else
1402 ac_add_options --disable-debug
1403 %endif
1404 ac_add_options --disable-strip
1405 ac_add_options --disable-install-strip
1406 %if %{with tests}
1407 ac_add_options --enable-tests
1408 %else
1409 ac_add_options --disable-tests
1410 %endif
1411 %if %{with crashreporter}
1412 ac_add_options --enable-crashreporter
1413 %else
1414 ac_add_options --disable-crashreporter
1415 %endif
1416 %ifarch %{ix86} %{x8664} %{arm}
1417 ac_add_options --disable-elf-hack
1418 %endif
1419 ac_add_options --disable-necko-wifi
1420 ac_add_options --disable-updater
1421 ac_add_options --enable-alsa
1422 ac_add_options --enable-application=comm/mail
1423 ac_add_options --enable-chrome-format=omni
1424 ac_add_options --enable-default-toolkit=cairo-gtk3
1425 %{?with_official:ac_add_options --enable-official-branding}
1426 %{?with_gold:ac_add_options --enable-linker=gold}
1427 %{?with_shared_js:ac_add_options --enable-shared-js}
1428 %{?with_system_cairo:ac_add_options --enable-system-cairo}
1429 ac_add_options --enable-system-pixman
1430 ac_add_options --with-distribution-id=org.pld-linux
1431 ac_add_options --with-system-ffi
1432 ac_add_options --with%{!?with_system_icu:out}-system-icu
1433 ac_add_options --with-system-jpeg
1434 ac_add_options --with-system-libevent
1435 ac_add_options --with%{!?with_system_libvpx:out}-system-libvpx
1436 ac_add_options --with-system-nspr
1437 ac_add_options --with-system-nss
1438 ac_add_options --with-system-png
1439 ac_add_options --with-system-webp
1440 ac_add_options --with-system-zlib
1441 EOF
1442
1443 %if ! %{with clang}
1444 # On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
1445 # however builds tend to fail on other arches when building in parallel.
1446 MOZ_PARALLEL_BUILD=1
1447 %ifarch %{x8664}
1448 jobs="%{__jobs}"
1449 [ -n "$jobs" -a "$jobs" -gt 4 ] && MOZ_PARALLEL_BUILD=4 || MOZ_PARALLEL_BUILD="$jobs"
1450 %endif
1451 export MOZ_PARALLEL_BUILD
1452 %else
1453 %{?__jobs:export MOZ_PARALLEL_BUILD="%__jobs"}
1454 %endif
1455
1456 AUTOCONF=/usr/bin/autoconf2_13 MACH_USE_SYSTEM_PYTHON=1 ./mach build
1457
1458 %if %{with crashreporter}
1459 # create debuginfo for crash-stats.mozilla.com
1460 %{__make} -j1 -C obj-%{_target_cpu} buildsymbols
1461 %endif
1462
1463 %install
1464 rm -rf $RPM_BUILD_ROOT
1465 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/{extensions,plugins},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
1466
1467 cd %{objdir}
1468 %{__make} -C comm/mail/installer stage-package \
1469         DESTDIR=$RPM_BUILD_ROOT \
1470         installdir=%{_libdir}/%{name} \
1471         PKG_SKIP_STRIP=1
1472
1473 cp -a dist/thunderbird/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
1474
1475 # Enable crash reporter for Thunderbird application
1476 %if %{with crashreporter}
1477 %{__sed} -i -e 's/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/' $RPM_BUILD_ROOT%{_libdir}/%{name}/application.ini
1478
1479 # Add debuginfo for crash-stats.mozilla.com
1480 install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name}
1481 cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name}
1482 %endif
1483
1484 %{__sed} -e 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/%{name}
1485 cp -p dist/thunderbird/chrome/icons/default/default48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
1486 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
1487
1488 # move arch independant ones to datadir
1489 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
1490 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
1491 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions
1492 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp
1493 ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
1494 ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
1495 ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions
1496 ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp
1497
1498 # mozldap
1499 %{__sed} -i '/lib\(ldap\|ldif\|prldap\)60.so/d' $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list
1500 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap}60.so
1501
1502 # remove unecessary stuff
1503 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/removed-files
1504
1505 cd ..
1506 for a in *.xpi; do
1507         basename=$(basename $a .xpi)
1508         cp -p $a $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/langpack-$basename@thunderbird.mozilla.org.xpi
1509 done
1510
1511 %clean
1512 rm -rf $RPM_BUILD_ROOT
1513
1514 %pretrans
1515 if [ -d %{_libdir}/%{name}/extensions ] && [ ! -L %{_libdir}/%{name}/extensions ]; then
1516         install -d %{_datadir}/%{name}
1517         if [ -e %{_datadir}/%{name}/extensions ]; then
1518                 mv %{_datadir}/%{name}/extensions{,.rpmsave}
1519         fi
1520         mv -v %{_libdir}/%{name}/extensions %{_datadir}/%{name}/extensions
1521 fi
1522 for d in chrome defaults icons isp modules res; do
1523         if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then
1524                 install -d %{_datadir}/%{name}
1525                 mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d
1526         fi
1527 done
1528 exit 0
1529
1530 %post
1531 %update_desktop_database_post
1532
1533 %postun
1534 %update_desktop_database_postun
1535
1536 %files
1537 %defattr(644,root,root,755)
1538 %attr(755,root,root) %{_bindir}/%{name}
1539 %dir %{_libdir}/%{name}
1540 %dir %{_libdir}/%{name}/plugins
1541
1542 %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
1543 %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
1544 %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so}
1545 %ifarch %{ix86} %{x8664} %{arm} aarch64
1546 %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
1547 %endif
1548 %attr(755,root,root) %{_libdir}/%{name}/libmozsqlite3.so
1549 %attr(755,root,root) %{_libdir}/%{name}/libmozwayland.so
1550 %attr(755,root,root) %{_libdir}/%{name}/librnp.so
1551 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
1552 %attr(755,root,root) %{_libdir}/%{name}/*-bin
1553 %attr(755,root,root) %{_libdir}/%{name}/pingsender
1554 %attr(755,root,root) %{_libdir}/%{name}/plugin-container
1555 %attr(755,root,root) %{_libdir}/%{name}/precomplete
1556 %attr(755,root,root) %{_libdir}/%{name}/thunderbird
1557
1558 %{_libdir}/%{name}/application.ini
1559 %{_libdir}/%{name}/dependentlibs.list
1560 %{_libdir}/%{name}/omni.ja
1561 %{_libdir}/%{name}/platform.ini
1562 %{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat}
1563
1564 %dir %{_libdir}/%{name}/fonts
1565 %{_libdir}/%{name}/fonts/TwemojiMozilla.ttf
1566
1567 %if %{with crashreporter}
1568 %attr(755,root,root) %{_libdir}/%{name}/crashreporter
1569 %{_libdir}/%{name}/crashreporter.ini
1570 %{_libdir}/%{name}/Throbber-small.gif
1571 %endif
1572
1573 # symlinks
1574 %{_libdir}/%{name}/chrome
1575 %{_libdir}/%{name}/defaults
1576 %{_libdir}/%{name}/extensions
1577 %{_libdir}/%{name}/isp
1578
1579 %{_pixmapsdir}/thunderbird.png
1580 %{_desktopdir}/thunderbird.desktop
1581
1582 %dir %{_datadir}/%{name}
1583 %{_datadir}/%{name}/chrome
1584 %{_datadir}/%{name}/defaults
1585 %dir %{_datadir}/%{name}/extensions
1586 %{_datadir}/%{name}/isp
1587
1588 %files lang-af
1589 %defattr(644,root,root,755)
1590 %{_datadir}/%{name}/extensions/langpack-af@thunderbird.mozilla.org.xpi
1591
1592 %files lang-ar
1593 %defattr(644,root,root,755)
1594 %{_datadir}/%{name}/extensions/langpack-ar@thunderbird.mozilla.org.xpi
1595
1596 %files lang-ast
1597 %defattr(644,root,root,755)
1598 %{_datadir}/%{name}/extensions/langpack-ast@thunderbird.mozilla.org.xpi
1599
1600 %files lang-be
1601 %defattr(644,root,root,755)
1602 %{_datadir}/%{name}/extensions/langpack-be@thunderbird.mozilla.org.xpi
1603
1604 %files lang-bg
1605 %defattr(644,root,root,755)
1606 %{_datadir}/%{name}/extensions/langpack-bg@thunderbird.mozilla.org.xpi
1607
1608 %files lang-br
1609 %defattr(644,root,root,755)
1610 %{_datadir}/%{name}/extensions/langpack-br@thunderbird.mozilla.org.xpi
1611
1612 %files lang-ca
1613 %defattr(644,root,root,755)
1614 %{_datadir}/%{name}/extensions/langpack-ca@thunderbird.mozilla.org.xpi
1615
1616 %files lang-cak
1617 %defattr(644,root,root,755)
1618 %{_datadir}/%{name}/extensions/langpack-cak@thunderbird.mozilla.org.xpi
1619
1620 %files lang-cs
1621 %defattr(644,root,root,755)
1622 %{_datadir}/%{name}/extensions/langpack-cs@thunderbird.mozilla.org.xpi
1623
1624 %files lang-cy
1625 %defattr(644,root,root,755)
1626 %{_datadir}/%{name}/extensions/langpack-cy@thunderbird.mozilla.org.xpi
1627
1628 %files lang-da
1629 %defattr(644,root,root,755)
1630 %{_datadir}/%{name}/extensions/langpack-da@thunderbird.mozilla.org.xpi
1631
1632 %files lang-de
1633 %defattr(644,root,root,755)
1634 %{_datadir}/%{name}/extensions/langpack-de@thunderbird.mozilla.org.xpi
1635
1636 %files lang-dsb
1637 %defattr(644,root,root,755)
1638 %{_datadir}/%{name}/extensions/langpack-dsb@thunderbird.mozilla.org.xpi
1639
1640 %files lang-el
1641 %defattr(644,root,root,755)
1642 %{_datadir}/%{name}/extensions/langpack-el@thunderbird.mozilla.org.xpi
1643
1644 %files lang-en_CA
1645 %defattr(644,root,root,755)
1646 %{_datadir}/%{name}/extensions/langpack-en-CA@thunderbird.mozilla.org.xpi
1647
1648 %files lang-en_GB
1649 %defattr(644,root,root,755)
1650 %{_datadir}/%{name}/extensions/langpack-en-GB@thunderbird.mozilla.org.xpi
1651
1652 %files lang-en_US
1653 %defattr(644,root,root,755)
1654 %{_datadir}/%{name}/extensions/langpack-en-US@thunderbird.mozilla.org.xpi
1655
1656 %files lang-es_AR
1657 %defattr(644,root,root,755)
1658 %{_datadir}/%{name}/extensions/langpack-es-AR@thunderbird.mozilla.org.xpi
1659
1660 %files lang-es
1661 %defattr(644,root,root,755)
1662 %{_datadir}/%{name}/extensions/langpack-es-ES@thunderbird.mozilla.org.xpi
1663
1664 %files lang-et
1665 %defattr(644,root,root,755)
1666 %{_datadir}/%{name}/extensions/langpack-et@thunderbird.mozilla.org.xpi
1667
1668 %files lang-eu
1669 %defattr(644,root,root,755)
1670 %{_datadir}/%{name}/extensions/langpack-eu@thunderbird.mozilla.org.xpi
1671
1672 %files lang-fi
1673 %defattr(644,root,root,755)
1674 %{_datadir}/%{name}/extensions/langpack-fi@thunderbird.mozilla.org.xpi
1675
1676 %files lang-fr
1677 %defattr(644,root,root,755)
1678 %{_datadir}/%{name}/extensions/langpack-fr@thunderbird.mozilla.org.xpi
1679
1680 %files lang-fy
1681 %defattr(644,root,root,755)
1682 %{_datadir}/%{name}/extensions/langpack-fy-NL@thunderbird.mozilla.org.xpi
1683
1684 %files lang-ga
1685 %defattr(644,root,root,755)
1686 %{_datadir}/%{name}/extensions/langpack-ga-IE@thunderbird.mozilla.org.xpi
1687
1688 %files lang-gd
1689 %defattr(644,root,root,755)
1690 %{_datadir}/%{name}/extensions/langpack-gd@thunderbird.mozilla.org.xpi
1691
1692 %files lang-gl
1693 %defattr(644,root,root,755)
1694 %{_datadir}/%{name}/extensions/langpack-gl@thunderbird.mozilla.org.xpi
1695
1696 %files lang-he
1697 %defattr(644,root,root,755)
1698 %{_datadir}/%{name}/extensions/langpack-he@thunderbird.mozilla.org.xpi
1699
1700 %files lang-hr
1701 %defattr(644,root,root,755)
1702 %{_datadir}/%{name}/extensions/langpack-hr@thunderbird.mozilla.org.xpi
1703
1704 %files lang-hsb
1705 %defattr(644,root,root,755)
1706 %{_datadir}/%{name}/extensions/langpack-hsb@thunderbird.mozilla.org.xpi
1707
1708 %files lang-hu
1709 %defattr(644,root,root,755)
1710 %{_datadir}/%{name}/extensions/langpack-hu@thunderbird.mozilla.org.xpi
1711
1712 %files lang-hy
1713 %defattr(644,root,root,755)
1714 %{_datadir}/%{name}/extensions/langpack-hy-AM@thunderbird.mozilla.org.xpi
1715
1716 %files lang-id
1717 %defattr(644,root,root,755)
1718 %{_datadir}/%{name}/extensions/langpack-id@thunderbird.mozilla.org.xpi
1719
1720 %files lang-is
1721 %defattr(644,root,root,755)
1722 %{_datadir}/%{name}/extensions/langpack-is@thunderbird.mozilla.org.xpi
1723
1724 %files lang-it
1725 %defattr(644,root,root,755)
1726 %{_datadir}/%{name}/extensions/langpack-it@thunderbird.mozilla.org.xpi
1727
1728 %files lang-ja
1729 %defattr(644,root,root,755)
1730 %{_datadir}/%{name}/extensions/langpack-ja@thunderbird.mozilla.org.xpi
1731
1732 %files lang-ka
1733 %defattr(644,root,root,755)
1734 %{_datadir}/%{name}/extensions/langpack-ka@thunderbird.mozilla.org.xpi
1735
1736 %files lang-kab
1737 %defattr(644,root,root,755)
1738 %{_datadir}/%{name}/extensions/langpack-kab@thunderbird.mozilla.org.xpi
1739
1740 %files lang-kk
1741 %defattr(644,root,root,755)
1742 %{_datadir}/%{name}/extensions/langpack-kk@thunderbird.mozilla.org.xpi
1743
1744 %files lang-ko
1745 %defattr(644,root,root,755)
1746 %{_datadir}/%{name}/extensions/langpack-ko@thunderbird.mozilla.org.xpi
1747
1748 %files lang-lt
1749 %defattr(644,root,root,755)
1750 %{_datadir}/%{name}/extensions/langpack-lt@thunderbird.mozilla.org.xpi
1751
1752 %files lang-lv
1753 %defattr(644,root,root,755)
1754 %{_datadir}/%{name}/extensions/langpack-lv@thunderbird.mozilla.org.xpi
1755
1756 %files lang-ms
1757 %defattr(644,root,root,755)
1758 %{_datadir}/%{name}/extensions/langpack-ms@thunderbird.mozilla.org.xpi
1759
1760 %files lang-nb
1761 %defattr(644,root,root,755)
1762 %{_datadir}/%{name}/extensions/langpack-nb-NO@thunderbird.mozilla.org.xpi
1763
1764 %files lang-nl
1765 %defattr(644,root,root,755)
1766 %{_datadir}/%{name}/extensions/langpack-nl@thunderbird.mozilla.org.xpi
1767
1768 %files lang-nn
1769 %defattr(644,root,root,755)
1770 %{_datadir}/%{name}/extensions/langpack-nn-NO@thunderbird.mozilla.org.xpi
1771
1772 %files lang-pa
1773 %defattr(644,root,root,755)
1774 %{_datadir}/%{name}/extensions/langpack-pa-IN@thunderbird.mozilla.org.xpi
1775
1776 %files lang-pl
1777 %defattr(644,root,root,755)
1778 %{_datadir}/%{name}/extensions/langpack-pl@thunderbird.mozilla.org.xpi
1779
1780 %files lang-pt_BR
1781 %defattr(644,root,root,755)
1782 %{_datadir}/%{name}/extensions/langpack-pt-BR@thunderbird.mozilla.org.xpi
1783
1784 %files lang-pt
1785 %defattr(644,root,root,755)
1786 %{_datadir}/%{name}/extensions/langpack-pt-PT@thunderbird.mozilla.org.xpi
1787
1788 %files lang-rm
1789 %defattr(644,root,root,755)
1790 %{_datadir}/%{name}/extensions/langpack-rm@thunderbird.mozilla.org.xpi
1791
1792 %files lang-ro
1793 %defattr(644,root,root,755)
1794 %{_datadir}/%{name}/extensions/langpack-ro@thunderbird.mozilla.org.xpi
1795
1796 %files lang-ru
1797 %defattr(644,root,root,755)
1798 %{_datadir}/%{name}/extensions/langpack-ru@thunderbird.mozilla.org.xpi
1799
1800 %files lang-sk
1801 %defattr(644,root,root,755)
1802 %{_datadir}/%{name}/extensions/langpack-sk@thunderbird.mozilla.org.xpi
1803
1804 %files lang-sl
1805 %defattr(644,root,root,755)
1806 %{_datadir}/%{name}/extensions/langpack-sl@thunderbird.mozilla.org.xpi
1807
1808 %files lang-sq
1809 %defattr(644,root,root,755)
1810 %{_datadir}/%{name}/extensions/langpack-sq@thunderbird.mozilla.org.xpi
1811
1812 %files lang-sr
1813 %defattr(644,root,root,755)
1814 %{_datadir}/%{name}/extensions/langpack-sr@thunderbird.mozilla.org.xpi
1815
1816 %files lang-sv
1817 %defattr(644,root,root,755)
1818 %{_datadir}/%{name}/extensions/langpack-sv-SE@thunderbird.mozilla.org.xpi
1819
1820 %files lang-th
1821 %defattr(644,root,root,755)
1822 %{_datadir}/%{name}/extensions/langpack-th@thunderbird.mozilla.org.xpi
1823
1824 %files lang-tr
1825 %defattr(644,root,root,755)
1826 %{_datadir}/%{name}/extensions/langpack-tr@thunderbird.mozilla.org.xpi
1827
1828 %files lang-uk
1829 %defattr(644,root,root,755)
1830 %{_datadir}/%{name}/extensions/langpack-uk@thunderbird.mozilla.org.xpi
1831
1832 %files lang-uz
1833 %defattr(644,root,root,755)
1834 %{_datadir}/%{name}/extensions/langpack-uz@thunderbird.mozilla.org.xpi
1835
1836 %files lang-vi
1837 %defattr(644,root,root,755)
1838 %{_datadir}/%{name}/extensions/langpack-vi@thunderbird.mozilla.org.xpi
1839
1840 %files lang-zh_CN
1841 %defattr(644,root,root,755)
1842 %{_datadir}/%{name}/extensions/langpack-zh-CN@thunderbird.mozilla.org.xpi
1843
1844 %files lang-zh_TW
1845 %defattr(644,root,root,755)
1846 %{_datadir}/%{name}/extensions/langpack-zh-TW@thunderbird.mozilla.org.xpi
This page took 0.246638 seconds and 2 git commands to generate.