0df75fb0d04251d16e31a25af9d3c3d066b0707e
[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  lightning       # disable Sunbird/Lightning calendar
8 %bcond_without  official        # official Thunderbird branding
9 %bcond_with     crashreporter   # report crashes to crash-stats.mozilla.com
10 %bcond_with     gold            # use gold instead of default linker
11 # - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964
12 %bcond_with     shared_js       # shared libmozjs library [broken]
13 %bcond_without  system_icu      # build without system ICU
14 %bcond_with     system_cairo    # build with system cairo (not supported in 60.0)
15 %bcond_without  system_libvpx   # build with system libvpx
16 %bcond_without  clang           # build using Clang/LLVM
17 %bcond_with     lowmem          # lower memory requirements
18
19 # UPDATING TRANSLATIONS:
20 %if 0
21 rm -vf *.xpi
22 ./builder -g
23 V=31.4.0
24 U=https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/$V/linux-i686/
25 curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
26 %endif
27
28 %define         _enable_debug_packages  0
29
30 %if 0%{?_enable_debug_packages} != 1
31 %undefine       crashreporter
32 %endif
33
34 %ifarch %{ix86} %{arm} aarch64
35 %define         with_lowmem     1
36 %endif
37
38 %define         nspr_ver        4.25
39 %define         nss_ver         3.53.1
40
41 Summary:        Thunderbird - email client
42 Summary(pl.UTF-8):      Thunderbird - klient poczty
43 Name:           thunderbird
44 Version:        78.10.2
45 Release:        1
46 License:        MPL v2.0
47 Group:          X11/Applications/Mail
48 Source0:        https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz
49 # Source0-md5:  5e59ca47bb821a4d04e994bd3803319c
50 Source1:        %{name}.desktop
51 Source2:        %{name}.sh
52 Source100:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/af.xpi
53 # Source100-md5:        d5c097995d7e5678df7dcbc8b19574a4
54 Source101:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
55 # Source101-md5:        38a4255339329c7a1e1c18a14d0c9374
56 Source102:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
57 # Source102-md5:        5b2c04f26500387885b15f7b06970ca9
58 Source103:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
59 # Source103-md5:        6036f7511534fff0e344f9bed51bbf5a
60 Source104:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
61 # Source104-md5:        7beeb2c4e407a6b21be7e4fd8affcf5c
62 Source105:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
63 # Source105-md5:        916c821a28652182e228e54412b8dd69
64 Source106:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
65 # Source106-md5:        74513ae62692dbcd967943821bdc4471
66 Source107:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
67 # Source107-md5:        34dce05fe86b20af3b2dda09f27b20f3
68 Source108:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
69 # Source108-md5:        c05278e3664d10128b54df4b6accd421
70 Source109:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
71 # Source109-md5:        4d83bbdaef4f767709c79ee30d11de53
72 Source110:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
73 # Source110-md5:        5d7c2e9e98c066b5aaac1c3b66d87804
74 Source111:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
75 # Source111-md5:        ecada9fc3ffcad7e33ac6d653e3c08ea
76 Source112:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
77 # Source112-md5:        cb42547629a9966e4a31f40f34498251
78 Source113:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
79 # Source113-md5:        becba4ee5e12e73e9a10cebf10ce5396
80 Source114:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
81 # Source114-md5:        6e00993c062a59ff6b3fb298a8381b21
82 Source115:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
83 # Source115-md5:        3e3ca69df8e99e4064f4b3e57f7c038e
84 Source116:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
85 # Source116-md5:        fff13859de57abbae073cb6051f53109
86 Source117:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
87 # Source117-md5:        839f7584ba1e4c0e2f6fe853135dbcc1
88 Source118:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
89 # Source118-md5:        069b3a7b596223be9f0881f16a6b9dd4
90 Source119:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
91 # Source119-md5:        acd0a700eb32437794aeeae1b9f1cd53
92 Source120:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
93 # Source120-md5:        286851695bf154306d555170568220e6
94 Source121:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fa.xpi
95 # Source121-md5:        4d3e2b88bf02b6ad2834b1feadf19c42
96 Source122:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
97 # Source122-md5:        8e4b3250c20376b41288c6d15678cdbf
98 Source123:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
99 # Source123-md5:        be5dfb0972f4849ac3e2996cfc9bd2b9
100 Source124:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
101 # Source124-md5:        a0d28606b1e076f090b764d499881b59
102 Source125:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
103 # Source125-md5:        9647b1f93ae171f5ce7cd0f34cb03090
104 Source126:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
105 # Source126-md5:        a494bf52ea0a6fcb5878bb50ebfedfd8
106 Source127:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
107 # Source127-md5:        af271441d00dfe15effc1d619fe2934c
108 Source128:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
109 # Source128-md5:        55822ff7c4e81b95f7bfa89264fb851a
110 Source129:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
111 # Source129-md5:        cb48fcb44e0616d5e1bb889e798ba1ec
112 Source130:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
113 # Source130-md5:        0f0eb6dbb06745c8788d5370908fd56d
114 Source131:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
115 # Source131-md5:        261e3faaa29d212305e77d452012e950
116 Source132:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
117 # Source132-md5:        6da8fe33a8c3d9f2b01ee522ffe1e8d0
118 Source133:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
119 # Source133-md5:        26815dd9417899b4b694248429c8c5fd
120 Source134:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
121 # Source134-md5:        2b6e3893830825c905c0ad12c5d6acf3
122 Source135:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
123 # Source135-md5:        9a91caa52c42260f0df8eeec2ceccd67
124 Source136:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
125 # Source136-md5:        3cbcdb163de27962f0ea1b4ab62b0253
126 Source137:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
127 # Source137-md5:        b10ce2077d906c765a69ceb39d4b4468
128 Source138:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
129 # Source138-md5:        0182f692341b1a0a48ddeca2c5ec9a81
130 Source139:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
131 # Source139-md5:        5c61111e726e9f14179ced8d81cf46fa
132 Source140:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
133 # Source140-md5:        e40d7e4faa1c0af0a931e08539c83324
134 Source141:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
135 # Source141-md5:        aac7fe3d6db7ef5e54bf2a08ea873680
136 Source142:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
137 # Source142-md5:        e5b39ef5d63116150aa3b8abd3625849
138 Source143:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
139 # Source143-md5:        69f04a6f22bcfe7d99b405279799b496
140 Source144:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
141 # Source144-md5:        cd82eceb311f9dcc481f4eb77d7dbbf8
142 Source145:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
143 # Source145-md5:        484879f91e2663da439032abed9fbb8d
144 Source146:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
145 # Source146-md5:        dc35d68d4ec24f1b3ca75270e1733b31
146 Source147:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
147 # Source147-md5:        558cb30eb4acaf6f804a1fed50d0a151
148 Source148:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
149 # Source148-md5:        634760b8f9a9c228e86c2e59743b5e9e
150 Source149:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
151 # Source149-md5:        52d697cbb29026556f50128bb76cc257
152 Source150:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
153 # Source150-md5:        d928d5aaad40e2e16c32380585e1a4fa
154 Source151:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
155 # Source151-md5:        6659b3fb3bcb05ce56b678d9e86694de
156 Source152:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
157 # Source152-md5:        d4e8a12c97598b1691c8b08894bf8286
158 Source153:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/si.xpi
159 # Source153-md5:        27e31018fd9a8c539a1a71c1200ff50a
160 Source154:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
161 # Source154-md5:        d39c9cc77acd373b8f26de6a928b07b5
162 Source155:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
163 # Source155-md5:        c25260be70e6716a7c48d73f9c2d98cc
164 Source156:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
165 # Source156-md5:        f95d368638076b01149c0df13728c69f
166 Source157:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
167 # Source157-md5:        599bc27a8558184f4eee7d54208ee910
168 Source158:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
169 # Source158-md5:        5872df4dcaa9242b4a4edfb4fc572ffe
170 Source159:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
171 # Source159-md5:        f7964ba69f68734b45312d6fe7cdfd13
172 Source160:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
173 # Source160-md5:        0e0afe2d4cdaac3c33d41d8a80da0120
174 Source161:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
175 # Source161-md5:        de15f50bd84f828d4c280c874d8e3050
176 Source162:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
177 # Source162-md5:        89d69c15559bfd3c7633c092dc197203
178 Source163:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
179 # Source163-md5:        0c8a0052751c0f8e0f2ccfe5ebf1b8c6
180 Source164:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
181 # Source164-md5:        b3c1d78242b4b7424941412b962ec234
182 Source165:      https://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
183 # Source165-md5:        3ec68cc1113bb732a65f7cb9cd0de7c9
184 Patch0:         prefs.patch
185 Patch1:         no-subshell.patch
186 Patch2:         enable-addons.patch
187 Patch3:         %{name}-system-virtualenv.patch
188 URL:            http://www.mozilla.org/projects/thunderbird/
189 BuildRequires:  alsa-lib-devel
190 BuildRequires:  autoconf2_13 >= 2.13
191 %{?with_gold:BuildRequires:     binutils >= 3:2.20.51.0.7}
192 %{?with_system_cairo:BuildRequires:     cairo-devel >= 1.10.2-5}
193 BuildRequires:  cargo
194 %{?with_clang:BuildRequires:    clang}
195 BuildRequires:  clang-devel
196 BuildRequires:  dbus-devel >= 0.60
197 BuildRequires:  dbus-glib-devel >= 0.60
198 BuildRequires:  fontconfig-devel >= 2.7.0
199 BuildRequires:  freetype-devel >= 1:2.1.8
200 BuildRequires:  glib2-devel >= 1:2.22
201 BuildRequires:  gtk+3-devel >= 3.14.0
202 BuildRequires:  libatomic-devel
203 BuildRequires:  libdrm-devel >= 2.4
204 BuildRequires:  libevent-devel
205 BuildRequires:  libffi-devel > 3.0.9
206 %{?with_system_icu:BuildRequires:       libicu-devel >= 67.1}
207 BuildRequires:  libiw-devel
208 # requires libjpeg-turbo implementing at least libjpeg 6b API
209 BuildRequires:  libjpeg-devel >= 6b
210 BuildRequires:  libjpeg-turbo-devel
211 BuildRequires:  libpng-devel >= 2:1.6.35
212 BuildRequires:  libstdc++-devel >= 6:7
213 BuildRequires:  libwebp-devel >= 1.0.2
214 %{?with_system_libvpx:BuildRequires:    libvpx-devel >= 1.8.0}
215 BuildRequires:  llvm-devel
216 BuildRequires:  mozldap-devel
217 BuildRequires:  nodejs >= 10.21.0
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.19.2
223 BuildRequires:  pkgconfig
224 BuildRequires:  python3 >= 1:3.8.5-3
225 BuildRequires:  python3-virtualenv
226 BuildRequires:  rpm-build >= 4.6
227 BuildRequires:  rust >= 1.41.0
228 BuildRequires:  rust-cbindgen >= 0.14.1
229 BuildRequires:  sed >= 4.0
230 BuildRequires:  tar >= 1:1.22
231 BuildRequires:  virtualenv
232 BuildRequires:  xorg-lib-libX11-devel
233 BuildRequires:  xorg-lib-libXcomposite-devel
234 BuildRequires:  xorg-lib-libXdamage-devel
235 BuildRequires:  xorg-lib-libXext-devel
236 BuildRequires:  xorg-lib-libXfixes-devel
237 BuildRequires:  xorg-lib-libXt-devel
238 BuildRequires:  xorg-lib-libxkbcommon-devel >= 0.4.1
239 BuildRequires:  xz
240 %ifarch %{ix86} %{x8664}
241 BuildRequires:  yasm >= 1.0.1
242 %endif
243 BuildRequires:  zip
244 BuildRequires:  zlib-devel >= 1.2.3
245 Requires(post): mktemp >= 1.5-18
246 %{?with_system_cairo:Requires:  cairo >= 1.10.2-5}
247 Requires:       dbus-glib >= 0.60
248 Requires:       fontconfig >= 2.7.0
249 Requires:       glib2 >= 1:2.22
250 Requires:       glibc >= 6:2.17
251 Requires:       gtk+3 >= 3.14.0
252 Requires:       libdrm >= 2.4
253 %{?with_system_icu:Requires:    libicu >= 67.1}
254 Requires:       libjpeg-turbo
255 Requires:       libpng >= 2:1.6.35
256 Requires:       libstdc++ >= 6:4.8.1
257 Requires:       libwebp >= 1.0.2
258 %{?with_system_libvpx:Requires: libvpx >= 1.8.0}
259 Requires:       myspell-common
260 Requires:       nspr >= 1:%{nspr_ver}
261 Requires:       nss >= 1:%{nss_ver}
262 Requires:       pango >= 1:1.22.0
263 Requires:       xorg-lib-libxkbcommon >= 0.4.1
264 Obsoletes:      icedove < 39
265 Obsoletes:      mozilla-thunderbird < 32
266 Obsoletes:      mozilla-thunderbird-dictionary-en-US < 2.0
267 Obsoletes:      thunderbird-addon-lightning < 78.0
268 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-fa
639 Summary:        Persian resources for Thunderbird
640 Summary(pl.UTF-8):      Perskie pliki językowe dla Thunderbirda
641 Group:          I18n
642 Requires:       thunderbird >= %{version}
643 Provides:       thunderbird-lang-resources = %{version}
644 BuildArch:      noarch
645
646 %description lang-fa
647 Persian resources for Thunderbird.
648
649 %description lang-fa -l pl.UTF-8
650 Perskie pliki językowe dla Thunderbirda.
651
652 %package lang-fi
653 Summary:        Finnish resources for Thunderbird
654 Summary(pl.UTF-8):      Fińskie pliki językowe dla Thunderbirda
655 Group:          I18n
656 Requires:       thunderbird >= %{version}
657 Provides:       thunderbird-lang-resources = %{version}
658 Obsoletes:      icedove-lang-fi < 39
659 Obsoletes:      mozilla-thunderbird-lang-fi < 32
660 BuildArch:      noarch
661
662 %description lang-fi
663 Finnish resources for Thunderbird.
664
665 %description lang-fi -l pl.UTF-8
666 Fińskie pliki językowe dla Thunderbirda.
667
668 %package lang-fr
669 Summary:        French resources for Thunderbird
670 Summary(pl.UTF-8):      Francuskie pliki językowe dla Thunderbirda
671 Group:          I18n
672 Requires:       thunderbird >= %{version}
673 Provides:       thunderbird-lang-resources = %{version}
674 Obsoletes:      icedove-lang-fr < 39
675 Obsoletes:      mozilla-thunderbird-lang-fr < 32
676 BuildArch:      noarch
677
678 %description lang-fr
679 French resources for Thunderbird.
680
681 %description lang-fr -l pl.UTF-8
682 Francuskie pliki językowe dla Thunderbirda.
683
684 %package lang-fy
685 Summary:        Frisian resources for Thunderbird
686 Summary(pl.UTF-8):      Fryzyjskie pliki językowe dla Thunderbirda
687 Group:          I18n
688 Requires:       thunderbird >= %{version}
689 Provides:       thunderbird-lang-resources = %{version}
690 Obsoletes:      icedove-lang-fy < 39
691 Obsoletes:      mozilla-thunderbird-lang-fy < 32
692 BuildArch:      noarch
693
694 %description lang-fy
695 Frisian resources for Thunderbird.
696
697 %description lang-fy -l pl.UTF-8
698 Fryzyjskie pliki językowe dla Thunderbirda.
699
700 %package lang-ga
701 Summary:        Irish resources for Thunderbird
702 Summary(pl.UTF-8):      Irlandzkie pliki językowe dla Thunderbirda
703 Group:          I18n
704 Requires:       thunderbird >= %{version}
705 Provides:       thunderbird-lang-resources = %{version}
706 Obsoletes:      icedove-lang-ga < 39
707 Obsoletes:      mozilla-thunderbird-lang-ga < 32
708 BuildArch:      noarch
709
710 %description lang-ga
711 Irish resources for Thunderbird.
712
713 %description lang-ga -l pl.UTF-8
714 Irlandzkie pliki językowe dla Thunderbirda.
715
716 %package lang-gd
717 Summary:        Gaelic resources for Thunderbird
718 Summary(pl.UTF-8):      Szkockie (gaelickie) pliki językowe dla Thunderbirda
719 Group:          I18n
720 Requires:       thunderbird >= %{version}
721 Provides:       thunderbird-lang-resources = %{version}
722 Obsoletes:      icedove-lang-gd < 39
723 Obsoletes:      mozilla-thunderbird-lang-gd < 32
724 BuildArch:      noarch
725
726 %description lang-gd
727 Gaelic resources for Thunderbird.
728
729 %description lang-gd -l pl.UTF-8
730 Szkockie (gaelickie) pliki językowe dla Thunderbirda.
731
732 %package lang-gl
733 Summary:        Galician resources for Thunderbird
734 Summary(pl.UTF-8):      Galicyjskie pliki językowe dla Thunderbirda
735 Group:          I18n
736 Requires:       thunderbird >= %{version}
737 Provides:       thunderbird-lang-resources = %{version}
738 Obsoletes:      icedove-lang-gl < 39
739 Obsoletes:      mozilla-thunderbird-lang-gl < 32
740 BuildArch:      noarch
741
742 %description lang-gl
743 Galician resources for Thunderbird.
744
745 %description lang-gl -l pl.UTF-8
746 Galicyjskie pliki językowe dla Thunderbirda.
747
748 %package lang-he
749 Summary:        Hebrew resources for Thunderbird
750 Summary(pl.UTF-8):      Hebrajskie pliki językowe dla Thunderbirda
751 Group:          I18n
752 Requires:       thunderbird >= %{version}
753 Provides:       thunderbird-lang-resources = %{version}
754 Obsoletes:      icedove-lang-he < 39
755 Obsoletes:      mozilla-thunderbird-lang-he < 32
756 BuildArch:      noarch
757
758 %description lang-he
759 Hebrew resources for Thunderbird.
760
761 %description lang-he -l pl.UTF-8
762 Hebrajskie pliki językowe dla Thunderbirda.
763
764 %package lang-hr
765 Summary:        Croatian resources for Thunderbird
766 Summary(pl.UTF-8):      Chorwackie pliki językowe dla Thunderbirda
767 Group:          I18n
768 Requires:       thunderbird >= %{version}
769 Provides:       thunderbird-lang-resources = %{version}
770 Obsoletes:      icedove-lang-hr < 39
771 Obsoletes:      mozilla-thunderbird-lang-hr < 32
772 BuildArch:      noarch
773
774 %description lang-hr
775 Croatian resources for Thunderbird.
776
777 %description lang-hr -l pl.UTF-8
778 Chorwackie pliki językowe dla Thunderbirda.
779
780 %package lang-hsb
781 Summary:        Upper Sorbian resources for Thunderbird
782 Summary(pl.UTF-8):      Górnołużyckie pliki językowe dla Thunderbirda
783 Group:          I18n
784 Requires:       thunderbird >= %{version}
785 Provides:       thunderbird-lang-resources = %{version}
786 BuildArch:      noarch
787
788 %description lang-hsb
789 Upper Sorbian resources for Thunderbird.
790
791 %description lang-hsb -l pl.UTF-8
792 Górnołużyckie pliki językowe dla Thunderbirda.
793
794 %package lang-hu
795 Summary:        Hungarian resources for Thunderbird
796 Summary(pl.UTF-8):      Węgierskie pliki językowe dla Thunderbirda
797 Group:          I18n
798 Requires:       thunderbird >= %{version}
799 Provides:       thunderbird-lang-resources = %{version}
800 Obsoletes:      icedove-lang-hu < 39
801 Obsoletes:      mozilla-thunderbird-lang-hu < 32
802 BuildArch:      noarch
803
804 %description lang-hu
805 Hungarian resources for Thunderbird.
806
807 %description lang-hu -l pl.UTF-8
808 Węgierskie pliki językowe dla Thunderbirda.
809
810 %package lang-hy
811 Summary:        Armenian resources for Thunderbird
812 Summary(pl.UTF-8):      Ormiańskie pliki językowe dla Thunderbirda
813 Group:          I18n
814 Requires:       thunderbird >= %{version}
815 Provides:       thunderbird-lang-resources = %{version}
816 Obsoletes:      icedove-lang-hy < 39
817 Obsoletes:      mozilla-thunderbird-lang-hy < 32
818 BuildArch:      noarch
819
820 %description lang-hy
821 Armenian resources for Thunderbird.
822
823 %description lang-hy -l pl.UTF-8
824 Ormiańskie pliki językowe dla Thunderbirda.
825
826 %package lang-id
827 Summary:        Indonesian resources for Thunderbird
828 Summary(pl.UTF-8):      Indonezyjskie pliki językowe dla Thunderbirda
829 Group:          I18n
830 Requires:       thunderbird >= %{version}
831 Provides:       thunderbird-lang-resources = %{version}
832 Obsoletes:      icedove-lang-id < 39
833 Obsoletes:      mozilla-thunderbird-lang-id < 32
834 BuildArch:      noarch
835
836 %description lang-id
837 Indonesian resources for Thunderbird.
838
839 %description lang-id -l pl.UTF-8
840 Indonezyjskie pliki językowe dla Thunderbirda.
841
842 %package lang-is
843 Summary:        Icelandic resources for Thunderbird
844 Summary(pl.UTF-8):      Islandzkie pliki językowe dla Thunderbirda
845 Group:          I18n
846 Requires:       thunderbird >= %{version}
847 Provides:       thunderbird-lang-resources = %{version}
848 Obsoletes:      icedove-lang-is < 39
849 Obsoletes:      mozilla-thunderbird-lang-is < 32
850 BuildArch:      noarch
851
852 %description lang-is
853 Icelandic resources for Thunderbird.
854
855 %description lang-is -l pl.UTF-8
856 Islandzkie pliki językowe dla Thunderbirda.
857
858 %package lang-it
859 Summary:        Italian resources for Thunderbird
860 Summary(pl.UTF-8):      Włoskie pliki językowe dla Thunderbirda
861 Group:          I18n
862 Requires:       thunderbird >= %{version}
863 Provides:       thunderbird-lang-resources = %{version}
864 Obsoletes:      icedove-lang-it < 39
865 Obsoletes:      mozilla-thunderbird-lang-it < 32
866 BuildArch:      noarch
867
868 %description lang-it
869 Italian resources for Thunderbird.
870
871 %description lang-it -l pl.UTF-8
872 Włoskie pliki językowe dla Thunderbirda.
873
874 %package lang-ja
875 Summary:        Japanese resources for Thunderbird
876 Summary(pl.UTF-8):      Japońskie pliki językowe dla Thunderbirda
877 Group:          I18n
878 Requires:       thunderbird >= %{version}
879 Provides:       thunderbird-lang-resources = %{version}
880 Obsoletes:      icedove-lang-ja < 39
881 Obsoletes:      mozilla-thunderbird-lang-ja < 32
882 BuildArch:      noarch
883
884 %description lang-ja
885 Japanese resources for Thunderbird.
886
887 %description lang-ja -l pl.UTF-8
888 Japońskie pliki językowe dla Thunderbirda.
889
890 %package lang-ka
891 Summary:        Georgian resources for Thunderbird
892 Summary(pl.UTF-8):      Gruzińskie 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-ka
899 Georgian resources for Thunderbird.
900
901 %description lang-ka -l pl.UTF-8
902 Gruzińskie pliki językowe dla Thunderbirda.
903
904 %package lang-kab
905 Summary:        Kabyle resources for Thunderbird
906 Summary(pl.UTF-8):      Kabylskie 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-kab
913 Kabyle resources for Thunderbird.
914
915 %description lang-kab -l pl.UTF-8
916 Kabylskie pliki językowe dla Thunderbirda.
917
918 %package lang-kk
919 Summary:        Kazakh resources for Thunderbird
920 Summary(pl.UTF-8):      Kazachskie pliki językowe dla Thunderbirda
921 Group:          I18n
922 Requires:       thunderbird >= %{version}
923 Provides:       thunderbird-lang-resources = %{version}
924 BuildArch:      noarch
925
926 %description lang-kk
927 Kazakh resources for Thunderbird.
928
929 %description lang-kk -l pl.UTF-8
930 Kazachskie pliki językowe dla Thunderbirda.
931
932 %package lang-ko
933 Summary:        Korean resources for Thunderbird
934 Summary(pl.UTF-8):      Koreańskie pliki językowe dla Thunderbirda
935 Group:          I18n
936 Requires:       thunderbird >= %{version}
937 Provides:       thunderbird-lang-resources = %{version}
938 Obsoletes:      icedove-lang-ko < 39
939 Obsoletes:      mozilla-thunderbird-lang-ko < 32
940 BuildArch:      noarch
941
942 %description lang-ko
943 Korean resources for Thunderbird.
944
945 %description lang-ko -l pl.UTF-8
946 Koreańskie pliki językowe dla Thunderbirda.
947
948 %package lang-lt
949 Summary:        Lithuanian resources for Thunderbird
950 Summary(pl.UTF-8):      Litewskie pliki językowe dla Thunderbirda
951 Group:          I18n
952 Requires:       thunderbird >= %{version}
953 Provides:       thunderbird-lang-resources = %{version}
954 Obsoletes:      icedove-lang-lt < 39
955 Obsoletes:      mozilla-thunderbird-lang-lt < 32
956 BuildArch:      noarch
957
958 %description lang-lt
959 Lithuanian resources for Thunderbird.
960
961 %description lang-lt -l pl.UTF-8
962 Litewskie 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-si
1139 Summary:        Sinhala resources for Thunderbird
1140 Summary(pl.UTF-8):      Syngaleskie pliki językowe dla Thunderbirda
1141 Group:          I18n
1142 Requires:       thunderbird >= %{version}
1143 Provides:       thunderbird-lang-resources = %{version}
1144 Obsoletes:      icedove-lang-si < 39
1145 Obsoletes:      mozilla-thunderbird-lang-si < 32
1146 BuildArch:      noarch
1147
1148 %description lang-si
1149 Sinhala resources for Thunderbird.
1150
1151 %description lang-si -l pl.UTF-8
1152 Syngaleskie pliki językowe dla Thunderbirda.
1153
1154 %package lang-sk
1155 Summary:        Slovak resources for Thunderbird
1156 Summary(pl.UTF-8):      Słowackie pliki językowe dla Thunderbirda
1157 Group:          I18n
1158 Requires:       thunderbird >= %{version}
1159 Provides:       thunderbird-lang-resources = %{version}
1160 Obsoletes:      icedove-lang-sk < 39
1161 Obsoletes:      mozilla-thunderbird-lang-sk < 32
1162 BuildArch:      noarch
1163
1164 %description lang-sk
1165 Slovak resources for Thunderbird.
1166
1167 %description lang-sk -l pl.UTF-8
1168 Słowackie pliki językowe dla Thunderbirda.
1169
1170 %package lang-sl
1171 Summary:        Slovene resources for Thunderbird
1172 Summary(pl.UTF-8):      Słoweńskie pliki językowe dla Thunderbirda
1173 Group:          I18n
1174 Requires:       thunderbird >= %{version}
1175 Provides:       thunderbird-lang-resources = %{version}
1176 Obsoletes:      icedove-lang-sl < 39
1177 Obsoletes:      mozilla-thunderbird-lang-sl < 32
1178 BuildArch:      noarch
1179
1180 %description lang-sl
1181 Slovene resources for Thunderbird.
1182
1183 %description lang-sl -l pl.UTF-8
1184 Słoweńskie pliki językowe dla Thunderbirda.
1185
1186 %package lang-sq
1187 Summary:        Albanian resources for Thunderbird
1188 Summary(pl.UTF-8):      Albańskie pliki językowe dla Thunderbirda
1189 Group:          I18n
1190 Requires:       thunderbird >= %{version}
1191 Provides:       thunderbird-lang-resources = %{version}
1192 Obsoletes:      icedove-lang-sq < 39
1193 Obsoletes:      mozilla-thunderbird-lang-sq < 32
1194 BuildArch:      noarch
1195
1196 %description lang-sq
1197 Albanian resources for Thunderbird.
1198
1199 %description lang-sq -l pl.UTF-8
1200 Albańskie pliki językowe dla Thunderbirda.
1201
1202 %package lang-sr
1203 Summary:        Serbian resources for Thunderbird
1204 Summary(pl.UTF-8):      Serbskie pliki językowe dla Thunderbirda
1205 Group:          I18n
1206 Requires:       thunderbird >= %{version}
1207 Provides:       thunderbird-lang-resources = %{version}
1208 Obsoletes:      icedove-lang-sr < 39
1209 Obsoletes:      mozilla-thunderbird-lang-sr < 32
1210 BuildArch:      noarch
1211
1212 %description lang-sr
1213 Serbian resources for Thunderbird.
1214
1215 %description lang-sr -l pl.UTF-8
1216 Serbskie pliki językowe dla Thunderbirda.
1217
1218 %package lang-sv
1219 Summary:        Swedish resources for Thunderbird
1220 Summary(pl.UTF-8):      Szwedzkie pliki językowe dla Thunderbirda
1221 Group:          I18n
1222 Requires:       thunderbird >= %{version}
1223 Provides:       thunderbird-lang-resources = %{version}
1224 Obsoletes:      icedove-lang-sv < 39
1225 Obsoletes:      mozilla-thunderbird-lang-sv < 32
1226 BuildArch:      noarch
1227
1228 %description lang-sv
1229 Swedish resources for Thunderbird.
1230
1231 %description lang-sv -l pl.UTF-8
1232 Szwedzkie pliki językowe dla Thunderbirda.
1233
1234 %package lang-ta_LK
1235 Summary:        Tamil (Sri Lanka) resources for Thunderbird
1236 Summary(pl.UTF-8):      Tamilskie pliki językowe dla Thunderbirda (wersja dla Sri Lanki)
1237 Group:          I18n
1238 Requires:       thunderbird >= %{version}
1239 Provides:       thunderbird-lang-resources = %{version}
1240 Obsoletes:      icedove-lang-ta_LK < 39
1241 Obsoletes:      mozilla-thunderbird-lang-ta_LK < 32
1242 BuildArch:      noarch
1243
1244 %description lang-ta_LK
1245 Tamil (Sri Lanka) resources for Thunderbird.
1246
1247 %description lang-ta_LK -l pl.UTF-8
1248 Tamilskie pliki językowe dla Thunderbirda (wersja dla Sri Lanki).
1249
1250 %package lang-th
1251 Summary:        Thai resources for Thunderbird
1252 Summary(pl.UTF-8):      Tajskie pliki językowe dla Thunderbirda
1253 Group:          I18n
1254 Requires:       thunderbird >= %{version}
1255 Provides:       thunderbird-lang-resources = %{version}
1256 BuildArch:      noarch
1257
1258 %description lang-th
1259 Thai resources for Thunderbird.
1260
1261 %description lang-th -l pl.UTF-8
1262 Tajskie pliki językowe dla Thunderbirda.
1263
1264 %package lang-tr
1265 Summary:        Turkish resources for Thunderbird
1266 Summary(pl.UTF-8):      Tureckie pliki językowe dla Thunderbirda
1267 Group:          I18n
1268 Requires:       thunderbird >= %{version}
1269 Provides:       thunderbird-lang-resources = %{version}
1270 Obsoletes:      icedove-lang-tr < 39
1271 Obsoletes:      mozilla-thunderbird-lang-tr < 32
1272 BuildArch:      noarch
1273
1274 %description lang-tr
1275 Turkish resources for Thunderbird.
1276
1277 %description lang-tr -l pl.UTF-8
1278 Tureckie pliki językowe dla Thunderbirda.
1279
1280 %package lang-uk
1281 Summary:        Ukrainian resources for Thunderbird
1282 Summary(pl.UTF-8):      Ukraińskie pliki językowe dla Thunderbirda
1283 Group:          I18n
1284 Requires:       thunderbird >= %{version}
1285 Provides:       thunderbird-lang-resources = %{version}
1286 Obsoletes:      icedove-lang-uk < 39
1287 Obsoletes:      mozilla-thunderbird-lang-uk < 32
1288 BuildArch:      noarch
1289
1290 %description lang-uk
1291 Ukrainian resources for Thunderbird.
1292
1293 %description lang-uk -l pl.UTF-8
1294 Ukraińskie pliki językowe dla Thunderbirda.
1295
1296 %package lang-uz
1297 Summary:        Uzbek resources for Thunderbird
1298 Summary(pl.UTF-8):      Uzbeckie pliki językowe dla Thunderbirda
1299 Group:          I18n
1300 Requires:       thunderbird >= %{version}
1301 Provides:       thunderbird-lang-resources = %{version}
1302 BuildArch:      noarch
1303
1304 %description lang-uz
1305 Uzbek resources for Thunderbird.
1306
1307 %description lang-uz -l pl.UTF-8
1308 zbeckiee pliki językowe dla Thunderbirda.
1309
1310 %package lang-vi
1311 Summary:        Vietnamese resources for Thunderbird
1312 Summary(pl.UTF-8):      Wietnamskie pliki językowe dla Thunderbirda
1313 Group:          I18n
1314 Requires:       thunderbird >= %{version}
1315 Provides:       thunderbird-lang-resources = %{version}
1316 Obsoletes:      icedove-lang-vi < 39
1317 Obsoletes:      mozilla-thunderbird-lang-vi < 32
1318 BuildArch:      noarch
1319
1320 %description lang-vi
1321 Vietnamese resources for Thunderbird.
1322
1323 %description lang-vi -l pl.UTF-8
1324 Wietnamskie pliki językowe dla Thunderbirda.
1325
1326 %package lang-zh_CN
1327 Summary:        Simplified Chinese resources for Thunderbird
1328 Summary(pl.UTF-8):      Chińskie (uproszczone) pliki językowe dla Thunderbirda
1329 Group:          I18n
1330 Requires:       thunderbird >= %{version}
1331 Provides:       thunderbird-lang-resources = %{version}
1332 Obsoletes:      icedove-lang-zh_CN < 39
1333 Obsoletes:      mozilla-thunderbird-lang-zh_CN < 32
1334 BuildArch:      noarch
1335
1336 %description lang-zh_CN
1337 Simplified Chinese resources for Thunderbird.
1338
1339 %description lang-zh_CN -l pl.UTF-8
1340 Chińskie (uproszczone) pliki językowe dla Thunderbirda.
1341
1342 %package lang-zh_TW
1343 Summary:        Traditional Chinese resources for Thunderbird
1344 Summary(pl.UTF-8):      Chińskie tradycyjne pliki językowe dla Thunderbirda
1345 Group:          I18n
1346 Requires:       thunderbird >= %{version}
1347 Provides:       thunderbird-lang-resources = %{version}
1348 Obsoletes:      icedove-lang-zh_TW < 39
1349 Obsoletes:      mozilla-thunderbird-lang-zh_TW < 32
1350 BuildArch:      noarch
1351
1352 %description lang-zh_TW
1353 Traditional Chinese resources for Thunderbird.
1354
1355 %description lang-zh_TW -l pl.UTF-8
1356 Chińskie tradycyjne pliki językowe dla Thunderbirda.
1357
1358 %prep
1359 unpack() {
1360         local args="$1" file="$2"
1361         cp -p $file .
1362 }
1363 %define __unzip unpack
1364 %setup -q %(seq -f '-a %g' 100 165 | xargs)
1365 %patch0 -p1
1366 %patch1 -p1
1367 %patch2 -p0
1368 %patch3 -p2
1369
1370 %build
1371 cp -p %{_datadir}/automake/config.* build/autoconf
1372
1373 cat << 'EOF' > .mozconfig
1374 . $topsrcdir/browser/config/mozconfig
1375 mk_add_options MOZ_OBJDIR=%{objdir}
1376
1377 %if %{with clang}
1378 export CC="clang"
1379 export CXX="clang++"
1380 %else
1381 export CC="%{__cc}"
1382 export CXX="%{__cxx}"
1383 %endif
1384 %ifarch %{ix86}
1385 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
1386 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
1387 %else
1388 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
1389 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
1390 %endif
1391
1392 %if %{with lowmem}
1393 export CFLAGS="$CFLAGS -g0"
1394 export CXXFLAGS="$CXXFLAGS -g0"
1395 export MOZ_DEBUG_FLAGS=" "
1396 export LLVM_USE_SPLIT_DWARF=1
1397 export LLVM_PARALLEL_LINK_JOBS=1
1398 export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
1399 export RUSTFLAGS="-Cdebuginfo=0"
1400 %endif
1401
1402 %if %{with crashreporter}
1403 export MOZ_DEBUG_SYMBOLS=1
1404 %endif
1405
1406 # Options for 'configure' (same as command-line options).
1407 ac_add_options --host=%{_target_platform}
1408 ac_add_options --prefix=%{_prefix}
1409 %if %{?debug:1}0
1410 ac_add_options --disable-optimize
1411 ac_add_options --enable-debug
1412 ac_add_options --enable-debug-modules
1413 ac_add_options --enable-debugger-info-modules
1414 ac_add_options --enable-crash-on-assert
1415 %else
1416 ac_add_options --disable-debug
1417 %endif
1418 ac_add_options --disable-strip
1419 ac_add_options --disable-install-strip
1420 %if %{with tests}
1421 ac_add_options --enable-tests
1422 %else
1423 ac_add_options --disable-tests
1424 %endif
1425 %if %{with lightning}
1426 ac_add_options --enable-calendar
1427 %else
1428 ac_add_options --disable-calendar
1429 %endif
1430 %if %{with crashreporter}
1431 ac_add_options --enable-crashreporter
1432 %else
1433 ac_add_options --disable-crashreporter
1434 %endif
1435 %ifarch %{ix86} %{x8664} %{arm}
1436 ac_add_options --disable-elf-hack
1437 %endif
1438 ac_add_options --disable-necko-wifi
1439 ac_add_options --disable-updater
1440 ac_add_options --enable-alsa
1441 ac_add_options --enable-application=comm/mail
1442 ac_add_options --enable-chrome-format=omni
1443 ac_add_options --enable-default-toolkit=cairo-gtk3
1444 %{?with_official:ac_add_options --enable-official-branding}
1445 %{?with_gold:ac_add_options --enable-linker=gold}
1446 %{?with_shared_js:ac_add_options --enable-shared-js}
1447 %{?with_system_cairo:ac_add_options --enable-system-cairo}
1448 ac_add_options --enable-system-pixman
1449 ac_add_options --with-distribution-id=org.pld-linux
1450 ac_add_options --with-system-ffi
1451 ac_add_options --with%{!?with_system_icu:out}-system-icu
1452 ac_add_options --with-system-jpeg
1453 ac_add_options --with-system-libevent
1454 ac_add_options --with%{!?with_system_libvpx:out}-system-libvpx
1455 ac_add_options --with-system-nspr
1456 ac_add_options --with-system-nss
1457 ac_add_options --with-system-png
1458 ac_add_options --with-system-webp
1459 ac_add_options --with-system-zlib
1460 EOF
1461
1462 %if ! %{with clang}
1463 # On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
1464 # however builds tend to fail on other arches when building in parallel.
1465 MOZ_PARALLEL_BUILD=1
1466 %ifarch %{x8664}
1467 jobs="%{__jobs}"
1468 [ -n "$jobs" -a "$jobs" -gt 4 ] && MOZ_PARALLEL_BUILD=4 || MOZ_PARALLEL_BUILD="$jobs"
1469 %endif
1470 export MOZ_PARALLEL_BUILD
1471 %else
1472 %{?__jobs:export MOZ_PARALLEL_BUILD="%__jobs"}
1473 %endif
1474
1475 AUTOCONF=/usr/bin/autoconf2_13 ./mach build
1476
1477 %if %{with crashreporter}
1478 # create debuginfo for crash-stats.mozilla.com
1479 %{__make} -j1 -C obj-%{_target_cpu} buildsymbols
1480 %endif
1481
1482 %install
1483 rm -rf $RPM_BUILD_ROOT
1484 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/{extensions,plugins},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
1485
1486 cd %{objdir}
1487 %{__make} -C comm/mail/installer stage-package \
1488         DESTDIR=$RPM_BUILD_ROOT \
1489         installdir=%{_libdir}/%{name} \
1490         PKG_SKIP_STRIP=1
1491
1492 cp -a dist/thunderbird/* $RPM_BUILD_ROOT%{_libdir}/%{name}/
1493
1494 # Enable crash reporter for Thunderbird application
1495 %if %{with crashreporter}
1496 %{__sed} -i -e 's/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/' $RPM_BUILD_ROOT%{_libdir}/%{name}/application.ini
1497
1498 # Add debuginfo for crash-stats.mozilla.com
1499 install -d $RPM_BUILD_ROOT%{_exec_prefix}/lib/debug%{_libdir}/%{name}
1500 cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_libdir}/%{name}
1501 %endif
1502
1503 %{__sed} -e 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/%{name}
1504 cp -p dist/thunderbird/chrome/icons/default/default48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
1505 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
1506
1507 # move arch independant ones to datadir
1508 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
1509 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
1510 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions
1511 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/isp $RPM_BUILD_ROOT%{_datadir}/%{name}/isp
1512 ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
1513 ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
1514 ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions
1515 ln -s ../../share/%{name}/isp $RPM_BUILD_ROOT%{_libdir}/%{name}/isp
1516
1517 # mozldap
1518 %{__sed} -i '/lib\(ldap\|ldif\|prldap\)60.so/d' $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list
1519 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/lib{ldap,ldif,prldap}60.so
1520
1521 # remove unecessary stuff
1522 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/removed-files
1523
1524 cd ..
1525 for a in *.xpi; do
1526         basename=$(basename $a .xpi)
1527         cp -p $a $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/langpack-$basename@thunderbird.mozilla.org.xpi
1528 done
1529
1530 %clean
1531 rm -rf $RPM_BUILD_ROOT
1532
1533 %pretrans
1534 if [ -d %{_libdir}/%{name}/extensions ] && [ ! -L %{_libdir}/%{name}/extensions ]; then
1535         install -d %{_datadir}/%{name}
1536         if [ -e %{_datadir}/%{name}/extensions ]; then
1537                 mv %{_datadir}/%{name}/extensions{,.rpmsave}
1538         fi
1539         mv -v %{_libdir}/%{name}/extensions %{_datadir}/%{name}/extensions
1540 fi
1541 for d in chrome defaults icons isp modules res; do
1542         if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then
1543                 install -d %{_datadir}/%{name}
1544                 mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d
1545         fi
1546 done
1547 exit 0
1548
1549 %post
1550 %update_desktop_database_post
1551
1552 %postun
1553 %update_desktop_database_postun
1554
1555 %files
1556 %defattr(644,root,root,755)
1557 %attr(755,root,root) %{_bindir}/%{name}
1558 %dir %{_libdir}/%{name}
1559 %dir %{_libdir}/%{name}/plugins
1560
1561 %dir %{_libdir}/%{name}/gtk2
1562 %attr(755,root,root) %{_libdir}/%{name}/gtk2/libmozgtk.so
1563 %attr(755,root,root) %{_libdir}/%{name}/libmozgtk.so
1564 %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
1565 %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so}
1566 %ifarch %{ix86} %{x8664}
1567 %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
1568 %endif
1569 %attr(755,root,root) %{_libdir}/%{name}/libmozsqlite3.so
1570 %attr(755,root,root) %{_libdir}/%{name}/libmozwayland.so
1571 %attr(755,root,root) %{_libdir}/%{name}/librnp.so
1572 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
1573 %attr(755,root,root) %{_libdir}/%{name}/*-bin
1574 %attr(755,root,root) %{_libdir}/%{name}/pingsender
1575 %attr(755,root,root) %{_libdir}/%{name}/plugin-container
1576 %attr(755,root,root) %{_libdir}/%{name}/precomplete
1577 %attr(755,root,root) %{_libdir}/%{name}/thunderbird
1578
1579 %{_libdir}/%{name}/application.ini
1580 %{_libdir}/%{name}/dependentlibs.list
1581 %{_libdir}/%{name}/omni.ja
1582 %{_libdir}/%{name}/platform.ini
1583 %{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat}
1584
1585 %dir %{_libdir}/%{name}/features
1586 %{_libdir}/%{name}/features/wetransfer@extensions.thunderbird.net.xpi
1587
1588 %dir %{_libdir}/%{name}/fonts
1589 %{_libdir}/%{name}/fonts/TwemojiMozilla.ttf
1590
1591 %if %{with crashreporter}
1592 %attr(755,root,root) %{_libdir}/%{name}/crashreporter
1593 %{_libdir}/%{name}/crashreporter.ini
1594 %{_libdir}/%{name}/Throbber-small.gif
1595 %endif
1596
1597 # symlinks
1598 %{_libdir}/%{name}/chrome
1599 %{_libdir}/%{name}/defaults
1600 %{_libdir}/%{name}/extensions
1601 %{_libdir}/%{name}/isp
1602
1603 %{_pixmapsdir}/thunderbird.png
1604 %{_desktopdir}/thunderbird.desktop
1605
1606 %dir %{_datadir}/%{name}
1607 %{_datadir}/%{name}/chrome
1608 %{_datadir}/%{name}/defaults
1609 %dir %{_datadir}/%{name}/extensions
1610 %{_datadir}/%{name}/isp
1611
1612 %files lang-af
1613 %defattr(644,root,root,755)
1614 %{_datadir}/%{name}/extensions/langpack-af@thunderbird.mozilla.org.xpi
1615
1616 %files lang-ar
1617 %defattr(644,root,root,755)
1618 %{_datadir}/%{name}/extensions/langpack-ar@thunderbird.mozilla.org.xpi
1619
1620 %files lang-ast
1621 %defattr(644,root,root,755)
1622 %{_datadir}/%{name}/extensions/langpack-ast@thunderbird.mozilla.org.xpi
1623
1624 %files lang-be
1625 %defattr(644,root,root,755)
1626 %{_datadir}/%{name}/extensions/langpack-be@thunderbird.mozilla.org.xpi
1627
1628 %files lang-bg
1629 %defattr(644,root,root,755)
1630 %{_datadir}/%{name}/extensions/langpack-bg@thunderbird.mozilla.org.xpi
1631
1632 %files lang-br
1633 %defattr(644,root,root,755)
1634 %{_datadir}/%{name}/extensions/langpack-br@thunderbird.mozilla.org.xpi
1635
1636 %files lang-ca
1637 %defattr(644,root,root,755)
1638 %{_datadir}/%{name}/extensions/langpack-ca@thunderbird.mozilla.org.xpi
1639
1640 %files lang-cak
1641 %defattr(644,root,root,755)
1642 %{_datadir}/%{name}/extensions/langpack-cak@thunderbird.mozilla.org.xpi
1643
1644 %files lang-cs
1645 %defattr(644,root,root,755)
1646 %{_datadir}/%{name}/extensions/langpack-cs@thunderbird.mozilla.org.xpi
1647
1648 %files lang-cy
1649 %defattr(644,root,root,755)
1650 %{_datadir}/%{name}/extensions/langpack-cy@thunderbird.mozilla.org.xpi
1651
1652 %files lang-da
1653 %defattr(644,root,root,755)
1654 %{_datadir}/%{name}/extensions/langpack-da@thunderbird.mozilla.org.xpi
1655
1656 %files lang-de
1657 %defattr(644,root,root,755)
1658 %{_datadir}/%{name}/extensions/langpack-de@thunderbird.mozilla.org.xpi
1659
1660 %files lang-dsb
1661 %defattr(644,root,root,755)
1662 %{_datadir}/%{name}/extensions/langpack-dsb@thunderbird.mozilla.org.xpi
1663
1664 %files lang-el
1665 %defattr(644,root,root,755)
1666 %{_datadir}/%{name}/extensions/langpack-el@thunderbird.mozilla.org.xpi
1667
1668 %files lang-en_CA
1669 %defattr(644,root,root,755)
1670 %{_datadir}/%{name}/extensions/langpack-en-CA@thunderbird.mozilla.org.xpi
1671
1672 %files lang-en_GB
1673 %defattr(644,root,root,755)
1674 %{_datadir}/%{name}/extensions/langpack-en-GB@thunderbird.mozilla.org.xpi
1675
1676 %files lang-en_US
1677 %defattr(644,root,root,755)
1678 %{_datadir}/%{name}/extensions/langpack-en-US@thunderbird.mozilla.org.xpi
1679
1680 %files lang-es_AR
1681 %defattr(644,root,root,755)
1682 %{_datadir}/%{name}/extensions/langpack-es-AR@thunderbird.mozilla.org.xpi
1683
1684 %files lang-es
1685 %defattr(644,root,root,755)
1686 %{_datadir}/%{name}/extensions/langpack-es-ES@thunderbird.mozilla.org.xpi
1687
1688 %files lang-et
1689 %defattr(644,root,root,755)
1690 %{_datadir}/%{name}/extensions/langpack-et@thunderbird.mozilla.org.xpi
1691
1692 %files lang-eu
1693 %defattr(644,root,root,755)
1694 %{_datadir}/%{name}/extensions/langpack-eu@thunderbird.mozilla.org.xpi
1695
1696 %files lang-fa
1697 %defattr(644,root,root,755)
1698 %{_datadir}/%{name}/extensions/langpack-fa@thunderbird.mozilla.org.xpi
1699
1700 %files lang-fi
1701 %defattr(644,root,root,755)
1702 %{_datadir}/%{name}/extensions/langpack-fi@thunderbird.mozilla.org.xpi
1703
1704 %files lang-fr
1705 %defattr(644,root,root,755)
1706 %{_datadir}/%{name}/extensions/langpack-fr@thunderbird.mozilla.org.xpi
1707
1708 %files lang-fy
1709 %defattr(644,root,root,755)
1710 %{_datadir}/%{name}/extensions/langpack-fy-NL@thunderbird.mozilla.org.xpi
1711
1712 %files lang-ga
1713 %defattr(644,root,root,755)
1714 %{_datadir}/%{name}/extensions/langpack-ga-IE@thunderbird.mozilla.org.xpi
1715
1716 %files lang-gd
1717 %defattr(644,root,root,755)
1718 %{_datadir}/%{name}/extensions/langpack-gd@thunderbird.mozilla.org.xpi
1719
1720 %files lang-gl
1721 %defattr(644,root,root,755)
1722 %{_datadir}/%{name}/extensions/langpack-gl@thunderbird.mozilla.org.xpi
1723
1724 %files lang-he
1725 %defattr(644,root,root,755)
1726 %{_datadir}/%{name}/extensions/langpack-he@thunderbird.mozilla.org.xpi
1727
1728 %files lang-hr
1729 %defattr(644,root,root,755)
1730 %{_datadir}/%{name}/extensions/langpack-hr@thunderbird.mozilla.org.xpi
1731
1732 %files lang-hsb
1733 %defattr(644,root,root,755)
1734 %{_datadir}/%{name}/extensions/langpack-hsb@thunderbird.mozilla.org.xpi
1735
1736 %files lang-hu
1737 %defattr(644,root,root,755)
1738 %{_datadir}/%{name}/extensions/langpack-hu@thunderbird.mozilla.org.xpi
1739
1740 %files lang-hy
1741 %defattr(644,root,root,755)
1742 %{_datadir}/%{name}/extensions/langpack-hy-AM@thunderbird.mozilla.org.xpi
1743
1744 %files lang-id
1745 %defattr(644,root,root,755)
1746 %{_datadir}/%{name}/extensions/langpack-id@thunderbird.mozilla.org.xpi
1747
1748 %files lang-is
1749 %defattr(644,root,root,755)
1750 %{_datadir}/%{name}/extensions/langpack-is@thunderbird.mozilla.org.xpi
1751
1752 %files lang-it
1753 %defattr(644,root,root,755)
1754 %{_datadir}/%{name}/extensions/langpack-it@thunderbird.mozilla.org.xpi
1755
1756 %files lang-ja
1757 %defattr(644,root,root,755)
1758 %{_datadir}/%{name}/extensions/langpack-ja@thunderbird.mozilla.org.xpi
1759
1760 %files lang-ka
1761 %defattr(644,root,root,755)
1762 %{_datadir}/%{name}/extensions/langpack-ka@thunderbird.mozilla.org.xpi
1763
1764 %files lang-kab
1765 %defattr(644,root,root,755)
1766 %{_datadir}/%{name}/extensions/langpack-kab@thunderbird.mozilla.org.xpi
1767
1768 %files lang-kk
1769 %defattr(644,root,root,755)
1770 %{_datadir}/%{name}/extensions/langpack-kk@thunderbird.mozilla.org.xpi
1771
1772 %files lang-ko
1773 %defattr(644,root,root,755)
1774 %{_datadir}/%{name}/extensions/langpack-ko@thunderbird.mozilla.org.xpi
1775
1776 %files lang-lt
1777 %defattr(644,root,root,755)
1778 %{_datadir}/%{name}/extensions/langpack-lt@thunderbird.mozilla.org.xpi
1779
1780 %files lang-ms
1781 %defattr(644,root,root,755)
1782 %{_datadir}/%{name}/extensions/langpack-ms@thunderbird.mozilla.org.xpi
1783
1784 %files lang-nb
1785 %defattr(644,root,root,755)
1786 %{_datadir}/%{name}/extensions/langpack-nb-NO@thunderbird.mozilla.org.xpi
1787
1788 %files lang-nl
1789 %defattr(644,root,root,755)
1790 %{_datadir}/%{name}/extensions/langpack-nl@thunderbird.mozilla.org.xpi
1791
1792 %files lang-nn
1793 %defattr(644,root,root,755)
1794 %{_datadir}/%{name}/extensions/langpack-nn-NO@thunderbird.mozilla.org.xpi
1795
1796 %files lang-pa
1797 %defattr(644,root,root,755)
1798 %{_datadir}/%{name}/extensions/langpack-pa-IN@thunderbird.mozilla.org.xpi
1799
1800 %files lang-pl
1801 %defattr(644,root,root,755)
1802 %{_datadir}/%{name}/extensions/langpack-pl@thunderbird.mozilla.org.xpi
1803
1804 %files lang-pt_BR
1805 %defattr(644,root,root,755)
1806 %{_datadir}/%{name}/extensions/langpack-pt-BR@thunderbird.mozilla.org.xpi
1807
1808 %files lang-pt
1809 %defattr(644,root,root,755)
1810 %{_datadir}/%{name}/extensions/langpack-pt-PT@thunderbird.mozilla.org.xpi
1811
1812 %files lang-rm
1813 %defattr(644,root,root,755)
1814 %{_datadir}/%{name}/extensions/langpack-rm@thunderbird.mozilla.org.xpi
1815
1816 %files lang-ro
1817 %defattr(644,root,root,755)
1818 %{_datadir}/%{name}/extensions/langpack-ro@thunderbird.mozilla.org.xpi
1819
1820 %files lang-ru
1821 %defattr(644,root,root,755)
1822 %{_datadir}/%{name}/extensions/langpack-ru@thunderbird.mozilla.org.xpi
1823
1824 %files lang-si
1825 %defattr(644,root,root,755)
1826 %{_datadir}/%{name}/extensions/langpack-si@thunderbird.mozilla.org.xpi
1827
1828 %files lang-sk
1829 %defattr(644,root,root,755)
1830 %{_datadir}/%{name}/extensions/langpack-sk@thunderbird.mozilla.org.xpi
1831
1832 %files lang-sl
1833 %defattr(644,root,root,755)
1834 %{_datadir}/%{name}/extensions/langpack-sl@thunderbird.mozilla.org.xpi
1835
1836 %files lang-sq
1837 %defattr(644,root,root,755)
1838 %{_datadir}/%{name}/extensions/langpack-sq@thunderbird.mozilla.org.xpi
1839
1840 %files lang-sr
1841 %defattr(644,root,root,755)
1842 %{_datadir}/%{name}/extensions/langpack-sr@thunderbird.mozilla.org.xpi
1843
1844 %files lang-sv
1845 %defattr(644,root,root,755)
1846 %{_datadir}/%{name}/extensions/langpack-sv-SE@thunderbird.mozilla.org.xpi
1847
1848 %files lang-th
1849 %defattr(644,root,root,755)
1850 %{_datadir}/%{name}/extensions/langpack-th@thunderbird.mozilla.org.xpi
1851
1852 %files lang-tr
1853 %defattr(644,root,root,755)
1854 %{_datadir}/%{name}/extensions/langpack-tr@thunderbird.mozilla.org.xpi
1855
1856 %files lang-uk
1857 %defattr(644,root,root,755)
1858 %{_datadir}/%{name}/extensions/langpack-uk@thunderbird.mozilla.org.xpi
1859
1860 %files lang-uz
1861 %defattr(644,root,root,755)
1862 %{_datadir}/%{name}/extensions/langpack-uz@thunderbird.mozilla.org.xpi
1863
1864 %files lang-vi
1865 %defattr(644,root,root,755)
1866 %{_datadir}/%{name}/extensions/langpack-vi@thunderbird.mozilla.org.xpi
1867
1868 %files lang-zh_CN
1869 %defattr(644,root,root,755)
1870 %{_datadir}/%{name}/extensions/langpack-zh-CN@thunderbird.mozilla.org.xpi
1871
1872 %files lang-zh_TW
1873 %defattr(644,root,root,755)
1874 %{_datadir}/%{name}/extensions/langpack-zh-TW@thunderbird.mozilla.org.xpi
This page took 0.39904 seconds and 2 git commands to generate.