qt5-qttranslations-vl.spec 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. %global qt_module qttranslations
  2. #define prerelease
  3. %global qt5_minorver 5.12
  4. %global qt5_version 5.12.8
  5. #global qt5_patchlevel 1
  6. Summary: Qt5 - QtTranslations module
  7. Name: qt5-%{qt_module}
  8. Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
  9. Release: 1%{?_dist_release}
  10. License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL
  11. Url: https://www.qt.io/
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Source0: https://download.qt.io/official_releases/qt/%{qt5_minorver}/%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}/submodules/%{qt_module}-everywhere-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}.tar.xz
  15. BuildArch: noarch
  16. %global _qt5_qmake %{_bindir}/qmake-qt5
  17. BuildRequires: qt5-rpm-macros
  18. BuildRequires: qt5-qtbase-devel >= %{version}
  19. # for lrelease
  20. BuildRequires: qt5-linguist
  21. # help system-config-language and dnf/yum langpacks pull these in
  22. %if 0%{?_qt5:1}
  23. Provides: %{_qt5}-ar = %{version}-%{release}
  24. Provides: %{_qt5}-ca = %{version}-%{release}
  25. Provides: %{_qt5}-cs = %{version}-%{release}
  26. Provides: %{_qt5}-da = %{version}-%{release}
  27. Provides: %{_qt5}-de = %{version}-%{release}
  28. Provides: %{_qt5}-es = %{version}-%{release}
  29. Provides: %{_qt5}-fa = %{version}-%{release}
  30. Provides: %{_qt5}-fi = %{version}-%{release}
  31. Provides: %{_qt5}-fr = %{version}-%{release}
  32. Provides: %{_qt5}-gl = %{version}-%{release}
  33. Provides: %{_qt5}-gd = %{version}-%{release}
  34. Provides: %{_qt5}-he = %{version}-%{release}
  35. Provides: %{_qt5}-hu = %{version}-%{release}
  36. Provides: %{_qt5}-it = %{version}-%{release}
  37. Provides: %{_qt5}-ja = %{version}-%{release}
  38. Provides: %{_qt5}-ko = %{version}-%{release}
  39. Provides: %{_qt5}-lt = %{version}-%{release}
  40. Provides: %{_qt5}-lv = %{version}-%{release}
  41. Provides: %{_qt5}-pl = %{version}-%{release}
  42. Provides: %{_qt5}-pt = %{version}-%{release}
  43. Provides: %{_qt5}-ru = %{version}-%{release}
  44. Provides: %{_qt5}-sk = %{version}-%{release}
  45. Provides: %{_qt5}-sl = %{version}-%{release}
  46. Provides: %{_qt5}-sv = %{version}-%{release}
  47. Provides: %{_qt5}-uk = %{version}-%{release}
  48. Provides: %{_qt5}-zh_CN = %{version}-%{release}
  49. Provides: %{_qt5}-zh_TW = %{version}-%{release}
  50. %endif
  51. %description
  52. %{summary}.
  53. %prep
  54. %setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
  55. %build
  56. %{qmake_qt5}
  57. make %{?_smp_mflags}
  58. %install
  59. make install INSTALL_ROOT=%{buildroot}
  60. # not used currently, since we track locales manually to keep %%files/Provides sync'd -- rex
  61. #find_lang qttranslations --all-name --with-qt --without-mo
  62. %files
  63. %license LICENSE.*
  64. %lang(ar) %{_qt5_translationdir}/*_ar.qm
  65. %lang(bg) %{_qt5_translationdir}/*_bg.qm
  66. %lang(ca) %{_qt5_translationdir}/*_ca.qm
  67. %lang(cs) %{_qt5_translationdir}/*_cs.qm
  68. %lang(da) %{_qt5_translationdir}/*_da.qm
  69. %lang(de) %{_qt5_translationdir}/*_de.qm
  70. %lang(es) %{_qt5_translationdir}/*_es.qm
  71. %lang(en) %{_qt5_translationdir}/*_en.qm
  72. %lang(fa) %{_qt5_translationdir}/*_fa.qm
  73. %lang(fi) %{_qt5_translationdir}/*_fi.qm
  74. %lang(fr) %{_qt5_translationdir}/*_fr.qm
  75. %lang(gl) %{_qt5_translationdir}/*_gd.qm
  76. %lang(gl) %{_qt5_translationdir}/*_gl.qm
  77. %lang(he) %{_qt5_translationdir}/*_he.qm
  78. %lang(hu) %{_qt5_translationdir}/*_hu.qm
  79. %lang(it) %{_qt5_translationdir}/*_it.qm
  80. %lang(ja) %{_qt5_translationdir}/*_ja.qm
  81. %lang(ko) %{_qt5_translationdir}/*_ko.qm
  82. %lang(lt) %{_qt5_translationdir}/*_lt.qm
  83. %lang(lt) %{_qt5_translationdir}/*_lv.qm
  84. %lang(pl) %{_qt5_translationdir}/*_pl.qm
  85. %lang(pt) %{_qt5_translationdir}/*_pt.qm
  86. %lang(ru) %{_qt5_translationdir}/*_ru.qm
  87. %lang(sk) %{_qt5_translationdir}/*_sk.qm
  88. %lang(sl) %{_qt5_translationdir}/*_sl.qm
  89. %lang(sv) %{_qt5_translationdir}/*_sv.qm
  90. %lang(uk) %{_qt5_translationdir}/*_uk.qm
  91. %lang(zh_CN) %{_qt5_translationdir}/*_zh_CN.qm
  92. %lang(zh_TW) %{_qt5_translationdir}/*_zh_TW.qm
  93. %changelog
  94. * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
  95. - new upstream release.
  96. * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
  97. - new upstream release.
  98. * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
  99. - new upstream release.
  100. * Fri Jan 12 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-1
  101. - update to 5.6.3
  102. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
  103. - new upstream release.
  104. - initial build for Vine Linux.
  105. * Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
  106. - Update to 5.6.1
  107. * Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
  108. - rebuild
  109. * Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
  110. - 5.6.0 final release
  111. * Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.7.rc
  112. - Update to final RC
  113. * Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.6
  114. - Update RC release
  115. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.5
  116. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  117. * Sat Jan 30 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.4
  118. - drop BR: pkgconfig(Qt5Help), drop unused %%find_lang
  119. * Sat Jan 23 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.3
  120. - use %%qmake_qt5 (and hack around %%_qt5_qmake noarch issue)
  121. * Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.2
  122. - Official rc release
  123. * Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
  124. - Start to implement 5.6.0 rc
  125. * Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
  126. - Update to final release 5.5.1
  127. * Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
  128. - Update to Qt 5.5.1 RC1
  129. * Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
  130. - BR: qt5-linguist, relax qt5-qttools dep
  131. * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
  132. - Update for official RC1 released packages
  133. * Wed Jun 17 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
  134. - Qt 5.5.0 RC1
  135. * Thu Jun 04 2015 Jan Grulich <jgrulich@redhat.com> 5.4.2-1
  136. - 5.4.2
  137. * Thu Mar 26 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-2
  138. - Provides: qt5-qtbase-<locales> to aid dnf/yum langpacks plugin and system-config-language (#1170730)
  139. * Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
  140. - 5.4.1
  141. * Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
  142. - 5.4.0 (final)
  143. * Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.rc
  144. - 5.4.0-rc
  145. * Mon Oct 20 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.rc
  146. - 5.4.0-rc
  147. * Wed Sep 17 2014 Rex Dieter <rdieter@fedoraproject.org> - 5.3.2-1
  148. - 5.3.2
  149. * Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
  150. - 5.3.1
  151. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
  152. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  153. * Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
  154. - 5.3.0
  155. * Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
  156. - 5.2.1
  157. * Thu Dec 12 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
  158. - 5.2.0
  159. * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
  160. - 5.2.0-rc1
  161. * Thu Oct 24 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.2.rc1
  162. - 5.2.0-rc1
  163. * Wed Oct 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.1.alpha
  164. - 5.2.0-alpha
  165. * Sun Sep 22 2013 Rex Dieter <rdieter@fedoraproject.org> 5.1.1-1
  166. - Initial packaging