fcitx-qt5.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. %global project_name FcitxQt5
  2. %define pkg_name fcitx-qt5
  3. %define pkg_version 1.2.3
  4. %define pkg_release 1%{?_dist_release}
  5. Summary: Fcitx IM module for Qt5
  6. Name: %{pkg_name}
  7. Version: %{pkg_version}
  8. Release: %{pkg_release}
  9. # The entire source code is GPLv2+ except
  10. # platforminputcontext/ which is BSD
  11. License: GPLv2+ and BSD
  12. Group: System Environment/Libraries
  13. URL: https://github.com/fcitx/fcitx-qt5
  14. Source0: http://download.fcitx-im.org/%{name}/%{name}-%{version}.tar.xz
  15. BuildRequires: cmake
  16. BuildRequires: fcitx-devel
  17. BuildRequires: qt5-qtbase-devel
  18. BuildRequires: libxkbcommon-devel
  19. BuildRequires: extra-cmake-modules
  20. BuildRequires: gettext-devel
  21. # The author requests that fcitx-qt5 should be rebuilt for each minor version
  22. # of qt5. qt5-qtbase-private-devel is not actually required for build, but
  23. # left for Qt maintainer to tract this case.
  24. BuildRequires: qt5-qtbase-private-devel
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. %description
  28. This package provides Fcitx Qt5 input context.
  29. %package devel
  30. Summary: Development files for fcitx-qt5
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: cmake
  34. %description devel
  35. The %{name}-devel package contains libraries and header files necessary for
  36. developing programs using fcitx-qt5 libraries.
  37. %prep
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %setup -q
  40. %build
  41. %{cmake} .
  42. %{__make} %{?_smp_mflags}
  43. %install
  44. %{__make} install/fast DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
  45. %find_lang %{name}
  46. %clean
  47. %{__rm} -rf ${RPM_BUILD_ROOT}
  48. %post -p %{_syssbindir}/ldconfig
  49. %postun -p %{_syssbindir}/ldconfig
  50. %files -f %{name}.lang
  51. %doc README COPYING COPYING.BSD
  52. %{_libdir}/fcitx/libexec/%{name}-gui-wrapper
  53. %{_libdir}/lib%{project_name}*.so.*
  54. %{_libdir}/fcitx/qt/
  55. %{_qt5_plugindir}/platforminputcontexts/libfcitxplatforminputcontextplugin.so
  56. %files devel
  57. %{_includedir}/%{project_name}
  58. %{_libdir}/lib%{project_name}*.so
  59. %{_libdir}/cmake/*
  60. %changelog
  61. * Fri Jun 08 2018 Toshiaki Ara <ara_t@384.jp> 1.2.3-1
  62. - initial release for Vine Linux
  63. * Wed Jun 6 2018 Robin Lee <cheeselee@fedoraproject.org> - 1.2.3-1
  64. - Update to 1.2.3 (#1584926)
  65. * Sun May 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.2.2-5
  66. - rebuild (qt5)
  67. * Mon Feb 19 2018 Robin Lee <cheeselee@fedoraproject.org> - 1.2.2-4
  68. - rebuild (qt5)
  69. * Wed Feb 14 2018 Robin Lee <cheeselee@fedoraproject.org> - 1.2.2-3
  70. - BR: qt5-qtbase-private-devel
  71. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  73. * Sat Jan 27 2018 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1.2.2-1
  74. - Update to 1.2.2 (#1539217)
  75. * Wed Dec 20 2017 Jan Grulich <jgrulich@redhat.com> - 1.2.1-2
  76. - rebuild (qt5)
  77. * Wed Dec 13 2017 Robin Lee <cheeselee@fedoraproject.org> - 1.2.1-1
  78. - Update to 1.2.1 (BZ#1511238)
  79. - License changed to GPLv2+ and BSD
  80. * Sun Nov 26 2017 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-3
  81. - rebuild (qt5)
  82. * Mon Oct 09 2017 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-2
  83. - rebuild (qt5)
  84. * Sun Sep 24 2017 Robin Lee <cheeselee@fedoraproject> - 1.1.1-1
  85. - Update to 1.1.1 (BZ#1492079)
  86. * Mon Aug 07 2017 Björn Esser <besser82@fedoraproject.org> - 1.1.0-6
  87. - Rebuilt for AutoReq cmake-filesystem
  88. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  90. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  92. * Wed Jul 19 2017 Rex Dieter <rdieter@fedoraproject.org> - 1.1.0-3
  93. - rebuild (qt5)
  94. * Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.1.0-2
  95. - Rebuild due to bug in RPM (RHBZ #1468476)
  96. * Fri May 12 2017 Robin Lee <cheeselee@fedoraproject.org> - 1.1.0-1
  97. - Update to 1.1.0
  98. * Wed May 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 1.0.6-5
  99. - rebuild (qt5)
  100. * Thu Mar 30 2017 Rex Dieter <rdieter@fedoraproject.org> - 1.0.6-4
  101. - rebuild (qt5)
  102. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-3
  103. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  104. * Thu Nov 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.0.6-2
  105. - bump Release
  106. * Thu Nov 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.0.6-1.2
  107. - f24 branch rebuild (qt5)
  108. * Fri Oct 21 2016 Robin Lee <cheeselee@fedoraproject.org> - 1.0.6-1
  109. - Upate to 1.0.6 (BZ#1384262)
  110. * Tue Jul 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-7
  111. - use macro version of qt5 dep
  112. * Sun Jul 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-6
  113. - rebuild (qtbase)
  114. * Thu Jun 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-5
  115. - rebuild (qtbase)
  116. * Sun Apr 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-4
  117. - BR: qt5-qtbase-private-devel
  118. * Mon Mar 21 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.0.5-3
  119. - rebuild (Qt5)
  120. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
  121. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  122. * Mon Jan 25 2016 Robin Lee <cheeselee@fedoraproject.org> - 1.0.5-1
  123. - Update to 1.0.5
  124. * Mon Dec 07 2015 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-4
  125. - rebuild (qt5)
  126. * Fri Oct 09 2015 Rex Dieter <rdieter@fedoraproject.org> 1.0.4-3
  127. - rebuild(qt5), tighten qt5 dep, .spec cosmetics
  128. * Wed Sep 23 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.4-2
  129. - Requires a versioned qt5-qtbase
  130. * Tue Sep 22 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.4-1
  131. - Update to 1.0.4
  132. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
  133. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  134. * Mon Jun 1 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.2-2
  135. - Don't explicitly require fcitx
  136. * Thu Apr 30 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.2-1
  137. - Update to 1.0.2
  138. - License tag revised
  139. - BR: libxkbcommon-devel
  140. * Thu Apr 16 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.1-1
  141. - Update to 1.0.1
  142. * Fri Dec 12 2014 Robin Lee <cheeselee@fedoraproject.org> - 0.1.3-1
  143. - Initial package