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