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