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