calligra-l10n-vl.spec 14 KB

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