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