source: projects/specs/trunk/c/calligra-l10n/calligra-l10n-vl.spec @ 10526

Revision 10526, 14.1 KB checked in by tomop, 8 years ago (diff)

calligra-l10n-2.9.11-1

Line 
1%define calligra_core_version %{version}
2%define koffice_obsoletes 1:2.3.4
3
4Name:    calligra-l10n
5Summary: Language files for calligra
6Summary(ja): Calligra 用の言語ファイル
7Version: 2.9.11
8Release: 1%{?_dist_release}
9
10License: GPLv2+
11Group:   Applications/Productivity
12URL:     http://www.calligra-suite.org/
13
14Vendor:  Project Vine
15Distribution: Vine Linux
16
17#Source1: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ar-%{version}.tar.xz
18#Source2: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-bg-%{version}.tar.xz
19Source3: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-bs-%{version}.tar.xz
20Source4: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ca-%{version}.tar.xz
21Source5: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ca@valencia-%{version}.tar.xz
22Source6: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-cs-%{version}.tar.xz
23Source7: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-da-%{version}.tar.xz
24Source8: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-de-%{version}.tar.xz
25Source9: http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-el-%{version}.tar.xz
26Source10:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-en_GB-%{version}.tar.xz
27#Source11:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-eo-%{version}.tar.xz
28Source12:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-es-%{version}.tar.xz
29Source13:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-et-%{version}.tar.xz
30#Source14:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-eu-%{version}.tar.xz
31#Source15:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-fa-%{version}.tar.xz
32Source16:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-fi-%{version}.tar.xz
33Source17:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-fr-%{version}.tar.xz
34#Source18:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-fy-%{version}.tar.xz
35#Source19:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ga-%{version}.tar.xz
36Source20:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-gl-%{version}.tar.xz
37#Source21:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-he-%{version}.tar.xz
38Source22:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-hu-%{version}.tar.xz
39#Source23:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ia-%{version}.tar.xz
40Source24:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-it-%{version}.tar.xz
41Source25:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ja-%{version}.tar.xz
42Source26:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-kk-%{version}.tar.xz
43#Source27:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-km-%{version}.tar.xz
44#Source27:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-lv-%{version}.tar.xz
45#Source28:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ms-%{version}.tar.xz
46Source29:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-nb-%{version}.tar.xz
47#Source30:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-nds-%{version}.tar.xz
48#Source31:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ne-%{version}.tar.xz
49Source32:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-nl-%{version}.tar.xz
50Source33:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-pl-%{version}.tar.xz
51Source34:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-pt-%{version}.tar.xz
52Source35:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-pt_BR-%{version}.tar.xz
53Source36:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ru-%{version}.tar.xz
54#Source37:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-se-%{version}.tar.xz
55Source38:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sk-%{version}.tar.xz
56#Source39:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sl-%{version}.tar.xz
57#Source39:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sr-%{version}.tar.xz
58#Source40:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sr@Latn-%{version}.tar.xz
59Source40:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-sv-%{version}.tar.xz
60#Source41:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-ta-%{version}.tar.xz
61Source42:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-tr-%{version}.tar.xz
62Source43:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-uk-%{version}.tar.xz
63#Source44:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-wa-%{version}.tar.xz
64Source45:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-zh_CN-%{version}.tar.xz
65Source46:http://download.kde.org/%{stable}/calligra-%{version}/calligra-l10n/calligra-l10n-zh_TW-%{version}.tar.xz
66Source1000: subdirs-calligra-l10n
67
68## upstreamable patches
69
70## upstream patches
71
72BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
73BuildArch: noarch
74BuildRequires: gettext
75BuildRequires: kdelibs4-devel
76BuildRequires: libxml2
77
78%description
79%{summary}.
80
81
82%package ja
83Summary: Japanese language pack for calligra
84Summary(ja): Calligra の日本語サポートパッケージ
85Obsoletes: koffice-langpack-ja < %{koffice_obsoletes}
86Requires: calligra-core >= %{calligra_core_version}
87%description ja
88%{summary}.
89
90%package extra
91Summary: Language pack for calligra
92Summary(ja): Calligra の国際化サポートパッケージ(日本語以外)
93Group: Applications/Productivity
94Obsoletes: koffice-langpack       < %{koffice_obsoletes}
95Obsoletes: koffice-langpack-extra < %{koffice_obsoletes}
96Requires: calligra-core >= %{calligra_core_version}
97
98%description extra
99Provides additional translations for calligra
100
101
102%prep
103%setup -T -c -q -n %{name}-%{version}
104
105for i in $(cat %{SOURCE1000}) ; do
106  echo $i | grep -v '^#' && \
107  %{__xz} -dc %{_sourcedir}/calligra-l10n-$i-%{version}.tar.xz | tar -xf -
108done
109
110
111%build
112for calligra_lang in * ; do
113  if [ -f $calligra_lang/CMakeLists.txt ]; then
114    pushd $calligra_lang
115     mkdir -p %{_target_platform}
116     pushd %{_target_platform}
117     %cmake \
118         -DCMAKE_BUILD_TYPE=release \
119         -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
120         -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
121         -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
122         ..
123     make %{?_smp_mflags}
124     popd
125    popd
126  fi
127done
128
129
130%install
131for calligra_lang in * ; do
132  if [ -f $calligra_lang/CMakeLists.txt ]; then
133    make install/fast DESTDIR=%{buildroot} -C $calligra_lang/%{_target_platform}
134  fi
135done
136
137## unpackaged files
138rm -rfv %{buildroot}%{_datadir}/kde4/apps/koffice/autocorrect
139
140
141%files ja
142%defattr(-,root,root,-)
143%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/*
144
145%files extra
146#files bs
147%lang(bs) %{_datadir}/locale/bs/LC_MESSAGES/*
148#files ca
149%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/*
150%lang(ca) %{_docdir}/HTML/ca/*
151#files ca-valencia
152%lang(ca@valencia) %{_datadir}/locale/ca@valencia/LC_MESSAGES/*
153#files cs
154%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/*
155#files da
156%lang(da) %{_datadir}/locale/da/LC_MESSAGES/*
157#files de
158%lang(de) %{_datadir}/locale/de/LC_MESSAGES/*
159%lang(de) %{_datadir}/kde4/apps/calligra/autocorrect/de.xml
160%lang(de) %{_docdir}/HTML/de/*
161#files el
162%lang(el) %{_datadir}/locale/el/LC_MESSAGES/*
163#files en_GB
164%lang(en_GB) %{_datadir}/locale/en_GB/LC_MESSAGES/*
165#files es
166%lang(es) %{_datadir}/locale/es/LC_MESSAGES/*
167%lang(es) %{_docdir}/HTML/es/*
168#files et
169%lang(et) %{_datadir}/locale/et/LC_MESSAGES/*
170%lang(et) %{_docdir}/HTML/et/
171#files eu
172#%lang(eu) %{_datadir}/locale/eu/LC_MESSAGES/*
173#files fi
174%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/*
175#files fr
176%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/*
177%lang(fr) %{_docdir}/HTML/fr/*
178#files gl
179%lang(gl) %{_datadir}/locale/gl/LC_MESSAGES/*
180#files hu
181%lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/*
182#files it
183%lang(it) %{_datadir}/locale/it/LC_MESSAGES/*
184%lang(it) %{_docdir}/HTML/it/*
185#files kk
186%lang(kk) %{_datadir}/locale/kk/LC_MESSAGES/*
187#files nb
188%lang(nb) %{_datadir}/kde4/apps/calligra/autocorrect/nb.xml
189%lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/*
190#files nds
191#%lang(nds) %{_datadir}/locale/nds/LC_MESSAGES/*
192#files nl
193%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/*
194%lang(nl) %{_docdir}/HTML/nl/*
195#files pl
196%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/*
197#files pt
198%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/*
199%lang(pt) %{_docdir}/HTML/pt/*
200#files pt_BR
201%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/*
202%lang(pt_BR) %{_docdir}/HTML/pt_BR/*
203#files ru
204%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/*
205%lang(ru) %{_docdir}/HTML/ru/*
206#files sk
207%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/*
208#files sv
209%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/*
210%lang(sv) %{_docdir}/HTML/sv/*
211#files tr
212%lang(tr) %{_datadir}/locale/tr/LC_MESSAGES/*
213#files uk
214%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/*
215%lang(uk) %{_docdir}/HTML/uk/*
216#files zh_CN
217%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/*
218#files zh_TW
219%lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/*
220
221
222%changelog
223* Sun Jul  3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.11-1
224- new upstream release.
225
226* Wed Jan 14 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.8.7-1
227- based on koffice-langpack package
228
229* Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.3.2-2
230- Initial build for Vine Linux
231
232* Mon Feb 21 2011 Rex Dieter <rdieter@fedoraproject.org> - 2:2.3.2-1
233- 2.3.2
234
235* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.3.1-2
236- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
237
238* Wed Jan 26 2011 Rex Dieter <rdieter@fedoraproject.org> - 2:2.3.1-1
239- koffice-l10n-2.3.1
240
241* Sat Nov 13 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.2.84-1
242- koffice-l10n-2.2.84 (2.3beta4)
243
244* Sat Aug 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.2.2-1
245- koffice-l10n-2.2.2
246
247* Wed Jul 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.2.1-1
248- koffice-l10n-2.2.1
249
250* Mon May 24 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.2.0-1
251- koffice-l10n-2.2.0
252
253* Sat May 15 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 2:2.1.91-2
254- don't ship translations of the kivio documentation
255
256* Mon Apr 26 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.1.91-1
257- koffice-l10n-2.1.91
258
259* Tue Apr 06 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.1.82-1
260- koffice-l10n-2.1.82
261
262* Thu Mar 18 2010 Rex Dieter <rdieter@fedoraproject.org> - 2:2.1.81-1
263- koffice-l10n-2.1.81
264
265* Thu Nov 26 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 2:2.1.0-3
266- fix Requires for -wa to include Epoch
267
268* Wed Nov 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 2:2.1.0-2
269- Epoch++ (to trump F-12 branch)
270
271* Sat Nov 21 2009 Rex Dieter <rdieter@fedoraproject.org> - 1:2.1.0-1
272- koffice-l10n-2.1.0
273
274* Fri Oct 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 1:2.0.91-2
275- koffice-l10n-2.0.91
276
277* Sat Oct 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 1:2.0.83-2
278- main virtual subpkg
279- fix a fix missing %%defattr's
280
281* Sat Oct 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 1:2.0.83-1
282- koffice-l10n-2.0.83
283
284* Fri Sep 11 2009 Rex Dieter <rdieter@fedoraproject.org> - 1:2.0.82-1
285- koffice-l10n-2.0.82
286
287* Wed Aug 26 2009 Rex Dieter <rdieter@fedoraproject.org> - 1:2.0.81-1
288- koffice-l10n-2.0.81
289
290* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.0.0-2
291- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
292
293* Sun May 24 2009 Rex Dieter <rdieter@fedoraproject.org> 1:2.0.0-1
294- koffice-l10n-2.0.0
295
296* Wed Apr 08 2009 Rex Dieter <rdieter@fedoraproject.org> 1:1.9.99.0-1
297- koffice-l10n-1.9.99.0
298
299* Wed Feb 18 2009 Rex Dieter <rdieter@fedoraproject.org> 1.9.98.6-1
300- koffice-l10n-1.9.98.6
301
302* Fri Jan 09 2009 Rex Dieter <rdieter@fedoraproject.org> 1.9.98.5-1
303- koffice-l10n-1.9.98.5
304
305* Sun Dec 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org>
3061.6.3-2
307- BR: kdelibs3-devel
308- License: GPLv2+
309
310* Fri Jun 01 2007 Rex Dieter <rdieter[AT]fedoraproject.org>
3111.6.3-1
312- koffice-l10n-1.6.3
313
314* Wed Feb 28 2007 Rex Dieter <rdieter[AT]fedoraproject.org>
3151.6.2-1
316- koffice-l10n-1.6.2
317- drop %%dist
318
319* Fri Dec 01 2006 Rex Dieter <rexdieter[AT]users.sf.net>
3201.6.1-1
321- koffice-l10n-1.6.1
322- avoid file conflict (LC_MESSAGES/kdgantt.mo) with kde-i18n (kde bug #75096)
323
324* Sat Oct 21 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3251.6.0-1
326- version upgrade
327
328* Thu Aug 03 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3291.5.2-1
330- version upgrade
331- add zh_TW
332
333* Tue May 30 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3341.5.1-1
335- version upgrade
336
337* Sat Apr 22 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3381.5.0-1
339- version upgrade
340
341* Wed Feb 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3421.4.2-2
343- Rebuild for Fedora Extras 5
344
345* Sat Oct 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3461.4.2-1
347- version upgrade
348- add eu
349
350* Sun Aug 14 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3511.4.1-3
352- add dist tag
353
354* Mon Aug 01 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3551.4.1-2
356- change Requires koffice-core from v-r to v only
357
358* Sun Jul 31 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3591.4.1-1
360- upgrade
361
362* Sun Jul 31 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3631.4.0-2
364- move all languages to one langpack srpm
365
366* Mon Jul 04 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
3671.4.0-1
368- Split languages from koffice spec
Note: See TracBrowser for help on using the repository browser.