]> git.pld-linux.org Git - packages/thunderbird.git/blob - thunderbird.spec
fix build with rust 1.47
[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=http://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.4.3
45 Release:        1
46 License:        MPL v2.0
47 Group:          X11/Applications/Mail
48 Source0:        http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz
49 # Source0-md5:  2357e6d9d59e1dcd6d42304aca6c7aad
50 Source1:        %{name}.desktop
51 Source2:        %{name}.sh
52 Source100:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/af.xpi
53 # Source100-md5:        1ba993887d9c279959e35e7c018e5ff9
54 Source101:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ar.xpi
55 # Source101-md5:        43a335f4bc87ea65c6062d9edf8070bd
56 Source102:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ast.xpi
57 # Source102-md5:        a2917afec784e6fdf627a22bd59d03da
58 Source103:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/be.xpi
59 # Source103-md5:        d6414c080e00312167b51ada7cb5e7bf
60 Source104:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/bg.xpi
61 # Source104-md5:        68ea50ac89802fe9dfa873485f0b9b81
62 Source105:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/br.xpi
63 # Source105-md5:        e06030f539b717a1b637293cc28296b6
64 Source106:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ca.xpi
65 # Source106-md5:        f6e3afa4399afcb4f87498a8cdf3af3b
66 Source107:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cak.xpi
67 # Source107-md5:        c9cd0736918af7e1b1fad7aa813ab5e9
68 Source108:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cs.xpi
69 # Source108-md5:        04392ccc6a05a50179a3fe15ca32ecf4
70 Source109:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/cy.xpi
71 # Source109-md5:        2a9084e9ab279b8abb020ca92049e433
72 Source110:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/da.xpi
73 # Source110-md5:        b7fae865528971cbd8a67f91be7a6cf9
74 Source111:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/de.xpi
75 # Source111-md5:        33ea9724cda54cb68afb5db69fdfcc80
76 Source112:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/dsb.xpi
77 # Source112-md5:        f37763033560e6aa79dba24a4cd66f15
78 Source113:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/el.xpi
79 # Source113-md5:        beeb8560b19986183c80259c1a64c392
80 Source114:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-CA.xpi
81 # Source114-md5:        1ec2acd173e0ed2abe53f23aa8c4af88
82 Source115:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-GB.xpi
83 # Source115-md5:        d1f8c39c08690f1acf1c0a8f184ba766
84 Source116:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/en-US.xpi
85 # Source116-md5:        0f6aa15022b48e9919bb502fd627e38d
86 Source117:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-AR.xpi
87 # Source117-md5:        99711553817ece04586cee1aa656fd34
88 Source118:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/es-ES.xpi
89 # Source118-md5:        8e259be5a8ae7086daffb2b84d82cdce
90 Source119:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/et.xpi
91 # Source119-md5:        66ea4904ab60fd1f2b906be85e587fab
92 Source120:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/eu.xpi
93 # Source120-md5:        c3a9c3fc2863b6221b12a098f5771740
94 Source121:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fa.xpi
95 # Source121-md5:        0a88ad350471abb1c8d6ad76043ab556
96 Source122:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fi.xpi
97 # Source122-md5:        627a46a1fba7847a0fc92219ebbd1add
98 Source123:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fr.xpi
99 # Source123-md5:        aaf13c24a457cfceff00ea5c99602ee1
100 Source124:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/fy-NL.xpi
101 # Source124-md5:        151ff97382f9db9df34fbaa6013b4425
102 Source125:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ga-IE.xpi
103 # Source125-md5:        5b99b98978281ab126d23fb30981985a
104 Source126:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gd.xpi
105 # Source126-md5:        12c69f0cb24c8dcbe3ef027fceaedea5
106 Source127:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/gl.xpi
107 # Source127-md5:        e94fa4369bdca5d6c73956fb3067871a
108 Source128:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/he.xpi
109 # Source128-md5:        3fdd3a2960300c8cf41ed6443748bd29
110 Source129:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hr.xpi
111 # Source129-md5:        3151344af2949d7186ab3e437fd7ac92
112 Source130:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hsb.xpi
113 # Source130-md5:        6dfa164093ece63daa17d9f328e06df4
114 Source131:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hu.xpi
115 # Source131-md5:        ec832144b557a222c6693d06610bbd5e
116 Source132:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/hy-AM.xpi
117 # Source132-md5:        2cf61f01d5964aa49f433fe7065ceab2
118 Source133:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/id.xpi
119 # Source133-md5:        9294db0d42d062e047a79c90d1953389
120 Source134:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/is.xpi
121 # Source134-md5:        1fe34bb029b972713cdb17c20a49ead8
122 Source135:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/it.xpi
123 # Source135-md5:        76bcd4b0cd18d8d306a674ef91045f1d
124 Source136:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ja.xpi
125 # Source136-md5:        060e14144c56c975c6cd35b0f256caee
126 Source137:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ka.xpi
127 # Source137-md5:        a5d340f4da1bf7cd1dfa08b0f6de9377
128 Source138:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kab.xpi
129 # Source138-md5:        8b43efc3dc44210933c0eb43f030485b
130 Source139:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/kk.xpi
131 # Source139-md5:        f75aa5a598defbea7ae1e41bc3b66c27
132 Source140:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ko.xpi
133 # Source140-md5:        9ea95d9fce3e37f932365941e7921601
134 Source141:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/lt.xpi
135 # Source141-md5:        54eb0722d5d25fe58060872e305054a3
136 Source142:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ms.xpi
137 # Source142-md5:        3ca0ff229f8146dacee4fb91e11c40c1
138 Source143:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nb-NO.xpi
139 # Source143-md5:        9be26e0e6d242fff77b959e991d20c5d
140 Source144:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nl.xpi
141 # Source144-md5:        e0d6edac4ddcdeede79403afa6aa2366
142 Source145:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/nn-NO.xpi
143 # Source145-md5:        1018b411a4de2668c18dbb83995b6237
144 Source146:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pa-IN.xpi
145 # Source146-md5:        131482f2094c7c4c4341350ae35e92a5
146 Source147:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pl.xpi
147 # Source147-md5:        9de9fbe56dcd98d6ab1368b475d6d7a4
148 Source148:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-BR.xpi
149 # Source148-md5:        a38a5d21d23cca0e060f5c37a2c56022
150 Source149:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/pt-PT.xpi
151 # Source149-md5:        d8f37e35c9cde46674d651edd199603c
152 Source150:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/rm.xpi
153 # Source150-md5:        132370cf2830b9029bf16cbab05def52
154 Source151:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ro.xpi
155 # Source151-md5:        1b8c24caf8f8eebf3791f4ca7b60710a
156 Source152:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/ru.xpi
157 # Source152-md5:        62e392ca0f7acde5b79295ad7a5bae35
158 Source153:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/si.xpi
159 # Source153-md5:        41897e2acd24e2ee7d205ccc85d84dc9
160 Source154:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sk.xpi
161 # Source154-md5:        5e4465bd6f369a9f2b26ef951266e9bd
162 Source155:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sl.xpi
163 # Source155-md5:        f1b09628f444e4c28975b6ff29977393
164 Source156:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sq.xpi
165 # Source156-md5:        5f5b456e40e908fb14b78882538a37a1
166 Source157:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sr.xpi
167 # Source157-md5:        de2eb5261487742131a9d59f1336b6e4
168 Source158:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/sv-SE.xpi
169 # Source158-md5:        9d68dd8561d193f0f164aa67e0f924f1
170 Source159:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/th.xpi
171 # Source159-md5:        6536fe56844da2be8271495fd46a5b64
172 Source160:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/tr.xpi
173 # Source160-md5:        432e81a20e0ef11825259e622af2585c
174 Source161:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uk.xpi
175 # Source161-md5:        dc617db5bcef859b5eede7f94ad3a73e
176 Source162:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/uz.xpi
177 # Source162-md5:        5fc113e954b2bb56a008ed2e83a77905
178 Source163:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/vi.xpi
179 # Source163-md5:        630d99177e31e8c7cafdbf899b72f800
180 Source164:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-CN.xpi
181 # Source164-md5:        a72e5d032863a420ab314319e3699291
182 Source165:      http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/xpi/zh-TW.xpi
183 # Source165-md5:        67c4d354a0110b53188f2b0b550d0599
184 Patch0:         prefs.patch
185 Patch1:         no-subshell.patch
186 Patch2:         enable-addons.patch
187 Patch3:         %{name}-system-virtualenv.patch
188 Patch4:         rust-1.47.patch
189 URL:            http://www.mozilla.org/projects/thunderbird/
190 BuildRequires:  alsa-lib-devel
191 BuildRequires:  autoconf2_13 >= 2.13
192 %{?with_gold:BuildRequires:     binutils >= 3:2.20.51.0.7}
193 %{?with_system_cairo:BuildRequires:     cairo-devel >= 1.10.2-5}
194 BuildRequires:  cargo
195 %{?with_clang:BuildRequires:    clang}
196 BuildRequires:  clang-devel
197 BuildRequires:  dbus-devel >= 0.60
198 BuildRequires:  dbus-glib-devel >= 0.60
199 BuildRequires:  fontconfig-devel >= 2.7.0
200 BuildRequires:  freetype-devel >= 1:2.1.8
201 BuildRequires:  glib2-devel >= 1:2.22
202 BuildRequires:  gtk+3-devel >= 3.14.0
203 BuildRequires:  libatomic-devel
204 BuildRequires:  libdrm-devel >= 2.4
205 BuildRequires:  libevent-devel
206 BuildRequires:  libffi-devel > 3.0.9
207 %{?with_system_icu:BuildRequires:       libicu-devel >= 67.1}
208 BuildRequires:  libiw-devel
209 # requires libjpeg-turbo implementing at least libjpeg 6b API
210 BuildRequires:  libjpeg-devel >= 6b
211 BuildRequires:  libjpeg-turbo-devel
212 BuildRequires:  libpng-devel >= 2:1.6.25
213 BuildRequires:  libstdc++-devel >= 6:7
214 BuildRequires:  libwebp-devel >= 1.0.2
215 %{?with_system_libvpx:BuildRequires:    libvpx-devel >= 1.8.0}
216 BuildRequires:  llvm-devel
217 BuildRequires:  mozldap-devel
218 BuildRequires:  nodejs >= 8.11
219 BuildRequires:  nspr-devel >= 1:%{nspr_ver}
220 BuildRequires:  nss-devel >= 1:%{nss_ver}
221 BuildRequires:  pango-devel >= 1:1.22.0
222 BuildRequires:  perl-base >= 1:5.6
223 BuildRequires:  pixman-devel >= 0.19.2
224 BuildRequires:  pkgconfig
225 BuildRequires:  python3 >= 1:3.8.5-3
226 BuildRequires:  python3-virtualenv
227 BuildRequires:  rust >= 1.34.0
228 BuildRequires:  rust-cbindgen >= 0.14.1
229 BuildRequires:  sed >= 4.0
230 BuildRequires:  virtualenv
231 BuildRequires:  xorg-lib-libX11-devel
232 BuildRequires:  xorg-lib-libXcomposite-devel
233 BuildRequires:  xorg-lib-libXdamage-devel
234 BuildRequires:  xorg-lib-libXext-devel
235 BuildRequires:  xorg-lib-libXfixes-devel
236 BuildRequires:  xorg-lib-libXt-devel
237 BuildRequires:  xorg-lib-libxkbcommon-devel >= 0.4.1
238 %ifarch %{ix86} %{x8664}
239 BuildRequires:  yasm >= 1.0.1
240 %endif
241 BuildRequires:  zip
242 BuildRequires:  zlib-devel >= 1.2.3
243 Requires(post): mktemp >= 1.5-18
244 %{?with_system_cairo:Requires:  cairo >= 1.10.2-5}
245 Requires:       dbus-glib >= 0.60
246 Requires:       fontconfig >= 2.7.0
247 Requires:       glib2 >= 1:2.22
248 Requires:       glibc >= 6:2.17
249 Requires:       gtk+3 >= 3.14.0
250 Requires:       libdrm >= 2.4
251 %{?with_system_icu:Requires:    libicu >= 67.1}
252 Requires:       libjpeg-turbo
253 Requires:       libpng >= 2:1.6.25
254 Requires:       libstdc++ >= 6:4.8.1
255 Requires:       libwebp >= 1.0.2
256 %{?with_system_libvpx:Requires: libvpx >= 1.8.0}
257 Requires:       myspell-common
258 Requires:       nspr >= 1:%{nspr_ver}
259 Requires:       nss >= 1:%{nss_ver}
260 Requires:       pango >= 1:1.22.0
261 Requires:       xorg-lib-libxkbcommon >= 0.4.1
262 Obsoletes:      icedove
263 Obsoletes:      mozilla-thunderbird
264 Obsoletes:      mozilla-thunderbird-dictionary-en-US
265 Obsoletes:      thunderbird-addon-lightning < 78.0
266 Conflicts:      thunderbird-lang-resources < %{version}
267 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
268
269 %define         filterout_cpp           -D_FORTIFY_SOURCE=[0-9]+
270
271 %if %{with clang}
272 %define         filterout               -fvar-tracking-assignments
273 %endif
274
275 # firefox/thunderbird/seamonkey provide their own versions
276 %define         _noautoprovfiles        %{_libdir}/%{name}/components
277
278 %define         moz_caps                liblgpllibs.so libmozalloc.so libmozgtk.so libmozjs.so libmozsandbox.so libmozsqlite3.so libmozwayland.so librnp.so libxul.so
279 # we don't want these to satisfy packages depending on xulrunner
280 %define         _noautoprov             %{moz_caps}
281 # and as we don't provide them, don't require either
282 %define         _noautoreq              %{moz_caps}
283
284 %define         topdir          %{_builddir}/thunderbird-%{version}
285 %define         objdir          %{topdir}/obj-%{_target_cpu}
286
287 %description
288 Thunderbird is an open-source, fast and portable email client.
289
290 %description -l pl.UTF-8
291 Thunderbird jest majÄ…cym otwarte ÅºródÅ‚a, szybkim i przenoÅ›nym klientem
292 poczty.
293
294 %package lang-af
295 Summary:        Afrikaans resources for Thunderbird
296 Summary(pl.UTF-8):      Afrykanerskie pliki jÄ™zykowe dla Thunderbirda
297 Group:          I18n
298 Requires:       thunderbird >= %{version}
299 Provides:       thunderbird-lang-resources = %{version}
300 BuildArch:      noarch
301
302 %description lang-af
303 Afrikaans resources for Thunderbird.
304
305 %description lang-af -l pl.UTF-8
306 Afrykanerskie pliki jÄ™zykowe dla Thunderbirda.
307
308 %package lang-ar
309 Summary:        Arabic resources for Thunderbird
310 Summary(pl.UTF-8):      Arabskie pliki jÄ™zykowe dla Thunderbirda
311 Group:          I18n
312 Requires:       thunderbird >= %{version}
313 Provides:       thunderbird-lang-resources = %{version}
314 Obsoletes:      icedove-lang-ar
315 Obsoletes:      mozilla-thunderbird-lang-ar
316 BuildArch:      noarch
317
318 %description lang-ar
319 Arabic resources for Thunderbird.
320
321 %description lang-ar -l pl.UTF-8
322 Arabskie pliki jÄ™zykowe dla Thunderbirda.
323
324 %package lang-ast
325 Summary:        Asturian resources for Thunderbird
326 Summary(pl.UTF-8):      Asturskie pliki jÄ™zykowe dla Thunderbirda
327 Group:          I18n
328 Requires:       thunderbird >= %{version}
329 Provides:       thunderbird-lang-resources = %{version}
330 Obsoletes:      icedove-lang-ast
331 Obsoletes:      mozilla-thunderbird-lang-ast
332 BuildArch:      noarch
333
334 %description lang-ast
335 Asturian resources for Thunderbird.
336
337 %description lang-ast -l pl.UTF-8
338 Asturskie pliki jÄ™zykowe dla Thunderbirda.
339
340 %package lang-be
341 Summary:        Belarusian resources for Thunderbird
342 Summary(pl.UTF-8):      BiaÅ‚oruskie pliki jÄ™zykowe dla Thunderbirda
343 Group:          I18n
344 Requires:       thunderbird >= %{version}
345 Provides:       thunderbird-lang-resources = %{version}
346 Obsoletes:      icedove-lang-be
347 Obsoletes:      mozilla-thunderbird-lang-be
348 BuildArch:      noarch
349
350 %description lang-be
351 Belarusian resources for Thunderbird.
352
353 %description lang-be -l pl.UTF-8
354 BiaÅ‚oruskie pliki jÄ™zykowe dla Thunderbirda.
355
356 %package lang-bg
357 Summary:        Bulgarian resources for Thunderbird
358 Summary(pl.UTF-8):      BuÅ‚garskie pliki jÄ™zykowe dla Thunderbirda
359 Group:          I18n
360 Requires:       thunderbird >= %{version}
361 Provides:       thunderbird-lang-resources = %{version}
362 Obsoletes:      icedove-lang-bg
363 Obsoletes:      mozilla-thunderbird-lang-bg
364 BuildArch:      noarch
365
366 %description lang-bg
367 Bulgarian resources for Thunderbird.
368
369 %description lang-bg -l pl.UTF-8
370 BuÅ‚garskie pliki jÄ™zykowe dla Thunderbirda.
371
372 %package lang-bn
373 Summary:        Bengali (Bangladesh) resources for Thunderbird
374 Summary(pl.UTF-8):      Bengalskie pliki jÄ™zykowe dla Thunderbirda (wersja dla Bangladeszu)
375 Group:          I18n
376 Requires:       thunderbird >= %{version}
377 Provides:       thunderbird-lang-resources = %{version}
378 Obsoletes:      icedove-lang-bn
379 Obsoletes:      mozilla-thunderbird-lang-bn
380 BuildArch:      noarch
381
382 %description lang-bn
383 Bengali (Bangladesh) resources for Thunderbird.
384
385 %description lang-bn -l pl.UTF-8
386 Bengalskie pliki jÄ™zykowe dla Thunderbirda (wersja dla Bangladeszu).
387
388 %package lang-br
389 Summary:        Breton resources for Thunderbird
390 Summary(pl.UTF-8):      BretoÅ„skie pliki jÄ™zykowe dla Thunderbirda
391 Group:          I18n
392 Requires:       thunderbird >= %{version}
393 Provides:       thunderbird-lang-resources = %{version}
394 Obsoletes:      icedove-lang-br
395 Obsoletes:      mozilla-thunderbird-lang-br
396 BuildArch:      noarch
397
398 %description lang-br
399 Breton resources for Thunderbird.
400
401 %description lang-br -l pl.UTF-8
402 BretoÅ„skie pliki jÄ™zykowe dla Thunderbirda.
403
404 %package lang-ca
405 Summary:        Catalan resources for Thunderbird
406 Summary(pl.UTF-8):      KataloÅ„skie pliki jÄ™zykowe dla Thunderbirda
407 Group:          I18n
408 Requires:       thunderbird >= %{version}
409 Provides:       thunderbird-lang-resources = %{version}
410 Obsoletes:      icedove-lang-ca
411 Obsoletes:      mozilla-thunderbird-lang-ca
412 BuildArch:      noarch
413
414 %description lang-ca
415 Catalan resources for Thunderbird.
416
417 %description lang-ca -l pl.UTF-8
418 KataloÅ„skie pliki jÄ™zykowe dla Thunderbirda.
419
420 %package lang-cak
421 Summary:        Kaqchikel resources for Thunderbird
422 Summary(pl.UTF-8):      Pliki jÄ™zykowe kaqchikel dla Thunderbirda
423 Group:          I18n
424 Requires:       thunderbird >= %{version}
425 Provides:       thunderbird-lang-resources = %{version}
426 BuildArch:      noarch
427
428 %description lang-cak
429 Kaqchikel resources for Thunderbird.
430
431 %description lang-cak -l pl.UTF-8
432 Pliki jÄ™zykowe kaqchikel dla Thunderbirda.
433
434 %package lang-cy
435 Summary:        Welsh resources for Thunderbird
436 Summary(pl.UTF-8):      Walijskie pliki jÄ™zykowe dla Thunderbirda
437 Group:          I18n
438 Requires:       thunderbird >= %{version}
439 Provides:       thunderbird-lang-resources = %{version}
440 BuildArch:      noarch
441
442 %description lang-cy
443 Welsh resources for Thunderbird.
444
445 %description lang-cy -l pl.UTF-8
446 Walijskie pliki jÄ™zykowe dla Thunderbirda.
447
448 %package lang-cs
449 Summary:        Czech resources for Thunderbird
450 Summary(pl.UTF-8):      Czeskie pliki jÄ™zykowe dla Thunderbirda
451 Group:          I18n
452 Requires:       thunderbird >= %{version}
453 Provides:       thunderbird-lang-resources = %{version}
454 Obsoletes:      icedove-lang-cs
455 Obsoletes:      mozilla-thunderbird-lang-cs
456 BuildArch:      noarch
457
458 %description lang-cs
459 Czech resources for Thunderbird.
460
461 %description lang-cs -l pl.UTF-8
462 Czeskie pliki jÄ™zykowe dla Thunderbirda.
463
464 %package lang-da
465 Summary:        Danish resources for Thunderbird
466 Summary(pl.UTF-8):      DuÅ„skie pliki jÄ™zykowe dla Thunderbirda
467 Group:          I18n
468 Requires:       thunderbird >= %{version}
469 Provides:       thunderbird-lang-resources = %{version}
470 Obsoletes:      icedove-lang-da
471 Obsoletes:      mozilla-thunderbird-lang-da
472 BuildArch:      noarch
473
474 %description lang-da
475 Danish resources for Thunderbird.
476
477 %description lang-da -l pl.UTF-8
478 DuÅ„skie pliki jÄ™zykowe dla Thunderbirda.
479
480 %package lang-de
481 Summary:        German resources for Thunderbird
482 Summary(pl.UTF-8):      Niemieckie pliki jÄ™zykowe dla Thunderbirda
483 Group:          I18n
484 Requires:       thunderbird >= %{version}
485 Provides:       thunderbird-lang-resources = %{version}
486 Obsoletes:      icedove-lang-de
487 Obsoletes:      mozilla-thunderbird-lang-de
488 BuildArch:      noarch
489
490 %description lang-de
491 German resources for Thunderbird.
492
493 %description lang-de -l pl.UTF-8
494 Niemieckie pliki jÄ™zykowe dla Thunderbirda.
495
496 %package lang-dsb
497 Summary:        Lower Sorbian resources for Thunderbird
498 Summary(pl.UTF-8):      DolnoÅ‚użyckie pliki jÄ™zykowe dla Thunderbirda
499 Group:          I18n
500 Requires:       thunderbird >= %{version}
501 Provides:       thunderbird-lang-resources = %{version}
502 BuildArch:      noarch
503
504 %description lang-dsb
505 Lower Sorbian resources for Thunderbird.
506
507 %description lang-dsb -l pl.UTF-8
508 DolnoÅ‚użyckie pliki jÄ™zykowe dla Thunderbirda.
509
510 %package lang-el
511 Summary:        Greek resources for Thunderbird
512 Summary(pl.UTF-8):      Greckie pliki jÄ™zykowe dla Thunderbirda
513 Group:          I18n
514 Requires:       thunderbird >= %{version}
515 Provides:       thunderbird-lang-resources = %{version}
516 Obsoletes:      icedove-lang-el
517 Obsoletes:      mozilla-thunderbird-lang-el
518 BuildArch:      noarch
519
520 %description lang-el
521 Greek resources for Thunderbird.
522
523 %description lang-el -l pl.UTF-8
524 Greckie pliki jÄ™zykowe dla Thunderbirda.
525
526 %package lang-en_CA
527 Summary:        English (Canadian) resources for Thunderbird
528 Summary(pl.UTF-8):      Angielskie (kanadyjskie) pliki jÄ™zykowe dla Thunderbirda
529 Group:          I18n
530 Requires:       thunderbird >= %{version}
531 Provides:       thunderbird-lang-resources = %{version}
532 BuildArch:      noarch
533
534 %description lang-en_CA
535 English (Canadian) resources for Thunderbird.
536
537 %description lang-en_CA -l pl.UTF-8
538 Angielskie (kanadyjskie) pliki jÄ™zykowe dla Thunderbirda.
539
540 %package lang-en_GB
541 Summary:        English (British) resources for Thunderbird
542 Summary(pl.UTF-8):      Angielskie (brytyjskie) pliki jÄ™zykowe dla Thunderbirda
543 Group:          I18n
544 Requires:       thunderbird >= %{version}
545 Provides:       thunderbird-lang-resources = %{version}
546 Obsoletes:      icedove-lang-en_GB
547 Obsoletes:      mozilla-thunderbird-lang-en_GB
548 BuildArch:      noarch
549
550 %description lang-en_GB
551 English (British) resources for Thunderbird.
552
553 %description lang-en_GB -l pl.UTF-8
554 Angielskie (brytyjskie) pliki jÄ™zykowe dla Thunderbirda.
555
556 %package lang-en_US
557 Summary:        English (American) resources for Thunderbird
558 Summary(pl.UTF-8):      Angielskie (amerykaÅ„skie) pliki jÄ™zykowe dla Thunderbirda
559 Group:          I18n
560 Requires:       thunderbird >= %{version}
561 Provides:       thunderbird-lang-resources = %{version}
562 Obsoletes:      icedove-lang-en_US
563 Obsoletes:      mozilla-thunderbird-lang-en_US
564 BuildArch:      noarch
565
566 %description lang-en_US
567 English (American) resources for Thunderbird.
568
569 %description lang-en_US -l pl.UTF-8
570 Angielskie (amerykaÅ„skie) pliki jÄ™zykowe dla Thunderbirda.
571
572 %package lang-es_AR
573 Summary:        Spanish (Andorra) resources for Thunderbird
574 Summary(pl.UTF-8):      HiszpaÅ„skie pliki jÄ™zykowe dla Thunderbirda (wersja dla Andory)
575 Group:          I18n
576 Requires:       thunderbird >= %{version}
577 Provides:       thunderbird-lang-resources = %{version}
578 Obsoletes:      icedove-lang-es_AR
579 Obsoletes:      mozilla-thunderbird-lang-es_AR
580 BuildArch:      noarch
581
582 %description lang-es_AR
583 Spanish (Andorra) resources for Thunderbird.
584
585 %description lang-es_AR -l pl.UTF-8
586 HiszpaÅ„skie pliki jÄ™zykowe dla Thunderbirda (wersja dla Andory).
587
588 %package lang-es
589 Summary:        Spanish (Spain) resources for Thunderbird
590 Summary(pl.UTF-8):      HiszpaÅ„skie pliki jÄ™zykowe dla Thunderbirda (wersja dla Hiszpanii)
591 Group:          I18n
592 Requires:       thunderbird >= %{version}
593 Provides:       thunderbird-lang-resources = %{version}
594 Obsoletes:      icedove-lang-es
595 Obsoletes:      mozilla-thunderbird-lang-es
596 BuildArch:      noarch
597
598 %description lang-es
599 Spanish (Spain) resources for Thunderbird.
600
601 %description lang-es -l pl.UTF-8
602 HiszpaÅ„skie pliki jÄ™zykowe dla Thunderbirda (wersja dla Hiszpanii).
603
604 %package lang-et
605 Summary:        Estonian resources for Thunderbird
606 Summary(pl.UTF-8):      EstoÅ„skie pliki jÄ™zykowe dla Thunderbirda
607 Group:          I18n
608 Requires:       thunderbird >= %{version}
609 Provides:       thunderbird-lang-resources = %{version}
610 Obsoletes:      icedove-lang-et
611 Obsoletes:      mozilla-thunderbird-lang-et
612 BuildArch:      noarch
613
614 %description lang-et
615 Estonian resources for Thunderbird.
616
617 %description lang-et -l pl.UTF-8
618 EstoÅ„skie pliki jÄ™zykowe dla Thunderbirda.
619
620 %package lang-eu
621 Summary:        Basque resources for Thunderbird
622 Summary(pl.UTF-8):      Baskijskie pliki jÄ™zykowe dla Thunderbirda
623 Group:          I18n
624 Requires:       thunderbird >= %{version}
625 Provides:       thunderbird-lang-resources = %{version}
626 Obsoletes:      icedove-lang-eu
627 Obsoletes:      mozilla-thunderbird-lang-eu
628 BuildArch:      noarch
629
630 %description lang-eu
631 Basque resources for Thunderbird.
632
633 %description lang-eu -l pl.UTF-8
634 Baskijskie pliki jÄ™zykowe dla Thunderbirda.
635
636 %package lang-fa
637 Summary:        Persian resources for Thunderbird
638 Summary(pl.UTF-8):      Perskie pliki jÄ™zykowe dla Thunderbirda
639 Group:          I18n
640 Requires:       thunderbird >= %{version}
641 Provides:       thunderbird-lang-resources = %{version}
642 BuildArch:      noarch
643
644 %description lang-fa
645 Persian resources for Thunderbird.
646
647 %description lang-fa -l pl.UTF-8
648 Perskie pliki jÄ™zykowe dla Thunderbirda.
649
650 %package lang-fi
651 Summary:        Finnish resources for Thunderbird
652 Summary(pl.UTF-8):      FiÅ„skie pliki jÄ™zykowe dla Thunderbirda
653 Group:          I18n
654 Requires:       thunderbird >= %{version}
655 Provides:       thunderbird-lang-resources = %{version}
656 Obsoletes:      icedove-lang-fi
657 Obsoletes:      mozilla-thunderbird-lang-fi
658 BuildArch:      noarch
659
660 %description lang-fi
661 Finnish resources for Thunderbird.
662
663 %description lang-fi -l pl.UTF-8
664 FiÅ„skie pliki jÄ™zykowe dla Thunderbirda.
665
666 %package lang-fr
667 Summary:        French resources for Thunderbird
668 Summary(pl.UTF-8):      Francuskie pliki jÄ™zykowe dla Thunderbirda
669 Group:          I18n
670 Requires:       thunderbird >= %{version}
671 Provides:       thunderbird-lang-resources = %{version}
672 Obsoletes:      icedove-lang-fr
673 Obsoletes:      mozilla-thunderbird-lang-fr
674 BuildArch:      noarch
675
676 %description lang-fr
677 French resources for Thunderbird.
678
679 %description lang-fr -l pl.UTF-8
680 Francuskie pliki jÄ™zykowe dla Thunderbirda.
681
682 %package lang-fy
683 Summary:        Frisian resources for Thunderbird
684 Summary(pl.UTF-8):      Fryzyjskie pliki jÄ™zykowe dla Thunderbirda
685 Group:          I18n
686 Requires:       thunderbird >= %{version}
687 Provides:       thunderbird-lang-resources = %{version}
688 Obsoletes:      icedove-lang-fy
689 Obsoletes:      mozilla-thunderbird-lang-fy
690 BuildArch:      noarch
691
692 %description lang-fy
693 Frisian resources for Thunderbird.
694
695 %description lang-fy -l pl.UTF-8
696 Fryzyjskie pliki jÄ™zykowe dla Thunderbirda.
697
698 %package lang-ga
699 Summary:        Irish resources for Thunderbird
700 Summary(pl.UTF-8):      Irlandzkie pliki jÄ™zykowe dla Thunderbirda
701 Group:          I18n
702 Requires:       thunderbird >= %{version}
703 Provides:       thunderbird-lang-resources = %{version}
704 Obsoletes:      icedove-lang-ga
705 Obsoletes:      mozilla-thunderbird-lang-ga
706 BuildArch:      noarch
707
708 %description lang-ga
709 Irish resources for Thunderbird.
710
711 %description lang-ga -l pl.UTF-8
712 Irlandzkie pliki jÄ™zykowe dla Thunderbirda.
713
714 %package lang-gd
715 Summary:        Gaelic resources for Thunderbird
716 Summary(pl.UTF-8):      Szkockie (gaelickie) pliki jÄ™zykowe dla Thunderbirda
717 Group:          I18n
718 Requires:       thunderbird >= %{version}
719 Provides:       thunderbird-lang-resources = %{version}
720 Obsoletes:      icedove-lang-gd
721 Obsoletes:      mozilla-thunderbird-lang-gd
722 BuildArch:      noarch
723
724 %description lang-gd
725 Gaelic resources for Thunderbird.
726
727 %description lang-gd -l pl.UTF-8
728 Szkockie (gaelickie) pliki jÄ™zykowe dla Thunderbirda.
729
730 %package lang-gl
731 Summary:        Galician resources for Thunderbird
732 Summary(pl.UTF-8):      Galicyjskie pliki jÄ™zykowe dla Thunderbirda
733 Group:          I18n
734 Requires:       thunderbird >= %{version}
735 Provides:       thunderbird-lang-resources = %{version}
736 Obsoletes:      icedove-lang-gl
737 Obsoletes:      mozilla-thunderbird-lang-gl
738 BuildArch:      noarch
739
740 %description lang-gl
741 Galician resources for Thunderbird.
742
743 %description lang-gl -l pl.UTF-8
744 Galicyjskie pliki jÄ™zykowe dla Thunderbirda.
745
746 %package lang-he
747 Summary:        Hebrew resources for Thunderbird
748 Summary(pl.UTF-8):      Hebrajskie pliki jÄ™zykowe dla Thunderbirda
749 Group:          I18n
750 Requires:       thunderbird >= %{version}
751 Provides:       thunderbird-lang-resources = %{version}
752 Obsoletes:      icedove-lang-he
753 Obsoletes:      mozilla-thunderbird-lang-he
754 BuildArch:      noarch
755
756 %description lang-he
757 Hebrew resources for Thunderbird.
758
759 %description lang-he -l pl.UTF-8
760 Hebrajskie pliki jÄ™zykowe dla Thunderbirda.
761
762 %package lang-hr
763 Summary:        Croatian resources for Thunderbird
764 Summary(pl.UTF-8):      Chorwackie pliki jÄ™zykowe dla Thunderbirda
765 Group:          I18n
766 Requires:       thunderbird >= %{version}
767 Provides:       thunderbird-lang-resources = %{version}
768 Obsoletes:      icedove-lang-hr
769 Obsoletes:      mozilla-thunderbird-lang-hr
770 BuildArch:      noarch
771
772 %description lang-hr
773 Croatian resources for Thunderbird.
774
775 %description lang-hr -l pl.UTF-8
776 Chorwackie pliki jÄ™zykowe dla Thunderbirda.
777
778 %package lang-hsb
779 Summary:        Upper Sorbian resources for Thunderbird
780 Summary(pl.UTF-8):      GórnoÅ‚użyckie pliki jÄ™zykowe dla Thunderbirda
781 Group:          I18n
782 Requires:       thunderbird >= %{version}
783 Provides:       thunderbird-lang-resources = %{version}
784 BuildArch:      noarch
785
786 %description lang-hsb
787 Upper Sorbian resources for Thunderbird.
788
789 %description lang-hsb -l pl.UTF-8
790 GórnoÅ‚użyckie pliki jÄ™zykowe dla Thunderbirda.
791
792 %package lang-hu
793 Summary:        Hungarian resources for Thunderbird
794 Summary(pl.UTF-8):      WÄ™gierskie pliki jÄ™zykowe dla Thunderbirda
795 Group:          I18n
796 Requires:       thunderbird >= %{version}
797 Provides:       thunderbird-lang-resources = %{version}
798 Obsoletes:      icedove-lang-hu
799 Obsoletes:      mozilla-thunderbird-lang-hu
800 BuildArch:      noarch
801
802 %description lang-hu
803 Hungarian resources for Thunderbird.
804
805 %description lang-hu -l pl.UTF-8
806 WÄ™gierskie pliki jÄ™zykowe dla Thunderbirda.
807
808 %package lang-hy
809 Summary:        Armenian resources for Thunderbird
810 Summary(pl.UTF-8):      OrmiaÅ„skie pliki jÄ™zykowe dla Thunderbirda
811 Group:          I18n
812 Requires:       thunderbird >= %{version}
813 Provides:       thunderbird-lang-resources = %{version}
814 Obsoletes:      icedove-lang-hy
815 Obsoletes:      mozilla-thunderbird-lang-hy
816 BuildArch:      noarch
817
818 %description lang-hy
819 Armenian resources for Thunderbird.
820
821 %description lang-hy -l pl.UTF-8
822 OrmiaÅ„skie pliki jÄ™zykowe dla Thunderbirda.
823
824 %package lang-id
825 Summary:        Indonesian resources for Thunderbird
826 Summary(pl.UTF-8):      Indonezyjskie pliki jÄ™zykowe dla Thunderbirda
827 Group:          I18n
828 Requires:       thunderbird >= %{version}
829 Provides:       thunderbird-lang-resources = %{version}
830 Obsoletes:      icedove-lang-id
831 Obsoletes:      mozilla-thunderbird-lang-id
832 BuildArch:      noarch
833
834 %description lang-id
835 Indonesian resources for Thunderbird.
836
837 %description lang-id -l pl.UTF-8
838 Indonezyjskie pliki jÄ™zykowe dla Thunderbirda.
839
840 %package lang-is
841 Summary:        Icelandic resources for Thunderbird
842 Summary(pl.UTF-8):      Islandzkie pliki jÄ™zykowe dla Thunderbirda
843 Group:          I18n
844 Requires:       thunderbird >= %{version}
845 Provides:       thunderbird-lang-resources = %{version}
846 Obsoletes:      icedove-lang-is
847 Obsoletes:      mozilla-thunderbird-lang-is
848 BuildArch:      noarch
849
850 %description lang-is
851 Icelandic resources for Thunderbird.
852
853 %description lang-is -l pl.UTF-8
854 Islandzkie pliki jÄ™zykowe dla Thunderbirda.
855
856 %package lang-it
857 Summary:        Italian resources for Thunderbird
858 Summary(pl.UTF-8):      WÅ‚oskie pliki jÄ™zykowe dla Thunderbirda
859 Group:          I18n
860 Requires:       thunderbird >= %{version}
861 Provides:       thunderbird-lang-resources = %{version}
862 Obsoletes:      icedove-lang-it
863 Obsoletes:      mozilla-thunderbird-lang-it
864 BuildArch:      noarch
865
866 %description lang-it
867 Italian resources for Thunderbird.
868
869 %description lang-it -l pl.UTF-8
870 WÅ‚oskie pliki jÄ™zykowe dla Thunderbirda.
871
872 %package lang-ja
873 Summary:        Japanese resources for Thunderbird
874 Summary(pl.UTF-8):      JapoÅ„skie pliki jÄ™zykowe dla Thunderbirda
875 Group:          I18n
876 Requires:       thunderbird >= %{version}
877 Provides:       thunderbird-lang-resources = %{version}
878 Obsoletes:      icedove-lang-ja
879 Obsoletes:      mozilla-thunderbird-lang-ja
880 BuildArch:      noarch
881
882 %description lang-ja
883 Japanese resources for Thunderbird.
884
885 %description lang-ja -l pl.UTF-8
886 JapoÅ„skie pliki jÄ™zykowe dla Thunderbirda.
887
888 %package lang-ka
889 Summary:        Georgian resources for Thunderbird
890 Summary(pl.UTF-8):      GruziÅ„skie pliki jÄ™zykowe dla Thunderbirda
891 Group:          I18n
892 Requires:       thunderbird >= %{version}
893 Provides:       thunderbird-lang-resources = %{version}
894 BuildArch:      noarch
895
896 %description lang-ka
897 Georgian resources for Thunderbird.
898
899 %description lang-ka -l pl.UTF-8
900 GruziÅ„skie pliki jÄ™zykowe dla Thunderbirda.
901
902 %package lang-kab
903 Summary:        Kabyle resources for Thunderbird
904 Summary(pl.UTF-8):      Kabylskie pliki jÄ™zykowe dla Thunderbirda
905 Group:          I18n
906 Requires:       thunderbird >= %{version}
907 Provides:       thunderbird-lang-resources = %{version}
908 BuildArch:      noarch
909
910 %description lang-kab
911 Kabyle resources for Thunderbird.
912
913 %description lang-kab -l pl.UTF-8
914 Kabylskie pliki jÄ™zykowe dla Thunderbirda.
915
916 %package lang-kk
917 Summary:        Kazakh resources for Thunderbird
918 Summary(pl.UTF-8):      Kazachskie pliki jÄ™zykowe dla Thunderbirda
919 Group:          I18n
920 Requires:       thunderbird >= %{version}
921 Provides:       thunderbird-lang-resources = %{version}
922 BuildArch:      noarch
923
924 %description lang-kk
925 Kazakh resources for Thunderbird.
926
927 %description lang-kk -l pl.UTF-8
928 Kazachskie pliki jÄ™zykowe dla Thunderbirda.
929
930 %package lang-ko
931 Summary:        Korean resources for Thunderbird
932 Summary(pl.UTF-8):      KoreaÅ„skie pliki jÄ™zykowe dla Thunderbirda
933 Group:          I18n
934 Requires:       thunderbird >= %{version}
935 Provides:       thunderbird-lang-resources = %{version}
936 Obsoletes:      icedove-lang-ko
937 Obsoletes:      mozilla-thunderbird-lang-ko
938 BuildArch:      noarch
939
940 %description lang-ko
941 Korean resources for Thunderbird.
942
943 %description lang-ko -l pl.UTF-8
944 KoreaÅ„skie pliki jÄ™zykowe dla Thunderbirda.
945
946 %package lang-lt
947 Summary:        Lithuanian resources for Thunderbird
948 Summary(pl.UTF-8):      Litewskie pliki jÄ™zykowe dla Thunderbirda
949 Group:          I18n
950 Requires:       thunderbird >= %{version}
951 Provides:       thunderbird-lang-resources = %{version}
952 Obsoletes:      icedove-lang-lt
953 Obsoletes:      mozilla-thunderbird-lang-lt
954 BuildArch:      noarch
955
956 %description lang-lt
957 Lithuanian resources for Thunderbird.
958
959 %description lang-lt -l pl.UTF-8
960 Litewskie pliki jÄ™zykowe dla Thunderbirda.
961
962 %package lang-ms
963 Summary:        Malay resources for Thunderbird
964 Summary(pl.UTF-8):      Malajskie pliki jÄ™zykowe dla Thunderbirda
965 Group:          I18n
966 Requires:       thunderbird >= %{version}
967 Provides:       thunderbird-lang-resources = %{version}
968 BuildArch:      noarch
969
970 %description lang-ms
971 Malay resources for Thunderbird.
972
973 %description lang-ms -l pl.UTF-8
974 Malajskie pliki jÄ™zykowe dla Thunderbirda.
975
976 %package lang-nb
977 Summary:        Norwegian Bokmaal resources for Thunderbird
978 Summary(pl.UTF-8):      Norweskie (bokmaal) pliki jÄ™zykowe dla Thunderbirda
979 Group:          I18n
980 Requires:       thunderbird >= %{version}
981 Provides:       thunderbird-lang-resources = %{version}
982 Obsoletes:      icedove-lang-nb
983 Obsoletes:      mozilla-thunderbird-lang-nb
984 BuildArch:      noarch
985
986 %description lang-nb
987 Norwegian Bokmaal resources for Thunderbird.
988
989 %description lang-nb -l pl.UTF-8
990 Norweskie (bokmaal) pliki jÄ™zykowe dla Thunderbirda.
991
992 %package lang-nl
993 Summary:        Dutch resources for Thunderbird
994 Summary(pl.UTF-8):      Holenderskie pliki jÄ™zykowe dla Thunderbirda
995 Group:          I18n
996 Requires:       thunderbird >= %{version}
997 Provides:       thunderbird-lang-resources = %{version}
998 Obsoletes:      icedove-lang-nl
999 Obsoletes:      mozilla-thunderbird-lang-nl
1000 BuildArch:      noarch
1001
1002 %description lang-nl
1003 Dutch resources for Thunderbird.
1004
1005 %description lang-nl -l pl.UTF-8
1006 Holenderskie pliki jÄ™zykowe dla Thunderbirda.
1007
1008 %package lang-nn
1009 Summary:        Norwegian Nynorsk resources for Thunderbird
1010 Summary(pl.UTF-8):      Norweskie (nynorsk) pliki jÄ™zykowe dla Thunderbirda
1011 Group:          I18n
1012 Requires:       thunderbird >= %{version}
1013 Provides:       thunderbird-lang-resources = %{version}
1014 Obsoletes:      icedove-lang-nn
1015 Obsoletes:      mozilla-thunderbird-lang-nn
1016 BuildArch:      noarch
1017
1018 %description lang-nn
1019 Norwegian Nynorsk resources for Thunderbird.
1020
1021 %description lang-nn -l pl.UTF-8
1022 Norweskie (nynorsk) pliki jÄ™zykowe dla Thunderbirda.
1023
1024 %package lang-pa
1025 Summary:        Panjabi resources for Thunderbird
1026 Summary(pl.UTF-8):      Pendżabskie pliki jÄ™zykowe dla Thunderbirda
1027 Group:          I18n
1028 Requires:       thunderbird >= %{version}
1029 Provides:       thunderbird-lang-resources = %{version}
1030 Obsoletes:      icedove-lang-pa
1031 Obsoletes:      mozilla-thunderbird-lang-pa
1032 BuildArch:      noarch
1033
1034 %description lang-pa
1035 Panjabi resources for Thunderbird.
1036
1037 %description lang-pa -l pl.UTF-8
1038 Pendżabskie pliki jÄ™zykowe dla Thunderbirda.
1039
1040 %package lang-pl
1041 Summary:        Polish resources for Thunderbird
1042 Summary(pl.UTF-8):      Polskie pliki jÄ™zykowe dla Thunderbirda
1043 Group:          I18n
1044 URL:            http://www.thunderbird.pl/
1045 Requires:       thunderbird >= %{version}
1046 Provides:       thunderbird-lang-resources = %{version}
1047 Obsoletes:      icedove-lang-pl
1048 Obsoletes:      mozilla-thunderbird-lang-pl
1049 BuildArch:      noarch
1050
1051 %description lang-pl
1052 Polish resources for Thunderbird.
1053
1054 %description lang-pl -l pl.UTF-8
1055 Polskie pliki jÄ™zykowe dla Thunderbirda.
1056
1057 %package lang-pt_BR
1058 Summary:        Portuguese (Brazil) resources for Thunderbird
1059 Summary(pl.UTF-8):      Portugalskie (brazylijskie) pliki jÄ™zykowe dla Thunderbirda
1060 Group:          I18n
1061 Requires:       thunderbird >= %{version}
1062 Provides:       thunderbird-lang-resources = %{version}
1063 Obsoletes:      icedove-lang-pt_BR
1064 Obsoletes:      mozilla-thunderbird-lang-pt_BR
1065 BuildArch:      noarch
1066
1067 %description lang-pt_BR
1068 Portuguese (Brazil) resources for Thunderbird.
1069
1070 %description lang-pt_BR -l pl.UTF-8
1071 Portugalskie (brazylijskie) pliki jÄ™zykowe dla Thunderbirda.
1072
1073 %package lang-pt
1074 Summary:        Portuguese (Portugal) resources for Thunderbird
1075 Summary(pl.UTF-8):      Portugalskie pliki jÄ™zykowe dla Thunderbirda (wersja dla Portugalii)
1076 Group:          I18n
1077 Requires:       thunderbird >= %{version}
1078 Provides:       thunderbird-lang-resources = %{version}
1079 Obsoletes:      icedove-lang-pt
1080 Obsoletes:      mozilla-thunderbird-lang-pt
1081 BuildArch:      noarch
1082
1083 %description lang-pt
1084 Portuguese (Portugal) resources for Thunderbird.
1085
1086 %description lang-pt -l pl.UTF-8
1087 Portugalskie pliki jÄ™zykowe dla Thunderbirda (wersja dla Portugalii).
1088
1089 %package lang-rm
1090 Summary:        Romansh resources for Thunderbird
1091 Summary(pl.UTF-8):      RetoromaÅ„skie pliki jÄ™zykowe dla Thunderbirda
1092 Group:          I18n
1093 Requires:       thunderbird >= %{version}
1094 Provides:       thunderbird-lang-resources = %{version}
1095 Obsoletes:      icedove-lang-rm
1096 Obsoletes:      mozilla-thunderbird-lang-rm
1097 BuildArch:      noarch
1098
1099 %description lang-rm
1100 Romansh resources for Thunderbird.
1101
1102 %description lang-rm -l pl.UTF-8
1103 RetoromaÅ„skie pliki jÄ™zykowe dla Thunderbirda.
1104
1105 %package lang-ro
1106 Summary:        Romanian resources for Thunderbird
1107 Summary(pl.UTF-8):      RumuÅ„skie pliki jÄ™zykowe dla Thunderbirda
1108 Group:          I18n
1109 Requires:       thunderbird >= %{version}
1110 Provides:       thunderbird-lang-resources = %{version}
1111 Obsoletes:      icedove-lang-ro
1112 Obsoletes:      mozilla-thunderbird-lang-ro
1113 BuildArch:      noarch
1114
1115 %description lang-ro
1116 Romanian resources for Thunderbird.
1117
1118 %description lang-ro -l pl.UTF-8
1119 RumuÅ„skie pliki jÄ™zykowe dla Thunderbirda.
1120
1121 %package lang-ru
1122 Summary:        Russian resources for Thunderbird
1123 Summary(pl.UTF-8):      Rosyjskie pliki jÄ™zykowe dla Thunderbirda
1124 Group:          I18n
1125 Requires:       thunderbird >= %{version}
1126 Provides:       thunderbird-lang-resources = %{version}
1127 Obsoletes:      icedove-lang-ru
1128 Obsoletes:      mozilla-thunderbird-lang-ru
1129 BuildArch:      noarch
1130
1131 %description lang-ru
1132 Russian resources for Thunderbird.
1133
1134 %description lang-ru -l pl.UTF-8
1135 Rosyjskie pliki jÄ™zykowe dla Thunderbirda.
1136
1137 %package lang-si
1138 Summary:        Sinhala resources for Thunderbird
1139 Summary(pl.UTF-8):      Syngaleskie pliki jÄ™zykowe dla Thunderbirda
1140 Group:          I18n
1141 Requires:       thunderbird >= %{version}
1142 Provides:       thunderbird-lang-resources = %{version}
1143 Obsoletes:      icedove-lang-si
1144 Obsoletes:      mozilla-thunderbird-lang-si
1145 BuildArch:      noarch
1146
1147 %description lang-si
1148 Sinhala resources for Thunderbird.
1149
1150 %description lang-si -l pl.UTF-8
1151 Syngaleskie pliki jÄ™zykowe dla Thunderbirda.
1152
1153 %package lang-sk
1154 Summary:        Slovak resources for Thunderbird
1155 Summary(pl.UTF-8):      SÅ‚owackie pliki jÄ™zykowe dla Thunderbirda
1156 Group:          I18n
1157 Requires:       thunderbird >= %{version}
1158 Provides:       thunderbird-lang-resources = %{version}
1159 Obsoletes:      icedove-lang-sk
1160 Obsoletes:      mozilla-thunderbird-lang-sk
1161 BuildArch:      noarch
1162
1163 %description lang-sk
1164 Slovak resources for Thunderbird.
1165
1166 %description lang-sk -l pl.UTF-8
1167 SÅ‚owackie pliki jÄ™zykowe dla Thunderbirda.
1168
1169 %package lang-sl
1170 Summary:        Slovene resources for Thunderbird
1171 Summary(pl.UTF-8):      SÅ‚oweÅ„skie pliki jÄ™zykowe dla Thunderbirda
1172 Group:          I18n
1173 Requires:       thunderbird >= %{version}
1174 Provides:       thunderbird-lang-resources = %{version}
1175 Obsoletes:      icedove-lang-sl
1176 Obsoletes:      mozilla-thunderbird-lang-sl
1177 BuildArch:      noarch
1178
1179 %description lang-sl
1180 Slovene resources for Thunderbird.
1181
1182 %description lang-sl -l pl.UTF-8
1183 SÅ‚oweÅ„skie pliki jÄ™zykowe dla Thunderbirda.
1184
1185 %package lang-sq
1186 Summary:        Albanian resources for Thunderbird
1187 Summary(pl.UTF-8):      AlbaÅ„skie pliki jÄ™zykowe dla Thunderbirda
1188 Group:          I18n
1189 Requires:       thunderbird >= %{version}
1190 Provides:       thunderbird-lang-resources = %{version}
1191 Obsoletes:      icedove-lang-sq
1192 Obsoletes:      mozilla-thunderbird-lang-sq
1193 BuildArch:      noarch
1194
1195 %description lang-sq
1196 Albanian resources for Thunderbird.
1197
1198 %description lang-sq -l pl.UTF-8
1199 AlbaÅ„skie pliki jÄ™zykowe dla Thunderbirda.
1200
1201 %package lang-sr
1202 Summary:        Serbian resources for Thunderbird
1203 Summary(pl.UTF-8):      Serbskie pliki jÄ™zykowe dla Thunderbirda
1204 Group:          I18n
1205 Requires:       thunderbird >= %{version}
1206 Provides:       thunderbird-lang-resources = %{version}
1207 Obsoletes:      icedove-lang-sr
1208 Obsoletes:      mozilla-thunderbird-lang-sr
1209 BuildArch:      noarch
1210
1211 %description lang-sr
1212 Serbian resources for Thunderbird.
1213
1214 %description lang-sr -l pl.UTF-8
1215 Serbskie pliki jÄ™zykowe dla Thunderbirda.
1216
1217 %package lang-sv
1218 Summary:        Swedish resources for Thunderbird
1219 Summary(pl.UTF-8):      Szwedzkie pliki jÄ™zykowe dla Thunderbirda
1220 Group:          I18n
1221 Requires:       thunderbird >= %{version}
1222 Provides:       thunderbird-lang-resources = %{version}
1223 Obsoletes:      icedove-lang-sv
1224 Obsoletes:      mozilla-thunderbird-lang-sv
1225 BuildArch:      noarch
1226
1227 %description lang-sv
1228 Swedish resources for Thunderbird.
1229
1230 %description lang-sv -l pl.UTF-8
1231 Szwedzkie pliki jÄ™zykowe dla Thunderbirda.
1232
1233 %package lang-ta_LK
1234 Summary:        Tamil (Sri Lanka) resources for Thunderbird
1235 Summary(pl.UTF-8):      Tamilskie pliki jÄ™zykowe dla Thunderbirda (wersja dla Sri Lanki)
1236 Group:          I18n
1237 Requires:       thunderbird >= %{version}
1238 Provides:       thunderbird-lang-resources = %{version}
1239 Obsoletes:      icedove-lang-ta_LK
1240 Obsoletes:      mozilla-thunderbird-lang-ta_LK
1241 BuildArch:      noarch
1242
1243 %description lang-ta_LK
1244 Tamil (Sri Lanka) resources for Thunderbird.
1245
1246 %description lang-ta_LK -l pl.UTF-8
1247 Tamilskie pliki jÄ™zykowe dla Thunderbirda (wersja dla Sri Lanki).
1248
1249 %package lang-th
1250 Summary:        Thai resources for Thunderbird
1251 Summary(pl.UTF-8):      Tajskie pliki jÄ™zykowe dla Thunderbirda
1252 Group:          I18n
1253 Requires:       thunderbird >= %{version}
1254 Provides:       thunderbird-lang-resources = %{version}
1255 BuildArch:      noarch
1256
1257 %description lang-th
1258 Thai resources for Thunderbird.
1259
1260 %description lang-th -l pl.UTF-8
1261 Tajskie pliki jÄ™zykowe dla Thunderbirda.
1262
1263 %package lang-tr
1264 Summary:        Turkish resources for Thunderbird
1265 Summary(pl.UTF-8):      Tureckie pliki jÄ™zykowe dla Thunderbirda
1266 Group:          I18n
1267 Requires:       thunderbird >= %{version}
1268 Provides:       thunderbird-lang-resources = %{version}
1269 Obsoletes:      icedove-lang-tr
1270 Obsoletes:      mozilla-thunderbird-lang-tr
1271 BuildArch:      noarch
1272
1273 %description lang-tr
1274 Turkish resources for Thunderbird.
1275
1276 %description lang-tr -l pl.UTF-8
1277 Tureckie pliki jÄ™zykowe dla Thunderbirda.
1278
1279 %package lang-uk
1280 Summary:        Ukrainian resources for Thunderbird
1281 Summary(pl.UTF-8):      UkraiÅ„skie pliki jÄ™zykowe dla Thunderbirda
1282 Group:          I18n
1283 Requires:       thunderbird >= %{version}
1284 Provides:       thunderbird-lang-resources = %{version}
1285 Obsoletes:      icedove-lang-uk
1286 Obsoletes:      mozilla-thunderbird-lang-uk
1287 BuildArch:      noarch
1288
1289 %description lang-uk
1290 Ukrainian resources for Thunderbird.
1291
1292 %description lang-uk -l pl.UTF-8
1293 UkraiÅ„skie pliki jÄ™zykowe dla Thunderbirda.
1294
1295 %package lang-uz
1296 Summary:        Uzbek resources for Thunderbird
1297 Summary(pl.UTF-8):      Uzbeckie pliki jÄ™zykowe dla Thunderbirda
1298 Group:          I18n
1299 Requires:       thunderbird >= %{version}
1300 Provides:       thunderbird-lang-resources = %{version}
1301 BuildArch:      noarch
1302
1303 %description lang-uz
1304 Uzbek resources for Thunderbird.
1305
1306 %description lang-uz -l pl.UTF-8
1307 zbeckiee pliki jÄ™zykowe dla Thunderbirda.
1308
1309 %package lang-vi
1310 Summary:        Vietnamese resources for Thunderbird
1311 Summary(pl.UTF-8):      Wietnamskie pliki jÄ™zykowe dla Thunderbirda
1312 Group:          I18n
1313 Requires:       thunderbird >= %{version}
1314 Provides:       thunderbird-lang-resources = %{version}
1315 Obsoletes:      icedove-lang-vi
1316 Obsoletes:      mozilla-thunderbird-lang-vi
1317 BuildArch:      noarch
1318
1319 %description lang-vi
1320 Vietnamese resources for Thunderbird.
1321
1322 %description lang-vi -l pl.UTF-8
1323 Wietnamskie pliki jÄ™zykowe dla Thunderbirda.
1324
1325 %package lang-zh_CN
1326 Summary:        Simplified Chinese resources for Thunderbird
1327 Summary(pl.UTF-8):      ChiÅ„skie (uproszczone) pliki jÄ™zykowe dla Thunderbirda
1328 Group:          I18n
1329 Requires:       thunderbird >= %{version}
1330 Provides:       thunderbird-lang-resources = %{version}
1331 Obsoletes:      icedove-lang-zh_CN
1332 Obsoletes:      mozilla-thunderbird-lang-zh_CN
1333 BuildArch:      noarch
1334
1335 %description lang-zh_CN
1336 Simplified Chinese resources for Thunderbird.
1337
1338 %description lang-zh_CN -l pl.UTF-8
1339 ChiÅ„skie (uproszczone) pliki jÄ™zykowe dla Thunderbirda.
1340
1341 %package lang-zh_TW
1342 Summary:        Traditional Chinese resources for Thunderbird
1343 Summary(pl.UTF-8):      ChiÅ„skie tradycyjne pliki jÄ™zykowe dla Thunderbirda
1344 Group:          I18n
1345 Requires:       thunderbird >= %{version}
1346 Provides:       thunderbird-lang-resources = %{version}
1347 Obsoletes:      icedove-lang-zh_TW
1348 Obsoletes:      mozilla-thunderbird-lang-zh_TW
1349 BuildArch:      noarch
1350
1351 %description lang-zh_TW
1352 Traditional Chinese resources for Thunderbird.
1353
1354 %description lang-zh_TW -l pl.UTF-8
1355 ChiÅ„skie tradycyjne pliki jÄ™zykowe dla Thunderbirda.
1356
1357 %prep
1358 unpack() {
1359         local args="$1" file="$2"
1360         cp -p $file .
1361 }
1362 %define __unzip unpack
1363 %setup -q %(seq -f '-a %g' 100 165 | xargs)
1364 %patch0 -p1
1365 %patch1 -p1
1366 %patch2 -p0
1367 %patch3 -p2
1368 %patch4 -p1
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.370936 seconds and 3 git commands to generate.