]>
Commit | Line | Data |
---|---|---|
ab935132 JR |
1 | # TODO: |
2 | # - do something with *.rdf file, there if file conflict with other lang packages | |
3 | # UPDATING: | |
4 | %if 0 | |
5 | rm -vf *.xpi | |
6 | ./builder -g | |
7 | V=2.10 | |
8 | U=http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$V/langpack/ | |
9 | curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p' | |
10 | %endif | |
11 | ||
12 | Summary: Language packs for Iceape | |
dda8e58c | 13 | Summary(pl.UTF-8): Pakiety językowe dla Iceape'a |
ab935132 | 14 | Name: iceape-languages |
c6839fee | 15 | Version: 2.20 |
ab935132 JR |
16 | Release: 1 |
17 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ | |
18 | Group: I18n | |
19 | Source0: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.be.langpack.xpi | |
c6839fee | 20 | # Source0-md5: 2f734001e9b79c8c4546a1a1a322d721 |
ab935132 | 21 | Source1: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ca.langpack.xpi |
c6839fee | 22 | # Source1-md5: d0ac556803189dec8c2ae6b77524a499 |
ab935132 | 23 | Source2: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.cs.langpack.xpi |
c6839fee | 24 | # Source2-md5: 72ddf90e403ba1d843b4b60dbb8c9ae3 |
ab935132 | 25 | Source3: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.de.langpack.xpi |
c6839fee | 26 | # Source3-md5: 915e852077d00369120edd0acfa58baa |
ab935132 | 27 | Source4: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-GB.langpack.xpi |
c6839fee | 28 | # Source4-md5: dc1c27a6acde20361e7531b0013fe142 |
ab935132 | 29 | Source5: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.en-US.langpack.xpi |
c6839fee | 30 | # Source5-md5: b1a95275afb29392f11c228ce026add9 |
ab935132 | 31 | Source6: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-AR.langpack.xpi |
c6839fee | 32 | # Source6-md5: 07ec343fd4cc67a41a513e06945c1bd7 |
ab935132 | 33 | Source7: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.es-ES.langpack.xpi |
c6839fee | 34 | # Source7-md5: 02358b56d946c29bb71145c2dbc14ca6 |
ab935132 | 35 | Source8: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fi.langpack.xpi |
c6839fee | 36 | # Source8-md5: 128120699aba43cd19235be50e40c8d3 |
ab935132 | 37 | Source9: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.fr.langpack.xpi |
c6839fee | 38 | # Source9-md5: ae0864f45a26c4c5c49375eef0b0b19d |
ab935132 | 39 | Source10: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.gl.langpack.xpi |
c6839fee | 40 | # Source10-md5: 841d70b4626060e78f9859c3ee5bbeba |
ab935132 | 41 | Source11: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.hu.langpack.xpi |
c6839fee | 42 | # Source11-md5: 09f1c0f68455d19baeed769d0e250b86 |
ab935132 | 43 | Source12: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.it.langpack.xpi |
c6839fee | 44 | # Source12-md5: 64d134031c84753e206ebb2a51e50461 |
ab935132 | 45 | Source13: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ja.langpack.xpi |
c6839fee | 46 | # Source13-md5: 34da59d80926c655f52ec8248770f2e5 |
ab935132 | 47 | Source14: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.lt.langpack.xpi |
c6839fee | 48 | # Source14-md5: 001ea02ab3bffc5d85c9d1e19ab5c6bc |
ab935132 | 49 | Source15: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nb-NO.langpack.xpi |
c6839fee | 50 | # Source15-md5: a9031082646eb710160e7c1b0a69bea5 |
ab935132 | 51 | Source16: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.nl.langpack.xpi |
c6839fee | 52 | # Source16-md5: 6c74ebb44e25a3392b22ec5e127bbc47 |
ab935132 | 53 | Source17: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pl.langpack.xpi |
c6839fee | 54 | # Source17-md5: 6f4c5934048f02e26ff69627837be867 |
ab935132 | 55 | Source18: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.pt-PT.langpack.xpi |
c6839fee | 56 | # Source18-md5: 4dff8e63d812aaf440b9aeef314f72c5 |
ab935132 | 57 | Source19: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.ru.langpack.xpi |
c6839fee | 58 | # Source19-md5: b062e9c1ff24696b1deb78f44a2b6892 |
ab935132 | 59 | Source20: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sk.langpack.xpi |
c6839fee | 60 | # Source20-md5: 9374016a7bfa05c2694891b7acd9399f |
ab935132 | 61 | Source21: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.sv-SE.langpack.xpi |
c6839fee | 62 | # Source21-md5: 68fa148630b195ae7dc2605205575d37 |
ab935132 | 63 | Source22: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.tr.langpack.xpi |
c6839fee | 64 | # Source22-md5: 6e9d76d30b24550408999eb524601edc |
ab935132 | 65 | Source23: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.uk.langpack.xpi |
c6839fee | 66 | # Source23-md5: 87331833cfdf767b739ac40b0265d168 |
ab935132 | 67 | Source24: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-CN.langpack.xpi |
c6839fee | 68 | # Source24-md5: 0506c3c3171ea1cd959ecde17b2fdd64 |
ab935132 | 69 | Source25: http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/langpack/seamonkey-%{version}.zh-TW.langpack.xpi |
c6839fee | 70 | # Source25-md5: 6f032f6f73bc2ef8057237b426718aff |
ab935132 JR |
71 | URL: http://www.seamonkey-project.org/ |
72 | BuildRequires: sed >= 4.0 | |
73 | BuildRequires: unzip | |
74 | BuildRequires: zip | |
75 | BuildArch: noarch | |
76 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
77 | ||
78 | %define iceapedir %{_datadir}/iceape | |
79 | ||
80 | %description | |
81 | Language packs for Iceape. | |
82 | ||
83 | %description -l pl.UTF-8 | |
dda8e58c | 84 | Pakiety językowe dla Iceape'a. |
ab935132 JR |
85 | |
86 | %package -n iceape-lang-be | |
87 | Summary: Belarusian resources for Iceape | |
dda8e58c | 88 | Summary(pl.UTF-8): Białoruskie pliki językowe dla Iceape'a |
ab935132 JR |
89 | Group: I18n |
90 | Requires: iceape >= %{version} | |
91 | Provides: iceape-lang-resources = %{version} | |
92 | ||
93 | %description -n iceape-lang-be | |
94 | Belarusian resources for Iceape. | |
95 | ||
96 | %description -n iceape-lang-be -l pl.UTF-8 | |
dda8e58c | 97 | Białoruskie pliki językowe dla Iceape'a. |
ab935132 JR |
98 | |
99 | %package -n iceape-lang-ca | |
100 | Summary: Catalan resources for Iceape | |
101 | Summary(ca.UTF-8): Recursos catalans per Iceape | |
102 | Summary(es.UTF-8): Recursos catalanes para Iceape | |
dda8e58c | 103 | Summary(pl.UTF-8): Katalońskie pliki językowe dla Iceape'a |
ab935132 JR |
104 | Group: I18n |
105 | Requires: iceape >= %{version} | |
106 | Provides: iceape-lang-resources = %{version} | |
107 | ||
108 | %description -n iceape-lang-ca | |
109 | Catalan resources for Iceape. | |
110 | ||
111 | %description -n iceape-lang-ca -l ca.UTF-8 | |
112 | Recursos catalans per Iceape. | |
113 | ||
114 | %description -n iceape-lang-ca -l es.UTF-8 | |
115 | Recursos catalanes para Iceape. | |
116 | ||
117 | %description -n iceape-lang-ca -l pl.UTF-8 | |
dda8e58c | 118 | Katalońskie pliki językowe dla Iceape'a. |
ab935132 JR |
119 | |
120 | %package -n iceape-lang-cs | |
121 | Summary: Czech resources for Iceape | |
dda8e58c | 122 | Summary(pl.UTF-8): Czeskie pliki językowe dla Iceape'a |
ab935132 JR |
123 | Group: I18n |
124 | Requires: iceape >= %{version} | |
125 | Provides: iceape-lang-resources = %{version} | |
126 | ||
127 | %description -n iceape-lang-cs | |
128 | Czech resources for Iceape. | |
129 | ||
130 | %description -n iceape-lang-cs -l pl.UTF-8 | |
dda8e58c | 131 | Czeskie pliki językowe dla Iceape'a. |
ab935132 JR |
132 | |
133 | %package -n iceape-lang-de | |
134 | Summary: German resources for Iceape | |
dda8e58c | 135 | Summary(pl.UTF-8): Niemieckie pliki językowe dla Iceape'a |
ab935132 JR |
136 | Group: I18n |
137 | Requires: iceape >= %{version} | |
138 | Provides: iceape-lang-resources = %{version} | |
139 | ||
140 | %description -n iceape-lang-de | |
141 | German resources for Iceape. | |
142 | ||
143 | %description -n iceape-lang-de -l pl.UTF-8 | |
dda8e58c | 144 | Niemieckie pliki językowe dla Iceape'a. |
ab935132 JR |
145 | |
146 | %package -n iceape-lang-en_GB | |
147 | Summary: English (British) resources for Iceape | |
dda8e58c | 148 | Summary(pl.UTF-8): Angielskie (brytyjskie) pliki językowe dla Iceape'a |
ab935132 JR |
149 | Group: I18n |
150 | Requires: iceape >= %{version} | |
151 | Provides: iceape-lang-resources = %{version} | |
152 | ||
153 | %description -n iceape-lang-en_GB | |
154 | English (British) resources for Iceape. | |
155 | ||
156 | %description -n iceape-lang-en_GB -l pl.UTF-8 | |
dda8e58c | 157 | Angielskie (brytyjskie) pliki językowe dla Iceape'a. |
ab935132 JR |
158 | |
159 | %package -n iceape-lang-en_US | |
160 | Summary: English (American) resources for Iceape | |
dda8e58c | 161 | Summary(pl.UTF-8): Angielskie (amerykańskie) pliki językowe dla Iceape'a |
ab935132 JR |
162 | Group: I18n |
163 | Requires: iceape >= %{version} | |
164 | Provides: iceape-lang-resources = %{version} | |
165 | ||
166 | %description -n iceape-lang-en_US | |
167 | English (American) resources for Iceape. | |
168 | ||
169 | %description -n iceape-lang-en_US -l pl.UTF-8 | |
dda8e58c | 170 | Angielskie (amerykańskie) pliki językowe dla Iceape'a. |
ab935132 JR |
171 | |
172 | %package -n iceape-lang-es_AR | |
173 | Summary: Spanish (Andorra) resources for Iceape | |
174 | Summary(ca.UTF-8): Recursos espanyols (Andorra) per Iceape | |
175 | Summary(es.UTF-8): Recursos españoles (Andorra) para Iceape | |
dda8e58c | 176 | Summary(pl.UTF-8): Hiszpańskie pliki językowe dla Iceape'a (wersja dla Andory) |
ab935132 JR |
177 | Group: I18n |
178 | Requires: iceape >= %{version} | |
179 | Provides: iceape-lang-resources = %{version} | |
180 | ||
181 | %description -n iceape-lang-es_AR | |
182 | Spanish (Spain) resources for Iceape. | |
183 | ||
184 | %description -n iceape-lang-es_AR -l ca.UTF-8 | |
185 | Recursos espanyols (Andorra) per Iceape. | |
186 | ||
187 | %description -n iceape-lang-es_AR -l es.UTF-8 | |
188 | Recursos españoles (Andorra) para Iceape. | |
189 | ||
190 | %description -n iceape-lang-es_AR -l pl.UTF-8 | |
dda8e58c | 191 | Hiszpańskie pliki językowe dla Iceape'a (wersja dla Andory). |
ab935132 JR |
192 | |
193 | %package -n iceape-lang-es | |
194 | Summary: Spanish (Spain) resources for Iceape | |
195 | Summary(ca.UTF-8): Recursos espanyols (Espanya) per Iceape | |
196 | Summary(es.UTF-8): Recursos españoles (España) para Iceape | |
dda8e58c | 197 | Summary(pl.UTF-8): Hiszpańskie pliki językowe dla Iceape'a (wersja dla Hiszpanii) |
ab935132 JR |
198 | Group: I18n |
199 | Requires: iceape >= %{version} | |
200 | Provides: iceape-lang-resources = %{version} | |
201 | ||
202 | %description -n iceape-lang-es | |
203 | Spanish (Spain) resources for Iceape. | |
204 | ||
205 | %description -n iceape-lang-es -l ca.UTF-8 | |
206 | Recursos espanyols (Espanya) per Iceape. | |
207 | ||
208 | %description -n iceape-lang-es -l es.UTF-8 | |
209 | Recursos españoles (España) para Iceape. | |
210 | ||
211 | %description -n iceape-lang-es -l pl.UTF-8 | |
dda8e58c | 212 | Hiszpańskie pliki językowe dla Iceape'a (wersja dla Hiszpanii). |
ab935132 JR |
213 | |
214 | %package -n iceape-lang-fi | |
215 | Summary: Finnish resources for Iceape | |
dda8e58c | 216 | Summary(pl.UTF-8): Fińskie pliki językowe dla Iceape'a |
ab935132 JR |
217 | Group: I18n |
218 | Requires: iceape >= %{version} | |
219 | Provides: iceape-lang-resources = %{version} | |
220 | ||
221 | %description -n iceape-lang-fi | |
222 | Finnish resources for Iceape. | |
223 | ||
224 | %description -n iceape-lang-fi -l pl.UTF-8 | |
dda8e58c | 225 | Fińskie pliki językowe dla Iceape'a. |
ab935132 JR |
226 | |
227 | %package -n iceape-lang-fr | |
228 | Summary: French resources for Iceape | |
dda8e58c | 229 | Summary(pl.UTF-8): Francuskie pliki językowe dla Iceape'a |
ab935132 JR |
230 | Group: I18n |
231 | Requires: iceape >= %{version} | |
232 | Provides: iceape-lang-resources = %{version} | |
233 | ||
234 | %description -n iceape-lang-fr | |
235 | French resources for Iceape. | |
236 | ||
237 | %description -n iceape-lang-fr -l pl.UTF-8 | |
dda8e58c | 238 | Francuskie pliki językowe dla Iceape'a. |
ab935132 JR |
239 | |
240 | %package -n iceape-lang-gl | |
241 | Summary: Galician resources for Iceape | |
dda8e58c | 242 | Summary(pl.UTF-8): Galicyjskie pliki językowe dla Iceape'a |
ab935132 JR |
243 | Group: I18n |
244 | Requires: iceape >= %{version} | |
245 | Provides: iceape-lang-resources = %{version} | |
246 | ||
247 | %description -n iceape-lang-gl | |
248 | Galician resources for Iceape. | |
249 | ||
250 | %description -n iceape-lang-gl -l pl.UTF-8 | |
dda8e58c | 251 | Galicyjskie pliki językowe dla Iceape'a. |
ab935132 JR |
252 | |
253 | %package -n iceape-lang-hu | |
254 | Summary: Hungarian resources for Iceape | |
255 | Summary(hu.UTF-8): Magyar nyelv Iceape-hez | |
dda8e58c | 256 | Summary(pl.UTF-8): Węgierskie pliki językowe dla Iceape'a |
ab935132 JR |
257 | Group: I18n |
258 | Requires: iceape >= %{version} | |
259 | Provides: iceape-lang-resources = %{version} | |
260 | ||
261 | %description -n iceape-lang-hu | |
262 | Hungarian resources for Iceape. | |
263 | ||
264 | %description -n iceape-lang-hu -l hu.UTF-8 | |
265 | Magyar nyelv Iceape-hez. | |
266 | ||
267 | %description -n iceape-lang-hu -l pl.UTF-8 | |
dda8e58c | 268 | Węgierskie pliki językowe dla Iceape'a. |
ab935132 JR |
269 | |
270 | %package -n iceape-lang-it | |
271 | Summary: Italian resources for Iceape | |
dda8e58c | 272 | Summary(pl.UTF-8): Włoskie pliki językowe dla Iceape'a |
ab935132 JR |
273 | Group: I18n |
274 | Requires: iceape >= %{version} | |
275 | Provides: iceape-lang-resources = %{version} | |
276 | ||
277 | %description -n iceape-lang-it | |
278 | Italian resources for Iceape. | |
279 | ||
280 | %description -n iceape-lang-it -l pl.UTF-8 | |
dda8e58c | 281 | Włoskie pliki językowe dla Iceape'a. |
ab935132 JR |
282 | |
283 | %package -n iceape-lang-ja | |
284 | Summary: Japanese resources for Iceape | |
dda8e58c | 285 | Summary(pl.UTF-8): Japońskie pliki językowe dla Iceape'a |
ab935132 JR |
286 | Group: I18n |
287 | Requires: iceape >= %{version} | |
288 | Provides: iceape-lang-resources = %{version} | |
289 | ||
290 | %description -n iceape-lang-ja | |
291 | Japanese resources for Iceape. | |
292 | ||
293 | %description -n iceape-lang-ja -l pl.UTF-8 | |
dda8e58c | 294 | Japońskie pliki językowe dla Iceape'a. |
ab935132 JR |
295 | |
296 | %package -n iceape-lang-lt | |
297 | Summary: Lithuanian resources for Iceape | |
dda8e58c | 298 | Summary(pl.UTF-8): Litewskie pliki językowe dla Iceape'a |
ab935132 JR |
299 | Group: I18n |
300 | Requires: iceape >= %{version} | |
301 | Provides: iceape-lang-resources = %{version} | |
302 | ||
303 | %description -n iceape-lang-lt | |
304 | Lithuanian resources for Iceape. | |
305 | ||
306 | %description -n iceape-lang-lt -l pl.UTF-8 | |
dda8e58c | 307 | Litewskie pliki językowe dla Iceape'a. |
ab935132 JR |
308 | |
309 | %package -n iceape-lang-nb | |
310 | Summary: Norwegian Bokmaal resources for Iceape | |
dda8e58c | 311 | Summary(pl.UTF-8): Norweskie (bokmaal) pliki językowe dla Iceape'a |
ab935132 JR |
312 | Group: I18n |
313 | Requires: iceape >= %{version} | |
314 | Provides: iceape-lang-resources = %{version} | |
315 | ||
316 | %description -n iceape-lang-nb | |
317 | Norwegian Bokmaal resources for Iceape. | |
318 | ||
319 | %description -n iceape-lang-nb -l pl.UTF-8 | |
dda8e58c | 320 | Norweskie (bokmaal) pliki językowe dla Iceape'a. |
ab935132 JR |
321 | |
322 | %package -n iceape-lang-nl | |
323 | Summary: Dutch resources for Iceape | |
dda8e58c | 324 | Summary(pl.UTF-8): Holenderskie pliki językowe dla Iceape'a |
ab935132 JR |
325 | Group: I18n |
326 | Requires: iceape >= %{version} | |
327 | Provides: iceape-lang-resources = %{version} | |
328 | ||
329 | %description -n iceape-lang-nl | |
330 | Dutch resources for Iceape. | |
331 | ||
332 | %description -n iceape-lang-nl -l pl.UTF-8 | |
dda8e58c | 333 | Holenderskie pliki językowe dla Iceape'a. |
ab935132 JR |
334 | |
335 | %package -n iceape-lang-pl | |
336 | Summary: Polish resources for Iceape | |
dda8e58c | 337 | Summary(pl.UTF-8): Polskie pliki językowe dla Iceape'a |
ab935132 JR |
338 | Group: I18n |
339 | Requires: iceape >= %{version} | |
340 | Provides: iceape-lang-resources = %{version} | |
341 | ||
342 | %description -n iceape-lang-pl | |
343 | Polish resources for Iceape. | |
344 | ||
345 | %description -n iceape-lang-pl -l pl.UTF-8 | |
dda8e58c | 346 | Polskie pliki językowe dla Iceape'a. |
ab935132 JR |
347 | |
348 | %package -n iceape-lang-pt | |
349 | Summary: Portuguese (Portugal) resources for Iceape | |
dda8e58c | 350 | Summary(pl.UTF-8): Portugalskie pliki językowe dla Iceape'a (wersja dla Portugalii) |
ab935132 JR |
351 | Group: I18n |
352 | Requires: iceape >= %{version} | |
353 | Provides: iceape-lang-resources = %{version} | |
354 | ||
355 | %description -n iceape-lang-pt | |
356 | Portuguese (Portugal) resources for Iceape. | |
357 | ||
358 | %description -n iceape-lang-pt -l pl.UTF-8 | |
dda8e58c | 359 | Portugalskie pliki językowe dla Iceape'a (wersja dla Portugalii). |
ab935132 JR |
360 | |
361 | %package -n iceape-lang-ru | |
362 | Summary: Russian resources for Iceape | |
dda8e58c | 363 | Summary(pl.UTF-8): Rosyjskie pliki językowe dla Iceape'a |
ab935132 JR |
364 | Group: I18n |
365 | Requires: iceape >= %{version} | |
366 | Provides: iceape-lang-resources = %{version} | |
367 | ||
368 | %description -n iceape-lang-ru | |
369 | Russian resources for Iceape. | |
370 | ||
371 | %description -n iceape-lang-ru -l pl.UTF-8 | |
dda8e58c | 372 | Rosyjskie pliki językowe dla Iceape'a. |
ab935132 JR |
373 | |
374 | %package -n iceape-lang-sk | |
375 | Summary: Slovak resources for Iceape | |
dda8e58c | 376 | Summary(pl.UTF-8): Słowackie pliki językowe dla Iceape'a |
ab935132 JR |
377 | Group: I18n |
378 | Requires: iceape >= %{version} | |
379 | Provides: iceape-lang-resources = %{version} | |
380 | ||
381 | %description -n iceape-lang-sk | |
382 | Slovak resources for Iceape. | |
383 | ||
384 | %description -n iceape-lang-sk -l pl.UTF-8 | |
dda8e58c | 385 | Słowackie pliki językowe dla Iceape'a. |
ab935132 JR |
386 | |
387 | %package -n iceape-lang-sv | |
388 | Summary: Swedish resources for Iceape | |
dda8e58c | 389 | Summary(pl.UTF-8): Szwedzkie pliki językowe dla Iceape'a |
ab935132 JR |
390 | Group: I18n |
391 | Requires: iceape >= %{version} | |
392 | Provides: iceape-lang-resources = %{version} | |
393 | ||
394 | %description -n iceape-lang-sv | |
395 | Swedish resources for Iceape. | |
396 | ||
397 | %description -n iceape-lang-sv -l pl.UTF-8 | |
dda8e58c | 398 | Szwedzkie pliki językowe dla Iceape'a. |
ab935132 JR |
399 | |
400 | %package -n iceape-lang-tr | |
401 | Summary: Turkish resources for Iceape | |
dda8e58c | 402 | Summary(pl.UTF-8): Tureckie pliki językowe dla Iceape'a |
ab935132 JR |
403 | Group: I18n |
404 | Requires: iceape >= %{version} | |
405 | Provides: iceape-lang-resources = %{version} | |
406 | ||
407 | %description -n iceape-lang-tr | |
408 | Turkish resources for Iceape. | |
409 | ||
410 | %description -n iceape-lang-tr -l pl.UTF-8 | |
dda8e58c | 411 | Tureckie pliki językowe dla Iceape'a. |
ab935132 JR |
412 | |
413 | %package -n iceape-lang-uk | |
414 | Summary: Ukrainian resources for Iceape | |
dda8e58c | 415 | Summary(pl.UTF-8): Ukraińskie pliki językowe dla Iceape'a |
ab935132 JR |
416 | Group: I18n |
417 | Requires: iceape >= %{version} | |
418 | Provides: iceape-lang-resources = %{version} | |
419 | ||
420 | %description -n iceape-lang-uk | |
421 | Ukrainian resources for Iceape. | |
422 | ||
423 | %description -n iceape-lang-uk -l pl.UTF-8 | |
dda8e58c | 424 | Ukraińskie pliki językowe dla Iceape'a. |
ab935132 JR |
425 | |
426 | %package -n iceape-lang-zh_CN | |
427 | Summary: Simplified Chinese resources for Iceape | |
dda8e58c | 428 | Summary(pl.UTF-8): Chińskie (uproszczone) pliki językowe dla Iceape'a |
ab935132 JR |
429 | Group: I18n |
430 | Requires: iceape >= %{version} | |
431 | Provides: iceape-lang-resources = %{version} | |
432 | ||
433 | %description -n iceape-lang-zh_CN | |
434 | Simplified Chinese resources for Iceape. | |
435 | ||
436 | %description -n iceape-lang-zh_CN -l pl.UTF-8 | |
dda8e58c | 437 | Chińskie uproszczone pliki językowe dla Iceape'a. |
ab935132 JR |
438 | |
439 | %package -n iceape-lang-zh_TW | |
440 | Summary: Traditional Chinese resources for Iceape | |
dda8e58c | 441 | Summary(pl.UTF-8): Chińskie tradycyjne pliki językowe dla Iceape'a |
ab935132 JR |
442 | Group: I18n |
443 | Requires: iceape >= %{version} | |
444 | Provides: iceape-lang-resources = %{version} | |
445 | ||
446 | %description -n iceape-lang-zh_TW | |
447 | Traditional Chinese resources for Iceape. | |
448 | ||
449 | %description -n iceape-lang-zh_TW -l pl.UTF-8 | |
dda8e58c | 450 | Chińskie tradycyjne pliki językowe dla Iceape'a. |
ab935132 JR |
451 | |
452 | %prep | |
453 | unpack() { | |
454 | local args="$1" file="$2" | |
455 | base=$(basename $file) | |
456 | local lang=$(basename $file .langpack.xpi) | |
457 | lang=${lang##seamonkey-%{version}.} | |
458 | install -d $lang | |
459 | ||
460 | # rebrand locale for Iceape | |
461 | cd $lang | |
462 | cp -p $file . | |
463 | unzip -q $base install.rdf chrome/$lang/locale/$lang/branding/brand.{dtd,properties} | |
464 | sed -i -e 's/SeaMonkey/Iceape/g;' chrome/$lang/locale/$lang/branding/brand.{dtd,properties} | |
465 | zip -q0 $base chrome/$lang/locale/$lang/branding/brand.{dtd,properties} | |
466 | if ! grep -q "<em:minVersion>%{version}</em:minVersion>" install.rdf; then | |
467 | echo "$base most likely doesn't work with iceape %{version}!" >&2 | |
468 | exit 1 | |
469 | fi | |
470 | %{__rm} -rf chrome install.rdf | |
471 | cd .. | |
472 | } | |
473 | %define __unzip unpack | |
474 | %setup -qcT %(seq -f '-a %g' 0 25 | xargs) | |
475 | ||
476 | %install | |
477 | rm -rf $RPM_BUILD_ROOT | |
478 | install -d $RPM_BUILD_ROOT%{iceapedir}/extensions | |
479 | for a in */*.xpi; do | |
480 | basename=$(basename $a .langpack.xpi) | |
481 | basename=${basename##seamonkey-%{version}.} | |
482 | cp -p $a $RPM_BUILD_ROOT%{iceapedir}/extensions/langpack-$basename@seamonkey.mozilla.org.xpi | |
483 | done | |
484 | ||
485 | %clean | |
486 | rm -rf $RPM_BUILD_ROOT | |
487 | ||
488 | %files -n iceape-lang-be | |
489 | %defattr(644,root,root,755) | |
490 | %{iceapedir}/extensions/langpack-be@seamonkey.mozilla.org.xpi | |
491 | ||
492 | %files -n iceape-lang-ca | |
493 | %defattr(644,root,root,755) | |
494 | %{iceapedir}/extensions/langpack-ca@seamonkey.mozilla.org.xpi | |
495 | ||
496 | %files -n iceape-lang-cs | |
497 | %defattr(644,root,root,755) | |
498 | %{iceapedir}/extensions/langpack-cs@seamonkey.mozilla.org.xpi | |
499 | ||
500 | %files -n iceape-lang-de | |
501 | %defattr(644,root,root,755) | |
502 | %{iceapedir}/extensions/langpack-de@seamonkey.mozilla.org.xpi | |
503 | ||
504 | %files -n iceape-lang-en_GB | |
505 | %defattr(644,root,root,755) | |
506 | %{iceapedir}/extensions/langpack-en-GB@seamonkey.mozilla.org.xpi | |
507 | ||
508 | %files -n iceape-lang-en_US | |
509 | %defattr(644,root,root,755) | |
510 | %{iceapedir}/extensions/langpack-en-US@seamonkey.mozilla.org.xpi | |
511 | ||
512 | %files -n iceape-lang-es_AR | |
513 | %defattr(644,root,root,755) | |
514 | %{iceapedir}/extensions/langpack-es-AR@seamonkey.mozilla.org.xpi | |
515 | ||
516 | %files -n iceape-lang-es | |
517 | %defattr(644,root,root,755) | |
518 | %{iceapedir}/extensions/langpack-es-ES@seamonkey.mozilla.org.xpi | |
519 | ||
520 | %files -n iceape-lang-fi | |
521 | %defattr(644,root,root,755) | |
522 | %{iceapedir}/extensions/langpack-fi@seamonkey.mozilla.org.xpi | |
523 | ||
524 | %files -n iceape-lang-fr | |
525 | %defattr(644,root,root,755) | |
526 | %{iceapedir}/extensions/langpack-fr@seamonkey.mozilla.org.xpi | |
527 | ||
528 | %files -n iceape-lang-gl | |
529 | %defattr(644,root,root,755) | |
530 | %{iceapedir}/extensions/langpack-gl@seamonkey.mozilla.org.xpi | |
531 | ||
532 | %files -n iceape-lang-hu | |
533 | %defattr(644,root,root,755) | |
534 | %{iceapedir}/extensions/langpack-hu@seamonkey.mozilla.org.xpi | |
535 | ||
536 | %files -n iceape-lang-it | |
537 | %defattr(644,root,root,755) | |
538 | %{iceapedir}/extensions/langpack-it@seamonkey.mozilla.org.xpi | |
539 | ||
540 | %files -n iceape-lang-ja | |
541 | %defattr(644,root,root,755) | |
542 | %{iceapedir}/extensions/langpack-ja@seamonkey.mozilla.org.xpi | |
543 | ||
544 | %files -n iceape-lang-lt | |
545 | %defattr(644,root,root,755) | |
546 | %{iceapedir}/extensions/langpack-lt@seamonkey.mozilla.org.xpi | |
547 | ||
548 | %files -n iceape-lang-nb | |
549 | %defattr(644,root,root,755) | |
550 | %{iceapedir}/extensions/langpack-nb-NO@seamonkey.mozilla.org.xpi | |
551 | ||
552 | %files -n iceape-lang-nl | |
553 | %defattr(644,root,root,755) | |
554 | %{iceapedir}/extensions/langpack-nl@seamonkey.mozilla.org.xpi | |
555 | ||
556 | %files -n iceape-lang-pl | |
557 | %defattr(644,root,root,755) | |
558 | %{iceapedir}/extensions/langpack-pl@seamonkey.mozilla.org.xpi | |
559 | ||
560 | %files -n iceape-lang-pt | |
561 | %defattr(644,root,root,755) | |
562 | %{iceapedir}/extensions/langpack-pt-PT@seamonkey.mozilla.org.xpi | |
563 | ||
564 | %files -n iceape-lang-ru | |
565 | %defattr(644,root,root,755) | |
566 | %{iceapedir}/extensions/langpack-ru@seamonkey.mozilla.org.xpi | |
567 | ||
568 | %files -n iceape-lang-sk | |
569 | %defattr(644,root,root,755) | |
570 | %{iceapedir}/extensions/langpack-sk@seamonkey.mozilla.org.xpi | |
571 | ||
572 | %files -n iceape-lang-sv | |
573 | %defattr(644,root,root,755) | |
574 | %{iceapedir}/extensions/langpack-sv-SE@seamonkey.mozilla.org.xpi | |
575 | ||
576 | %files -n iceape-lang-tr | |
577 | %defattr(644,root,root,755) | |
578 | %{iceapedir}/extensions/langpack-tr@seamonkey.mozilla.org.xpi | |
579 | ||
580 | %files -n iceape-lang-uk | |
581 | %defattr(644,root,root,755) | |
582 | %{iceapedir}/extensions/langpack-uk@seamonkey.mozilla.org.xpi | |
583 | ||
584 | %files -n iceape-lang-zh_CN | |
585 | %defattr(644,root,root,755) | |
586 | %{iceapedir}/extensions/langpack-zh-CN@seamonkey.mozilla.org.xpi | |
587 | ||
588 | %files -n iceape-lang-zh_TW | |
589 | %defattr(644,root,root,755) | |
590 | %{iceapedir}/extensions/langpack-zh-TW@seamonkey.mozilla.org.xpi |