extra-cmake-modules-vl.spec 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. %bcond_without bootstrap
  2. # uncomment to enable bootstrap mode
  3. %if %{with bootstrap}
  4. %define bootstrap 1
  5. %endif
  6. %if !0%{?bootstrap}
  7. %global docs 1
  8. %global tests 1
  9. %endif
  10. Name: extra-cmake-modules
  11. Summary: Additional modules for CMake build system
  12. Version: 5.63.0
  13. Release: 1%{?_dist_release}
  14. License: BSD
  15. URL: https://quickgit.kde.org/?p=extra-cmake-modules.git
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %global versiondir %(echo %{version} | cut -d. -f1-2)
  19. %global revision %(echo %{version} | cut -d. -f3)
  20. %if %{revision} >= 50
  21. %global stable unstable
  22. %else
  23. %global stable stable
  24. %endif
  25. Source0: https://download.kde.org/%{stable}/frameworks/%{versiondir}/%{name}-%{version}.tar.xz
  26. BuildArch: noarch
  27. BuildRequires: cmake
  28. #BuildRequires: kf5-rpm-macros
  29. #Requires: kf5-rpm-macros
  30. %if 0%{?docs}
  31. # qcollectiongenerator
  32. BuildRequires: qt5-qttools-devel
  33. # sphinx-build
  34. BuildRequires: python2-sphinx
  35. %endif
  36. %description
  37. Additional modules for CMake build system needed by KDE Frameworks.
  38. %prep
  39. %autosetup -p1
  40. %build
  41. mkdir %{_target_platform}
  42. pushd %{_target_platform}
  43. CFLAGS="${CFLAGS:-%optflags}"; export CFLAGS;
  44. CXXFLAGS="${CXXFLAGS:-%optflags}"; export CXXFLAGS;
  45. FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}"; export FFLAGS;
  46. %{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}"; export LDFLAGS;}
  47. cmake .. \
  48. -DCMAKE_VERBOSE_MAKEFILE=ON \
  49. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  50. -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
  51. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \
  52. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  53. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  54. -DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \
  55. %if "%{?_lib}" == "lib64"
  56. %{?_cmake_lib_suffix64} \
  57. %endif
  58. %{?_cmake_skip_rpath} \
  59. -DBUILD_SHARED_LIBS:BOOL=ON \
  60. -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
  61. popd
  62. make %{?_smp_mflags} -C %{_target_platform}
  63. %install
  64. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  65. %check
  66. %if 0%{?tests}
  67. export CTEST_OUTPUT_ON_FAILURE=1
  68. make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform}
  69. %endif
  70. %files
  71. %doc README.rst
  72. %license COPYING-CMAKE-SCRIPTS
  73. %{_datadir}/ECM/
  74. %if 0%{?docs}
  75. %{_docdir}/ECM/html/
  76. %{_mandir}/man7/ecm*.7*
  77. %endif
  78. %changelog
  79. * Sun Oct 27 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.63.0-1
  80. - new upstream release.
  81. * Tue Jul 12 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.24.0-1
  82. - new upstream release.
  83. * Sun Jul 3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.23.0-3
  84. - initial build for Vine Linux.
  85. * Tue Jun 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.23.0-2
  86. - support bootstrap, add docs/tests
  87. * Tue Jun 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.23.0-1
  88. - 5.23.0, relax kf5-rpm-macros dep
  89. * Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-1
  90. - KDE Frameworks 5.22.0
  91. * Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-2
  92. - Update URL
  93. * Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
  94. - KDE Frameworks 5.21.0
  95. * Mon Mar 14 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.20.0-1
  96. - KDE Frameworks 5.20.0
  97. * Thu Feb 11 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.19.0-1
  98. - KDE Frameworks 5.19.0
  99. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.0-3
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  101. * Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
  102. - use kf5-rpm-macros, update URL, use %%license
  103. * Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
  104. - KDE Frameworks 5.18.0
  105. * Sun Dec 13 2015 Helio Chissini de Castro <helio@kde.org> - 5.17.0-2
  106. - Adapt epel cmake3 changes
  107. * Tue Dec 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.17.0-1
  108. - KDE Frameworks 5.17.0
  109. * Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
  110. - KDE Frameworks 5.16.0
  111. * Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
  112. - KDE Frameworks 5.15.0
  113. * Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
  114. - KDE Frameworks 5.14.0
  115. * Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
  116. - KDE Frameworks 5.13.0
  117. * Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
  118. - KDE Frameworks 5.13.0
  119. * Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
  120. - KDE Frameworks 5.13
  121. * Thu Jul 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.12.0-1
  122. - 5.12.0, update URL (to reference projects.kde.org), .spec cosmetics
  123. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
  124. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  125. * Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
  126. - KDE Frameworks 5.11.0
  127. * Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
  128. - KDE Frameworks 5.10.0
  129. * Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
  130. - KDE Frameworks 5.9.0
  131. * Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 1.8.0-1
  132. - extra-cmake-modules 1.8.0 (KDE Frameworks 5.8.0)
  133. * Fri Feb 13 2015 Daniel Vrátil <dvratil@redhat.com> - 1.7.0-1
  134. - extra-cmake-modules 1.7.0 (KDE Frameworks 5.7.0)
  135. * Mon Jan 12 2015 Daniel Vrátil <dvratil@redhat.com> - 1.6.1-1
  136. - Update to 1.6.1 which includes upstream fix for kde#341717
  137. * Sun Jan 11 2015 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.6.0-3
  138. - Use upstream version of the kde#342717 patch by Alex Merry
  139. * Sun Jan 11 2015 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.6.0-2
  140. - Do not unset old-style variables in KDEInstallDirs.cmake, it breaks projects
  141. using GNUInstallDirs for some parts and KDEInstallDirs for others (kde#342717)
  142. * Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 1.6.0-1
  143. - extra-cmake-modules 1.6.0 (KDE Frameworks 5.6.0)
  144. * Thu Dec 11 2014 Daniel Vrátil <dvratil@redhat.com> - 1.5.0-1
  145. - extra-cmake-modules 1.5.0 (KDE Frameworks 5.5.0)
  146. * Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 1.4.0-1
  147. - extra-cmake-modules 1.4.0 (KDE Frameworks 5.4.0)
  148. * Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 1.3.0-1
  149. - extra-cmake-modules 1.3.0 (KDE Frameworks 5.3.0)
  150. * Tue Sep 16 2014 Daniel Vrátil <dvratil@redhat.com> - 1.2.1-1
  151. - extra-cmake-modules 1.2.1 (KDE Frameworks 5.2.0)
  152. * Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 1.2.0-1
  153. - extra-cmake-modules 1.2.0 (KDE Frameworks 5.2.0)
  154. * Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 1.1.0-1
  155. - extra-cmake-modules 1.1.0 (KDE Frameworks 5.1.0)
  156. * Thu Jul 10 2014 Daniel Vrátil <dvratil@redhat.com> - 1.0.0-1
  157. - extra-cmake-modules 1.0.0 (KDE Frameworks 5.0.0)
  158. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.14-3
  159. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  160. * Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> 0.0.14-2
  161. - Strip architecture check from a CMake-generated file to fix noarch build
  162. * Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> 0.0.14-1
  163. - extra-cmake-modules 0.0.14 (KDE Frameworks 4.100.0)
  164. * Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> 0.0.13-1
  165. - extra-cmake-modules 0.0.13 (KDE Frameworks 4.99.0)
  166. * Fri Apr 11 2014 Daniel Vrátil <dvratil@redhat.com> 0.0.12-3
  167. - Remove debug_package, add %%{?dist} to Release
  168. * Fri Apr 11 2014 Daniel Vrátil <dvratil@redhat.com> 0.0.12-2
  169. - Don't depend on kf5-filesystem
  170. * Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 0.0.12-1
  171. - Update to KDE Frameworks 5 Beta 1 (4.98.0)
  172. * Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 0.0.11-1
  173. - Update to KDE Frameworks 5 Alpha 2 (4.97.0)
  174. * Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 0.0.10-1
  175. - Update to KDE Frameworks 5 Alpha 1 (4.96.0)
  176. * Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 0.0.10-0.1.20140205git
  177. - Update to pre-relase snapshot of 0.0.10
  178. * Tue Feb 04 2014 Lubomir Rintel <lkundrak@v3.sk> - 0.0.9-1
  179. - Update to Jan 7 release
  180. * Mon Sep 16 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.0.9-0.1.20130013git5367954
  181. - Initial packaging