qt5-qttranslations-vl.spec 6.5 KB

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